Skip to content

SETINTRAREGIONRESIDUES

The Settlement Intra Region Residues Result.

SETINTRAREGIONRESIDUES data is public to all participants.

Source

SETINTRAREGIONRESIDUES updates with each settlement run.

Note

The relationship between the data columns for each key is expressed in the following formula:

EP + EC + (EXP * RRP) = IRSS

Column Schema

PERIODID

Settlements Trading Interval.

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

This column is mandatory, and a primary key.

Examples: 1, 200

REGIONID

Region Identifier

For more information, see the dedicated documentation page.

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

  • QLD1

  • VIC1

  • TAS1

  • NSW1

  • SA1

  • SNOWY1

This column is mandatory, and a primary key.

RUNNO

Settlement run number

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

This column is mandatory, and a primary key.

Example: 1

SETTLEMENTDATE

Settlement Date

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

This column is mandatory, and a primary key.

Example: 2026/08/31 00:00:00

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

ACE_AMOUNT

The Adjusted Consumed Energy Dollar Amount for the Region used in the calculation of IRSS (Intra Residue Amount). NULL for Settlement dates prior to the IESS rule effective date

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

This column is not mandatory.

Examples: -5.51892339, 22.23585768, 0, 2005.96819264

ASOE_AMOUNT

The Adjusted Sent Out Energy Dollar Amount for the Region used in the calculation of IRSS (Intra Residue Amount). NULL for Settlement dates prior to the IESS rule effective date

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

This column is not mandatory.

Examples: -24.19452681, 6.19070026, 0, 59464.79340647

EC

Energy purchased by customers. NULL for Settlement dates post the IESS rule effective date

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

This column is not mandatory.

EP

Energy payments to generators. NULL for Settlement dates post the IESS rule effective date

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

This column is not mandatory.

EXP

Net import in MWh into the region calculated at the regional reference node (export is negative)

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

This column is not mandatory.

Examples: -0.08228, 0.01493, 0, 35

IRSS

Intra-regional surplus (a negative sign indicates surplus, and a positive sign indicates a deficiency)

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

This column is not mandatory.

Examples: -0.00901, 0.01357, 0, 958.75189

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/01 01:12:12

RRP

Regional price

For more information, see the dedicated documentation page.

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

This column is not mandatory.

Examples: -0.16, 0.01, 0, 89

New Data Timing

Daily Billing Run & Posting a PRELIM/FINAL and REVISE Billing Run

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("LASTCHANGED").str.strptime(pl.Datetime, dt_s_fmt),
        pl.col("SETTLEMENTDATE").str.strptime(pl.Date, d_fmt),
    )
    .cast(
        {
            "PERIODID": int,  # or pl.Int16
            "REGIONID": pl.Enum(["QLD1", "VIC1", "TAS1", "NSW1", "SA1", "SNOWY1"]),
            "RUNNO": int,  # or pl.UInt16
            "SETTLEMENTDATE": pl.Date(),
            "ACE_AMOUNT": pl.Float64,
            "ASOE_AMOUNT": pl.Float64,
            "EC": pl.Float64,
            "EP": pl.Float64,
            "EXP": pl.Float64,
            "IRSS": pl.Float64,
            "RRP": pl.Float64,
        }
    )
    # Deduplicate
    # We want one row per ['PERIODID', 'REGIONID', 'RUNNO', 'SETTLEMENTDATE']
    # Tie-breaker: greatest value of ['LASTCHANGED']
    .sort(["LASTCHANGED"], descending=False)
    .unique(subset=["PERIODID", "REGIONID", "RUNNO", "SETTLEMENTDATE"], keep="last")
)

Nemosis

This table is not yet available in Nemosis.

Example File

From PUBLIC_ARCHIVE_SETINTRAREGIONRESIDUES_FILE01_202609010000.zip

