Changeset 798


Ignore:
Timestamp:
01/24/13 14:05:43 (12 years ago)
Author:
gosiaw
Message:

New DEBBComponents schema from HLRS

File:
1 edited

Legend:

Unmodified
Added
Removed
  • DCWoRMS/trunk/src/test/DEBBTranslator/xml/DEBBComponents.xsd

    r557 r798  
    122122        <xsd:complexType name="DEBBPhysicalElementType"> 
    123123                <xsd:sequence> 
    124                         <xsd:element name="ComponentId" type="xsd:string" maxOccurs="1" minOccurs="0"></xsd:element> 
     124                        <xsd:element name="ComponentId" type="xsd:string" 
     125                                maxOccurs="1" minOccurs="0"> 
     126                        </xsd:element> 
    125127                        <xsd:element name="Manufacturer" type="xsd:string" 
    126128                                maxOccurs="1" minOccurs="0" /> 
     
    128130                                minOccurs="0" /> 
    129131                        <xsd:element name="MaxPower" type="xsd:float" maxOccurs="1" 
    130                                 minOccurs="0"></xsd:element> 
     132                                minOccurs="0"> 
     133                        </xsd:element> 
     134                        <xsd:element name="PowerUsageProfile" type="xsd_1:FlowProfileType" minOccurs="0" maxOccurs="1"></xsd:element> 
    131135                </xsd:sequence> 
    132136        </xsd:complexType> 
     
    134138        <xsd:complexType name="FlowProfileType"> 
    135139                <xsd:annotation> 
    136                         <xsd:documentation>FlowProfile describes any sort of flow (air, liquid, energy, ...) including differnet discrete states and possible transitions since they all have the same characteristic attributes. If there are now significant transistion times/energy consumptions they are simple omitted</xsd:documentation> 
     140                        <xsd:documentation>FlowProfile describes any sort of flow (air, liquid, energy, ...) including different discrete states and possible transitions since they all have the same characteristic attributes. If there are now significant transition times/energy consumptions they are simple omitted</xsd:documentation> 
    137141                </xsd:annotation> 
    138142                <xsd:sequence> 
    139                         <xsd:element name="FlowState" type="xsd_1:FlowStateType" minOccurs="1" maxOccurs="unbounded"/> 
     143                        <xsd:element name="FlowState" type="xsd_1:FlowStateType" 
     144                                minOccurs="1" maxOccurs="unbounded" /> 
     145                        <xsd:element name="Name" type="xsd:string" minOccurs="0" maxOccurs="1"></xsd:element> 
    140146                </xsd:sequence> 
    141147        </xsd:complexType> 
    142148     
    143149        <xsd:complexType name="FlowStateType"> 
    144                 <xsd:sequence> 
    145                         <xsd:element name="State" type="xsd:string"></xsd:element> 
    146                         <xsd:element name="Flow" type="xsd:double" maxOccurs="1" minOccurs="0"></xsd:element> 
    147                         <xsd:element name="PowerUsage" type="xsd:double" maxOccurs="1" minOccurs="0"></xsd:element> 
    148                         <xsd:element name="Transition" type="xsd_1:TransitionType" minOccurs="0" maxOccurs="unbounded"/> 
    149                 </xsd:sequence> 
     150        <xsd:annotation> 
     151                <xsd:documentation>Flowstate describes any kind of flow (air, liquid, power, ...) and assumes that for maintaining the flow a certain power usage is necessary. For power supply units only the power which is used for creating/transforming the power flow is counted as PowerUsage, but not the power provided. So adding all PowerUsages will show the overall consumption</xsd:documentation> 
     152        </xsd:annotation> 
     153        <xsd:sequence> 
     154                <xsd:element name="State" type="xsd:string"></xsd:element> 
     155                <xsd:element name="Flow" type="xsd:double" maxOccurs="1" 
     156                        minOccurs="0"> 
     157                </xsd:element> 
     158                <xsd:element name="PowerUsage" type="xsd:double" 
     159                        maxOccurs="1" minOccurs="0"> 
     160                </xsd:element> 
     161                <xsd:element name="Transition" type="xsd_1:TransitionType" 
     162                        minOccurs="0" maxOccurs="unbounded" /> 
     163        </xsd:sequence> 
    150164        </xsd:complexType> 
    151165 
     
    195209                                                                <xsd:enumeration value="UPS"></xsd:enumeration> 
    196210                                                                <xsd:enumeration value="PDU"></xsd:enumeration> 
     211                                                                <xsd:enumeration value="MVLVTransformer"></xsd:enumeration> 
    197212                                                        </xsd:restriction> 
    198213                                                </xsd:simpleType> 
     
    327342 
    328343        <xsd:complexType name="TransitionType"> 
    329                 <xsd:sequence> 
     344        <xsd:annotation> 
     345                <xsd:documentation>Transition describes the possible state changes and the "additional" power which is consumed during the change i.e. spin up power for hard discs is much higher than running consistant speed.</xsd:documentation> 
     346        </xsd:annotation> 
     347        <xsd:sequence> 
    330348                        <xsd:element name="ToState" type="xsd:string"/> 
    331349                        <xsd:element name="PowerUsage" type="xsd:double"/> 
Note: See TracChangeset for help on using the changeset viewer.