{"package":"SETTLEMENT_DATA","pdr_config":{"mappings":[{"REPORT_NAME":"SETTLEMENTS","REPORT_SUB_TYPE":"IRSR_LOOP_NSP_ALLOCATION","VERSION":1}],"transaction_type":"INSERT"},"documentation_urls":["https://nemweb.com.au/Reports/Current/MMSDataModelReport/Electricity/ElectricityDataModelReport_files/Elec57.htm#142"],"comment":"This report contains Inter-Regional Negative Residue Amounts to allocate to TNSPs.","primary_keys":["INTERCONNECTORLOOPID","PARTICIPANTID","PERIODID","REGIONID","SETTLEMENTDATE","VERSIONNO"],"columns":{"INTERCONNECTORLOOPID":{"sql_type":"VARCHAR2(20)","pl_type":"str","mandatory":true,"comment":"The Interconnector Loop Identifier"},"PARTICIPANTID":{"sql_type":"VARCHAR2(20)","pl_type":"pl.Categorical","mandatory":true,"comment":"The TNSP Participant Identifier","is_categorical":true},"PERIODID":{"sql_type":"NUMBER(3,0)","pl_type":"pl.Int16","mandatory":true,"comment":"The Settlement Period Id(1-288)","is_integer":true,"num_int_bits":16},"REGIONID":{"sql_type":"VARCHAR2(20)","pl_type":"pl.Enum([\"QLD1\", \"VIC1\", \"TAS1\", \"NSW1\", \"SA1\", \"SNOWY1\"])","mandatory":true,"comment":"The Region Identifier","examples":null,"enums":["QLD1","VIC1","TAS1","NSW1","SA1","SNOWY1"]},"SETTLEMENTDATE":{"sql_type":"DATE","pl_type":"pl.Datetime()","mandatory":true,"comment":"The Settlement Date of the Billing Week","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":"The Settlement Run No","is_integer":true,"unsigned_int":true,"num_int_bits":16},"ALLOCATION":{"sql_type":"NUMBER(18,8)","pl_type":"pl.Float64","mandatory":false,"comment":"Participant Portion %(e.g. 100)","is_float":true},"AVGREGION_MWH":{"sql_type":"NUMBER(18,8)","pl_type":"pl.Float64","mandatory":false,"comment":"Annual Regional Demand for the Region","is_float":true},"LASTCHANGED":{"sql_type":"DATE","pl_type":"pl.Datetime()","mandatory":false,"comment":"The last changed date time of the record.","examples":["2026/01/20 00:05:00"],"parse_csv_as_string":true,"is_s_datetime":true},"NLA":{"sql_type":"NUMBER(18,8)","pl_type":"pl.Float64","mandatory":false,"comment":"Net Loop Allocation(negative only)","is_float":true},"RESIDUE_AMOUNT":{"sql_type":"NUMBER(18,8)","pl_type":"pl.Float64","mandatory":false,"comment":"Calculated Negative Residue Amount based on regional share","is_float":true},"TOTALREGION_MWH":{"sql_type":"NUMBER(18,8)","pl_type":"pl.Float64","mandatory":false,"comment":"Total Annual Regional Demand for all Regions in the Loop","is_float":true}},"visibility":"Private","trigger":"Daily Billing Run & Posting a PRELIM/FINAL and REVISE Billing Run"}