Skip to content

MTPASA_RESERVELIMIT_REGION

MT PASA input table to define the regions that are part of a single MT PASA Reserve Requirement

Source

MTPASA_RESERVELIMIT_REGION is updated on an ad hoc basis when a new Reserve Requirement is published.

Volume

~50 rows per year

Column Schema

EFFECTIVEDATE

Trade date when the set of reserve requirements become effective

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

This column is mandatory, and a primary key.

Example: 2010/04/22 00:00:00

Note that AEMO represents dates as datetimes with a midnight time component.

REGIONID

Region ID - identifier of a NEM region included in this requirement

For more information, see the dedicated documentation page.

The SQL type is VARCHAR2(20). This is actually a factor/enum, with values:

  • QLD1

  • VIC1

  • TAS1

  • NSW1

  • SA1

  • SNOWY1

This column is mandatory, and a primary key.

RESERVELIMITID

MT PASA Reserve requirement identifier

SQL Type: VARCHAR2(20) Polars Type: str

This column is mandatory, and a primary key.

Examples:

  • MTPASAMRL01_NSW1
  • MTPASAMRL01_QLD1
  • MTPASAMRL01_SA1
  • MTPASAMRL01_TAS1
  • MTPASAMRL01_VIC1
  • MTPASAMRL01_VICSA_01
  • MTPASAMRL01_VICSA_02
  • MTPASAMRL01_VICSA_03
  • MTPASAMRL01_VICSA_04
  • MTPASAMRL01_VICSA_05

VERSION_DATETIME

Timestamp when the set of reserve requirements become effective

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

This column is mandatory, and a primary key.

Example: 2010/05/20 15:55:46

COEF

Coefficient for the region in this reserve requirement

SQL Type: NUMBER(16,6) Polars Type: pl.Float64

This column is not mandatory.

Examples: 0.144, 1, 48.44

LASTCHANGED

Timestamp the record was last modified

For more information, see the dedicated documentation page.

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

This column is not mandatory.

Example: 2010/05/20 15:55:46

New Data Timing

Ad hoc, when a new Reserve Requirement is published

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"

# Dates are represented as datetimes at midnight

d_fmt = "%Y/%m/%d 00:00:00"

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("VERSION_DATETIME", "LASTCHANGED").str.strptime(pl.Datetime, dt_s_fmt),
        pl.col("EFFECTIVEDATE").str.strptime(pl.Date, d_fmt),
    )
    .cast(
        {
            "EFFECTIVEDATE": pl.Date(),
            "REGIONID": pl.Enum(["QLD1", "VIC1", "TAS1", "NSW1", "SA1", "SNOWY1"]),
            "RESERVELIMITID": str,
            "COEF": pl.Float64,
        }
    )
    # Deduplicate
    # We want one row per ['EFFECTIVEDATE', 'REGIONID', 'RESERVELIMITID', 'VERSION_DATETIME']
    # Tie-breaker: greatest value of LASTCHANGED
    .sort(LASTCHANGED, descending=False)
    .unique(
        subset=["EFFECTIVEDATE", "REGIONID", "RESERVELIMITID", "VERSION_DATETIME"],
        keep="last",
    )
)

Nemosis

This table is not yet available in Nemosis.

Example File

From PUBLIC_ARCHIVE_MTPASA_RESERVELIMIT_REGION_FILE01_202609010000.zip

EFFECTIVEDATEVERSION_DATETIMERESERVELIMITIDREGIONIDCOEFLASTCHANGED
2013/05/29 00:00:002013/05/29 12:35:00MTPASAMRL02_Q-N_05QLD10.1442013/05/30 12:40:55
2013/05/29 00:00:002013/05/29 12:35:00MTPASAMRL02_Q-N_05NSW112013/05/30 12:40:55
2013/05/29 00:00:002013/05/29 12:35:00MTPASAMRL02_Q-N_06NSW112013/05/30 12:40:55
2013/05/29 00:00:002013/05/29 12:35:00MTPASAMRL02_VICSA_01VIC112013/05/30 12:40:55
2013/05/29 00:00:002013/05/29 12:35:00MTPASAMRL02_VICSA_02VIC15.882013/05/30 12:40:55
2013/05/29 00:00:002013/05/29 12:35:00MTPASAMRL02_VICSA_02SA112013/05/30 12:40:55
2013/05/29 00:00:002013/05/29 12:35:00MTPASAMRL02_VICSA_03VIC11.332013/05/30 12:40:55
2013/05/29 00:00:002013/05/29 12:35:00MTPASAMRL02_VICSA_03SA112013/05/30 12:40:55
2013/05/29 00:00:002013/05/29 12:35:00MTPASAMRL02_VICSA_04VIC10.4292013/05/30 12:40:55
2013/05/29 00:00:002013/05/29 12:35:00MTPASAMRL02_VICSA_04SA112013/05/30 12:40:55
2013/05/29 00:00:002013/05/29 12:35:00MTPASAMRL02_VICSA_05VIC10.2272013/05/30 12:40:55
...

