Skip to content

INSTRUCTIONSUBTYPE

Each Dispatch instruction (GD instruct) has a type and subtype. INSTRUCTIONSUBTYPE, together with INSTRUCTIONTYPE, sets out valid instruction types.

INSTRUCTIONSUBTYPE is public data, and is available to all participants.

Source

INSTRUCTIONSUBTYPE shows ad hoc updates to market configuration.

Column Schema

INSTRUCTIONSUBTYPEID

Subtype for each dispatch instruction type, for example governor off.

SQL Type: VARCHAR2(10) Polars Type: str

This column is mandatory, and a primary key.

Examples:

  • AGCOFF
  • AGCONNREG
  • AGCONREG
  • COMMENT
  • COMP_OFF
  • COMP_ON
  • CONST_OFF
  • CONST_ON
  • CONST_TERM
  • DISPLD_OFF

INSTRUCTIONTYPEID

Instruction type

SQL Type: VARCHAR2(10) Polars Type: str

This column is mandatory, and a primary key.

Examples:

  • AS_FC
  • AS_LS
  • AS_RGUL
  • AS_RGUU
  • AS_RP
  • GENERAL
  • NC
  • RTC
  • SD

DESCRIPTION

Description of instruction subtype

SQL Type: VARCHAR2(64) Polars Type: str

This column is not mandatory.

Examples:

  • AGC Dispatch Off
  • AGC Dispatch on non-regulating
  • AGC Dispatch on regulating
  • Change output to specified MW by specified time
  • Constrain Unit Off for Frequency Control
  • Constrain Unit On for Frequency Control
  • Constrain Unit Terminated
  • Constrain Unit off for Reactive Power
  • Constrain Unit on for Reactive Power
  • Disable Load Shed Block

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: 1999/04/20 14:56:19

New Data Timing

Ad hoc

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({"INSTRUCTIONSUBTYPEID": str, "INSTRUCTIONTYPEID": str, "DESCRIPTION": str})
    # Deduplicate
    # We want one row per ['INSTRUCTIONSUBTYPEID', 'INSTRUCTIONTYPEID']
    # Tie-breaker: greatest value of ['LASTCHANGED']
    .sort(["LASTCHANGED"], descending=False)
    .unique(subset=["INSTRUCTIONSUBTYPEID", "INSTRUCTIONTYPEID"], keep="last")
)

Nemosis

This table is not yet available in Nemosis.

Example File

From PUBLIC_ARCHIVE_INSTRUCTIONSUBTYPE_FILE01_202609010000.zip

INSTRUCTIONTYPEIDINSTRUCTIONSUBTYPEIDDESCRIPTIONLASTCHANGED
AS_FCAGCONNREGAGC Dispatch on non-regulating1999/04/20 14:56:19
AS_FCAGCONREGAGC Dispatch on regulating1999/04/20 14:56:19
AS_FCAGCOFFAGC Dispatch Off1999/04/20 14:56:19
AS_FCGOV6RGovernor on for 6 second raise1999/04/20 14:56:19
AS_FCGOV6LGovernor on for 6 second lower1999/04/20 14:56:19
AS_FCGOV60RGovernor on for 60 second raise1999/04/20 14:56:19
AS_FCGOV60LGovernor on for 60 second lower1999/04/20 14:56:19
AS_FCFCASOFFFrequency Control Disable1999/04/20 14:56:19
AS_RPONSYNCOMPOn as synchronous compensator1999/04/20 14:56:19
AS_RPOFFSYNCOMPOff as synchronous compensator1999/04/20 14:56:19
AS_RGULRGUL_ENABRapid Gen Unit Loading Enabled1999/04/20 14:56:19
...

CSETP.WORLDDVD_INSTRUCTIONSUBTYPEAEMOPUBLIC2026/10/0915:37:02001791524222325MONTHLY_ARCHIVE001791524222325
IGD_INSTRUCTINSTRUCTIONSUBTYPE1INSTRUCTIONTYPEIDINSTRUCTIONSUBTYPEIDDESCRIPTIONLASTCHANGED
DGD_INSTRUCTINSTRUCTIONSUBTYPE1AS_FCAGCONNREGAGC Dispatch on non-regulating1999/04/20 14:56:19
DGD_INSTRUCTINSTRUCTIONSUBTYPE1AS_FCAGCONREGAGC Dispatch on regulating1999/04/20 14:56:19
DGD_INSTRUCTINSTRUCTIONSUBTYPE1AS_FCAGCOFFAGC Dispatch Off1999/04/20 14:56:19
DGD_INSTRUCTINSTRUCTIONSUBTYPE1AS_FCGOV6RGovernor on for 6 second raise1999/04/20 14:56:19
DGD_INSTRUCTINSTRUCTIONSUBTYPE1AS_FCGOV6LGovernor on for 6 second lower1999/04/20 14:56:19
DGD_INSTRUCTINSTRUCTIONSUBTYPE1AS_FCGOV60RGovernor on for 60 second raise1999/04/20 14:56:19
DGD_INSTRUCTINSTRUCTIONSUBTYPE1AS_FCGOV60LGovernor on for 60 second lower1999/04/20 14:56:19
DGD_INSTRUCTINSTRUCTIONSUBTYPE1AS_FCFCASOFFFrequency Control Disable1999/04/20 14:56:19
DGD_INSTRUCTINSTRUCTIONSUBTYPE1AS_RPONSYNCOMPOn as synchronous compensator1999/04/20 14:56:19
DGD_INSTRUCTINSTRUCTIONSUBTYPE1AS_RPOFFSYNCOMPOff as synchronous compensator1999/04/20 14:56:19
DGD_INSTRUCTINSTRUCTIONSUBTYPE1AS_RGULRGUL_ENABRapid Gen Unit Loading Enabled1999/04/20 14:56:19
...
CEND OF REPORT71

