Skip to content

MTPASA_CONSTRAINTRESULT

Constraint results for Binding or Violating Constraints

MTPASA_CONSTRAINTRESULT is public data.

Column Schema

CONSTRAINTID

The unique identifier for the constraint. Only binding or violating constraints are reported

SQL Type: VARCHAR2(20) Polars Type: pl.Categorical

This column is mandatory, and a primary key.

Examples:

  • I_6F_NS_150
  • I_6F_SN_150
  • N::N_CNCW_2
  • N::N_SDUT_2
  • N::Q_AR_VC_LDTW
  • N::Q_BWMP_LDTW
  • N::Q_NIL_LDTW
  • N>94M_9ML1_NIL
  • N>>DP_TIETX_A
  • N>>NIL_5_61_N

DAY

Day this result is for

SQL Type: DATE Polars Type: pl.Datetime()

This column is mandatory, and a primary key.

Example: 2026/09/13 00:00:00

DEMAND_POE_TYPE

Demand POE type used. Value is POE10

SQL Type: VARCHAR2(20) Polars Type: pl.Categorical

This column is mandatory, and a primary key.

Example: POE10

RUN_DATETIME

Date processing of the run begins.

SQL Type: DATE Polars Type: pl.Datetime()

This column is mandatory, and a primary key.

Example: 2026/09/07 01:00:00

RUN_NO

Unique run id.

SQL Type: NUMBER(4) Polars Type: pl.Int16

This column is mandatory, and a primary key.

Example: 1177

RUNTYPE

Type of run. Always RELIABILITY

SQL Type: VARCHAR2(20) Polars Type: pl.Categorical

This column is mandatory, and a primary key.

Example: RELIABILITY

CONSTRAINTVIOLATION10

The 10th percentile violation degree for this constraint, across iterations and reference years (MW)

SQL Type: NUMBER(12,2) Polars Type: pl.Float64

This column is not mandatory.

Examples: 171.09, 0, 391.93

CONSTRAINTVIOLATION50

The 50th percentile violation degree for this constraint, across iterations and reference years (MW)

SQL Type: NUMBER(12,2) Polars Type: pl.Float64

This column is not mandatory.

Examples: 318.44, 0, 777.68

CONSTRAINTVIOLATION90

The 90th percentile violation degree for this constraint, across iterations and reference years (MW)

SQL Type: NUMBER(12,2) Polars Type: pl.Float64

This column is not mandatory.

Examples: 471.18, 0, 1397.91

EFFECTIVEDATE

The effective date of the constraint used

Warning

Despite what the name suggests, this is a datetime, not a date.

SQL Type: DATE Polars Type: pl.Datetime()

This column is not mandatory.

Example: 2013/07/23 14:00:00

LASTCHANGED

Last date and time record changed

For more information, see the dedicated documentation page.

SQL Type: DATE Polars Type: pl.Datetime()

This column is not mandatory.

Example: 2026/09/08 12:28:55

PERIODID

Half hourly period reported, selected as period of maximum NEM scheduled demand (calculated as maximum of scheduled demands, averaged across iterations and reference years)

SQL Type: NUMBER(3,0) Polars Type: pl.Int16

This column is not mandatory.

Examples: 37, 38

PROBABILITYOFBINDING

Proportion of a constraint binding, across iterations and reference years

SQL Type: NUMBER(8,5) Polars Type: pl.Float64

This column is not mandatory.

Examples: 0.16667, 0, 1, 100

PROBABILITYOFVIOLATION

Proportion of a constraint violating, across iterations and reference years

SQL Type: NUMBER(8,5) Polars Type: pl.Float64

This column is not mandatory.

Examples: 98.66667, 0, 100, 99.5

VERSIONNO

The version of the constraint used

SQL Type: NUMBER(3,0) Polars Type: pl.UInt16

This column is not mandatory.

Examples: 1, 2

New Data Timing

On MTPASA solution published to the market (usually weekly)

Code Examples

Polars

Casting is enums, categoricals etc is not essential, but may speed up parsing. Swapping int for pl.UInt16, pl.Int32 would also speed up parsing. However some of the datatypes are inferred, so they may be wrong.

This code deduplicates for you. Deduplication is normally only required across multiple months.

