{"package":"SETTLEMENT_DATA","pdr_config":{"mappings":[{"REPORT_NAME":"SETTLEMENTS","REPORT_SUB_TYPE":"IRNSPSURPLUS","VERSION":6}],"transaction_type":"INSERT"},"documentation_urls":["https://nemweb.com.au/Reports/Current/MMSDataModelReport/Electricity/ElectricityDataModelReport_files/Elec57.htm#233"],"comment":"This view supports the Settlements Residue Auction, by showing the TNSP participant allocations of Interconnector Residue (IR) Surplus (i.e. derogated amounts) arising as a result of the sold units for a quarter.","description":"SETIRNSPSURPLUS data is confidential to the relevant participant.\n\nSource\n\nSETIRNSPSURPLUS updates with each settlement run.\n\nVolume\n\nSETIRNSPSURPLUS 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":"Identifier of Contracted Interconnector","is_categorical":true},"PARTICIPANTID":{"sql_type":"VARCHAR2(10)","pl_type":"pl.Categorical","mandatory":true,"comment":"Participant unique 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":"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 of total surplus 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 by the participant","is_float":true},"TOTALSURPLUS":{"sql_type":"NUMBER(15,5)","pl_type":"pl.Float64","mandatory":false,"comment":"Total value of surplus","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"}