Skip to content

ADG_DETAIL

Table for tracking evolving Aggregate Dispatch Group attributes

Column Schema

ADG_ID

Identifies the Aggregate Dispatch Group

SQL Type: VARCHAR2(20) Polars Type: str

This column is mandatory, and a primary key.

Examples:

  • ADP_ADG1
  • BALBESS_ADG1
  • BBATTERY_ADG1
  • BHBESS_ADG1
  • BOLIVAR_ADG1
  • BULGANA_ADG1
  • CBESS_ADG1
  • CBWW_ADG1
  • CHBESS_ADG1
  • DALNTH_ADG1

EFFECTIVEDATE

Effective calendar date of record

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

This column is mandatory, and a primary key.

Example: 2023/08/09 00:00:00

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

VERSION_DATETIME

Date and time of the version of Dispatchable Unit details

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

This column is mandatory, and a primary key.

Example: 2023/08/04 15:39:42

ADG_TYPE

Conformance Type for the Aggregate Dispatch Group. One of the following: CAP, MIXED, TARGET

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

This column is not mandatory.

Examples:

  • CAP
  • MIXED
  • TARGET

AUTHORISEDBY

User authorising record

SQL Type: VARCHAR2(15) Polars Type: str

This column is not mandatory.

Example: AEMO

AUTHORISEDDATE

Date record authorised

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: 2023/08/04 15:39:40

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: 2023/08/04 15:39:42

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", "AUTHORISEDDATE", "LASTCHANGED").str.strptime(
            pl.Datetime, dt_s_fmt
        ),
        pl.col("EFFECTIVEDATE").str.strptime(pl.Date, d_fmt),
    )
    .cast(
        {
            "ADG_ID": str,
            "EFFECTIVEDATE": pl.Date(),
            "ADG_TYPE": pl.Categorical,
            "AUTHORISEDBY": str,
        }
    )
    # Deduplicate
    # We want one row per ['ADG_ID', 'EFFECTIVEDATE', 'VERSION_DATETIME']
    # Tie-breaker: greatest value of LASTCHANGED
    .sort(LASTCHANGED, descending=False)
    .unique(subset=["ADG_ID", "EFFECTIVEDATE", "VERSION_DATETIME"], keep="last")
)

Nemosis

This table is not yet available in Nemosis.

Example File

From PUBLIC_ARCHIVE_ADG_DETAIL_FILE01_202609010000.zip

ADG_IDEFFECTIVEDATEVERSION_DATETIMEADG_TYPEAUTHORISEDDATEAUTHORISEDBYLASTCHANGED
QUORNPSH_ADG12026/01/20 00:00:002026/01/16 14:23:31MIXED2026/01/16 14:23:30AEMO2026/01/16 14:23:31
BALBESS_ADG12023/08/09 00:00:002023/08/04 15:39:42TARGET2023/08/04 15:39:40AEMO2023/08/04 15:39:42
BBATTERY_ADG12023/08/09 00:00:002023/08/04 15:39:42TARGET2023/08/04 15:39:40AEMO2023/08/04 15:39:42
CBWW_ADG12023/08/09 00:00:002023/08/04 15:39:42TARGET2023/08/04 15:39:40AEMO2023/08/04 15:39:42
DALNTH_ADG12023/08/09 00:00:002023/08/04 15:39:42TARGET2023/08/04 15:39:40AEMO2023/08/04 15:39:42
DPNTBESS_ADG12023/08/09 00:00:002023/08/04 15:39:42TARGET2023/08/04 15:39:40AEMO2023/08/04 15:39:42
GANNBESS_ADG12023/08/09 00:00:002023/08/04 15:39:42TARGET2023/08/04 15:39:40AEMO2023/08/04 15:39:42
HORNSDPR_ADG12023/08/09 00:00:002023/08/04 15:39:42TARGET2023/08/04 15:39:40AEMO2023/08/04 15:39:42
HVWW_ADG12023/08/09 00:00:002023/08/04 15:39:42TARGET2023/08/04 15:39:40AEMO2023/08/04 15:39:42
LBBESS_ADG12023/08/09 00:00:002023/08/04 15:39:42TARGET2023/08/04 15:39:40AEMO2023/08/04 15:39:42
QBYNBESS_ADG12023/08/09 00:00:002023/08/04 15:39:42TARGET2023/08/04 15:39:40AEMO2023/08/04 15:39:42
...

