AltEnergySource

Alternative energy source

Element Information

Model

Children: MeterId

Attributes

QName Type Fixed Default Use Inheritable Annotation
altEnergyType restriction of xsd:NMTOKEN required
id xsd:ID required
programId xsd:IDREF optional
Please specify the program that added this element.
resourceType resourceTypeEnum required

Used By

Element Campus

Source

<xsd:element name="AltEnergySource">
  <xsd:annotation>
    <xsd:documentation>Alternative energy source</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:choice minOccurs="0" maxOccurs="unbounded">
      <xsd:element ref="MeterId" minOccurs="0" maxOccurs="unbounded"/>
    </xsd:choice>
    <xsd:attribute name="id" type="xsd:ID" use="required"/>
    <xsd:attribute name="altEnergyType" use="required">
      <xsd:simpleType>
        <xsd:restriction base="xsd:NMTOKEN">
          <xsd:enumeration value="Solar"/>
          <xsd:enumeration value="Wind"/>
          <xsd:enumeration value="Geothermal"/>
          <xsd:enumeration value="HeatRecovery"/>
          <xsd:enumeration value="NaturalGas"/>
          <xsd:enumeration value="Electrical"/>
        </xsd:restriction>
      </xsd:simpleType>
    </xsd:attribute>
    <xsd:attribute name="resourceType" type="resourceTypeEnum" use="required"/>
    <xsd:attribute name="programId" type="xsd:IDREF" use="optional">
      <xsd:annotation>
        <xsd:documentation>Please specify the program that added this element.</xsd:documentation>
      </xsd:annotation>
    </xsd:attribute>
  </xsd:complexType>
</xsd:element>

Sample