Skip to content

SPDREGIONCONSTRAINT

SPDREGIONCONSTRAINT contains details on region demand constraint factors used in dispatch. SPDREGIONCONSTRAINTsets a LHS value.

Package

GENERIC_CONSTRAINT

Visibility

Public

Table schema

Column Official MMS Datatype GR-MMS Datatype Comment
REGIONID varchar(10) 🔑 varchar(10) 🔑 Region Identifier
EFFECTIVEDATE datetime(3) 🔑 date 🔑 Effective date of this record
VERSIONNO numeric(3, 0) 🔑 smallint 🔑 Version no of this record for the effective date
GENCONID varchar(20) 🔑 varchar(20) 🔑 Generic Constraint Identifier
BIDTYPE varchar(10) 🔑 varchar(10) 🔑 AS Service type - relates to the BidType table; one of (RAISE6SEC, RAISE60SEC, RAISE5MIN, LOWER6SEC, LOWER60SEC, LOWER5MIN, RAISEREG, LOWERREG)
FACTOR numeric(16, 6) numeric(9, 6) (not nullable) Constraint factor; one of (-1, 1)
LASTCHANGED datetime(3) datetime2(0) Last date and time record changed

Official MMS data model indexes

Index name Index type Index columns (in order)
SPDREGIONCONSTRAINT_LCX nonclustered LASTCHANGED
SPDREGIONCONSTRAINT_PK clustered, unique, primary key GENCONID, EFFECTIVEDATE, VERSIONNO, REGIONID, BIDTYPE

GR-MMS data model indexes

Index name Index type Index columns (in order)
IX_SPDREGIONCONSTRAINT_REGIONID nonclustered REGIONID
PK_SPDREGIONCONSTRAINT clustered, unique, primary key GENCONID, EFFECTIVEDATE, VERSIONNO, REGIONID, BIDTYPE

Historical-MMS data model indexes

Index name Index type Index columns (in order)
SPDREGIONCONSTRAINT_PK clustered, unique, primary key GENCONID, EFFECTIVEDATE, VERSIONNO, REGIONID, BIDTYPE