{"package":"SETTLEMENT_DATA","pdr_config":{"mappings":[{"REPORT_NAME":"SETTLEMENTS","REPORT_SUB_TYPE":"IRAUCSURPLUS","VERSION":6}],"transaction_type":"INSERT"},"documentation_urls":["https://nemweb.com.au/Reports/Current/MMSDataModelReport/Electricity/ElectricityDataModelReport_files/Elec57.htm#224"],"comment":"This view supports the Settlements Residue Auction, by holding the NSP participant allocations of IRSurplus arising as a result of the unsold units for a quarter.","description":"SETIRAUCSURPLUS data is confidential to the relevant participant.\n\nSource\n\nSETIRAUCSURPLUS updates with each settlement run.\n\nVolume\n\nSETIRAUCSURPLUS contains a maximum of 10 million records per year.","primary_keys":["CONTRACTID","FROMREGIONID","INTERCONNECTORID","PARTICIPANTID","PERIODID","SETTLEMENTDATE","SETTLEMENTRUNNO"],"indexes":[["LASTCHANGED"]],"columns":{"CONTRACTID":{"sql_type":"VARCHAR2(10)","pl_type":"pl.Categorical","mandatory":true,"comment":"SRA Contract unique identifier","is_categorical":true},"FROMREGIONID":{"sql_type":"VARCHAR2(10)","pl_type":"pl.Enum([\"QLD1\", \"VIC1\", \"TAS1\", \"NSW1\", \"SA1\"])","mandatory":true,"comment":"Nominated source region for Interconnector","examples":null,"enums":["QLD1","VIC1","TAS1","NSW1","SA1"]},"INTERCONNECTORID":{"sql_type":"VARCHAR2(10)","pl_type":"pl.Categorical","mandatory":true,"comment":"Contracted Interconnector 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":"Settlements Trading Interval.","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},"SETTLEMENTRUNNO":{"sql_type":"NUMBER(3,0)","pl_type":"pl.UInt16","mandatory":true,"comment":"Settlement run number","is_integer":true,"unsigned_int":true,"num_int_bits":16},"CONTRACTALLOCATION":{"sql_type":"NUMBER(8,5)","pl_type":"pl.Float64","mandatory":false,"comment":"Percentage allocated to participant","is_float":true},"CSP_DEROGATION_AMOUNT":{"sql_type":"NUMBER(18,8)","pl_type":"pl.Float64","mandatory":false,"comment":"The CSP derogation amount applied as an adjustment to SRA","is_float":true},"LASTCHANGED":{"sql_type":"DATE","pl_type":"pl.Datetime()","mandatory":false,"comment":"Date and time this record was last modified","examples":["2026/01/20 00:05:00"],"parse_csv_as_string":true,"is_s_datetime":true},"SURPLUSVALUE":{"sql_type":"NUMBER(15,5)","pl_type":"pl.Float64","mandatory":false,"comment":"Amount NSP is paid for Inter/intra-Regional surplus energy produced","is_float":true},"TOTALSURPLUS":{"sql_type":"NUMBER(15,5)","pl_type":"pl.Float64","mandatory":false,"comment":"Total value of surplus before allocation","is_float":true},"UNADJUSTED_IRSR":{"sql_type":"NUMBER(18,8)","pl_type":"pl.Float64","mandatory":false,"comment":"The SRA amount unadjusted by CSP","is_float":true}},"visibility":"Private","trigger":"After each settlement run"}