{"package":"HISTORICAL TABLES","pdr_config":{"mappings":[{"REPORT_NAME":"SETTLEMENTS","REPORT_SUB_TYPE":"GENDATAREGION","VERSION":5}],"transaction_type":"INSERT"},"documentation_urls":["https://nemweb.com.au/Reports/Current/MMSDataModelReport/Electricity/ElectricityDataModelReport_files/Elec65.htm#1082"],"comment":"SETGENDATAREGION sets out summary settlement data for generation within the specified region. The table is populated for participants using Data Model 5.2. For participants using Data Model 5.3 or higher, SET_ENERGY_REGION_SUMMARY replace SETGENDATAREGION.","description":"SETGENDATAREGION shows the regional summary. SETGENDATAREGION is public\ndata.\n\nSource\n\nSETGENDATAREGION updates with each Settlement run.","unused":true,"primary_keys":["PERIODID","REGIONID","SETTLEMENTDATE","VERSIONNO"],"indexes":[["LASTCHANGED"]],"columns":{"PERIODID":{"sql_type":"NUMBER(22,10)","pl_type":"pl.Float64","mandatory":true,"comment":"Settlements Trading Interval.","examples":["1","200"],"is_float":true,"num_int_bits":16},"REGIONID":{"sql_type":"VARCHAR2(10)","pl_type":"pl.Enum([\"QLD1\", \"VIC1\", \"TAS1\", \"NSW1\", \"SA1\", \"SNOWY1\"])","mandatory":true,"comment":"Region Identifier","examples":null,"enums":["QLD1","VIC1","TAS1","NSW1","SA1","SNOWY1"]},"SETTLEMENTDATE":{"sql_type":"DATE","pl_type":"pl.Date()","mandatory":true,"comment":"Calendar Settlement Date","examples":["2024/05/05 00:00:00"],"parse_csv_as_string":true,"is_date":true},"VERSIONNO":{"sql_type":"NUMBER(22,10)","pl_type":"pl.Float64","mandatory":true,"comment":"Settlement run no","examples":["12"],"is_float":true,"unsigned_int":true},"ENERGYCOST":{"sql_type":"NUMBER(27,5)","pl_type":"pl.Float64","mandatory":false,"comment":"Cost of net energy $","examples":["-269.95147","1.59712","-18021.17474","167606.21924"],"is_float":true},"EXCESSENERGYCOST":{"sql_type":"NUMBER(27,5)","pl_type":"pl.Float64","mandatory":false,"comment":"Cost of excess energy $","examples":["0"],"is_float":true},"EXPENERGY":{"sql_type":"NUMBER(27,6)","pl_type":"pl.Float64","mandatory":false,"comment":"Export Energy (Generator Purchases)","examples":["-0.212487","-49.58294"],"is_float":true},"EXPENERGYCOST":{"sql_type":"NUMBER(27,6)","pl_type":"pl.Float64","mandatory":false,"comment":"Export Energy Cost","examples":["-0.013823","2.251715","-7037.281457","2792.867124"],"is_float":true},"LASTCHANGED":{"sql_type":"DATE","pl_type":"pl.Datetime()","mandatory":false,"comment":"current system date, to enable automatic replication","examples":["2024/11/25 07:51:48"],"parse_csv_as_string":true,"is_s_datetime":true},"NETENERGY":{"sql_type":"NUMBER(27,5)","pl_type":"pl.Float64","mandatory":false,"comment":"Net energy MW/hours","examples":["52.65059","636.02502"],"is_float":true},"AENERGY":{"sql_type":"NUMBER(22,0)","pl_type":"pl.Int128","mandatory":false,"comment":"Purchased Energy - Not used in MMS Data Model","unused":true,"is_integer":true,"num_int_bits":128},"APOWER":{"sql_type":"NUMBER(22,0)","pl_type":"pl.Int128","mandatory":false,"comment":"Not used in MMS Data Model","unused":true,"is_integer":true,"num_int_bits":128},"GENERGY":{"sql_type":"NUMBER(22,0)","pl_type":"pl.Int128","mandatory":false,"comment":"Generated energy - Not used in MMS Data Model","unused":true,"is_integer":true,"num_int_bits":128},"GPOWER":{"sql_type":"NUMBER(22,0)","pl_type":"pl.Int128","mandatory":false,"comment":"Not used in MMS Data Model","unused":true,"is_integer":true,"num_int_bits":128}},"example_zip_url":"https://www.nemweb.com.au/Data_Archive/Wholesale_Electricity/MMSDM/2024/MMSDM_2024_12/MMSDM_Historical_Data_SQLLoader/DATA/PUBLIC_ARCHIVE%23SETGENDATAREGION%23FILE01%23202412010000.zip","manifest_summary":{"first_month":{"year":2015,"month":1},"last_month":{"year":2024,"month":12},"has_missing_months":true,"compressed_size_per_month":1092863,"decompressed_size_all_time":2601485890},"visibility":"Public","trigger":"After each settlement run"}