SPDCONNECTIONPOINTCONSTRAINT
SPDCONNECTIONPOINTCONSTRAINT sets out details of connections point constraints issued in dispatch, predispatch and STPASA.
The addition of the
BIDTYPEfield to SPDCONNECTIONPOINTCONSTRAINT allows constraints to be applied to a dispatchable unit energy and/or Frequency Controlled Ancillary Services dispatch.SPDCONNECTIONPOINTCONSTRAINTdata is public, so is available to all participants.
Source
SPDCONNECTIONPOINTCONSTRAINT updates whenever new connection point constraints are created.
Column Schema
BIDTYPE
Bid Type Identifier; one of (RAISE6SEC, RAISE60SEC, RAISE5MIN, LOWER6SEC, LOWER60SEC, LOWER5MIN, RAISEREG, LOWERREG)
The SQL type is VARCHAR2(12).
This is actually a factor/enum, with values:
-
ENERGY -
LOWERREG -
LOWER60SEC -
RAISE5MIN -
LOWER5MIN -
LOWER6SEC -
RAISE60SEC -
RAISE6SEC -
RAISEREG -
RAISE1SEC -
LOWER1SEC
This column is mandatory, and a primary key.
CONNECTIONPOINTID
Connection Point Identifier
SQL Type: VARCHAR2(12)
Polars Type: pl.Categorical
This column is mandatory, and a primary key.
Examples:
NAL11CNBK11BNBKB3BNBKW1SNBL21LNBSF1LNBSF2SNCLS1CNDNH1HNDNS1D
EFFECTIVEDATE
Effective date of this record
SQL Type: DATE
Polars Type: pl.Date()
This column is mandatory, and a primary key.
Example: 2026/09/01 00:00:00
Note that AEMO represents dates as datetimes with a midnight time component.
GENCONID
Generic Constraint Identifier
SQL Type: VARCHAR2(20)
Polars Type: pl.Categorical
This column is mandatory, and a primary key.
Examples:
#DRYCGT1_D_E#DRYCGT2_D_E#R036713_001_RAMP_F#R036713_001_RAMP_V#R036714_001_RAMP_F#R036714_001_RAMP_V#R036715_001_RAMP_F#R036715_001_RAMP_V#R036715_002_RAMP_F#R036715_002_RAMP_V
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.
Example: 1
FACTOR
Constraint factor
SQL Type: NUMBER(16,6)
Polars Type: pl.Float64
This column is not mandatory.
Examples:
-0.181, 0.158, 1, 0.996
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 02:06:54
New Data Timing
When a new connection point constraint is created
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(
{
"BIDTYPE": pl.Enum(
[
"ENERGY",
"LOWERREG",
"LOWER60SEC",
"RAISE5MIN",
"LOWER5MIN",
"LOWER6SEC",
"RAISE60SEC",
"RAISE6SEC",
"RAISEREG",
"RAISE1SEC",
"LOWER1SEC",
]
),
"CONNECTIONPOINTID": pl.Categorical,
"EFFECTIVEDATE": pl.Date(),
"GENCONID": pl.Categorical,
"VERSIONNO": int, # or pl.UInt16
"FACTOR": pl.Float64,
}
)
# Deduplicate
# We want one row per ['BIDTYPE', 'CONNECTIONPOINTID', 'EFFECTIVEDATE', 'GENCONID', 'VERSIONNO']
# Tie-breaker: greatest value of ['LASTCHANGED']
.sort(["LASTCHANGED"], descending=False)
.unique(
subset=[
"BIDTYPE",
"CONNECTIONPOINTID",
"EFFECTIVEDATE",
"GENCONID",
"VERSIONNO",
],
keep="last",
)
)
Nemosis
from nemosis import dynamic_data_compiler
df = dynamic_data_compiler(
'2024/01/01 00:00:00',
'2024/01/31 00:00:00',
"SPDCONNECTIONPOINTCONSTRAINT",
"data/"
)
Example File
From PUBLIC_ARCHIVE_SPDCONNECTIONPOINTCONSTRAINT_FILE01_202609010000.zip
| CONNECTIONPOINTID | EFFECTIVEDATE | VERSIONNO | GENCONID | FACTOR | LASTCHANGED | BIDTYPE |
| QCBF1D | 2026/09/01 00:00:00 | 1 | #R036713_001_RAMP_F | 1 | 2026/09/01 02:06:54 | ENERGY |
| QCBR1C | 2026/09/01 00:00:00 | 1 | #R036713_001_RAMP_F | 1 | 2026/09/01 02:06:54 | ENERGY |
| QCBS1B | 2026/09/01 00:00:00 | 1 | #R036713_001_RAMP_F | 0.912 | 2026/09/01 02:06:54 | ENERGY |
| QCND1C | 2026/09/01 00:00:00 | 1 | #R036713_001_RAMP_F | 1 | 2026/09/01 02:06:54 | ENERGY |
| QRMA7 | 2026/09/01 00:00:00 | 1 | #R036713_001_RAMP_F | 1 | 2026/09/01 02:06:54 | ENERGY |
| QRMA8 | 2026/09/01 00:00:00 | 1 | #R036713_001_RAMP_F | 1 | 2026/09/01 02:06:54 | ENERGY |
| QCBF1D | 2026/09/01 00:00:00 | 1 | #R036713_001_RAMP_V | 1 | 2026/09/01 02:06:54 | ENERGY |
| QCBR1C | 2026/09/01 00:00:00 | 1 | #R036713_001_RAMP_V | 1 | 2026/09/01 02:06:54 | ENERGY |
| QCBS1B | 2026/09/01 00:00:00 | 1 | #R036713_001_RAMP_V | 0.912 | 2026/09/01 02:06:54 | ENERGY |
| QCND1C | 2026/09/01 00:00:00 | 1 | #R036713_001_RAMP_V | 1 | 2026/09/01 02:06:54 | ENERGY |
| QRMA7 | 2026/09/01 00:00:00 | 1 | #R036713_001_RAMP_V | 1 | 2026/09/01 02:06:54 | ENERGY |
| ... |
| C | SETP.WORLD | DVD_SPDCONNECTIONPOINTCONSTRAINT | AEMO | PUBLIC | 2026/10/09 | 16:33:58 | 001791527638240 | MONTHLY_ARCHIVE | 001791527638240 | |
| I | SPDCPC | NULL | 2 | CONNECTIONPOINTID | EFFECTIVEDATE | VERSIONNO | GENCONID | FACTOR | LASTCHANGED | BIDTYPE |
| D | SPDCPC | NULL | 2 | QCBF1D | 2026/09/01 00:00:00 | 1 | #R036713_001_RAMP_F | 1 | 2026/09/01 02:06:54 | ENERGY |
| D | SPDCPC | NULL | 2 | QCBR1C | 2026/09/01 00:00:00 | 1 | #R036713_001_RAMP_F | 1 | 2026/09/01 02:06:54 | ENERGY |
| D | SPDCPC | NULL | 2 | QCBS1B | 2026/09/01 00:00:00 | 1 | #R036713_001_RAMP_F | 0.912 | 2026/09/01 02:06:54 | ENERGY |
| D | SPDCPC | NULL | 2 | QCND1C | 2026/09/01 00:00:00 | 1 | #R036713_001_RAMP_F | 1 | 2026/09/01 02:06:54 | ENERGY |
| D | SPDCPC | NULL | 2 | QRMA7 | 2026/09/01 00:00:00 | 1 | #R036713_001_RAMP_F | 1 | 2026/09/01 02:06:54 | ENERGY |
| D | SPDCPC | NULL | 2 | QRMA8 | 2026/09/01 00:00:00 | 1 | #R036713_001_RAMP_F | 1 | 2026/09/01 02:06:54 | ENERGY |
| D | SPDCPC | NULL | 2 | QCBF1D | 2026/09/01 00:00:00 | 1 | #R036713_001_RAMP_V | 1 | 2026/09/01 02:06:54 | ENERGY |
| D | SPDCPC | NULL | 2 | QCBR1C | 2026/09/01 00:00:00 | 1 | #R036713_001_RAMP_V | 1 | 2026/09/01 02:06:54 | ENERGY |
| D | SPDCPC | NULL | 2 | QCBS1B | 2026/09/01 00:00:00 | 1 | #R036713_001_RAMP_V | 0.912 | 2026/09/01 02:06:54 | ENERGY |
| D | SPDCPC | NULL | 2 | QCND1C | 2026/09/01 00:00:00 | 1 | #R036713_001_RAMP_V | 1 | 2026/09/01 02:06:54 | ENERGY |
| D | SPDCPC | NULL | 2 | QRMA7 | 2026/09/01 00:00:00 | 1 | #R036713_001_RAMP_V | 1 | 2026/09/01 02:06:54 | ENERGY |
| ... | ||||||||||
| C | END OF REPORT | 1003 |
CONNECTIONPOINTID,EFFECTIVEDATE,VERSIONNO,GENCONID,FACTOR,LASTCHANGED,BIDTYPE
QCBF1D,"2026/09/01 00:00:00",1,#R036713_001_RAMP_F,1,"2026/09/01 02:06:54",ENERGY
QCBR1C,"2026/09/01 00:00:00",1,#R036713_001_RAMP_F,1,"2026/09/01 02:06:54",ENERGY
QCBS1B,"2026/09/01 00:00:00",1,#R036713_001_RAMP_F,0.912,"2026/09/01 02:06:54",ENERGY
QCND1C,"2026/09/01 00:00:00",1,#R036713_001_RAMP_F,1,"2026/09/01 02:06:54",ENERGY
QRMA7,"2026/09/01 00:00:00",1,#R036713_001_RAMP_F,1,"2026/09/01 02:06:54",ENERGY
QRMA8,"2026/09/01 00:00:00",1,#R036713_001_RAMP_F,1,"2026/09/01 02:06:54",ENERGY
QCBF1D,"2026/09/01 00:00:00",1,#R036713_001_RAMP_V,1,"2026/09/01 02:06:54",ENERGY
QCBR1C,"2026/09/01 00:00:00",1,#R036713_001_RAMP_V,1,"2026/09/01 02:06:54",ENERGY
QCBS1B,"2026/09/01 00:00:00",1,#R036713_001_RAMP_V,0.912,"2026/09/01 02:06:54",ENERGY
QCND1C,"2026/09/01 00:00:00",1,#R036713_001_RAMP_V,1,"2026/09/01 02:06:54",ENERGY
QRMA7,"2026/09/01 00:00:00",1,#R036713_001_RAMP_V,1,"2026/09/01 02:06:54",ENERGY
...
C,SETP.WORLD,DVD_SPDCONNECTIONPOINTCONSTRAINT,AEMO,PUBLIC,2026/10/09,16:33:58,001791527638240,MONTHLY_ARCHIVE,001791527638240
I,SPDCPC,NULL,2,CONNECTIONPOINTID,EFFECTIVEDATE,VERSIONNO,GENCONID,FACTOR,LASTCHANGED,BIDTYPE
D,SPDCPC,NULL,2,QCBF1D,"2026/09/01 00:00:00",1,#R036713_001_RAMP_F,1,"2026/09/01 02:06:54",ENERGY
D,SPDCPC,NULL,2,QCBR1C,"2026/09/01 00:00:00",1,#R036713_001_RAMP_F,1,"2026/09/01 02:06:54",ENERGY
D,SPDCPC,NULL,2,QCBS1B,"2026/09/01 00:00:00",1,#R036713_001_RAMP_F,0.912,"2026/09/01 02:06:54",ENERGY
D,SPDCPC,NULL,2,QCND1C,"2026/09/01 00:00:00",1,#R036713_001_RAMP_F,1,"2026/09/01 02:06:54",ENERGY
D,SPDCPC,NULL,2,QRMA7,"2026/09/01 00:00:00",1,#R036713_001_RAMP_F,1,"2026/09/01 02:06:54",ENERGY
D,SPDCPC,NULL,2,QRMA8,"2026/09/01 00:00:00",1,#R036713_001_RAMP_F,1,"2026/09/01 02:06:54",ENERGY
D,SPDCPC,NULL,2,QCBF1D,"2026/09/01 00:00:00",1,#R036713_001_RAMP_V,1,"2026/09/01 02:06:54",ENERGY
D,SPDCPC,NULL,2,QCBR1C,"2026/09/01 00:00:00",1,#R036713_001_RAMP_V,1,"2026/09/01 02:06:54",ENERGY
D,SPDCPC,NULL,2,QCBS1B,"2026/09/01 00:00:00",1,#R036713_001_RAMP_V,0.912,"2026/09/01 02:06:54",ENERGY
D,SPDCPC,NULL,2,QCND1C,"2026/09/01 00:00:00",1,#R036713_001_RAMP_V,1,"2026/09/01 02:06:54",ENERGY
D,SPDCPC,NULL,2,QRMA7,"2026/09/01 00:00:00",1,#R036713_001_RAMP_V,1,"2026/09/01 02:06:54",ENERGY
...
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 8 MB when zipped, 84 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 |
|---|---|---|
| SPDCPC | NULL | 2 |
This means that the CSV files start with metadata columns:
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