Table MD_MeasurementQuality

Card of table MD_MeasurementQuality

Name

MD_MeasurementQuality

Dimensional Type

Dimension

Comment

Specifies whether a measurement can be relied on. Possible values: Good, Bad, Uncertain. This table is maintained by hand, since it should basically never change.

Background: OPC (a common HVAC/controls-industry protocol for gathering data from measurement devices and systems) returns values as a triple: Value, quality, timestamp. This table implements the quality (third member) of that triple. Other systems may return equivalents, such as a standard deviation. All these possible values are distilled here down to the three possible values mentioned above.

Although many sub-categories are possible, they are not recorded here, since our purpose is basically to aggregate good data. Additional explanation or text regarding bad or uncertain data should be sought not here, but rather from the originating devices and/or control systems.

Since the values here are text/nominal, and are associated with or applied other (generally numeric) values in fact tables, we need a separate dimension for them.


Check constraint name of the table MD_MeasurementQuality

CKT_MD_MEASUREMENTQUALITY


List of incoming references of the table MD_MeasurementQuality

Name

Child Table

Foreign Key Columns

Relationship_51

MF_ReadingByHourSnapshot

MD_MQual_SurrogateKey

Relationship_93

MF_ReadingByHourNoAggregations

MD_MQual_SurrogateKey

Relationship_203

MF_ReadingByHourAccumulating

MD_MQual_SurrogateKey


List of diagrams containing the table MD_MeasurementQuality

Name

StarsEnergyDiagram


List of columns of the table MD_MeasurementQuality

Name

Comment

Domain

Data Type

Length

MD_MQual_SurrogateKey

 

<None>

numeric

 

MD_MQual_Name

 

DW_CodeDesc

varchar(32)

32

MD_MQual_AuditKey

 

DW_AuditKey

bigint

 

MD_MQual_Timestamp

 

<None>

timestamp

 


List of indexes of the table MD_MeasurementQuality

Name

Unique

Cluster

Primary

Foreign Key

Alternate Key

Table

MD_MEASUREMENTQUALITY_PK

TRUE

TRUE

TRUE

FALSE

FALSE

MD_MeasurementQuality

MD_MEASUREMENTQUALITY_AK

TRUE

FALSE

FALSE

FALSE

TRUE

MD_MeasurementQuality


List of keys of the table MD_MeasurementQuality

Name

Identifier_1

AltKey