Skip to content

CONTRACTRESERVETHRESHOLD (Historical table)

CONTRACTRESERVETHRESHOLD shows reserve contract threshold details for enabling, usage and availability thresholds and rates for reserve trader contracts.

Package

HISTORICAL_TABLES

Table schema

Column Official MMS Datatype GR-MMS Datatype Comment
CONTRACTID varchar(10) 🔑 varchar(10) 🔑 Contract Identifier
VERSIONNO numeric(3, 0) 🔑 smallint 🔑 Contract Version
CRA numeric(16, 6) numeric(16, 6) Availability Rate $
CRE numeric(16, 6) numeric(16, 6) Enabling Rate $
CRU numeric(16, 6) numeric(16, 6) Usage Rate $
CTA numeric(16, 6) numeric(16, 6) Availability Threshold MW/h
CTE numeric(16, 6) numeric(16, 6) Enabling Threshold MW/h
CTU numeric(16, 6) numeric(16, 6) Usage Threshold MW/h
AUTHORISEDBY varchar(15) varchar(15) User name
AUTHORISEDDATE datetime(3) datetime2(0) Date contract was authorised
LASTCHANGED datetime(3) datetime2(0) Last date and time record changed

Official MMS data model indexes

Index name Index type Index columns (in order)
CONTRACTRESERVETHRESHOLD_LCX nonclustered LASTCHANGED
CONTRACTRESERVETHRESHOLD_PK clustered, unique, primary key CONTRACTID, VERSIONNO

GR-MMS data model indexes

Index name Index type Index columns (in order)
IX_CONTRACTRESERVETHRESHOLD_LASTCHANGED nonclustered LASTCHANGED
PK_CONTRACTRESERVETHRESHOLD clustered, unique, primary key CONTRACTID, VERSIONNO

Historical-MMS data model indexes

Index name Index type Index columns (in order)
CONTRACTRESERVETHRESHOLD_LCX nonclustered LASTCHANGED
CONTRACTRESERVETHRESHOLD_PK clustered, unique, primary key CONTRACTID, VERSIONNO