SETTLEMENTDATERUNNOPERIODIDREGIONIDEPECRRPEXPIRSSLASTCHANGEDACE_AMOUNTASOE_AMOUNT
2026/08/31 00:00:0011NSW194.7997.80354-781.32842026/09/01 01:12:12-57865.3313659947813.20524954
2026/08/31 00:00:0011QLD178.73-100.32172-1155.248512026/09/01 01:12:12-37248.5590454643991.63929309
2026/08/31 00:00:0011SA193.6511.11869245.826582026/09/01 01:12:12-10768.873327849973.43443463
2026/08/31 00:00:0012NSW195.2106.3951166.12212026/09/01 01:12:12-57954.5167666647991.82534439
2026/08/31 00:00:0012QLD178.73-98.51195-1155.445332026/09/01 01:12:12-37088.3180241743688.71852043
2026/08/31 00:00:0012SA194.6214.98957297.801152026/09/01 01:12:12-10996.283161519875.77150836
2026/08/31 00:00:0013NSW1101.8799.92885-163.973042026/09/01 01:12:12-61963.6245215551619.89953354
2026/08/31 00:00:0013QLD184.06-99.60625-1197.572122026/09/01 01:12:12-39497.9763566346673.30561609
2026/08/31 00:00:0013SA1101.0216.15455461.699072026/09/01 01:12:12-11927.5130229510757.27945352
2026/08/31 00:00:0013VIC199.067.86535-515.311752026/09/01 01:12:12-43403.211966242108.75864582
2026/08/31 00:00:0011TAS181.93-35.91667-65.044972026/09/01 01:12:12-7279.7160248710157.32355315
...

CSETP.WORLDDVD_SETINTRAREGIONRESIDUESAEMOPUBLIC2026/10/0916:32:41001791527561629MONTHLY_ARCHIVE001791527561629
ISETTLEMENTSINTRAREGIONRESIDUES6SETTLEMENTDATERUNNOPERIODIDREGIONIDEPECRRPEXPIRSSLASTCHANGEDACE_AMOUNTASOE_AMOUNT
DSETTLEMENTSINTRAREGIONRESIDUES62026/08/31 00:00:0011NSW194.7997.80354-781.32842026/09/01 01:12:12-57865.3313659947813.20524954
DSETTLEMENTSINTRAREGIONRESIDUES62026/08/31 00:00:0011QLD178.73-100.32172-1155.248512026/09/01 01:12:12-37248.5590454643991.63929309
DSETTLEMENTSINTRAREGIONRESIDUES62026/08/31 00:00:0011SA193.6511.11869245.826582026/09/01 01:12:12-10768.873327849973.43443463
DSETTLEMENTSINTRAREGIONRESIDUES62026/08/31 00:00:0012NSW195.2106.3951166.12212026/09/01 01:12:12-57954.5167666647991.82534439
DSETTLEMENTSINTRAREGIONRESIDUES62026/08/31 00:00:0012QLD178.73-98.51195-1155.445332026/09/01 01:12:12-37088.3180241743688.71852043
DSETTLEMENTSINTRAREGIONRESIDUES62026/08/31 00:00:0012SA194.6214.98957297.801152026/09/01 01:12:12-10996.283161519875.77150836
DSETTLEMENTSINTRAREGIONRESIDUES62026/08/31 00:00:0013NSW1101.8799.92885-163.973042026/09/01 01:12:12-61963.6245215551619.89953354
DSETTLEMENTSINTRAREGIONRESIDUES62026/08/31 00:00:0013QLD184.06-99.60625-1197.572122026/09/01 01:12:12-39497.9763566346673.30561609
DSETTLEMENTSINTRAREGIONRESIDUES62026/08/31 00:00:0013SA1101.0216.15455461.699072026/09/01 01:12:12-11927.5130229510757.27945352
DSETTLEMENTSINTRAREGIONRESIDUES62026/08/31 00:00:0013VIC199.067.86535-515.311752026/09/01 01:12:12-43403.211966242108.75864582
DSETTLEMENTSINTRAREGIONRESIDUES62026/08/31 00:00:0011TAS181.93-35.91667-65.044972026/09/01 01:12:12-7279.7160248710157.32355315
...
CEND OF REPORT1003

