CustomPowerAttribute

Overview

Class

A custom attribute with Value type NullablePower.

Supertypes

Attributes (data)

Name

Multiplicity

Type

Value

1

NullablePower

Implementation in Proteus Schema

CustomPowerAttribute is implemented as a custom generic attribute for physical quantities.

RDL reference: POWER

Type: Power

Example

As CustomAttributeOwner is abstract, we consider CustomHeater as an arbitrary concrete subclass.

The CustomHeater customHeater1 has a CustomPowerAttribute with AttributeName “DesignPower” and AttributeURIhttp://sandbox.dexpi.org/rdl/DesignPower”. The Value is 400 kW.

Implementation in Proteus Schema

<Equipment
    ID="customHeater1"
    ComponentClass="CustomHeater"
    ComponentClassURI="http://sandbox.dexpi.org/rdl/CustomHeater" ...>
  ...
  <GenericAttributes Set="DexpiCustomAttributes" ...>
    <GenericAttribute
      Name="DesignPower"
      AttributeURI="http://sandbox.dexpi.org/rdl/DesignPower"
      Format="double"
      Type="Power"
      TypeURI="http://data.posccaesar.org/rdl/RDS354104"
      Value="400"
      Units="Kilowatt"
      UnitsURI="http://data.posccaesar.org/rdl/RDS1330919" />
    ...
  </GenericAttributes>
  ...
</Equipment>

Value

Attribute (data)

The value of the CustomPowerAttribute.

Multiplicity: 1

Redefines: Value (inherited from CustomAttribute)

Implementation in Proteus Schema

See implementation of CustomPowerAttribute.

Example

See the example for CustomPowerAttribute.