Skip to content

STPASA_CONSTRAINTSOLUTION

STPASA_CONSTRAINTSOLUTION shows binding and violated constraint results from the capacity evaluation, including the RHS value.

Package

STPASA_SOLUTION

Visibility

Public

Table schema

Column Official MMS Datatype GR-MMS Datatype Comment
RUN_DATETIME datetime(3) 🔑 datetime2(0) 🔑 Unique Timestamp Identifier for this study
INTERVAL_DATETIME datetime(3) 🔑 datetime2(0) 🔑 The unique identifier for the interval within this study
CONSTRAINTID varchar(20) 🔑 varchar(20) 🔑 Constraint identifier (synonymous with GenConID)
RUNTYPE varchar(20) 🔑 varchar(20) 🔑 Type of run. Values are RELIABILITY_LRC, OUTAGE_LRC and LOR. Note that the STPASA RELIABILITY_LRC and OUTAGE_LRC Run Types are discontinued from 31 July 2025, with only the LOR Run Type reported.
CAPACITYRHS numeric(12, 2) numeric(12, 2) The RHS value in the capacity evaluation.
CAPACITYMARGINALVALUE numeric(12, 2) numeric(12, 2) Capacity adequacy assessment marginal value, 0 if not binding
CAPACITYVIOLATIONDEGREE numeric(12, 2) numeric(12, 2) Capacity adequacy assessment violation degree for generic constraint; 0 if not violating
LASTCHANGED datetime(3) datetime2(0) Last changed date of this record
STUDYREGIONID varchar(20) 🔑 varchar(20) 🔑 Primary Region for LP Solve (or MARKET if none).

Official MMS data model indexes

Index name Index type Index columns (in order)
CONSTRAINTSOLUTION_PK clustered, unique, primary key RUN_DATETIME, RUNTYPE, INTERVAL_DATETIME, CONSTRAINTID, STUDYREGIONID
STPASA_CONSTRAINTSOLUTION_LCX nonclustered LASTCHANGED

GR-MMS data model indexes

Index name Index type Index columns (in order)
PK_STPASA_CONSTRAINTSOLUTION clustered, unique, primary key RUN_DATETIME, RUNTYPE, INTERVAL_DATETIME, CONSTRAINTID, STUDYREGIONID

Historical-MMS data model indexes

Index name Index type Index columns (in order)
PK_STPASA_CONSTRAINTSOLUTION nonclustered, unique, primary key RUNTYPE, STUDYREGIONID, CONSTRAINTID, RUN_DATETIME, INTERVAL_DATETIME
STPASA_CONSTRAINTSOLUTION_CCI clustered, columnstore n/a