SETCPDATA
SETCPDATA shows meter settlement data for each connection point. This is the key view for retailers to verify energy charges. A regional summary view is also provided. As the view has values for each connection point by period, for each meter data file, it is a very large view. The table is populated for participants using Data Model 5.2. For participants using Data Model 5.3 or higher, SET_ENERGY_TRANSACTIONS and SET_ENERGY_GENSET_DETAIL replace SETCPDATA.
Package
SETTLEMENT_DATA
Visibility
Private
Table schema
| Column |
Official MMS Datatype |
GR-MMS Datatype |
Comment |
| SETTLEMENTDATE |
datetime(3)  |
datetime2(0)  |
Calendar Settlement Date |
| VERSIONNO |
numeric(10, 0)  |
smallint  |
Settlement run no |
| PERIODID |
numeric(10, 0)  |
smallint  |
Settlements Trading Interval. |
| PARTICIPANTID |
varchar(10)  |
varchar(10)  |
Unique participant identifier |
| TCPID |
varchar(10)  |
varchar(10)  |
Connection point identifier |
| MDA |
varchar(10)  |
varchar(10)  |
Metering Data Agent |
| REGIONID |
varchar(10) |
varchar(10) |
Region Identifier |
| IGENERGY |
numeric(16, 6) |
numeric(16, 6) |
Import Gross energy into the pool - MWh |
| XGENERGY |
numeric(16, 6) |
numeric(16, 6) |
Export Gross energy from the pool - MWh |
| INENERGY |
numeric(16, 6) |
numeric(16, 6) |
Import Nett energy into the pool - MWh, plus UFEA if the UFEA amount is positive. When GS commences, this includes the UFEA amount in the settlement runs. |
| XNENERGY |
numeric(16, 6) |
numeric(16, 6) |
Export Nett energy from the pool - MWh, plus (UFEA * -1) if the UFEA amount is negative. When GS commences, this includes the UFEA amount in the settlement runs. |
| IPOWER |
numeric(16, 6) |
numeric(16, 6) |
Import reactive power |
| XPOWER |
numeric(16, 6) |
numeric(16, 6) |
Export reactive power |
| RRP |
numeric(20, 5) |
numeric(20, 5) |
Regional Reference Price |
| EEP |
numeric(16, 6) |
numeric(16, 6) |
Excess Energy Price |
| TLF |
numeric(7, 5) |
numeric(7, 5) |
Transmission Loss Factor |
| CPRRP |
numeric(16, 6) |
numeric(16, 6) |
Connection Point Price = RRP * TLF |
| CPEEP |
numeric(16, 6) |
numeric(16, 6) |
Connection Point Excess Energy Price = EEP * TLF |
| TA |
numeric(16, 6) |
numeric(16, 6) |
Export - Import of Net energy (MWh) |
| EP |
numeric(16, 6) |
numeric(16, 6) |
settlement amount in $ for trading period |
| APC |
numeric(16, 6) |
numeric(16, 6) |
Not used |
| RESC |
numeric(16, 6) |
numeric(16, 6) |
Not used |
| RESP |
numeric(16, 6) |
numeric(16, 6) |
Not used |
| METERRUNNO |
numeric(10, 0) |
smallint |
Meter Run Number = version number of the meter file |
| LASTCHANGED |
datetime(3) |
datetime2(0) |
Last date and time record changed |
| HOSTDISTRIBUTOR |
varchar(10) |
varchar(10) |
Not used |
| AFE |
numeric(18, 8) |
numeric(18, 8) |
Accounted For Energy for this Market Customer FRMP and TNI in the Settlements Trading Interval, excluding any UFEA component |
| AGE |
numeric(18, 8) |
numeric(18, 8) |
Adjusted Gross Energy for this Market Customer FRMP and TNI in the Settlements Trading Interval. When GS commences, this includes the UFEA amount in the settlement runs. |
| DME |
numeric(18, 8) |
numeric(18, 8) |
Sum of ME- for all NMIs at this Market Customer FRMP and TNI in the Settlements Trading Interval. |
| UFEA |
numeric(18, 8) |
numeric(18, 8) |
Share of UFE allocated to this FRMP and TNI in the Settlements Trading Interval. |
| EXPORTENERGYCOST |
numeric(18, 8) |
numeric(18, 8) |
The total cost of energy purchased at the connection point by the participant in this settlement interval |
| IMPORTENERGYCOST |
numeric(18, 8) |
numeric(18, 8) |
The total cost of energy sold at the connection point by the participant in this settlement interval |
Official MMS data model indexes
| Index name |
Index type |
Index columns (in order) |
| SETCPDATA_LCX |
nonclustered |
LASTCHANGED |
| SETCPDATA_NDX2 |
nonclustered |
PARTICIPANTID |
| SETCPDATA_PK |
clustered, unique, primary key |
SETTLEMENTDATE, VERSIONNO, PERIODID, PARTICIPANTID, TCPID, MDA |
GR-MMS data model indexes
| Index name |
Index type |
Index columns (in order) |
| IX_SETCPDATA_LASTCHANGED |
nonclustered |
LASTCHANGED |
| IX_SETCPDATA_PARTICIPANTID |
nonclustered |
PARTICIPANTID |
| PK_SETCPDATA |
clustered, unique, primary key |
SETTLEMENTDATE, VERSIONNO, PERIODID, PARTICIPANTID, TCPID, MDA |
Historical-MMS data model indexes
| Index name |
Index type |
Index columns (in order) |
| SETCPDATA_LCX |
nonclustered |
LASTCHANGED |
| SETCPDATA_NDX2 |
nonclustered |
PARTICIPANTID |
| SETCPDATA_PK |
clustered, unique, primary key |
SETTLEMENTDATE, VERSIONNO, PERIODID, PARTICIPANTID, TCPID, MDA |