SETTLEMENTDATE,RUNNO,PERIODID,REGIONID,EP,EC,RRP,EXP,IRSS,LASTCHANGED,ACE_AMOUNT,ASOE_AMOUNT
"2026/08/31 00:00:00",1,1,NSW1,,,94.79,97.80354,-781.3284,"2026/09/01 01:12:12",-57865.33136599,47813.20524954
"2026/08/31 00:00:00",1,1,QLD1,,,78.73,-100.32172,-1155.24851,"2026/09/01 01:12:12",-37248.55904546,43991.63929309
"2026/08/31 00:00:00",1,1,SA1,,,93.65,11.11869,245.82658,"2026/09/01 01:12:12",-10768.87332784,9973.43443463
"2026/08/31 00:00:00",1,2,NSW1,,,95.2,106.3951,166.1221,"2026/09/01 01:12:12",-57954.51676666,47991.82534439
"2026/08/31 00:00:00",1,2,QLD1,,,78.73,-98.51195,-1155.44533,"2026/09/01 01:12:12",-37088.31802417,43688.71852043
"2026/08/31 00:00:00",1,2,SA1,,,94.62,14.98957,297.80115,"2026/09/01 01:12:12",-10996.28316151,9875.77150836
"2026/08/31 00:00:00",1,3,NSW1,,,101.87,99.92885,-163.97304,"2026/09/01 01:12:12",-61963.62452155,51619.89953354
"2026/08/31 00:00:00",1,3,QLD1,,,84.06,-99.60625,-1197.57212,"2026/09/01 01:12:12",-39497.97635663,46673.30561609
"2026/08/31 00:00:00",1,3,SA1,,,101.02,16.15455,461.69907,"2026/09/01 01:12:12",-11927.51302295,10757.27945352
"2026/08/31 00:00:00",1,3,VIC1,,,99.06,7.86535,-515.31175,"2026/09/01 01:12:12",-43403.2119662,42108.75864582
"2026/08/31 00:00:00",1,1,TAS1,,,81.93,-35.91667,-65.04497,"2026/09/01 01:12:12",-7279.71602487,10157.32355315
...
C,SETP.WORLD,DVD_SETINTRAREGIONRESIDUES,AEMO,PUBLIC,2026/10/09,16:32:41,001791527561629,MONTHLY_ARCHIVE,001791527561629
I,SETTLEMENTS,INTRAREGIONRESIDUES,6,SETTLEMENTDATE,RUNNO,PERIODID,REGIONID,EP,EC,RRP,EXP,IRSS,LASTCHANGED,ACE_AMOUNT,ASOE_AMOUNT
D,SETTLEMENTS,INTRAREGIONRESIDUES,6,"2026/08/31 00:00:00",1,1,NSW1,,,94.79,97.80354,-781.3284,"2026/09/01 01:12:12",-57865.33136599,47813.20524954
D,SETTLEMENTS,INTRAREGIONRESIDUES,6,"2026/08/31 00:00:00",1,1,QLD1,,,78.73,-100.32172,-1155.24851,"2026/09/01 01:12:12",-37248.55904546,43991.63929309
D,SETTLEMENTS,INTRAREGIONRESIDUES,6,"2026/08/31 00:00:00",1,1,SA1,,,93.65,11.11869,245.82658,"2026/09/01 01:12:12",-10768.87332784,9973.43443463
D,SETTLEMENTS,INTRAREGIONRESIDUES,6,"2026/08/31 00:00:00",1,2,NSW1,,,95.2,106.3951,166.1221,"2026/09/01 01:12:12",-57954.51676666,47991.82534439
D,SETTLEMENTS,INTRAREGIONRESIDUES,6,"2026/08/31 00:00:00",1,2,QLD1,,,78.73,-98.51195,-1155.44533,"2026/09/01 01:12:12",-37088.31802417,43688.71852043
D,SETTLEMENTS,INTRAREGIONRESIDUES,6,"2026/08/31 00:00:00",1,2,SA1,,,94.62,14.98957,297.80115,"2026/09/01 01:12:12",-10996.28316151,9875.77150836
D,SETTLEMENTS,INTRAREGIONRESIDUES,6,"2026/08/31 00:00:00",1,3,NSW1,,,101.87,99.92885,-163.97304,"2026/09/01 01:12:12",-61963.62452155,51619.89953354
D,SETTLEMENTS,INTRAREGIONRESIDUES,6,"2026/08/31 00:00:00",1,3,QLD1,,,84.06,-99.60625,-1197.57212,"2026/09/01 01:12:12",-39497.97635663,46673.30561609
D,SETTLEMENTS,INTRAREGIONRESIDUES,6,"2026/08/31 00:00:00",1,3,SA1,,,101.02,16.15455,461.69907,"2026/09/01 01:12:12",-11927.51302295,10757.27945352
D,SETTLEMENTS,INTRAREGIONRESIDUES,6,"2026/08/31 00:00:00",1,3,VIC1,,,99.06,7.86535,-515.31175,"2026/09/01 01:12:12",-43403.2119662,42108.75864582
D,SETTLEMENTS,INTRAREGIONRESIDUES,6,"2026/08/31 00:00:00",1,1,TAS1,,,81.93,-35.91667,-65.04497,"2026/09/01 01:12:12",-7279.71602487,10157.32355315
...
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 1 of 2015. The most recent available data is month 9 of 2026.

Warning

There are some months with no files.

Data Size

Each year of data is approximately 111 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
SETTLEMENTS INTRAREGIONRESIDUES 6

This means that the CSV files start with metadata columns:

I,SETTLEMENTS,INTRAREGIONRESIDUES,6,...
D,SETTLEMENTS,INTRAREGIONRESIDUES,6,...

Indexes

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: SETTLEMENT_DATA