Skip to content

BILLING_SUBST_DEMAND

Demand Values Substituted in Billing Calculation.

Package

BILLING_RUN

Visibility

Private

Table schema

Column Official MMS Datatype GR-MMS Datatype Comment
CONTRACTYEAR numeric(4, 0) 🔑 smallint 🔑 Billing contract year
WEEKNO numeric(3, 0) 🔑 smallint 🔑 Billing week number
BILLRUNNO numeric(3, 0) 🔑 smallint 🔑 Billing run number
SETTLEMENTDATE datetime(3) 🔑 datetime2(0) 🔑 Settlement Date
TNI varchar(20) 🔑 varchar(20) 🔑 Unique identifier for the connection point
PARTICIPANTID varchar(20) 🔑 varchar(20) 🔑 Unique identifier for the participant
REGIONID varchar(20) varchar(20) Unique identifier for the region to which the TNI belongs to on this settlement date
SUBSTITUTEDEMAND numeric(18, 8) numeric(18, 8) Substitute metered quantity for non-energy recovery in MWh for the TNI and participant in the trading interval. A negative value indicates net consumption and a positive value indicates net generation

Official MMS data model indexes

Index name Index type Index columns (in order)
BILLING_SUBST_DEMAND_PK clustered, unique, primary key CONTRACTYEAR, WEEKNO, BILLRUNNO, SETTLEMENTDATE, TNI, PARTICIPANTID

GR-MMS data model indexes

Index name Index type Index columns (in order)
PK_BILLING_SUBST_DEMAND clustered, unique, primary key CONTRACTYEAR, WEEKNO, BILLRUNNO, SETTLEMENTDATE, TNI, PARTICIPANTID

Historical-MMS data model indexes

Index name Index type Index columns (in order)
BILLING_SUBST_DEMAND_PK clustered, unique, primary key CONTRACTYEAR, WEEKNO, BILLRUNNO, SETTLEMENTDATE, TNI, PARTICIPANTID