This code assumes that all columns are present, which may not be true for older files.

import polars as pl
import polars.selectors as cs

# e.g. "2029/03/15 00:05:00"
dt_s_fmt = "%Y/%m/%d %H:%M:%S"

csv_paths = ["SOMEFILE.CSV", "OTHERFILE.CSV"]

lf = (
    pl.concat(
        [
            pl.scan_csv(
                csv_path,  # must be unzipped beforehand
                skip_rows=1,  # skip the header
                infer_schema=False,  # much faster
            )
            .filter(cs.by_index(0) == "D")  # drop the footer
            .select(~cs.by_index(range(4)))  # drop metadata columns
            for csv_path in csv_paths
        ],
        how="diagonal_relaxed",
    )
    .with_columns(
        pl.col("DAY", "RUN_DATETIME", "EFFECTIVEDATE", "LASTCHANGED").str.strptime(
            pl.Datetime, dt_s_fmt
        ),
    )
    .cast(
        {
            "CONSTRAINTID": pl.Categorical,
            "DEMAND_POE_TYPE": pl.Categorical,
            "RUN_NO": int,  # or pl.Int16
            "RUNTYPE": pl.Categorical,
            "CONSTRAINTVIOLATION10": pl.Float64,
            "CONSTRAINTVIOLATION50": pl.Float64,
            "CONSTRAINTVIOLATION90": pl.Float64,
            "PERIODID": int,  # or pl.Int16
            "PROBABILITYOFBINDING": pl.Float64,
            "PROBABILITYOFVIOLATION": pl.Float64,
            "VERSIONNO": int,  # or pl.UInt16
        }
    )
    # Deduplicate
    # We want one row per ['CONSTRAINTID', 'DAY', 'DEMAND_POE_TYPE', 'RUN_DATETIME', 'RUN_NO', 'RUNTYPE']
    # Tie-breaker: greatest value of LASTCHANGED
    .sort(LASTCHANGED, descending=False)
    .unique(
        subset=[
            "CONSTRAINTID",
            "DAY",
            "DEMAND_POE_TYPE",
            "RUN_DATETIME",
            "RUN_NO",
            "RUNTYPE",
        ],
        keep="last",
    )
)

Nemosis

This table is not yet available in Nemosis.

Example File

From PUBLIC_ARCHIVE_MTPASA_CONSTRAINTRESULT_FILE01_202609010000.zip

RUN_DATETIMERUN_NORUNTYPEDEMAND_POE_TYPEDAYCONSTRAINTIDEFFECTIVEDATEVERSIONNOPERIODIDPROBABILITYOFBINDINGPROBABILITYOFVIOLATIONCONSTRAINTVIOLATION90CONSTRAINTVIOLATION50CONSTRAINTVIOLATION10LASTCHANGED
2026/09/07 01:00:001177RELIABILITYPOE102026/09/13 00:00:00N::N_CNCW_22026/07/29 14:00:001375.3333300002026/09/08 12:28:55
2026/09/07 01:00:001177RELIABILITYPOE102026/09/13 00:00:00N>>NIL_85_86_S2026/05/19 14:00:0013711.500002026/09/08 12:28:55
2026/09/07 01:00:001177RELIABILITYPOE102026/09/13 00:00:00N>NIL_998_182026/04/29 14:00:001370.1666700002026/09/08 12:28:55
2026/09/07 01:00:001177RELIABILITYPOE102026/09/13 00:00:00N^^V_CNCW_12025/12/01 14:00:00137500002026/09/08 12:28:55
2026/09/07 01:00:001177RELIABILITYPOE102026/09/13 00:00:00Q>NIL_CLWU_LCCP2026/06/04 14:00:001370.1666700002026/09/08 12:28:55
2026/09/07 01:00:001177RELIABILITYPOE102026/09/13 00:00:00Q>NIL_CPWU_CLWU2026/06/04 14:00:0013745.1666700002026/09/08 12:28:55
2026/09/07 01:00:001177RELIABILITYPOE102026/09/13 00:00:00Q>NIL_DRLCLB_NIL2023/07/03 14:00:001370.1666700002026/09/08 12:28:55
2026/09/07 01:00:001177RELIABILITYPOE102026/09/13 00:00:00Q>NIL_RGLC_BCCP2026/06/04 14:00:001371.1666700002026/09/08 12:28:55
2026/09/07 01:00:001177RELIABILITYPOE102026/09/13 00:00:00Q>NIL_RGLC_CLWU2026/06/04 14:00:001379.1666700002026/09/08 12:28:55
2026/09/07 01:00:001177RELIABILITYPOE102026/09/13 00:00:00Q>PWSP_PWSP_WOSP2026/03/19 14:00:0013722.1666700002026/09/08 12:28:55
2026/09/07 01:00:001177RELIABILITYPOE102026/09/13 00:00:00Q^^TR_CLHA_-3502026/06/11 14:00:0013712.8333300002026/09/08 12:28:55
...

