{"package":"HISTORICAL TABLES","documentation_urls":["https://nemweb.com.au/Reports/Current/MMSDataModelReport/Electricity/ElectricityDataModelReport_files/Elec65.htm#995"],"comment":"SETAGCPAYMENT sets out specific payment details for Automatic Generation Control (AGC) services by period.","description":"SETAGCPAYMENT data is confidential to the relevant participant\n\nSource\n\nSETAGCPAYMENT updates with each settlement run.","unused":true,"primary_keys":["CONTRACTID","PARTICIPANTID","PERIODID","SETTLEMENTDATE","VERSIONNO"],"indexes":[["LASTCHANGED"],["PARTICIPANTID"]],"columns":{"CONTRACTID":{"sql_type":"VARCHAR2(10)","pl_type":"pl.Categorical","mandatory":true,"comment":"Contract Identifier","is_categorical":true},"PARTICIPANTID":{"sql_type":"VARCHAR2(10)","pl_type":"pl.Categorical","mandatory":true,"comment":"Unique participant identifier","is_categorical":true},"PERIODID":{"sql_type":"NUMBER(3,0)","pl_type":"pl.Int16","mandatory":true,"comment":"Settlement Period Identifier","is_integer":true,"num_int_bits":16},"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},"VERSIONNO":{"sql_type":"NUMBER(3,0)","pl_type":"pl.UInt16","mandatory":true,"comment":"Settlement Run No.","is_integer":true,"unsigned_int":true,"num_int_bits":16},"CLEAREDMW":{"sql_type":"NUMBER(15,5)","pl_type":"pl.Float64","mandatory":false,"comment":"Cleared MW of Unit in Enabled Dispatch period","is_float":true},"CONTRACTVERSIONNO":{"sql_type":"NUMBER(3,0)","pl_type":"pl.UInt16","mandatory":false,"comment":"AS contract version no","is_integer":true,"unsigned_int":true,"num_int_bits":16},"DUID":{"sql_type":"VARCHAR2(10)","pl_type":"pl.Categorical","mandatory":false,"comment":"Dispatchable Unit ID","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},"EBP":{"sql_type":"NUMBER(15,5)","pl_type":"pl.Float64","mandatory":false,"comment":"Eligible Bid Price","is_float":true},"ENABLINGPAYMENT":{"sql_type":"NUMBER(15,5)","pl_type":"pl.Float64","mandatory":false,"comment":"Enabling Payment","is_float":true},"INITIALMW":{"sql_type":"NUMBER(15,5)","pl_type":"pl.Float64","mandatory":false,"comment":"Initial MW of Unit in Enabled Dispatch period","warnings":["In AEMO data, datetimes usually refer to the end of an interval. Power values usually do too. However this column refers to the start of the interval. So you need to subtract 5 minutes from `SETTLEMENTDATE` to align it with `INITIALMW`.\n"],"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},"OFFERDATE":{"sql_type":"DATE","pl_type":"pl.Datetime()","mandatory":false,"comment":"Re-offer offer 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},"OFFERVERSIONNO":{"sql_type":"NUMBER(3,0)","pl_type":"pl.UInt16","mandatory":false,"comment":"Re-Offer Version No.","is_integer":true,"unsigned_int":true,"num_int_bits":16},"REGIONID":{"sql_type":"VARCHAR2(10)","pl_type":"pl.Enum([\"QLD1\", \"VIC1\", \"TAS1\", \"NSW1\", \"SA1\", \"SNOWY1\"])","mandatory":false,"comment":"Region Identifier","examples":null,"enums":["QLD1","VIC1","TAS1","NSW1","SA1","SNOWY1"]},"RRP":{"sql_type":"NUMBER(15,5)","pl_type":"pl.Float64","mandatory":false,"comment":"Regional Reference Price","is_float":true},"TLF":{"sql_type":"NUMBER(7,5)","pl_type":"pl.Float64","mandatory":false,"comment":"Transmission Loss Factor of Unit","is_float":true}},"visibility":"Private","trigger":"Each settlement run"}