Table MD_Source

Card of table MD_Source

Name

MD_Source

Dimensional Type

Dimension

Comment

Source of electricity, water, natural gas, etc. The primary purpose of this table is to provide a general indication of whether the source of a thing being measured is internal/Carleton College or external/some other vendor or Unknown.

This table is maintained by hand, since it rarely changes, and when it does, it's because somebody wants a change (not because a system of record changes). It records the source of the thing measured, not the device that measures it or the system from which the measurement is extracted.

The notion of a 'source' is deliberately vague, and gives us a way (beyond the vendor), to subgroup water, steam, electricity, etc. measurements. There is also an MD_Vendor table, but it is too specific to be of use in all cases, and we may not even have enough information to link it up properly to measured data.

In the case of power we generate at Carleton, e.g., via a wind turbine, the source is 'Carleton College.'

There is a generic 'Unknown' row here, for cases when we think the source is unknown or not applicable, as, e.g., in the case of ambient temperature, humidity, and wind speed measurements taken at Carleton's general weather station.


Check constraint name of the table MD_Source

CKT_MD_SOURCE


List of incoming references of the table MD_Source

Name

Child Table

Foreign Key Columns

Relationship_105

MF_ReadingByHourNoAggregations

MD_Source_SurrogateKey

Relationship_106

MF_UnitCost

MD_Source_SurrogateKey

Relationship_113

MF_ReadingByHourSnapshot

MD_Source_SurrogateKey

Relationship_226

MF_ReadingByHourAccumulating

MD_Source_SurrogateKey


List of diagrams containing the table MD_Source

Name

StarsEnergyDiagram


List of columns of the table MD_Source

Name

Comment

Domain

Data Type

Length

MD_Source_SurrogateKey

 

<None>

numeric

 

MD_Source_Name

Values include: Unknown, Carleton College, Excel Energy.

DW_CommonName

nvarchar(64)

64

MD_Source_Type

Values: Internal, External.

DW_CodeDesc

varchar(32)

32

MD_Source_AuditKey

 

DW_AuditKey

bigint

 

MD_Source_Timestamp

 

<None>

timestamp

 


List of indexes of the table MD_Source

Name

Unique

Cluster

Primary

Foreign Key

Alternate Key

Table

MD_SOURCE_PK

TRUE

TRUE

TRUE

FALSE

FALSE

MD_Source

MD_SOURCE_AK

TRUE

FALSE

FALSE

FALSE

TRUE

MD_Source


List of keys of the table MD_Source

Name

Identifier_1

AltKey