CSETP.WORLDDVD_MTPASA_RESERVELIMIT_REGIONAEMOPUBLIC2026/10/0915:56:00001791525360935MONTHLY_ARCHIVE001791525360935
IMTPASARESERVELIMIT_REGION1EFFECTIVEDATEVERSION_DATETIMERESERVELIMITIDREGIONIDCOEFLASTCHANGED
DMTPASARESERVELIMIT_REGION12013/05/29 00:00:002013/05/29 12:35:00MTPASAMRL02_Q-N_05QLD10.1442013/05/30 12:40:55
DMTPASARESERVELIMIT_REGION12013/05/29 00:00:002013/05/29 12:35:00MTPASAMRL02_Q-N_05NSW112013/05/30 12:40:55
DMTPASARESERVELIMIT_REGION12013/05/29 00:00:002013/05/29 12:35:00MTPASAMRL02_Q-N_06NSW112013/05/30 12:40:55
DMTPASARESERVELIMIT_REGION12013/05/29 00:00:002013/05/29 12:35:00MTPASAMRL02_VICSA_01VIC112013/05/30 12:40:55
DMTPASARESERVELIMIT_REGION12013/05/29 00:00:002013/05/29 12:35:00MTPASAMRL02_VICSA_02VIC15.882013/05/30 12:40:55
DMTPASARESERVELIMIT_REGION12013/05/29 00:00:002013/05/29 12:35:00MTPASAMRL02_VICSA_02SA112013/05/30 12:40:55
DMTPASARESERVELIMIT_REGION12013/05/29 00:00:002013/05/29 12:35:00MTPASAMRL02_VICSA_03VIC11.332013/05/30 12:40:55
DMTPASARESERVELIMIT_REGION12013/05/29 00:00:002013/05/29 12:35:00MTPASAMRL02_VICSA_03SA112013/05/30 12:40:55
DMTPASARESERVELIMIT_REGION12013/05/29 00:00:002013/05/29 12:35:00MTPASAMRL02_VICSA_04VIC10.4292013/05/30 12:40:55
DMTPASARESERVELIMIT_REGION12013/05/29 00:00:002013/05/29 12:35:00MTPASAMRL02_VICSA_04SA112013/05/30 12:40:55
DMTPASARESERVELIMIT_REGION12013/05/29 00:00:002013/05/29 12:35:00MTPASAMRL02_VICSA_05VIC10.2272013/05/30 12:40:55
...
CEND OF REPORT146

