{"package":"STPASA_SOLUTION","pdr_config":{"mappings":[{"REPORT_NAME":"STPASA","REPORT_SUB_TYPE":"FNM_CONSTRAINTSOLUTION","VERSION":1}],"transaction_type":"INSERT"},"documentation_urls":["https://nemweb.com.au/Reports/Current/MMSDataModelReport/Electricity/ElectricityDataModelReport_files/Elec59.htm#31"],"comment":"STPASA_FNM_CONSTRAINTSOLUTION shows the manual or thermal constraint (created by PASA), including marginal value, violation degree, LHS and RHS.","primary_keys":["CONSTRAINTID","INTERVAL_DATETIME","RUN_DATETIME","RUNTYPE"],"columns":{"CONSTRAINTID":{"sql_type":"VARCHAR2(100)","pl_type":"pl.Categorical","mandatory":true,"comment":"Constraint identifier, either manual constraint (synonymous with GenConID) or thermal constraint created by PASA with format 'BASE_<BranchName>' or '<ContingencyID>_<BranchName>'","is_categorical":true},"INTERVAL_DATETIME":{"sql_type":"DATE","pl_type":"pl.Datetime()","mandatory":true,"comment":"End date time of the interval","examples":["2026/01/20 00:05:00"],"parse_csv_as_string":true,"is_s_datetime":true},"RUN_DATETIME":{"sql_type":"DATE","pl_type":"pl.Datetime()","mandatory":true,"comment":"Unique Timestamp Identifier for this run, identified by the first half hour ended interval of the run","examples":["2026/01/20 00:05:00"],"parse_csv_as_string":true,"is_s_datetime":true},"RUNTYPE":{"sql_type":"VARCHAR2(20)","pl_type":"pl.Enum([\"BASE\", \"RELIABILITY\", \"WARNING\"])","mandatory":true,"comment":"Run Type (BASE, RELIABILITY, WARNING)","examples":null,"enums":["BASE","RELIABILITY","WARNING"]},"LASTCHANGED":{"sql_type":"DATE","pl_type":"pl.Datetime()","mandatory":false,"comment":"Date time this record was created","examples":["2026/01/20 00:05:00"],"parse_csv_as_string":true,"is_s_datetime":true},"LHS":{"sql_type":"NUMBER(15,5)","pl_type":"pl.Float64","mandatory":false,"comment":"Constraint LHS (MW)","is_float":true},"MARGINALVALUE":{"sql_type":"NUMBER(20,5)","pl_type":"pl.Float64","mandatory":false,"comment":"Constraint Marginal Value ($/MW)","is_float":true},"RHS":{"sql_type":"NUMBER(15,5)","pl_type":"pl.Float64","mandatory":false,"comment":"Constraint RHS (MW)","is_float":true},"VIOLATIONDEGREE":{"sql_type":"NUMBER(15,5)","pl_type":"pl.Float64","mandatory":false,"comment":"Constraint Violation Degree (MW)","is_float":true}},"visibility":"Public","trigger":"Every 60 minutes"}