CSETP.WORLDDVD_ADG_DETAILAEMOPUBLIC2026/10/0916:51:45001791528705154MONTHLY_ARCHIVE001791528705154
IPARTICIPANT_REGISTRATIONADG_DETAIL1ADG_IDEFFECTIVEDATEVERSION_DATETIMEADG_TYPEAUTHORISEDDATEAUTHORISEDBYLASTCHANGED
DPARTICIPANT_REGISTRATIONADG_DETAIL1QUORNPSH_ADG12026/01/20 00:00:002026/01/16 14:23:31MIXED2026/01/16 14:23:30AEMO2026/01/16 14:23:31
DPARTICIPANT_REGISTRATIONADG_DETAIL1BALBESS_ADG12023/08/09 00:00:002023/08/04 15:39:42TARGET2023/08/04 15:39:40AEMO2023/08/04 15:39:42
DPARTICIPANT_REGISTRATIONADG_DETAIL1BBATTERY_ADG12023/08/09 00:00:002023/08/04 15:39:42TARGET2023/08/04 15:39:40AEMO2023/08/04 15:39:42
DPARTICIPANT_REGISTRATIONADG_DETAIL1CBWW_ADG12023/08/09 00:00:002023/08/04 15:39:42TARGET2023/08/04 15:39:40AEMO2023/08/04 15:39:42
DPARTICIPANT_REGISTRATIONADG_DETAIL1DALNTH_ADG12023/08/09 00:00:002023/08/04 15:39:42TARGET2023/08/04 15:39:40AEMO2023/08/04 15:39:42
DPARTICIPANT_REGISTRATIONADG_DETAIL1DPNTBESS_ADG12023/08/09 00:00:002023/08/04 15:39:42TARGET2023/08/04 15:39:40AEMO2023/08/04 15:39:42
DPARTICIPANT_REGISTRATIONADG_DETAIL1GANNBESS_ADG12023/08/09 00:00:002023/08/04 15:39:42TARGET2023/08/04 15:39:40AEMO2023/08/04 15:39:42
DPARTICIPANT_REGISTRATIONADG_DETAIL1HORNSDPR_ADG12023/08/09 00:00:002023/08/04 15:39:42TARGET2023/08/04 15:39:40AEMO2023/08/04 15:39:42
DPARTICIPANT_REGISTRATIONADG_DETAIL1HVWW_ADG12023/08/09 00:00:002023/08/04 15:39:42TARGET2023/08/04 15:39:40AEMO2023/08/04 15:39:42
DPARTICIPANT_REGISTRATIONADG_DETAIL1LBBESS_ADG12023/08/09 00:00:002023/08/04 15:39:42TARGET2023/08/04 15:39:40AEMO2023/08/04 15:39:42
DPARTICIPANT_REGISTRATIONADG_DETAIL1QBYNBESS_ADG12023/08/09 00:00:002023/08/04 15:39:42TARGET2023/08/04 15:39:40AEMO2023/08/04 15:39:42
...
CEND OF REPORT32

