STADUALLOC
STADUALLOC sets out details on the allocation of dispatchable units to particular sites or stations.
STADUALLOC is public data, and is available to all participants.
Source
STADUALLOC is updated whenever there is a station configuration change or new unit registration.
Column Schema
DUID
Dispatchable Unit Identifier
Warning
This column may contain funny characters such as / (slash) or # (hash). This may break hive-style partitioning.
For more information, see the dedicated documentation page.
SQL Type: VARCHAR2(10)
Polars Type: pl.Categorical
This column is mandatory, and a primary key.
Examples:
ADPBA1GADPBA1LADPMH1ADPPV1ADPPV2ADPPV3AGLHALAGLNOW1AGLSITA1AGLSOM
EFFECTIVEDATE
Effective date of this record
SQL Type: DATE
Polars Type: pl.Date()
This column is mandatory, and a primary key.
Example: 1998/10/25 00:00:00
Note that AEMO represents dates as datetimes with a midnight time component.
STATIONID
Station Identifier
For more information, see the dedicated documentation page.
SQL Type: VARCHAR2(10)
Polars Type: pl.Categorical
This column is mandatory, and a primary key.
Examples:
ADPAGLHALAGLNOW1AGLSITAAGLSOMAMCORGRANGASTONAPPINAPSARWF
VERSIONNO
Version no of this record for the effective date
SQL Type: NUMBER(3,0)
Polars Type: pl.UInt16
This column is mandatory, and a primary key.
Examples:
1, 51
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: 1998/11/02 12:11:30
New Data Timing
When there is a station configuration change or new unit registration
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("EFFECTIVEDATE").str.strptime(pl.Date, d_fmt),
)
.cast(
{
"DUID": pl.Categorical,
"EFFECTIVEDATE": pl.Date(),
"STATIONID": pl.Categorical,
"VERSIONNO": int, # or pl.UInt16
}
)
# Deduplicate
# We want one row per ['DUID', 'EFFECTIVEDATE', 'STATIONID', 'VERSIONNO']
# Tie-breaker: greatest value of ['LASTCHANGED']
.sort(["LASTCHANGED"], descending=False)
.unique(subset=["DUID", "EFFECTIVEDATE", "STATIONID", "VERSIONNO"], keep="last")
)
Nemosis
This table is not yet available in Nemosis.
Example File
From PUBLIC_ARCHIVE_STADUALLOC_FILE01_202609010000.zip
| DUID | EFFECTIVEDATE | STATIONID | VERSIONNO | LASTCHANGED |
| ADPBA1G | 2021/04/20 00:00:00 | ADP | 1 | 2021/04/16 15:29:37 |
| ADPBA1L | 2021/04/20 00:00:00 | ADP | 1 | 2021/04/16 15:29:37 |
| ADPPV1 | 2021/04/20 00:00:00 | ADP | 1 | 2021/04/16 15:29:37 |
| ADPBA1G | 2021/11/09 00:00:00 | ADP | 1 | 2021/11/05 14:34:55 |
| ADPBA1L | 2021/11/09 00:00:00 | ADP | 1 | 2021/11/05 14:34:55 |
| ADPMH1 | 2021/11/09 00:00:00 | ADP | 1 | 2021/11/05 14:34:55 |
| ADPPV1 | 2021/11/09 00:00:00 | ADP | 1 | 2021/11/05 14:34:55 |
| ADPPV2 | 2021/11/09 00:00:00 | ADP | 1 | 2021/11/05 14:34:55 |
| ADPPV3 | 2021/11/09 00:00:00 | ADP | 1 | 2021/11/05 14:34:55 |
| AGLHAL | 2001/12/18 00:00:00 | AGLHAL | 3 | 2001/12/18 08:55:45 |
| AGLHAL | 2002/01/10 00:00:00 | AGLHAL | 4 | 2002/01/10 09:55:38 |
| ... |
| C | SETP.WORLD | DVD_STADUALLOC | AEMO | PUBLIC | 2026/10/09 | 16:34:17 | 001791527657616 | MONTHLY_ARCHIVE | 001791527657616 |
| I | PARTICIPANT_REGISTRATION | STADUALLOC | 1 | DUID | EFFECTIVEDATE | STATIONID | VERSIONNO | LASTCHANGED | |
| D | PARTICIPANT_REGISTRATION | STADUALLOC | 1 | ADPBA1G | 2021/04/20 00:00:00 | ADP | 1 | 2021/04/16 15:29:37 | |
| D | PARTICIPANT_REGISTRATION | STADUALLOC | 1 | ADPBA1L | 2021/04/20 00:00:00 | ADP | 1 | 2021/04/16 15:29:37 | |
| D | PARTICIPANT_REGISTRATION | STADUALLOC | 1 | ADPPV1 | 2021/04/20 00:00:00 | ADP | 1 | 2021/04/16 15:29:37 | |
| D | PARTICIPANT_REGISTRATION | STADUALLOC | 1 | ADPBA1G | 2021/11/09 00:00:00 | ADP | 1 | 2021/11/05 14:34:55 | |
| D | PARTICIPANT_REGISTRATION | STADUALLOC | 1 | ADPBA1L | 2021/11/09 00:00:00 | ADP | 1 | 2021/11/05 14:34:55 | |
| D | PARTICIPANT_REGISTRATION | STADUALLOC | 1 | ADPMH1 | 2021/11/09 00:00:00 | ADP | 1 | 2021/11/05 14:34:55 | |
| D | PARTICIPANT_REGISTRATION | STADUALLOC | 1 | ADPPV1 | 2021/11/09 00:00:00 | ADP | 1 | 2021/11/05 14:34:55 | |
| D | PARTICIPANT_REGISTRATION | STADUALLOC | 1 | ADPPV2 | 2021/11/09 00:00:00 | ADP | 1 | 2021/11/05 14:34:55 | |
| D | PARTICIPANT_REGISTRATION | STADUALLOC | 1 | ADPPV3 | 2021/11/09 00:00:00 | ADP | 1 | 2021/11/05 14:34:55 | |
| D | PARTICIPANT_REGISTRATION | STADUALLOC | 1 | AGLHAL | 2001/12/18 00:00:00 | AGLHAL | 3 | 2001/12/18 08:55:45 | |
| D | PARTICIPANT_REGISTRATION | STADUALLOC | 1 | AGLHAL | 2002/01/10 00:00:00 | AGLHAL | 4 | 2002/01/10 09:55:38 | |
| ... | |||||||||
| C | END OF REPORT | 1003 |
DUID,EFFECTIVEDATE,STATIONID,VERSIONNO,LASTCHANGED
ADPBA1G,"2021/04/20 00:00:00",ADP,1,"2021/04/16 15:29:37"
ADPBA1L,"2021/04/20 00:00:00",ADP,1,"2021/04/16 15:29:37"
ADPPV1,"2021/04/20 00:00:00",ADP,1,"2021/04/16 15:29:37"
ADPBA1G,"2021/11/09 00:00:00",ADP,1,"2021/11/05 14:34:55"
ADPBA1L,"2021/11/09 00:00:00",ADP,1,"2021/11/05 14:34:55"
ADPMH1,"2021/11/09 00:00:00",ADP,1,"2021/11/05 14:34:55"
ADPPV1,"2021/11/09 00:00:00",ADP,1,"2021/11/05 14:34:55"
ADPPV2,"2021/11/09 00:00:00",ADP,1,"2021/11/05 14:34:55"
ADPPV3,"2021/11/09 00:00:00",ADP,1,"2021/11/05 14:34:55"
AGLHAL,"2001/12/18 00:00:00",AGLHAL,3,"2001/12/18 08:55:45"
AGLHAL,"2002/01/10 00:00:00",AGLHAL,4,"2002/01/10 09:55:38"
...
C,SETP.WORLD,DVD_STADUALLOC,AEMO,PUBLIC,2026/10/09,16:34:17,001791527657616,MONTHLY_ARCHIVE,001791527657616
I,PARTICIPANT_REGISTRATION,STADUALLOC,1,DUID,EFFECTIVEDATE,STATIONID,VERSIONNO,LASTCHANGED
D,PARTICIPANT_REGISTRATION,STADUALLOC,1,ADPBA1G,"2021/04/20 00:00:00",ADP,1,"2021/04/16 15:29:37"
D,PARTICIPANT_REGISTRATION,STADUALLOC,1,ADPBA1L,"2021/04/20 00:00:00",ADP,1,"2021/04/16 15:29:37"
D,PARTICIPANT_REGISTRATION,STADUALLOC,1,ADPPV1,"2021/04/20 00:00:00",ADP,1,"2021/04/16 15:29:37"
D,PARTICIPANT_REGISTRATION,STADUALLOC,1,ADPBA1G,"2021/11/09 00:00:00",ADP,1,"2021/11/05 14:34:55"
D,PARTICIPANT_REGISTRATION,STADUALLOC,1,ADPBA1L,"2021/11/09 00:00:00",ADP,1,"2021/11/05 14:34:55"
D,PARTICIPANT_REGISTRATION,STADUALLOC,1,ADPMH1,"2021/11/09 00:00:00",ADP,1,"2021/11/05 14:34:55"
D,PARTICIPANT_REGISTRATION,STADUALLOC,1,ADPPV1,"2021/11/09 00:00:00",ADP,1,"2021/11/05 14:34:55"
D,PARTICIPANT_REGISTRATION,STADUALLOC,1,ADPPV2,"2021/11/09 00:00:00",ADP,1,"2021/11/05 14:34:55"
D,PARTICIPANT_REGISTRATION,STADUALLOC,1,ADPPV3,"2021/11/09 00:00:00",ADP,1,"2021/11/05 14:34:55"
D,PARTICIPANT_REGISTRATION,STADUALLOC,1,AGLHAL,"2001/12/18 00:00:00",AGLHAL,3,"2001/12/18 08:55:45"
D,PARTICIPANT_REGISTRATION,STADUALLOC,1,AGLHAL,"2002/01/10 00:00:00",AGLHAL,4,"2002/01/10 09:55:38"
...
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.
Every month in between has a file. (No gaps.)
Data Size
Each year of data is approximately 380 KB when zipped, 4 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.
| Report Name | Report Subtype | Version |
|---|---|---|
| PARTICIPANT_REGISTRATION | STADUALLOC | 1 |
This means that the CSV files start with metadata columns:
Indexes
There is more than one index.
Index 1:
Index 2:
Index 3:
Links
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