{"package":"ANCILLARY_SERVICES","pdr_config":{"mappings":[{"REPORT_NAME":"ANCILLIARY_SERVICES","REPORT_SUB_TYPE":"CONTRACTAGC","VERSION":1}],"transaction_type":"INSERT-UPDATE","row_filter_type":"LASTCHANGED"},"documentation_urls":["https://nemweb.com.au/Reports/Current/MMSDataModelReport/Electricity/ElectricityDataModelReport_files/Elec6.htm#1"],"comment":"CONTRACTAGC shows Automatic Generation Control (AGC) contract details for each dispatchable unit. There is a separate contract for each unit.","description":"CONTRACTAGC data is confidential to the relevant participant.\n\nSource\n\nCONTRACTAGC updates only where there is a contract variation.","primary_keys":["CONTRACTID","VERSIONNO"],"indexes":[["LASTCHANGED"],["PARTICIPANTID","CONTRACTID"]],"columns":{"CONTRACTID":{"sql_type":"VARCHAR2(10)","pl_type":"pl.Categorical","mandatory":true,"comment":"Contract Identifier","is_categorical":true},"VERSIONNO":{"sql_type":"NUMBER(3,0)","pl_type":"pl.UInt16","mandatory":true,"comment":"Contract Version No","is_integer":true,"unsigned_int":true,"num_int_bits":16},"AUTHORISEDBY":{"sql_type":"VARCHAR2(15)","pl_type":"str","mandatory":false,"comment":"User Name"},"AUTHORISEDDATE":{"sql_type":"DATE","pl_type":"pl.Datetime()","mandatory":false,"comment":"Date Contract was Authorised","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},"BS":{"sql_type":"NUMBER(10,2)","pl_type":"pl.Float64","mandatory":false,"comment":"Block Size","is_float":true},"CCPRICE":{"sql_type":"NUMBER(10,2)","pl_type":"pl.Float64","mandatory":false,"comment":"Compensation Cap in $","is_float":true},"CRL":{"sql_type":"NUMBER(4,0)","pl_type":"pl.Int16","mandatory":false,"comment":"Control Range Lower 5 Min MW","is_integer":true,"num_int_bits":16},"CRR":{"sql_type":"NUMBER(4,0)","pl_type":"pl.Int16","mandatory":false,"comment":"Control Range Raise 5 Min MW","is_integer":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},"ENDDATE":{"sql_type":"DATE","pl_type":"pl.Datetime()","mandatory":false,"comment":"End date of contract","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},"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},"PARTICIPANTID":{"sql_type":"VARCHAR2(10)","pl_type":"pl.Categorical","mandatory":false,"comment":"Unique participant identifier","is_categorical":true},"RLPRICE":{"sql_type":"NUMBER(10,2)","pl_type":"pl.Float64","mandatory":false,"comment":"Enabling Price in $","is_float":true},"STARTDATE":{"sql_type":"DATE","pl_type":"pl.Datetime()","mandatory":false,"comment":"Starting Date of Contract","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}},"visibility":"Private","trigger":"When there is a contract variation"}