{"package":"HISTORICAL TABLES","documentation_urls":["https://nemweb.com.au/Reports/Current/MMSDataModelReport/Electricity/ElectricityDataModelReport_files/Elec65.htm#1071"],"comment":"SETGENDATA shows meter settlement data for each generation meter point. A regional summary is also provided. 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 SETGENDATA.","description":"SETGENDATA shows generator meter details, and SETGENDATA data is\nconfidential to the participant.\n\nBy comparison, the regional summary (SETGENDATAREGION) is public data.\n\nSource\n\nSETGENDATA updates with each Settlement run.","unused":true,"primary_keys":["DUID","GENSETID","PERIODID","REGIONID","SETTLEMENTDATE","STATIONID","VERSIONNO"],"indexes":[["LASTCHANGED"],["PARTICIPANTID"]],"columns":{"DUID":{"sql_type":"VARCHAR2(10)","pl_type":"pl.Categorical","mandatory":true,"comment":"Dispatchable Unit identifier","examples":["W/HOE#2"],"warnings":["This column may contain funny characters such as / (slash) or # (hash). This may break hive-style partitioning.\n"],"is_categorical":true},"GENSETID":{"sql_type":"VARCHAR2(10)","pl_type":"pl.Categorical","mandatory":true,"comment":"Physical unit identifier","is_categorical":true},"PERIODID":{"sql_type":"NUMBER(10,0)","pl_type":"pl.Int64","mandatory":true,"comment":"Settlements Trading Interval.","is_integer":true,"num_int_bits":64},"REGIONID":{"sql_type":"VARCHAR2(10)","pl_type":"pl.Enum([\"QLD1\", \"VIC1\", \"TAS1\", \"NSW1\", \"SA1\", \"SNOWY1\"])","mandatory":true,"comment":"Region Identifier","examples":null,"enums":["QLD1","VIC1","TAS1","NSW1","SA1","SNOWY1"]},"SETTLEMENTDATE":{"sql_type":"DATE","pl_type":"pl.Datetime()","mandatory":true,"comment":"Calendar Settlement Date","examples":["2026/01/20 00:05:00"],"warnings":["Despite what the name suggests, this is a datetime, not a date."],"parse_csv_as_string":true,"is_s_datetime":true},"STATIONID":{"sql_type":"VARCHAR2(10)","pl_type":"pl.Categorical","mandatory":true,"comment":"Station Identifier","is_categorical":true},"VERSIONNO":{"sql_type":"NUMBER(10,0)","pl_type":"pl.UInt64","mandatory":true,"comment":"Settlement run no","is_integer":true,"unsigned_int":true,"num_int_bits":64},"AENERGY":{"sql_type":"NUMBER(16,6)","pl_type":"pl.Float64","mandatory":false,"comment":"Purchased Energy","is_float":true},"APC":{"sql_type":"NUMBER(16,6)","pl_type":"pl.Float64","mandatory":false,"comment":"Administered Price Compensation","is_float":true},"CPEEP":{"sql_type":"NUMBER(16,6)","pl_type":"pl.Float64","mandatory":false,"comment":"Connection Point Excess Energy Price = EEP * TLF","is_float":true},"CPRRP":{"sql_type":"NUMBER(16,6)","pl_type":"pl.Float64","mandatory":false,"comment":"Connection Point Price = RRP * TLF","is_float":true},"EEP":{"sql_type":"NUMBER(16,6)","pl_type":"pl.Float64","mandatory":false,"comment":"Excess Energy Price","is_float":true},"ENERGYCOST":{"sql_type":"NUMBER(16,6)","pl_type":"pl.Float64","mandatory":false,"comment":"Cost of net energy $","is_float":true},"EXCESSENERGYCOST":{"sql_type":"NUMBER(16,6)","pl_type":"pl.Float64","mandatory":false,"comment":"Cost of excess energy $","is_float":true},"EXPENERGY":{"sql_type":"NUMBER(15,6)","pl_type":"pl.Float64","mandatory":false,"comment":"Export Energy (Generator Purchases) (MWh)","is_float":true},"EXPENERGYCOST":{"sql_type":"NUMBER(15,6)","pl_type":"pl.Float64","mandatory":false,"comment":"Export Energy Cost ($)","is_float":true},"GENERGY":{"sql_type":"NUMBER(16,6)","pl_type":"pl.Float64","mandatory":false,"comment":"Generated energy","is_float":true},"LASTCHANGED":{"sql_type":"DATE","pl_type":"pl.Datetime()","mandatory":false,"comment":"Last date and time record changed","examples":["2026/01/20 00:05:00"],"parse_csv_as_string":true,"is_s_datetime":true},"MDA":{"sql_type":"VARCHAR2(10)","pl_type":"str","mandatory":false,"comment":"Metering Data Agent"},"METERRUNNO":{"sql_type":"NUMBER(6,0)","pl_type":"pl.UInt32","mandatory":false,"comment":"Identifier of the meter run used in this settlement calculation","is_integer":true,"unsigned_int":true,"num_int_bits":32},"NETENERGY":{"sql_type":"NUMBER(16,6)","pl_type":"pl.Float64","mandatory":false,"comment":"Generated energy","is_float":true},"PARTICIPANTID":{"sql_type":"VARCHAR2(10)","pl_type":"pl.Categorical","mandatory":false,"comment":"Unique participant identifier","is_categorical":true},"RRP":{"sql_type":"NUMBER(20,5)","pl_type":"pl.Float64","mandatory":false,"comment":"Regional Reference Price","is_float":true},"SECONDARY_TLF":{"sql_type":"NUMBER(7,5)","pl_type":"pl.Float64","mandatory":false,"comment":"Secondary Transmission Loss Factor","is_float":true},"TLF":{"sql_type":"NUMBER(7,5)","pl_type":"pl.Float64","mandatory":false,"comment":"Transmission Loss Factor","is_float":true},"APOWER":{"sql_type":"NUMBER(16,6)","pl_type":"pl.Float64","mandatory":false,"comment":"Not used","unused":true,"is_float":true},"GPOWER":{"sql_type":"NUMBER(16,6)","pl_type":"pl.Float64","mandatory":false,"comment":"Not used","unused":true,"is_float":true},"RESC":{"sql_type":"NUMBER(16,6)","pl_type":"pl.Float64","mandatory":false,"comment":"Not used","unused":true,"is_float":true},"RESP":{"sql_type":"NUMBER(16,6)","pl_type":"pl.Float64","mandatory":false,"comment":"Not used","unused":true,"is_float":true}},"visibility":"Private","trigger":"After each settlement run"}