PREDISPATCHCONSTRAINT
PREDISPATCHCONSTRAINT sets out constraints that are binding in each predispatch run and interconnector constraints (whether binding or not). Only binding and interconnector constraints are reported. Binding contracts have marginal value greater than $0. Interconnector constraints are listed so
RHSvalues can be reported for ST PASA. Constraint solutions only report fixed loading /MR constraints on the next day.PREDISPATCHCONSTRAINT data is confidential on the day of creation, and public to all participants after the end of the market day.
Source
PREDISPATCHCONSTRAINT updates with every thirty-minute predispatch run.
Note
The
PERIODIDcolumns in tables PREDISPATCHCONSTRAINT andPREDISPATCH_FCAS_REQhave no consistent relationship with the otherPERIODIDvalues in the other tables in the PRE-DISPATCH package (such asPREDISPATCHPRICE). AEMO and many Participants appreciate the data model is inconsistent, but the cost of changing existing systems has been judged as being unjustifiable. An additional fieldDATETIMEwas added to allow joins between these data sets.
Column Schema
CONSTRAINTID
Generic constraint identifier
SQL Type: VARCHAR2(20)
Polars Type: pl.Categorical
This column is mandatory, and a primary key.
Examples:
#BBATTERY1_E1#BBATTERY1_E2#BRAEMAR1_E#CLRKCWF1_E1#CLRKCWF2_E1#COHUNSF1_E1#ERB02_E1#ERB02_E2#GREENB1_E1#GREENB1_E2
DATETIME
Period date and time
SQL Type: DATE
Polars Type: pl.Datetime()
This column is mandatory, and a primary key.
Example: 2026/09/01 04:30:00
DUID
DUID to which the Constraint is confidential. Null denotes non-confidential
Warning
This column may contain funny characters such as / (slash) or # (hash). This may break hive-style partitioning.
Warning
In the CSV files, this column actually has header CONFIDENTIAL_TO, not DUID.
In a SQL database, this should appear as DUID
For more information, see the dedicated documentation page.
SQL Type: VARCHAR2(20)
Polars Type: pl.Categorical
This column is not mandatory.
Examples:
ASTHYD1BBATTERY1BLOWERNGBODWF1BRAEMAR1BRDDBES1BRDDSF01BUNGAMB1BUSF1CGBESS01
GENCONID_EFFECTIVEDATE
Effective date of the Generic Constraint (ConstraintID). This field is used to track the version of this generic constraint applied in this dispatch interval
SQL Type: DATE
Polars Type: pl.Date()
This column is not mandatory.
Example: 2012/07/04 00:00:00
Note that AEMO represents dates as datetimes with a midnight time component.
GENCONID_VERSIONNO
Version number of the Generic Constraint (ConstraintID). This field is used to track the version of this generic constraint applied in this dispatch interval
SQL Type: NUMBER(22,0)
Polars Type: pl.Int128
This column is not mandatory.
Examples:
1, 2
INTERVENTION
Flag to indicate if this result set was sourced from the pricing run (INTERVENTION=0) or the physical run (INTERVENTION=1). In the event that there is not intervention in the market, both pricing and physical runs correspond to INTERVENTION=0
Warning
Unlike most tables with an INTERVENTION column, INTERVENTION is not a primary key of PREDISPATCHCONSTRAINT.
For more information, see the dedicated documentation page.
SQL Type: NUMBER(2,0)
Polars Type: pl.Boolean
This column is not mandatory.
Example: 0
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 04:02:00
LHS
Aggregation of the constraints LHS term solution values
SQL Type: NUMBER(15,5)
Polars Type: pl.Float64
This column is not mandatory.
Examples:
-1.19891, 1.95052, 0, 1087
MARGINALVALUE
Marginal value of violated constraint
SQL Type: NUMBER(15,5)
Polars Type: pl.Float64
This column is not mandatory.
Examples:
-4.42378, 0.01, 0, 23202.58808
PERIODID
Unique period identifier, in the format yyyymmddpp. The period (pp) is 01 to 48, with 01 corresponding to the half-hour ending at 04:30am.
SQL Type: VARCHAR2(20)
Polars Type: str
This column is not mandatory.
Example: 2026090101
PREDISPATCHSEQNO
Unique identifier of predispatch run in the form YYYYMMDDPP with 01 at 04:30
SQL Type: VARCHAR2(20)
Polars Type: str
This column is not mandatory.
Example: 2026090101
RHS
RHS value used.
SQL Type: NUMBER(15,5)
Polars Type: pl.Float64
This column is not mandatory.
Examples:
-15.00029, 0.0001, 0, 34264
RUNNO
SPD Predispatch run no, typically 1. It increments if the case is re-run.
SQL Type: NUMBER(3,0)
Polars Type: pl.UInt16
This column is not mandatory.
Example: 1
VIOLATIONDEGREE
Degree of constraint violation
SQL Type: NUMBER(15,5)
Polars Type: pl.Float64
This column is not mandatory.
Example: 0
New Data Timing
Every 30 minutes
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",
)
# These columns have names in the CSV which do not match the official schema
.rename({"CONFIDENTIAL_TO": "DUID"})
.with_columns(
pl.col("DATETIME", "LASTCHANGED").str.strptime(pl.Datetime, dt_s_fmt),
pl.col("GENCONID_EFFECTIVEDATE").str.strptime(pl.Date, d_fmt),
)
# Polars can't cast string straight to bool. Need to go via something else.
.cast({"INTERVENTION": pl.UInt8})
.cast(
{
"CONSTRAINTID": pl.Categorical,
"DUID": pl.Categorical,
"GENCONID_EFFECTIVEDATE": pl.Date(),
"GENCONID_VERSIONNO": int, # or pl.Int128
"INTERVENTION": pl.Boolean,
"LHS": pl.Float64,
"MARGINALVALUE": pl.Float64,
"PERIODID": str,
"PREDISPATCHSEQNO": str,
"RHS": pl.Float64,
"RUNNO": int, # or pl.UInt16
"VIOLATIONDEGREE": pl.Float64,
}
)
# Deduplicate
# We want one row per ['CONSTRAINTID', 'DATETIME']
# Tie-breaker: greatest value of ['PREDISPATCHSEQNO']
.sort(["PREDISPATCHSEQNO"], descending=False)
.unique(subset=["CONSTRAINTID", "DATETIME"], keep="last")
)
Nemosis
This table is not yet available in Nemosis.
Example File
From PUBLIC_ARCHIVE_PREDISPATCHCONSTRAINT_FILE01_202609010000.zip
| PREDISPATCHSEQNO | RUNNO | CONSTRAINTID | PERIODID | INTERVENTION | RHS | MARGINALVALUE | VIOLATIONDEGREE | LASTCHANGED | DATETIME | DUID | GENCONID_EFFECTIVEDATE | GENCONID_VERSIONNO | LHS |
| 2026090101 | 1 | #BBATTERY1_E1 | 2026090101 | 0 | 50 | 0 | 0 | 2026/09/01 04:02:00 | 2026/09/01 04:30:00 | BBATTERY1 | 2024/10/04 00:00:00 | 1 | 0 |
| 2026090101 | 1 | #BBATTERY1_E2 | 2026090101 | 0 | -50 | 0 | 0 | 2026/09/01 04:02:00 | 2026/09/01 04:30:00 | BBATTERY1 | 2024/10/04 00:00:00 | 1 | 0 |
| 2026090101 | 1 | #BRAEMAR1_E | 2026090101 | 0 | 188 | 0 | 0 | 2026/09/01 04:02:00 | 2026/09/01 04:30:00 | BRAEMAR1 | 2022/07/01 00:00:00 | 2 | 0 |
| 2026090101 | 1 | #CLRKCWF1_E1 | 2026090101 | 0 | 339 | 0 | 0 | 2026/09/01 04:02:00 | 2026/09/01 04:30:00 | CLRKCWF1 | 2025/10/30 00:00:00 | 2 | 220.034 |
| 2026090101 | 1 | #CLRKCWF2_E1 | 2026090101 | 0 | 101 | 0 | 0 | 2026/09/01 04:02:00 | 2026/09/01 04:30:00 | CLRKCWF2 | 2025/10/30 00:00:00 | 2 | 78.963 |
| 2026090101 | 1 | #COHUNSF1_E1 | 2026090101 | 0 | 27 | 0 | 0 | 2026/09/01 04:02:00 | 2026/09/01 04:30:00 | COHUNSF1 | 2026/04/28 00:00:00 | 1 | 0 |
| 2026090101 | 1 | #ERB02_E1 | 2026090101 | 0 | 6 | 0 | 0 | 2026/09/01 04:02:00 | 2026/09/01 04:30:00 | ERB02 | 2026/08/28 00:00:00 | 1 | 0 |
| 2026090101 | 1 | #ERB02_E2 | 2026090101 | 0 | -8 | 0 | 0 | 2026/09/01 04:02:00 | 2026/09/01 04:30:00 | ERB02 | 2026/08/28 00:00:00 | 1 | 0 |
| 2026090101 | 1 | #GREENB1_E1 | 2026090101 | 0 | 200 | 0 | 0 | 2026/09/01 04:02:00 | 2026/09/01 04:30:00 | GREENB1 | 2025/04/08 00:00:00 | 1 | 0 |
| 2026090101 | 1 | #GREENB1_E2 | 2026090101 | 0 | -200 | 0 | 0 | 2026/09/01 04:02:00 | 2026/09/01 04:30:00 | GREENB1 | 2025/04/08 00:00:00 | 1 | 0 |
| 2026090101 | 1 | #LANCSF1_E1 | 2026090101 | 0 | 64 | 0 | 0 | 2026/09/01 04:02:00 | 2026/09/01 04:30:00 | LANCSF1 | 2026/07/09 00:00:00 | 1 | 0 |
| ... |
| C | SETP.WORLD | DVD_PREDISPATCHCONSTRAINT | AEMO | PUBLIC | 2026/10/09 | 16:28:59 | 001791527339952 | MONTHLY_ARCHIVE | 001791527339952 | ||||||||
| I | PREDISPATCH | CONSTRAINT_SOLUTION | 5 | PREDISPATCHSEQNO | RUNNO | CONSTRAINTID | PERIODID | INTERVENTION | RHS | MARGINALVALUE | VIOLATIONDEGREE | LASTCHANGED | DATETIME | DUID | GENCONID_EFFECTIVEDATE | GENCONID_VERSIONNO | LHS |
| D | PREDISPATCH | CONSTRAINT_SOLUTION | 5 | 2026090101 | 1 | #BBATTERY1_E1 | 2026090101 | 0 | 50 | 0 | 0 | 2026/09/01 04:02:00 | 2026/09/01 04:30:00 | BBATTERY1 | 2024/10/04 00:00:00 | 1 | 0 |
| D | PREDISPATCH | CONSTRAINT_SOLUTION | 5 | 2026090101 | 1 | #BBATTERY1_E2 | 2026090101 | 0 | -50 | 0 | 0 | 2026/09/01 04:02:00 | 2026/09/01 04:30:00 | BBATTERY1 | 2024/10/04 00:00:00 | 1 | 0 |
| D | PREDISPATCH | CONSTRAINT_SOLUTION | 5 | 2026090101 | 1 | #BRAEMAR1_E | 2026090101 | 0 | 188 | 0 | 0 | 2026/09/01 04:02:00 | 2026/09/01 04:30:00 | BRAEMAR1 | 2022/07/01 00:00:00 | 2 | 0 |
| D | PREDISPATCH | CONSTRAINT_SOLUTION | 5 | 2026090101 | 1 | #CLRKCWF1_E1 | 2026090101 | 0 | 339 | 0 | 0 | 2026/09/01 04:02:00 | 2026/09/01 04:30:00 | CLRKCWF1 | 2025/10/30 00:00:00 | 2 | 220.034 |
| D | PREDISPATCH | CONSTRAINT_SOLUTION | 5 | 2026090101 | 1 | #CLRKCWF2_E1 | 2026090101 | 0 | 101 | 0 | 0 | 2026/09/01 04:02:00 | 2026/09/01 04:30:00 | CLRKCWF2 | 2025/10/30 00:00:00 | 2 | 78.963 |
| D | PREDISPATCH | CONSTRAINT_SOLUTION | 5 | 2026090101 | 1 | #COHUNSF1_E1 | 2026090101 | 0 | 27 | 0 | 0 | 2026/09/01 04:02:00 | 2026/09/01 04:30:00 | COHUNSF1 | 2026/04/28 00:00:00 | 1 | 0 |
| D | PREDISPATCH | CONSTRAINT_SOLUTION | 5 | 2026090101 | 1 | #ERB02_E1 | 2026090101 | 0 | 6 | 0 | 0 | 2026/09/01 04:02:00 | 2026/09/01 04:30:00 | ERB02 | 2026/08/28 00:00:00 | 1 | 0 |
| D | PREDISPATCH | CONSTRAINT_SOLUTION | 5 | 2026090101 | 1 | #ERB02_E2 | 2026090101 | 0 | -8 | 0 | 0 | 2026/09/01 04:02:00 | 2026/09/01 04:30:00 | ERB02 | 2026/08/28 00:00:00 | 1 | 0 |
| D | PREDISPATCH | CONSTRAINT_SOLUTION | 5 | 2026090101 | 1 | #GREENB1_E1 | 2026090101 | 0 | 200 | 0 | 0 | 2026/09/01 04:02:00 | 2026/09/01 04:30:00 | GREENB1 | 2025/04/08 00:00:00 | 1 | 0 |
| D | PREDISPATCH | CONSTRAINT_SOLUTION | 5 | 2026090101 | 1 | #GREENB1_E2 | 2026090101 | 0 | -200 | 0 | 0 | 2026/09/01 04:02:00 | 2026/09/01 04:30:00 | GREENB1 | 2025/04/08 00:00:00 | 1 | 0 |
| D | PREDISPATCH | CONSTRAINT_SOLUTION | 5 | 2026090101 | 1 | #LANCSF1_E1 | 2026090101 | 0 | 64 | 0 | 0 | 2026/09/01 04:02:00 | 2026/09/01 04:30:00 | LANCSF1 | 2026/07/09 00:00:00 | 1 | 0 |
| ... | |||||||||||||||||
| C | END OF REPORT | 1003 |
PREDISPATCHSEQNO,RUNNO,CONSTRAINTID,PERIODID,INTERVENTION,RHS,MARGINALVALUE,VIOLATIONDEGREE,LASTCHANGED,DATETIME,DUID,GENCONID_EFFECTIVEDATE,GENCONID_VERSIONNO,LHS
2026090101,1,#BBATTERY1_E1,2026090101,0,50,0,0,"2026/09/01 04:02:00","2026/09/01 04:30:00",BBATTERY1,"2024/10/04 00:00:00",1,0
2026090101,1,#BBATTERY1_E2,2026090101,0,-50,0,0,"2026/09/01 04:02:00","2026/09/01 04:30:00",BBATTERY1,"2024/10/04 00:00:00",1,0
2026090101,1,#BRAEMAR1_E,2026090101,0,188,0,0,"2026/09/01 04:02:00","2026/09/01 04:30:00",BRAEMAR1,"2022/07/01 00:00:00",2,0
2026090101,1,#CLRKCWF1_E1,2026090101,0,339,0,0,"2026/09/01 04:02:00","2026/09/01 04:30:00",CLRKCWF1,"2025/10/30 00:00:00",2,220.034
2026090101,1,#CLRKCWF2_E1,2026090101,0,101,0,0,"2026/09/01 04:02:00","2026/09/01 04:30:00",CLRKCWF2,"2025/10/30 00:00:00",2,78.963
2026090101,1,#COHUNSF1_E1,2026090101,0,27,0,0,"2026/09/01 04:02:00","2026/09/01 04:30:00",COHUNSF1,"2026/04/28 00:00:00",1,0
2026090101,1,#ERB02_E1,2026090101,0,6,0,0,"2026/09/01 04:02:00","2026/09/01 04:30:00",ERB02,"2026/08/28 00:00:00",1,0
2026090101,1,#ERB02_E2,2026090101,0,-8,0,0,"2026/09/01 04:02:00","2026/09/01 04:30:00",ERB02,"2026/08/28 00:00:00",1,0
2026090101,1,#GREENB1_E1,2026090101,0,200,0,0,"2026/09/01 04:02:00","2026/09/01 04:30:00",GREENB1,"2025/04/08 00:00:00",1,0
2026090101,1,#GREENB1_E2,2026090101,0,-200,0,0,"2026/09/01 04:02:00","2026/09/01 04:30:00",GREENB1,"2025/04/08 00:00:00",1,0
2026090101,1,#LANCSF1_E1,2026090101,0,64,0,0,"2026/09/01 04:02:00","2026/09/01 04:30:00",LANCSF1,"2026/07/09 00:00:00",1,0
...
C,SETP.WORLD,DVD_PREDISPATCHCONSTRAINT,AEMO,PUBLIC,2026/10/09,16:28:59,001791527339952,MONTHLY_ARCHIVE,001791527339952
I,PREDISPATCH,CONSTRAINT_SOLUTION,5,PREDISPATCHSEQNO,RUNNO,CONSTRAINTID,PERIODID,INTERVENTION,RHS,MARGINALVALUE,VIOLATIONDEGREE,LASTCHANGED,DATETIME,DUID,GENCONID_EFFECTIVEDATE,GENCONID_VERSIONNO,LHS
D,PREDISPATCH,CONSTRAINT_SOLUTION,5,2026090101,1,#BBATTERY1_E1,2026090101,0,50,0,0,"2026/09/01 04:02:00","2026/09/01 04:30:00",BBATTERY1,"2024/10/04 00:00:00",1,0
D,PREDISPATCH,CONSTRAINT_SOLUTION,5,2026090101,1,#BBATTERY1_E2,2026090101,0,-50,0,0,"2026/09/01 04:02:00","2026/09/01 04:30:00",BBATTERY1,"2024/10/04 00:00:00",1,0
D,PREDISPATCH,CONSTRAINT_SOLUTION,5,2026090101,1,#BRAEMAR1_E,2026090101,0,188,0,0,"2026/09/01 04:02:00","2026/09/01 04:30:00",BRAEMAR1,"2022/07/01 00:00:00",2,0
D,PREDISPATCH,CONSTRAINT_SOLUTION,5,2026090101,1,#CLRKCWF1_E1,2026090101,0,339,0,0,"2026/09/01 04:02:00","2026/09/01 04:30:00",CLRKCWF1,"2025/10/30 00:00:00",2,220.034
D,PREDISPATCH,CONSTRAINT_SOLUTION,5,2026090101,1,#CLRKCWF2_E1,2026090101,0,101,0,0,"2026/09/01 04:02:00","2026/09/01 04:30:00",CLRKCWF2,"2025/10/30 00:00:00",2,78.963
D,PREDISPATCH,CONSTRAINT_SOLUTION,5,2026090101,1,#COHUNSF1_E1,2026090101,0,27,0,0,"2026/09/01 04:02:00","2026/09/01 04:30:00",COHUNSF1,"2026/04/28 00:00:00",1,0
D,PREDISPATCH,CONSTRAINT_SOLUTION,5,2026090101,1,#ERB02_E1,2026090101,0,6,0,0,"2026/09/01 04:02:00","2026/09/01 04:30:00",ERB02,"2026/08/28 00:00:00",1,0
D,PREDISPATCH,CONSTRAINT_SOLUTION,5,2026090101,1,#ERB02_E2,2026090101,0,-8,0,0,"2026/09/01 04:02:00","2026/09/01 04:30:00",ERB02,"2026/08/28 00:00:00",1,0
D,PREDISPATCH,CONSTRAINT_SOLUTION,5,2026090101,1,#GREENB1_E1,2026090101,0,200,0,0,"2026/09/01 04:02:00","2026/09/01 04:30:00",GREENB1,"2025/04/08 00:00:00",1,0
D,PREDISPATCH,CONSTRAINT_SOLUTION,5,2026090101,1,#GREENB1_E2,2026090101,0,-200,0,0,"2026/09/01 04:02:00","2026/09/01 04:30:00",GREENB1,"2025/04/08 00:00:00",1,0
D,PREDISPATCH,CONSTRAINT_SOLUTION,5,2026090101,1,#LANCSF1_E1,2026090101,0,64,0,0,"2026/09/01 04:02:00","2026/09/01 04:30:00",LANCSF1,"2026/07/09 00:00:00",1,0
...
C,"END OF REPORT",1003
Availability
Visibility: Private & Public Next-Day
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 1 of 2015. 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 318 MB when zipped, 3 GB as unzipped CSV.
Deduplication and PDR Loader Configuration
The primary keys are:
The transaction type is "UPDATE-INSERT", 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 |
|---|---|---|
| PREDISPATCH | CONSTRAINT_SOLUTION | 5 |
This means that the CSV files start with metadata columns:
ROW_FILTER_TYPE is LASTCHANGED
Indexes
There is more than one index.
Index 1:
Index 2:
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: PRE_DISPATCH