Skip to content

MTPASA_CONSTRAINTSUMMARY

Constraint Summary results over aggregation periods

MTPASA_CONSTRAINTSUMMARY is public data.

Column Schema

AGGREGATION_PERIOD

Period data is aggregated over. Values are PEAK, SHOULDER, OFFPEAK. PEAK = 14:00-19:59, SHOULDER = 07:00-13:59 and 20:00-21:59, OFFPEAK = 22:00-06:59

SQL Type: VARCHAR2(20) Polars Type: str

This column is mandatory, and a primary key.

Examples:

  • OFFPEAK
  • PEAK
  • SHOULDER

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::Q_BWMP_LDTW
  • N::Q_BWMP_TNT
  • N::Q_NIL_LDTW
  • N::V_BUDP_MSDD
  • N::V_CNCW_MSDD
  • N>94T_945_94K
  • N>94T_947_72

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

CONSTRAINTHOURSBINDING

Constraint hours binding or violating for period, averaged across iterations and reference years

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

This column is not mandatory.

Examples: 0.5, 0, 1, 9

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: 2026/08/13 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:56

VERSIONNO

The version of the constraintID

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

This column is not mandatory.

Example: 1

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(
        {
            "AGGREGATION_PERIOD": str,
            "CONSTRAINTID": pl.Categorical,
            "DEMAND_POE_TYPE": pl.Categorical,
            "RUN_NO": int,  # or pl.Int16
            "RUNTYPE": pl.Categorical,
            "CONSTRAINTHOURSBINDING": pl.Float64,
            "VERSIONNO": int,  # or pl.UInt16
        }
    )
    # Deduplicate
    # We want one row per ['AGGREGATION_PERIOD', 'CONSTRAINTID', 'DAY', 'DEMAND_POE_TYPE', 'RUN_DATETIME', 'RUN_NO', 'RUNTYPE']
    # Tie-breaker: greatest value of LASTCHANGED
    .sort(LASTCHANGED, descending=False)
    .unique(
        subset=[
            "AGGREGATION_PERIOD",
            "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_CONSTRAINTSUMMARY_FILE01_202609010000.zip

RUN_DATETIMERUN_NORUNTYPEDEMAND_POE_TYPEDAYCONSTRAINTIDEFFECTIVEDATEVERSIONNOAGGREGATION_PERIODCONSTRAINTHOURSBINDINGLASTCHANGED
2026/09/07 01:00:001177RELIABILITYPOE102026/09/13 00:00:00I_6F_NS_1502026/08/13 14:00:001OFFPEAK12026/09/08 12:28:56
2026/09/07 01:00:001177RELIABILITYPOE102026/09/13 00:00:00I_6F_NS_1502026/08/13 14:00:001PEAK0.822026/09/08 12:28:56
2026/09/07 01:00:001177RELIABILITYPOE102026/09/13 00:00:00I_6F_NS_1502026/08/13 14:00:001SHOULDER1.222026/09/08 12:28:56
2026/09/07 01:00:001177RELIABILITYPOE102026/09/13 00:00:00I_6F_SN_1502026/08/13 14:00:001OFFPEAK1.252026/09/08 12:28:56
2026/09/07 01:00:001177RELIABILITYPOE102026/09/13 00:00:00I_6F_SN_1502026/08/13 14:00:001SHOULDER0.52026/09/08 12:28:56
2026/09/07 01:00:001177RELIABILITYPOE102026/09/13 00:00:00N::N_CNCW_22026/08/13 14:00:001OFFPEAK1.442026/09/08 12:28:56
2026/09/07 01:00:001177RELIABILITYPOE102026/09/13 00:00:00N::N_CNCW_22026/08/13 14:00:001PEAK2.62026/09/08 12:28:56
2026/09/07 01:00:001177RELIABILITYPOE102026/09/13 00:00:00N::N_CNCW_22026/08/13 14:00:001SHOULDER3.172026/09/08 12:28:56
2026/09/07 01:00:001177RELIABILITYPOE102026/09/13 00:00:00N::Q_BWMP_LDTW2026/08/13 14:00:001OFFPEAK2.142026/09/08 12:28:56
2026/09/07 01:00:001177RELIABILITYPOE102026/09/13 00:00:00N::Q_BWMP_LDTW2026/08/13 14:00:001PEAK1.292026/09/08 12:28:56
2026/09/07 01:00:001177RELIABILITYPOE102026/09/13 00:00:00N::Q_BWMP_LDTW2026/08/13 14:00:001SHOULDER12026/09/08 12:28:56
...

CSETP.WORLDDVD_MTPASA_CONSTRAINTSUMMARYAEMOPUBLIC2026/10/0915:54:02001791525242155MONTHLY_ARCHIVE001791525242155
IMTPASACONSTRAINTSUMMARY1RUN_DATETIMERUN_NORUNTYPEDEMAND_POE_TYPEDAYCONSTRAINTIDEFFECTIVEDATEVERSIONNOAGGREGATION_PERIODCONSTRAINTHOURSBINDINGLASTCHANGED
DMTPASACONSTRAINTSUMMARY12026/09/07 01:00:001177RELIABILITYPOE102026/09/13 00:00:00I_6F_NS_1502026/08/13 14:00:001OFFPEAK12026/09/08 12:28:56
DMTPASACONSTRAINTSUMMARY12026/09/07 01:00:001177RELIABILITYPOE102026/09/13 00:00:00I_6F_NS_1502026/08/13 14:00:001PEAK0.822026/09/08 12:28:56
DMTPASACONSTRAINTSUMMARY12026/09/07 01:00:001177RELIABILITYPOE102026/09/13 00:00:00I_6F_NS_1502026/08/13 14:00:001SHOULDER1.222026/09/08 12:28:56
DMTPASACONSTRAINTSUMMARY12026/09/07 01:00:001177RELIABILITYPOE102026/09/13 00:00:00I_6F_SN_1502026/08/13 14:00:001OFFPEAK1.252026/09/08 12:28:56
DMTPASACONSTRAINTSUMMARY12026/09/07 01:00:001177RELIABILITYPOE102026/09/13 00:00:00I_6F_SN_1502026/08/13 14:00:001SHOULDER0.52026/09/08 12:28:56
DMTPASACONSTRAINTSUMMARY12026/09/07 01:00:001177RELIABILITYPOE102026/09/13 00:00:00N::N_CNCW_22026/08/13 14:00:001OFFPEAK1.442026/09/08 12:28:56
DMTPASACONSTRAINTSUMMARY12026/09/07 01:00:001177RELIABILITYPOE102026/09/13 00:00:00N::N_CNCW_22026/08/13 14:00:001PEAK2.62026/09/08 12:28:56
DMTPASACONSTRAINTSUMMARY12026/09/07 01:00:001177RELIABILITYPOE102026/09/13 00:00:00N::N_CNCW_22026/08/13 14:00:001SHOULDER3.172026/09/08 12:28:56
DMTPASACONSTRAINTSUMMARY12026/09/07 01:00:001177RELIABILITYPOE102026/09/13 00:00:00N::Q_BWMP_LDTW2026/08/13 14:00:001OFFPEAK2.142026/09/08 12:28:56
DMTPASACONSTRAINTSUMMARY12026/09/07 01:00:001177RELIABILITYPOE102026/09/13 00:00:00N::Q_BWMP_LDTW2026/08/13 14:00:001PEAK1.292026/09/08 12:28:56
DMTPASACONSTRAINTSUMMARY12026/09/07 01:00:001177RELIABILITYPOE102026/09/13 00:00:00N::Q_BWMP_LDTW2026/08/13 14:00:001SHOULDER12026/09/08 12:28:56
...
CEND OF REPORT1003

RUN_DATETIME,RUN_NO,RUNTYPE,DEMAND_POE_TYPE,DAY,CONSTRAINTID,EFFECTIVEDATE,VERSIONNO,AGGREGATION_PERIOD,CONSTRAINTHOURSBINDING,LASTCHANGED
"2026/09/07 01:00:00",1177,RELIABILITY,POE10,"2026/09/13 00:00:00",I_6F_NS_150,"2026/08/13 14:00:00",1,OFFPEAK,1,"2026/09/08 12:28:56"
"2026/09/07 01:00:00",1177,RELIABILITY,POE10,"2026/09/13 00:00:00",I_6F_NS_150,"2026/08/13 14:00:00",1,PEAK,0.82,"2026/09/08 12:28:56"
"2026/09/07 01:00:00",1177,RELIABILITY,POE10,"2026/09/13 00:00:00",I_6F_NS_150,"2026/08/13 14:00:00",1,SHOULDER,1.22,"2026/09/08 12:28:56"
"2026/09/07 01:00:00",1177,RELIABILITY,POE10,"2026/09/13 00:00:00",I_6F_SN_150,"2026/08/13 14:00:00",1,OFFPEAK,1.25,"2026/09/08 12:28:56"
"2026/09/07 01:00:00",1177,RELIABILITY,POE10,"2026/09/13 00:00:00",I_6F_SN_150,"2026/08/13 14:00:00",1,SHOULDER,0.5,"2026/09/08 12:28:56"
"2026/09/07 01:00:00",1177,RELIABILITY,POE10,"2026/09/13 00:00:00",N::N_CNCW_2,"2026/08/13 14:00:00",1,OFFPEAK,1.44,"2026/09/08 12:28:56"
"2026/09/07 01:00:00",1177,RELIABILITY,POE10,"2026/09/13 00:00:00",N::N_CNCW_2,"2026/08/13 14:00:00",1,PEAK,2.6,"2026/09/08 12:28:56"
"2026/09/07 01:00:00",1177,RELIABILITY,POE10,"2026/09/13 00:00:00",N::N_CNCW_2,"2026/08/13 14:00:00",1,SHOULDER,3.17,"2026/09/08 12:28:56"
"2026/09/07 01:00:00",1177,RELIABILITY,POE10,"2026/09/13 00:00:00",N::Q_BWMP_LDTW,"2026/08/13 14:00:00",1,OFFPEAK,2.14,"2026/09/08 12:28:56"
"2026/09/07 01:00:00",1177,RELIABILITY,POE10,"2026/09/13 00:00:00",N::Q_BWMP_LDTW,"2026/08/13 14:00:00",1,PEAK,1.29,"2026/09/08 12:28:56"
"2026/09/07 01:00:00",1177,RELIABILITY,POE10,"2026/09/13 00:00:00",N::Q_BWMP_LDTW,"2026/08/13 14:00:00",1,SHOULDER,1,"2026/09/08 12:28:56"
...
C,SETP.WORLD,DVD_MTPASA_CONSTRAINTSUMMARY,AEMO,PUBLIC,2026/10/09,15:54:02,001791525242155,MONTHLY_ARCHIVE,001791525242155
I,MTPASA,CONSTRAINTSUMMARY,1,RUN_DATETIME,RUN_NO,RUNTYPE,DEMAND_POE_TYPE,DAY,CONSTRAINTID,EFFECTIVEDATE,VERSIONNO,AGGREGATION_PERIOD,CONSTRAINTHOURSBINDING,LASTCHANGED
D,MTPASA,CONSTRAINTSUMMARY,1,"2026/09/07 01:00:00",1177,RELIABILITY,POE10,"2026/09/13 00:00:00",I_6F_NS_150,"2026/08/13 14:00:00",1,OFFPEAK,1,"2026/09/08 12:28:56"
D,MTPASA,CONSTRAINTSUMMARY,1,"2026/09/07 01:00:00",1177,RELIABILITY,POE10,"2026/09/13 00:00:00",I_6F_NS_150,"2026/08/13 14:00:00",1,PEAK,0.82,"2026/09/08 12:28:56"
D,MTPASA,CONSTRAINTSUMMARY,1,"2026/09/07 01:00:00",1177,RELIABILITY,POE10,"2026/09/13 00:00:00",I_6F_NS_150,"2026/08/13 14:00:00",1,SHOULDER,1.22,"2026/09/08 12:28:56"
D,MTPASA,CONSTRAINTSUMMARY,1,"2026/09/07 01:00:00",1177,RELIABILITY,POE10,"2026/09/13 00:00:00",I_6F_SN_150,"2026/08/13 14:00:00",1,OFFPEAK,1.25,"2026/09/08 12:28:56"
D,MTPASA,CONSTRAINTSUMMARY,1,"2026/09/07 01:00:00",1177,RELIABILITY,POE10,"2026/09/13 00:00:00",I_6F_SN_150,"2026/08/13 14:00:00",1,SHOULDER,0.5,"2026/09/08 12:28:56"
D,MTPASA,CONSTRAINTSUMMARY,1,"2026/09/07 01:00:00",1177,RELIABILITY,POE10,"2026/09/13 00:00:00",N::N_CNCW_2,"2026/08/13 14:00:00",1,OFFPEAK,1.44,"2026/09/08 12:28:56"
D,MTPASA,CONSTRAINTSUMMARY,1,"2026/09/07 01:00:00",1177,RELIABILITY,POE10,"2026/09/13 00:00:00",N::N_CNCW_2,"2026/08/13 14:00:00",1,PEAK,2.6,"2026/09/08 12:28:56"
D,MTPASA,CONSTRAINTSUMMARY,1,"2026/09/07 01:00:00",1177,RELIABILITY,POE10,"2026/09/13 00:00:00",N::N_CNCW_2,"2026/08/13 14:00:00",1,SHOULDER,3.17,"2026/09/08 12:28:56"
D,MTPASA,CONSTRAINTSUMMARY,1,"2026/09/07 01:00:00",1177,RELIABILITY,POE10,"2026/09/13 00:00:00",N::Q_BWMP_LDTW,"2026/08/13 14:00:00",1,OFFPEAK,2.14,"2026/09/08 12:28:56"
D,MTPASA,CONSTRAINTSUMMARY,1,"2026/09/07 01:00:00",1177,RELIABILITY,POE10,"2026/09/13 00:00:00",N::Q_BWMP_LDTW,"2026/08/13 14:00:00",1,PEAK,1.29,"2026/09/08 12:28:56"
D,MTPASA,CONSTRAINTSUMMARY,1,"2026/09/07 01:00:00",1177,RELIABILITY,POE10,"2026/09/13 00:00:00",N::Q_BWMP_LDTW,"2026/08/13 14:00:00",1,SHOULDER,1,"2026/09/08 12:28:56"
...
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 108 MB when zipped, 1 GB 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 CONSTRAINTSUMMARY 1

This means that the CSV files start with metadata columns:

I,MTPASA,CONSTRAINTSUMMARY,1,...
D,MTPASA,CONSTRAINTSUMMARY,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