Attributes - Table
HomeTablesSchemasDiagramsForeign KeysIndexes

Table: Attributes

It is a bridge tables that allow associating many Object Types with many attributes. Users also can share the same native attribute across different object types like Capital Cost attribute that is shared for all the WEAP Objects

Columns

PKNameData TypeNULLAutoDefaultCommentFK

AttributeIDInteger

Primary key identifier
AttributeNameVarChar(255) The name of the attribute
AttributeName_AbstractVarChar(255)

An optional field that binds any different attribute implementations that include units and datatypes such as “storage_AF” and “storage-gallons” into a general concept “storage”. Attribute name as-is in the model without adding abbrto it as in WEAP to count for different versions of the same attribute that have different unit or data type
AttributeNameCVVarChar(255)

CV term for a universal attribute name

ObjectTypeIDInteger Foreign key identifier to the ObjectType that the attribute belongs to

UnitNameVarChar(255) Unit name as used negatively in the dataset
UnitNameCVVarChar(255)

CV term for a universal unit name

AttributeScaleInteger

1A multiplier of the attribute values as used in WEAP. The default is 1. It takes values like 1000000 for a million.
AttributeDataTypeCVVarChar(255) CV term for a list of supported data types in WaMDAM: DualValue, NumericValue, SeasonalNumericValues, DescriptorValue, ElectronicFiles, TimeSeries, and MultAttributeSeries

AttributeCategoryIDInteger

Foreign key identifier to the category that the ObjectType belongs to

ModelInputOrOutputChar(50)

Distinguishs input and output attributes in models
DescriptionText

Full text description of the attribute

Indexes

(none)


Foreign Keys

NameParent TableChild TableParent ColumnsChild Columns
fk_Attributes_CV_AttributeNameCVs.CV_AttributeNameResourceStruct.AttributesNameAttributeNameCV
fk_Attributes_CV_AttributeTypeCVs.CV_AttributeDataTypeResourceStruct.AttributesNameAttributeDataTypeCV
fk_Attributes_CV_UnitsCVs.CV_UnitsResourceStruct.AttributesNameUnitNameCV
fk_Attributes_ObjectTypesResourceStruct.ObjectTypesResourceStruct.AttributesObjectTypeIDObjectTypeID
fk_ObjectAttributes_AttributeCategoryResourceStruct.AttributeCategoriesResourceStruct.AttributesAttributeCategoryIDAttributeCategoryID

Triggers

(none)


Used in Diagrams

Diagram Name
01_WaMDaM
02_WaMDaM_WCVs