EFFECTIVEDATE,VERSION_DATETIME,RESERVELIMITID,REGIONID,COEF,LASTCHANGED
"2013/05/29 00:00:00","2013/05/29 12:35:00",MTPASAMRL02_Q-N_05,QLD1,0.144,"2013/05/30 12:40:55"
"2013/05/29 00:00:00","2013/05/29 12:35:00",MTPASAMRL02_Q-N_05,NSW1,1,"2013/05/30 12:40:55"
"2013/05/29 00:00:00","2013/05/29 12:35:00",MTPASAMRL02_Q-N_06,NSW1,1,"2013/05/30 12:40:55"
"2013/05/29 00:00:00","2013/05/29 12:35:00",MTPASAMRL02_VICSA_01,VIC1,1,"2013/05/30 12:40:55"
"2013/05/29 00:00:00","2013/05/29 12:35:00",MTPASAMRL02_VICSA_02,VIC1,5.88,"2013/05/30 12:40:55"
"2013/05/29 00:00:00","2013/05/29 12:35:00",MTPASAMRL02_VICSA_02,SA1,1,"2013/05/30 12:40:55"
"2013/05/29 00:00:00","2013/05/29 12:35:00",MTPASAMRL02_VICSA_03,VIC1,1.33,"2013/05/30 12:40:55"
"2013/05/29 00:00:00","2013/05/29 12:35:00",MTPASAMRL02_VICSA_03,SA1,1,"2013/05/30 12:40:55"
"2013/05/29 00:00:00","2013/05/29 12:35:00",MTPASAMRL02_VICSA_04,VIC1,0.429,"2013/05/30 12:40:55"
"2013/05/29 00:00:00","2013/05/29 12:35:00",MTPASAMRL02_VICSA_04,SA1,1,"2013/05/30 12:40:55"
"2013/05/29 00:00:00","2013/05/29 12:35:00",MTPASAMRL02_VICSA_05,VIC1,0.227,"2013/05/30 12:40:55"
...
C,SETP.WORLD,DVD_MTPASA_RESERVELIMIT_REGION,AEMO,PUBLIC,2026/10/09,15:56:00,001791525360935,MONTHLY_ARCHIVE,001791525360935
I,MTPASA,RESERVELIMIT_REGION,1,EFFECTIVEDATE,VERSION_DATETIME,RESERVELIMITID,REGIONID,COEF,LASTCHANGED
D,MTPASA,RESERVELIMIT_REGION,1,"2013/05/29 00:00:00","2013/05/29 12:35:00",MTPASAMRL02_Q-N_05,QLD1,0.144,"2013/05/30 12:40:55"
D,MTPASA,RESERVELIMIT_REGION,1,"2013/05/29 00:00:00","2013/05/29 12:35:00",MTPASAMRL02_Q-N_05,NSW1,1,"2013/05/30 12:40:55"
D,MTPASA,RESERVELIMIT_REGION,1,"2013/05/29 00:00:00","2013/05/29 12:35:00",MTPASAMRL02_Q-N_06,NSW1,1,"2013/05/30 12:40:55"
D,MTPASA,RESERVELIMIT_REGION,1,"2013/05/29 00:00:00","2013/05/29 12:35:00",MTPASAMRL02_VICSA_01,VIC1,1,"2013/05/30 12:40:55"
D,MTPASA,RESERVELIMIT_REGION,1,"2013/05/29 00:00:00","2013/05/29 12:35:00",MTPASAMRL02_VICSA_02,VIC1,5.88,"2013/05/30 12:40:55"
D,MTPASA,RESERVELIMIT_REGION,1,"2013/05/29 00:00:00","2013/05/29 12:35:00",MTPASAMRL02_VICSA_02,SA1,1,"2013/05/30 12:40:55"
D,MTPASA,RESERVELIMIT_REGION,1,"2013/05/29 00:00:00","2013/05/29 12:35:00",MTPASAMRL02_VICSA_03,VIC1,1.33,"2013/05/30 12:40:55"
D,MTPASA,RESERVELIMIT_REGION,1,"2013/05/29 00:00:00","2013/05/29 12:35:00",MTPASAMRL02_VICSA_03,SA1,1,"2013/05/30 12:40:55"
D,MTPASA,RESERVELIMIT_REGION,1,"2013/05/29 00:00:00","2013/05/29 12:35:00",MTPASAMRL02_VICSA_04,VIC1,0.429,"2013/05/30 12:40:55"
D,MTPASA,RESERVELIMIT_REGION,1,"2013/05/29 00:00:00","2013/05/29 12:35:00",MTPASAMRL02_VICSA_04,SA1,1,"2013/05/30 12:40:55"
D,MTPASA,RESERVELIMIT_REGION,1,"2013/05/29 00:00:00","2013/05/29 12:35:00",MTPASAMRL02_VICSA_05,VIC1,0.227,"2013/05/30 12:40:55"
...
C,"END OF REPORT",146

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 1 of 2015. 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 15 KB when zipped, 150 KB 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 RESERVELIMIT_REGION 1

This means that the CSV files start with metadata columns:

I,MTPASA,RESERVELIMIT_REGION,1,...
D,MTPASA,RESERVELIMIT_REGION,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: RESERVE_DATA