ADG_ID,EFFECTIVEDATE,VERSION_DATETIME,ADG_TYPE,AUTHORISEDDATE,AUTHORISEDBY,LASTCHANGED
QUORNPSH_ADG1,"2026/01/20 00:00:00","2026/01/16 14:23:31",MIXED,"2026/01/16 14:23:30",AEMO,"2026/01/16 14:23:31"
BALBESS_ADG1,"2023/08/09 00:00:00","2023/08/04 15:39:42",TARGET,"2023/08/04 15:39:40",AEMO,"2023/08/04 15:39:42"
BBATTERY_ADG1,"2023/08/09 00:00:00","2023/08/04 15:39:42",TARGET,"2023/08/04 15:39:40",AEMO,"2023/08/04 15:39:42"
CBWW_ADG1,"2023/08/09 00:00:00","2023/08/04 15:39:42",TARGET,"2023/08/04 15:39:40",AEMO,"2023/08/04 15:39:42"
DALNTH_ADG1,"2023/08/09 00:00:00","2023/08/04 15:39:42",TARGET,"2023/08/04 15:39:40",AEMO,"2023/08/04 15:39:42"
DPNTBESS_ADG1,"2023/08/09 00:00:00","2023/08/04 15:39:42",TARGET,"2023/08/04 15:39:40",AEMO,"2023/08/04 15:39:42"
GANNBESS_ADG1,"2023/08/09 00:00:00","2023/08/04 15:39:42",TARGET,"2023/08/04 15:39:40",AEMO,"2023/08/04 15:39:42"
HORNSDPR_ADG1,"2023/08/09 00:00:00","2023/08/04 15:39:42",TARGET,"2023/08/04 15:39:40",AEMO,"2023/08/04 15:39:42"
HVWW_ADG1,"2023/08/09 00:00:00","2023/08/04 15:39:42",TARGET,"2023/08/04 15:39:40",AEMO,"2023/08/04 15:39:42"
LBBESS_ADG1,"2023/08/09 00:00:00","2023/08/04 15:39:42",TARGET,"2023/08/04 15:39:40",AEMO,"2023/08/04 15:39:42"
QBYNBESS_ADG1,"2023/08/09 00:00:00","2023/08/04 15:39:42",TARGET,"2023/08/04 15:39:40",AEMO,"2023/08/04 15:39:42"
...
C,SETP.WORLD,DVD_ADG_DETAIL,AEMO,PUBLIC,2026/10/09,16:51:45,001791528705154,MONTHLY_ARCHIVE,001791528705154
I,PARTICIPANT_REGISTRATION,ADG_DETAIL,1,ADG_ID,EFFECTIVEDATE,VERSION_DATETIME,ADG_TYPE,AUTHORISEDDATE,AUTHORISEDBY,LASTCHANGED
D,PARTICIPANT_REGISTRATION,ADG_DETAIL,1,QUORNPSH_ADG1,"2026/01/20 00:00:00","2026/01/16 14:23:31",MIXED,"2026/01/16 14:23:30",AEMO,"2026/01/16 14:23:31"
D,PARTICIPANT_REGISTRATION,ADG_DETAIL,1,BALBESS_ADG1,"2023/08/09 00:00:00","2023/08/04 15:39:42",TARGET,"2023/08/04 15:39:40",AEMO,"2023/08/04 15:39:42"
D,PARTICIPANT_REGISTRATION,ADG_DETAIL,1,BBATTERY_ADG1,"2023/08/09 00:00:00","2023/08/04 15:39:42",TARGET,"2023/08/04 15:39:40",AEMO,"2023/08/04 15:39:42"
D,PARTICIPANT_REGISTRATION,ADG_DETAIL,1,CBWW_ADG1,"2023/08/09 00:00:00","2023/08/04 15:39:42",TARGET,"2023/08/04 15:39:40",AEMO,"2023/08/04 15:39:42"
D,PARTICIPANT_REGISTRATION,ADG_DETAIL,1,DALNTH_ADG1,"2023/08/09 00:00:00","2023/08/04 15:39:42",TARGET,"2023/08/04 15:39:40",AEMO,"2023/08/04 15:39:42"
D,PARTICIPANT_REGISTRATION,ADG_DETAIL,1,DPNTBESS_ADG1,"2023/08/09 00:00:00","2023/08/04 15:39:42",TARGET,"2023/08/04 15:39:40",AEMO,"2023/08/04 15:39:42"
D,PARTICIPANT_REGISTRATION,ADG_DETAIL,1,GANNBESS_ADG1,"2023/08/09 00:00:00","2023/08/04 15:39:42",TARGET,"2023/08/04 15:39:40",AEMO,"2023/08/04 15:39:42"
D,PARTICIPANT_REGISTRATION,ADG_DETAIL,1,HORNSDPR_ADG1,"2023/08/09 00:00:00","2023/08/04 15:39:42",TARGET,"2023/08/04 15:39:40",AEMO,"2023/08/04 15:39:42"
D,PARTICIPANT_REGISTRATION,ADG_DETAIL,1,HVWW_ADG1,"2023/08/09 00:00:00","2023/08/04 15:39:42",TARGET,"2023/08/04 15:39:40",AEMO,"2023/08/04 15:39:42"
D,PARTICIPANT_REGISTRATION,ADG_DETAIL,1,LBBESS_ADG1,"2023/08/09 00:00:00","2023/08/04 15:39:42",TARGET,"2023/08/04 15:39:40",AEMO,"2023/08/04 15:39:42"
D,PARTICIPANT_REGISTRATION,ADG_DETAIL,1,QBYNBESS_ADG1,"2023/08/09 00:00:00","2023/08/04 15:39:42",TARGET,"2023/08/04 15:39:40",AEMO,"2023/08/04 15:39:42"
...
C,"END OF REPORT",32

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).

Tip

There are multiple files per month, because this is such a large table.

The earliest available data is month 8 of 2024. The most recent available data is month 9 of 2026.

Every month in between has at least one file.

Data Size

Each year of data is approximately 9 KB when zipped, 92 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
PARTICIPANT_REGISTRATION ADG_DETAIL 1

This means that the CSV files start with metadata columns:

I,PARTICIPANT_REGISTRATION,ADG_DETAIL,1,...
D,PARTICIPANT_REGISTRATION,ADG_DETAIL,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: PARTICIPANT_REGISTRATION