EMSMASTER
EMSMASTER provides a description of the SCADA measurements that are associated with the
SPD_IDpoints utilised in generic equation RHS terms
Column Schema
SPD_ID
ID defining data source
SQL Type: VARCHAR(21)
Polars Type: str
This column is mandatory, and a primary key.
Examples:
AGLHAL.SHPS1AGLSOM.VTTS1ANGAS2.SDRN2APD01.VAPD1APD02.VAPD2APDLOADAPDLOAD_MVARARMIDALE_CAP1_STATUSARMIDALE_SVC_ONSTATUSARTX_SUM_LOAD
SPD_TYPE
ID describing type of data source
SQL Type: VARCHAR(1)
Polars Type: pl.Categorical
This column is mandatory, and a primary key.
Examples:
AIRST
DESCRIPTION
The detailed description of the SCADA point associated with the SPD_ID
SQL Type: VARCHAR(255)
Polars Type: str
This column is not mandatory.
Examples:
AGC Lower from Qld GeneratorsAGC Lower from Snowy GeneratorsAGC Lower from Tasmanian GeneratorsAGC Lower from Victorian GeneratorsAGC Raise from Qld GeneratorsAGC Raise from Victorian GeneratorsAggregate Broken Hill Gas Turbines Unit 1 & 2 (SCADA)Angas Creek - Para line ON statusAngaston GT unit 2Availability status of Belmont #1 110kV Cap Bank
GROUPING_ID
The Grouping associated with the SPD ID - most often a RegionID
SQL Type: VARCHAR(20)
Polars Type: str
This column is not mandatory.
Examples:
NEMMCONSW1QLD1SA1SNOWY1TAS1VIC1Z_ARCHIVE
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: 2006/05/25 10:11:34
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("LASTCHANGED").str.strptime(pl.Datetime, dt_s_fmt),
)
.cast(
{
"SPD_ID": str,
"SPD_TYPE": pl.Categorical,
"DESCRIPTION": str,
"GROUPING_ID": str,
}
)
# Deduplicate
# We want one row per ['SPD_ID', 'SPD_TYPE']
# Tie-breaker: greatest value of ['LASTCHANGED']
.sort(["LASTCHANGED"], descending=False)
.unique(subset=["SPD_ID", "SPD_TYPE"], keep="last")
)
Nemosis
This table is not yet available in Nemosis.
Example File
From PUBLIC_ARCHIVE_EMSMASTER_FILE01_202609010000.zip
| SPD_ID | SPD_TYPE | DESCRIPTION | GROUPING_ID | LASTCHANGED |
| HOFF_X_65_060_0X1_B | A | Snowy fully co-optimised constraint offset for CSP/CSC trial | Z_ARCHIVE | 2008/08/21 15:40:38 |
| HOFF_X_65_060_0X1_A | A | Snowy fully co-optimised constraint offset for CSP/CSC trial | Z_ARCHIVE | 2008/08/21 15:40:38 |
| HOFF_UTYS_B | A | Snowy fully co-optimised constraint offset for CSP/CSC trial | Z_ARCHIVE | 2008/08/21 15:40:38 |
| HOFF_051+64_D | A | Snowy fully co-optimised constraint offset for CSP/CSC trial | Z_ARCHIVE | 2008/08/21 15:40:40 |
| HOFF_SNO_NSW_TU_ISL | A | Snowy fully co-optimised constraint offset for CSP/CSC trial | Z_ARCHIVE | 2008/08/21 15:40:38 |
| TAS_NCSPS_SHGT1_FIRM | S | Firm flow enablement status for SHGT No.1 line | TAS1 | 2006/05/25 10:11:34 |
| TAS_NCSPS_SHFA2_FIRM | S | Firm flow enablement status for SHFA No.2 line | TAS1 | 2006/05/25 10:11:34 |
| TAS_NCSPS_SHFA1_FIRM | S | Firm flow enablement status for SHFA No.1 line | TAS1 | 2006/05/25 10:11:34 |
| TAS_NCSPS_PMHA4_FIRM | S | Firm flow enablement status for PMHA No.4 line | TAS1 | 2006/05/25 10:11:34 |
| TAS_NCSPS_PMHA3_FIRM | S | Firm flow enablement status for PMHA No.3 line | TAS1 | 2006/05/25 10:11:34 |
| TAS_NCSPS_PMHA2_FIRM | S | Firm flow enablement status for PMHA No.2 line | TAS1 | 2006/05/25 10:11:34 |
| ... |
| C | SETP.WORLD | DVD_EMSMASTER | AEMO | PUBLIC | 2026/10/09 | 15:36:35 | 001791524195942 | MONTHLY_ARCHIVE | 001791524195942 |
| I | GENERIC_CONSTRAINT | EMSMASTER | 1 | SPD_ID | SPD_TYPE | DESCRIPTION | GROUPING_ID | LASTCHANGED | |
| D | GENERIC_CONSTRAINT | EMSMASTER | 1 | HOFF_X_65_060_0X1_B | A | Snowy fully co-optimised constraint offset for CSP/CSC trial | Z_ARCHIVE | 2008/08/21 15:40:38 | |
| D | GENERIC_CONSTRAINT | EMSMASTER | 1 | HOFF_X_65_060_0X1_A | A | Snowy fully co-optimised constraint offset for CSP/CSC trial | Z_ARCHIVE | 2008/08/21 15:40:38 | |
| D | GENERIC_CONSTRAINT | EMSMASTER | 1 | HOFF_UTYS_B | A | Snowy fully co-optimised constraint offset for CSP/CSC trial | Z_ARCHIVE | 2008/08/21 15:40:38 | |
| D | GENERIC_CONSTRAINT | EMSMASTER | 1 | HOFF_051+64_D | A | Snowy fully co-optimised constraint offset for CSP/CSC trial | Z_ARCHIVE | 2008/08/21 15:40:40 | |
| D | GENERIC_CONSTRAINT | EMSMASTER | 1 | HOFF_SNO_NSW_TU_ISL | A | Snowy fully co-optimised constraint offset for CSP/CSC trial | Z_ARCHIVE | 2008/08/21 15:40:38 | |
| D | GENERIC_CONSTRAINT | EMSMASTER | 1 | TAS_NCSPS_SHGT1_FIRM | S | Firm flow enablement status for SHGT No.1 line | TAS1 | 2006/05/25 10:11:34 | |
| D | GENERIC_CONSTRAINT | EMSMASTER | 1 | TAS_NCSPS_SHFA2_FIRM | S | Firm flow enablement status for SHFA No.2 line | TAS1 | 2006/05/25 10:11:34 | |
| D | GENERIC_CONSTRAINT | EMSMASTER | 1 | TAS_NCSPS_SHFA1_FIRM | S | Firm flow enablement status for SHFA No.1 line | TAS1 | 2006/05/25 10:11:34 | |
| D | GENERIC_CONSTRAINT | EMSMASTER | 1 | TAS_NCSPS_PMHA4_FIRM | S | Firm flow enablement status for PMHA No.4 line | TAS1 | 2006/05/25 10:11:34 | |
| D | GENERIC_CONSTRAINT | EMSMASTER | 1 | TAS_NCSPS_PMHA3_FIRM | S | Firm flow enablement status for PMHA No.3 line | TAS1 | 2006/05/25 10:11:34 | |
| D | GENERIC_CONSTRAINT | EMSMASTER | 1 | TAS_NCSPS_PMHA2_FIRM | S | Firm flow enablement status for PMHA No.2 line | TAS1 | 2006/05/25 10:11:34 | |
| ... | |||||||||
| C | END OF REPORT | 1003 |
SPD_ID,SPD_TYPE,DESCRIPTION,GROUPING_ID,LASTCHANGED
HOFF_X_65_060_0X1_B,A,"Snowy fully co-optimised constraint offset for CSP/CSC trial",Z_ARCHIVE,"2008/08/21 15:40:38"
HOFF_X_65_060_0X1_A,A,"Snowy fully co-optimised constraint offset for CSP/CSC trial",Z_ARCHIVE,"2008/08/21 15:40:38"
HOFF_UTYS_B,A,"Snowy fully co-optimised constraint offset for CSP/CSC trial",Z_ARCHIVE,"2008/08/21 15:40:38"
HOFF_051+64_D,A,"Snowy fully co-optimised constraint offset for CSP/CSC trial",Z_ARCHIVE,"2008/08/21 15:40:40"
HOFF_SNO_NSW_TU_ISL,A,"Snowy fully co-optimised constraint offset for CSP/CSC trial",Z_ARCHIVE,"2008/08/21 15:40:38"
TAS_NCSPS_SHGT1_FIRM,S,"Firm flow enablement status for SHGT No.1 line",TAS1,"2006/05/25 10:11:34"
TAS_NCSPS_SHFA2_FIRM,S,"Firm flow enablement status for SHFA No.2 line",TAS1,"2006/05/25 10:11:34"
TAS_NCSPS_SHFA1_FIRM,S,"Firm flow enablement status for SHFA No.1 line",TAS1,"2006/05/25 10:11:34"
TAS_NCSPS_PMHA4_FIRM,S,"Firm flow enablement status for PMHA No.4 line",TAS1,"2006/05/25 10:11:34"
TAS_NCSPS_PMHA3_FIRM,S,"Firm flow enablement status for PMHA No.3 line",TAS1,"2006/05/25 10:11:34"
TAS_NCSPS_PMHA2_FIRM,S,"Firm flow enablement status for PMHA No.2 line",TAS1,"2006/05/25 10:11:34"
...
C,SETP.WORLD,DVD_EMSMASTER,AEMO,PUBLIC,2026/10/09,15:36:35,001791524195942,MONTHLY_ARCHIVE,001791524195942
I,GENERIC_CONSTRAINT,EMSMASTER,1,SPD_ID,SPD_TYPE,DESCRIPTION,GROUPING_ID,LASTCHANGED
D,GENERIC_CONSTRAINT,EMSMASTER,1,HOFF_X_65_060_0X1_B,A,"Snowy fully co-optimised constraint offset for CSP/CSC trial",Z_ARCHIVE,"2008/08/21 15:40:38"
D,GENERIC_CONSTRAINT,EMSMASTER,1,HOFF_X_65_060_0X1_A,A,"Snowy fully co-optimised constraint offset for CSP/CSC trial",Z_ARCHIVE,"2008/08/21 15:40:38"
D,GENERIC_CONSTRAINT,EMSMASTER,1,HOFF_UTYS_B,A,"Snowy fully co-optimised constraint offset for CSP/CSC trial",Z_ARCHIVE,"2008/08/21 15:40:38"
D,GENERIC_CONSTRAINT,EMSMASTER,1,HOFF_051+64_D,A,"Snowy fully co-optimised constraint offset for CSP/CSC trial",Z_ARCHIVE,"2008/08/21 15:40:40"
D,GENERIC_CONSTRAINT,EMSMASTER,1,HOFF_SNO_NSW_TU_ISL,A,"Snowy fully co-optimised constraint offset for CSP/CSC trial",Z_ARCHIVE,"2008/08/21 15:40:38"
D,GENERIC_CONSTRAINT,EMSMASTER,1,TAS_NCSPS_SHGT1_FIRM,S,"Firm flow enablement status for SHGT No.1 line",TAS1,"2006/05/25 10:11:34"
D,GENERIC_CONSTRAINT,EMSMASTER,1,TAS_NCSPS_SHFA2_FIRM,S,"Firm flow enablement status for SHFA No.2 line",TAS1,"2006/05/25 10:11:34"
D,GENERIC_CONSTRAINT,EMSMASTER,1,TAS_NCSPS_SHFA1_FIRM,S,"Firm flow enablement status for SHFA No.1 line",TAS1,"2006/05/25 10:11:34"
D,GENERIC_CONSTRAINT,EMSMASTER,1,TAS_NCSPS_PMHA4_FIRM,S,"Firm flow enablement status for PMHA No.4 line",TAS1,"2006/05/25 10:11:34"
D,GENERIC_CONSTRAINT,EMSMASTER,1,TAS_NCSPS_PMHA3_FIRM,S,"Firm flow enablement status for PMHA No.3 line",TAS1,"2006/05/25 10:11:34"
D,GENERIC_CONSTRAINT,EMSMASTER,1,TAS_NCSPS_PMHA2_FIRM,S,"Firm flow enablement status for PMHA No.2 line",TAS1,"2006/05/25 10:11:34"
...
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 2 MB when zipped, 15 MB as unzipped CSV.
Deduplication and PDR Loader Configuration
The primary keys are:
The transaction type is "INSERT-UPDATE", which means that you will likely see duplicate data with different values.
You should deduplicate by sorting based on LASTCHANGED, within each group of primary keys.
| Report Name | Report Subtype | Version |
|---|---|---|
| GENERIC_CONSTRAINT | EMSMASTER | 1 |
This means that the CSV files start with metadata columns:
ROW_FILTER_TYPE is LASTCHANGED
Indexes
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: GENERIC_CONSTRAINT