CSETP.WORLDDVD_MTPASA_CONSTRAINTRESULTAEMOPUBLIC2026/10/0915:53:55001791525235045MONTHLY_ARCHIVE001791525235045
IMTPASACONSTRAINTRESULT1RUN_DATETIMERUN_NORUNTYPEDEMAND_POE_TYPEDAYCONSTRAINTIDEFFECTIVEDATEVERSIONNOPERIODIDPROBABILITYOFBINDINGPROBABILITYOFVIOLATIONCONSTRAINTVIOLATION90CONSTRAINTVIOLATION50CONSTRAINTVIOLATION10LASTCHANGED
DMTPASACONSTRAINTRESULT12026/09/07 01:00:001177RELIABILITYPOE102026/09/13 00:00:00N::N_CNCW_22026/07/29 14:00:001375.3333300002026/09/08 12:28:55
DMTPASACONSTRAINTRESULT12026/09/07 01:00:001177RELIABILITYPOE102026/09/13 00:00:00N>>NIL_85_86_S2026/05/19 14:00:0013711.500002026/09/08 12:28:55
DMTPASACONSTRAINTRESULT12026/09/07 01:00:001177RELIABILITYPOE102026/09/13 00:00:00N>NIL_998_182026/04/29 14:00:001370.1666700002026/09/08 12:28:55
DMTPASACONSTRAINTRESULT12026/09/07 01:00:001177RELIABILITYPOE102026/09/13 00:00:00N^^V_CNCW_12025/12/01 14:00:00137500002026/09/08 12:28:55
DMTPASACONSTRAINTRESULT12026/09/07 01:00:001177RELIABILITYPOE102026/09/13 00:00:00Q>NIL_CLWU_LCCP2026/06/04 14:00:001370.1666700002026/09/08 12:28:55
DMTPASACONSTRAINTRESULT12026/09/07 01:00:001177RELIABILITYPOE102026/09/13 00:00:00Q>NIL_CPWU_CLWU2026/06/04 14:00:0013745.1666700002026/09/08 12:28:55
DMTPASACONSTRAINTRESULT12026/09/07 01:00:001177RELIABILITYPOE102026/09/13 00:00:00Q>NIL_DRLCLB_NIL2023/07/03 14:00:001370.1666700002026/09/08 12:28:55
DMTPASACONSTRAINTRESULT12026/09/07 01:00:001177RELIABILITYPOE102026/09/13 00:00:00Q>NIL_RGLC_BCCP2026/06/04 14:00:001371.1666700002026/09/08 12:28:55
DMTPASACONSTRAINTRESULT12026/09/07 01:00:001177RELIABILITYPOE102026/09/13 00:00:00Q>NIL_RGLC_CLWU2026/06/04 14:00:001379.1666700002026/09/08 12:28:55
DMTPASACONSTRAINTRESULT12026/09/07 01:00:001177RELIABILITYPOE102026/09/13 00:00:00Q>PWSP_PWSP_WOSP2026/03/19 14:00:0013722.1666700002026/09/08 12:28:55
DMTPASACONSTRAINTRESULT12026/09/07 01:00:001177RELIABILITYPOE102026/09/13 00:00:00Q^^TR_CLHA_-3502026/06/11 14:00:0013712.8333300002026/09/08 12:28:55
...
CEND OF REPORT1003