INSTRUCTIONTYPEID,INSTRUCTIONSUBTYPEID,DESCRIPTION,LASTCHANGED
AS_FC,AGCONNREG,"AGC Dispatch on non-regulating","1999/04/20 14:56:19"
AS_FC,AGCONREG,"AGC Dispatch on regulating","1999/04/20 14:56:19"
AS_FC,AGCOFF,"AGC Dispatch Off","1999/04/20 14:56:19"
AS_FC,GOV6R,"Governor on for 6 second raise","1999/04/20 14:56:19"
AS_FC,GOV6L,"Governor on for 6 second lower","1999/04/20 14:56:19"
AS_FC,GOV60R,"Governor on for 60 second raise","1999/04/20 14:56:19"
AS_FC,GOV60L,"Governor on for 60 second lower","1999/04/20 14:56:19"
AS_FC,FCASOFF,"Frequency Control Disable","1999/04/20 14:56:19"
AS_RP,ONSYNCOMP,"On as synchronous compensator","1999/04/20 14:56:19"
AS_RP,OFFSYNCOMP,"Off as synchronous compensator","1999/04/20 14:56:19"
AS_RGUL,RGUL_ENAB,"Rapid Gen Unit Loading Enabled","1999/04/20 14:56:19"
...
C,SETP.WORLD,DVD_INSTRUCTIONSUBTYPE,AEMO,PUBLIC,2026/10/09,15:37:02,001791524222325,MONTHLY_ARCHIVE,001791524222325
I,GD_INSTRUCT,INSTRUCTIONSUBTYPE,1,INSTRUCTIONTYPEID,INSTRUCTIONSUBTYPEID,DESCRIPTION,LASTCHANGED
D,GD_INSTRUCT,INSTRUCTIONSUBTYPE,1,AS_FC,AGCONNREG,"AGC Dispatch on non-regulating","1999/04/20 14:56:19"
D,GD_INSTRUCT,INSTRUCTIONSUBTYPE,1,AS_FC,AGCONREG,"AGC Dispatch on regulating","1999/04/20 14:56:19"
D,GD_INSTRUCT,INSTRUCTIONSUBTYPE,1,AS_FC,AGCOFF,"AGC Dispatch Off","1999/04/20 14:56:19"
D,GD_INSTRUCT,INSTRUCTIONSUBTYPE,1,AS_FC,GOV6R,"Governor on for 6 second raise","1999/04/20 14:56:19"
D,GD_INSTRUCT,INSTRUCTIONSUBTYPE,1,AS_FC,GOV6L,"Governor on for 6 second lower","1999/04/20 14:56:19"
D,GD_INSTRUCT,INSTRUCTIONSUBTYPE,1,AS_FC,GOV60R,"Governor on for 60 second raise","1999/04/20 14:56:19"
D,GD_INSTRUCT,INSTRUCTIONSUBTYPE,1,AS_FC,GOV60L,"Governor on for 60 second lower","1999/04/20 14:56:19"
D,GD_INSTRUCT,INSTRUCTIONSUBTYPE,1,AS_FC,FCASOFF,"Frequency Control Disable","1999/04/20 14:56:19"
D,GD_INSTRUCT,INSTRUCTIONSUBTYPE,1,AS_RP,ONSYNCOMP,"On as synchronous compensator","1999/04/20 14:56:19"
D,GD_INSTRUCT,INSTRUCTIONSUBTYPE,1,AS_RP,OFFSYNCOMP,"Off as synchronous compensator","1999/04/20 14:56:19"
D,GD_INSTRUCT,INSTRUCTIONSUBTYPE,1,AS_RGUL,RGUL_ENAB,"Rapid Gen Unit Loading Enabled","1999/04/20 14:56:19"
...
C,"END OF REPORT",71

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 16 KB when zipped, 160 KB 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.

PDR Loader configuration is:

Report Name Report Subtype Version
GD_INSTRUCT INSTRUCTIONSUBTYPE 1

This means that the CSV files start with metadata columns:

I,GD_INSTRUCT,INSTRUCTIONSUBTYPE,1,...
D,GD_INSTRUCT,INSTRUCTIONSUBTYPE,1,...

ROW_FILTER_TYPE is LASTCHANGED

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