{"package":"SETTLEMENT_DATA","pdr_config":{"mappings":[{"REPORT_NAME":"SETTLEMENTS","REPORT_SUB_TYPE":"IRSR_DIRECTIONAL_LINK","VERSION":1}],"transaction_type":"INSERT"},"documentation_urls":["https://nemweb.com.au/Reports/Current/MMSDataModelReport/Electricity/ElectricityDataModelReport_files/Elec57.htm#130"],"comment":"This report contains the MW Flow and Inter-Regional Residue Amounts for all primary interconnectors.","primary_keys":["FROMREGIONID","INTERCONNECTORID","PERIODID","SETTLEMENTDATE","VERSIONNO"],"columns":{"FROMREGIONID":{"sql_type":"VARCHAR2(20)","pl_type":"pl.Enum([\"QLD1\", \"VIC1\", \"TAS1\", \"NSW1\", \"SA1\"])","mandatory":true,"comment":"The Exporting Region Identifier","examples":null,"enums":["QLD1","VIC1","TAS1","NSW1","SA1"]},"INTERCONNECTORID":{"sql_type":"VARCHAR2(20)","pl_type":"pl.Categorical","mandatory":true,"comment":"The Interconnector 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},"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},"INTERCONNECTORLOOPID":{"sql_type":"VARCHAR2(20)","pl_type":"str","mandatory":false,"comment":"The Interconnector Loop Identifier, Blank if Interconnector not part of the loop"},"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},"MWFLOW":{"sql_type":"NUMBER(18,8)","pl_type":"pl.Float64","mandatory":false,"comment":"Consumed Energy in MWh","is_float":true},"ORG_SURPLUSVALUE":{"sql_type":"NUMBER(18,8)","pl_type":"pl.Float64","mandatory":false,"comment":"Original Surplus Value","is_float":true},"SURPLUSVALUE":{"sql_type":"NUMBER(18,8)","pl_type":"pl.Float64","mandatory":false,"comment":"Updated Surplus Value for the primary interconnector","is_float":true}},"visibility":"Public","trigger":"Daily Billing Run & Posting a PRELIM/FINAL and REVISE Billing Run"}