RUN_DATETIME,RUN_NO,RUNTYPE,DEMAND_POE_TYPE,DAY,CONSTRAINTID,EFFECTIVEDATE,VERSIONNO,PERIODID,PROBABILITYOFBINDING,PROBABILITYOFVIOLATION,CONSTRAINTVIOLATION90,CONSTRAINTVIOLATION50,CONSTRAINTVIOLATION10,LASTCHANGED
"2026/09/07 01:00:00",1177,RELIABILITY,POE10,"2026/09/13 00:00:00",N::N_CNCW_2,"2026/07/29 14:00:00",1,37,5.33333,0,0,0,0,"2026/09/08 12:28:55"
"2026/09/07 01:00:00",1177,RELIABILITY,POE10,"2026/09/13 00:00:00",N>>NIL_85_86_S,"2026/05/19 14:00:00",1,37,11.5,0,0,0,0,"2026/09/08 12:28:55"
"2026/09/07 01:00:00",1177,RELIABILITY,POE10,"2026/09/13 00:00:00",N>NIL_998_18,"2026/04/29 14:00:00",1,37,0.16667,0,0,0,0,"2026/09/08 12:28:55"
"2026/09/07 01:00:00",1177,RELIABILITY,POE10,"2026/09/13 00:00:00",N^^V_CNCW_1,"2025/12/01 14:00:00",1,37,5,0,0,0,0,"2026/09/08 12:28:55"
"2026/09/07 01:00:00",1177,RELIABILITY,POE10,"2026/09/13 00:00:00",Q>NIL_CLWU_LCCP,"2026/06/04 14:00:00",1,37,0.16667,0,0,0,0,"2026/09/08 12:28:55"
"2026/09/07 01:00:00",1177,RELIABILITY,POE10,"2026/09/13 00:00:00",Q>NIL_CPWU_CLWU,"2026/06/04 14:00:00",1,37,45.16667,0,0,0,0,"2026/09/08 12:28:55"
"2026/09/07 01:00:00",1177,RELIABILITY,POE10,"2026/09/13 00:00:00",Q>NIL_DRLCLB_NIL,"2023/07/03 14:00:00",1,37,0.16667,0,0,0,0,"2026/09/08 12:28:55"
"2026/09/07 01:00:00",1177,RELIABILITY,POE10,"2026/09/13 00:00:00",Q>NIL_RGLC_BCCP,"2026/06/04 14:00:00",1,37,1.16667,0,0,0,0,"2026/09/08 12:28:55"
"2026/09/07 01:00:00",1177,RELIABILITY,POE10,"2026/09/13 00:00:00",Q>NIL_RGLC_CLWU,"2026/06/04 14:00:00",1,37,9.16667,0,0,0,0,"2026/09/08 12:28:55"
"2026/09/07 01:00:00",1177,RELIABILITY,POE10,"2026/09/13 00:00:00",Q>PWSP_PWSP_WOSP,"2026/03/19 14:00:00",1,37,22.16667,0,0,0,0,"2026/09/08 12:28:55"
"2026/09/07 01:00:00",1177,RELIABILITY,POE10,"2026/09/13 00:00:00",Q^^TR_CLHA_-350,"2026/06/11 14:00:00",1,37,12.83333,0,0,0,0,"2026/09/08 12:28:55"
...
C,SETP.WORLD,DVD_MTPASA_CONSTRAINTRESULT,AEMO,PUBLIC,2026/10/09,15:53:55,001791525235045,MONTHLY_ARCHIVE,001791525235045
I,MTPASA,CONSTRAINTRESULT,1,RUN_DATETIME,RUN_NO,RUNTYPE,DEMAND_POE_TYPE,DAY,CONSTRAINTID,EFFECTIVEDATE,VERSIONNO,PERIODID,PROBABILITYOFBINDING,PROBABILITYOFVIOLATION,CONSTRAINTVIOLATION90,CONSTRAINTVIOLATION50,CONSTRAINTVIOLATION10,LASTCHANGED
D,MTPASA,CONSTRAINTRESULT,1,"2026/09/07 01:00:00",1177,RELIABILITY,POE10,"2026/09/13 00:00:00",N::N_CNCW_2,"2026/07/29 14:00:00",1,37,5.33333,0,0,0,0,"2026/09/08 12:28:55"
D,MTPASA,CONSTRAINTRESULT,1,"2026/09/07 01:00:00",1177,RELIABILITY,POE10,"2026/09/13 00:00:00",N>>NIL_85_86_S,"2026/05/19 14:00:00",1,37,11.5,0,0,0,0,"2026/09/08 12:28:55"
D,MTPASA,CONSTRAINTRESULT,1,"2026/09/07 01:00:00",1177,RELIABILITY,POE10,"2026/09/13 00:00:00",N>NIL_998_18,"2026/04/29 14:00:00",1,37,0.16667,0,0,0,0,"2026/09/08 12:28:55"
D,MTPASA,CONSTRAINTRESULT,1,"2026/09/07 01:00:00",1177,RELIABILITY,POE10,"2026/09/13 00:00:00",N^^V_CNCW_1,"2025/12/01 14:00:00",1,37,5,0,0,0,0,"2026/09/08 12:28:55"
D,MTPASA,CONSTRAINTRESULT,1,"2026/09/07 01:00:00",1177,RELIABILITY,POE10,"2026/09/13 00:00:00",Q>NIL_CLWU_LCCP,"2026/06/04 14:00:00",1,37,0.16667,0,0,0,0,"2026/09/08 12:28:55"
D,MTPASA,CONSTRAINTRESULT,1,"2026/09/07 01:00:00",1177,RELIABILITY,POE10,"2026/09/13 00:00:00",Q>NIL_CPWU_CLWU,"2026/06/04 14:00:00",1,37,45.16667,0,0,0,0,"2026/09/08 12:28:55"
D,MTPASA,CONSTRAINTRESULT,1,"2026/09/07 01:00:00",1177,RELIABILITY,POE10,"2026/09/13 00:00:00",Q>NIL_DRLCLB_NIL,"2023/07/03 14:00:00",1,37,0.16667,0,0,0,0,"2026/09/08 12:28:55"
D,MTPASA,CONSTRAINTRESULT,1,"2026/09/07 01:00:00",1177,RELIABILITY,POE10,"2026/09/13 00:00:00",Q>NIL_RGLC_BCCP,"2026/06/04 14:00:00",1,37,1.16667,0,0,0,0,"2026/09/08 12:28:55"
D,MTPASA,CONSTRAINTRESULT,1,"2026/09/07 01:00:00",1177,RELIABILITY,POE10,"2026/09/13 00:00:00",Q>NIL_RGLC_CLWU,"2026/06/04 14:00:00",1,37,9.16667,0,0,0,0,"2026/09/08 12:28:55"
D,MTPASA,CONSTRAINTRESULT,1,"2026/09/07 01:00:00",1177,RELIABILITY,POE10,"2026/09/13 00:00:00",Q>PWSP_PWSP_WOSP,"2026/03/19 14:00:00",1,37,22.16667,0,0,0,0,"2026/09/08 12:28:55"
D,MTPASA,CONSTRAINTRESULT,1,"2026/09/07 01:00:00",1177,RELIABILITY,POE10,"2026/09/13 00:00:00",Q^^TR_CLHA_-350,"2026/06/11 14:00:00",1,37,12.83333,0,0,0,0,"2026/09/08 12:28:55"
...
C,"END OF REPORT",1003

Availability

Visibility: Public

This table is in the public monthly MMSDM archive.

I have collated the list of all those files into one place, in this CSV metadata file. (Columns year, month, url, compressed_size in bytes).

The earliest available data is month 5 of 2018. The most recent available data is month 9 of 2026.

Every month in between has a file. (No gaps.)

Data Size

Each year of data is approximately 9 MB when zipped, 95 MB as unzipped CSV.

Deduplication and PDR Loader Configuration

The primary keys are:

The transaction type is "insert", which means that you will usually not see duplicate data. If you do, you can deduplicate based on the primary keys, without sorting first. Rows from different files with the same primary keys should have the same values.

PDR Loader configuration is:

Report Name Report Subtype Version
MTPASA CONSTRAINTRESULT 1

This means that the CSV files start with metadata columns:

I,MTPASA,CONSTRAINTRESULT,1,...
D,MTPASA,CONSTRAINTRESULT,1,...

This page as JSON (schema documented here, but may change)

Download a JSON Schema specification for this table.

Official AEMO schema documentation

Other Information

Package: MTPASA