Skip to content

CONSTRAINTRELAXATION_OCD

CONSTRAINTRELAXATION_OCD contains details of interconnector constraints and unit ancillary service constraints relaxed in the over-constrained dispatch (OCD) re-run for this interval (if there was one). Note: INTERVENTION is not included in CONSTRAINTRELAXATION_OCD, since the relaxation of the same constraint is the same amount in both intervened and non-intervened cases.

Package

DISPATCH

Visibility

Public

Table schema

Column Official MMS Datatype GR-MMS Datatype Comment
SETTLEMENTDATE datetime(3) 🔑 datetime2(0) 🔑 End date and time of the dispatch interval
RUNNO numeric(3, 0) 🔑 smallint 🔑 Dispatch run no
CONSTRAINTID varchar(20) 🔑 varchar(20) 🔑 Constraint identifier
VERSIONNO numeric(3, 0) 🔑 smallint 🔑 Version Number
RHS numeric(16, 6) numeric(16, 6) Relaxed RHS used in attempt to avoid constraint violation
LASTCHANGED datetime(3) datetime2(0) Last date and time record changed

Official MMS data model indexes

Index name Index type Index columns (in order)
CONSTRAINTRELAX_OCD_LCX nonclustered LASTCHANGED
PK_CONSTRAINTRELAXATION_OCD clustered, unique, primary key SETTLEMENTDATE, RUNNO, CONSTRAINTID, VERSIONNO

GR-MMS data model indexes

Index name Index type Index columns (in order)
IX_CONSTRAINTRELAXATION_OCD_LASTCHANGED nonclustered LASTCHANGED
PK_CONSTRAINTRELAXATION_OCD clustered, unique, primary key SETTLEMENTDATE, RUNNO, CONSTRAINTID, VERSIONNO

Historical-MMS data model indexes

Index name Index type Index columns (in order)
CONSTRAINTRELAX_OCD_LCX nonclustered LASTCHANGED
PK_CONSTRAINTRELAXATION_OCD clustered, unique, primary key SETTLEMENTDATE, RUNNO, CONSTRAINTID, VERSIONNO