<?xml version="1.0" encoding="UTF-8"?>
<Catalog xmlns="http://langdale.com.au/2005/Message#"
         xmlns:m="http://example.com/CIMUtilTest/SampleProfile#"
         hideInDiagrams="false"
         ontologyURI="http://iec.ch/TC57/CIM-generic"
         baseURI="http://example.com/CIMUtilTest/SampleProfile#"
         name="SampleProfile">
   <Root hideInDiagrams="false"
         name="ACLineSegment"
         ea_guid="EAID_625BD764_3907_4d65_8497_7FD09708BD8E"
         baseClass="http://iec.ch/TC57/CIM-generic#ACLineSegment"
         package="Wires"
         packageURI="http://iec.ch/TC57/CIM-generic#Package_Wires"
         minOccurs="0"
         maxOccurs="unbounded">
      <Comment>A wire or combination of wires, with consistent electrical characteristics, building a single electrical system, used to carry alternating current between points in the power system.</Comment>
      <Comment>For symmetrical, transposed three phase lines, it is sufficient to use attributes of the line segment, which describe impedances and admittances for the entire length of the segment.  Additionally impedances can be computed by using length and associated per length impedances.</Comment>
      <Comment>The BaseVoltage at the two ends of ACLineSegments in a Line shall have the same BaseVoltage.nominalVoltage. However, boundary lines may have slightly different BaseVoltage.nominalVoltages and variation is allowed. Larger voltage difference in general requires use of an equivalent branch.</Comment>
      <Stereotype label="Concrete">http://langdale.com.au/2005/UML#concrete</Stereotype>
      <SuperType name="ConductingEquipment"
                 baseClass="http://iec.ch/TC57/CIM-generic#ConductingEquipment"
                 baseClassIsShadowExtension="false"/>
   </Root>
   <ComplexType hideInDiagrams="false"
                name="ConductingEquipment"
                ea_guid="EAID_7C5F19FB_5253_430c_8E53_BDCF7EBCE4C1"
                baseClass="http://iec.ch/TC57/CIM-generic#ConductingEquipment"
                package="Core"
                packageURI="http://iec.ch/TC57/CIM-generic#Package_Core"
                minOccurs="0"
                maxOccurs="unbounded">
      <Comment>The parts of the AC power system that are designed to carry current or that are conductively connected through terminals.</Comment>
      <SuperType name="Equipment"
                 baseClass="http://iec.ch/TC57/CIM-generic#Equipment"
                 baseClassIsShadowExtension="false"/>
   </ComplexType>
   <ComplexType hideInDiagrams="false"
                name="Equipment"
                ea_guid="EAID_F8DD8DAC_3545_4660_9CA5_794881CC6591"
                baseClass="http://iec.ch/TC57/CIM-generic#Equipment"
                package="Core"
                packageURI="http://iec.ch/TC57/CIM-generic#Package_Core"
                minOccurs="0"
                maxOccurs="unbounded">
      <Comment>The parts of a power system that are physical devices, electronic or mechanical.</Comment>
      <SuperType name="ExtEquipment"
                 baseClass="http://entsoe.eu/ns/nc#ExtEquipment"
                 baseClassIsShadowExtension="true"/>
      <SuperType name="PowerSystemResource"
                 baseClass="http://iec.ch/TC57/CIM-generic#PowerSystemResource"
                 baseClassIsShadowExtension="false"/>
      <Simple hideInDiagrams="false"
              name="aggregate"
              xstype="boolean"
              dataType="http://www.w3.org/2001/XMLSchema#boolean"
              cimDatatype="http://iec.ch/TC57/CIM-generic#Boolean"
              ea_guid="EAID_3C000D48_C67D_4cc3_89D6_5F336420B325"
              baseProperty="http://iec.ch/TC57/CIM-generic#Equipment.aggregate"
              basePropertyClass="http://iec.ch/TC57/CIM-generic#Equipment"
              minOccurs="0"
              maxOccurs="1">
         <Comment>The aggregate flag provides an alternative way of representing an aggregated (equivalent) element. It is applicable in cases when the dedicated classes for equivalent equipment do not have all of the attributes necessary to represent the required level of detail.  In case the flag is set to “true” the single instance of equipment represents multiple pieces of equipment that have been modelled together as an aggregate equivalent obtained by a network reduction procedure. Examples would be power transformers or synchronous machines operating in parallel modelled as a single aggregate power transformer or aggregate synchronous machine.</Comment>
         <Comment>The attribute is not used for EquivalentBranch, EquivalentShunt and EquivalentInjection.</Comment>
         <Stereotype label="Attribute">http://langdale.com.au/2005/UML#attribute</Stereotype>
      </Simple>
      <Reference baseClass="http://iec.ch/TC57/CIM-generic#EquipmentContainer"
                 type="EquipmentContainer"
                 hideInDiagrams="false"
                 name="EquipmentContainer"
                 ea_guid="EAID_68BA73EF_8533_48ba_964A_DE0F722292D2-B"
                 baseProperty="http://iec.ch/TC57/CIM-generic#Equipment.EquipmentContainer"
                 basePropertyClass="http://iec.ch/TC57/CIM-generic#Equipment"
                 inverseBaseProperty="http://iec.ch/TC57/CIM-generic#EquipmentContainer.Equipments"
                 inverseBasePropertyClass="http://iec.ch/TC57/CIM-generic#EquipmentContainer"
                 minOccurs="0"
                 maxOccurs="1">
         <Comment>Container of this equipment.</Comment>
         <Stereotype label="OfAggregate">http://langdale.com.au/2005/UML#ofAggregate</Stereotype>
         <Stereotype label="ByReference">http://langdale.com.au/2005/UML#byreference</Stereotype>
      </Reference>
      <InverseReference hideInDiagrams="false"
                        name="Equipments"
                        type="Equipment"
                        ea_guid="EAID_68BA73EF_8533_48ba_964A_DE0F722292D2-A"
                        baseClass="http://iec.ch/TC57/CIM-generic#Equipment"
                        baseProperty="http://iec.ch/TC57/CIM-generic#EquipmentContainer.Equipments"
                        basePropertyClass="http://iec.ch/TC57/CIM-generic#EquipmentContainer"
                        inverseBaseProperty="http://iec.ch/TC57/CIM-generic#Equipment.EquipmentContainer"
                        inverseBasePropertyClass="http://iec.ch/TC57/CIM-generic#Equipment"
                        minOccurs="0"
                        maxOccurs="unbounded">
         <Comment>Contained equipment.</Comment>
         <Stereotype label="AggregateOf">http://langdale.com.au/2005/UML#aggregateOf</Stereotype>
      </InverseReference>
   </ComplexType>
   <Root hideInDiagrams="false"
         name="EquipmentContainer"
         ea_guid="EAID_F465B7B4_B488_46c5_8D05_8036F09A03A0"
         baseClass="http://iec.ch/TC57/CIM-generic#EquipmentContainer"
         package="Core"
         packageURI="http://iec.ch/TC57/CIM-generic#Package_Core"
         minOccurs="0"
         maxOccurs="unbounded">
      <Comment>A modelling construct to provide a root class for containing equipment.</Comment>
      <Stereotype label="Concrete">http://langdale.com.au/2005/UML#concrete</Stereotype>
      <SuperType name="PowerSystemResource"
                 baseClass="http://iec.ch/TC57/CIM-generic#PowerSystemResource"
                 baseClassIsShadowExtension="false"/>
   </Root>
   <ComplexType classShadowedByThisType="http://iec.ch/TC57/CIM-generic#Equipment"
                hideInDiagrams="false"
                name="ExtEquipment"
                ea_guid="EAID_8816FF44_94B4_4573_B5CF_6C86140F01D7"
                baseClass="http://entsoe.eu/ns/nc#ExtEquipment"
                package="ExtEquivalent"
                packageURI="http://entsoe.eu/ns/nc#Package_ExtEquivalent"
                minOccurs="0"
                maxOccurs="unbounded">
      <Stereotype label="ShadowExtension">http://langdale.com.au/2005/UML#shadowextension</Stereotype>
      <Stereotype label="NC">http://langdale.com.au/2005/UML#nc</Stereotype>
      <Reference baseClass="http://iec.ch/TC57/CIM-generic#Equipment"
                 type="Equipment"
                 hideInDiagrams="false"
                 name="AggregatedEquipment"
                 ea_guid="EAID_9CDD9019_4ABE_4543_BD59_875E3C0A591E-A"
                 baseProperty="http://entsoe.eu/ns/nc#ExtEquipment.AggregatedEquipment"
                 basePropertyClass="http://entsoe.eu/ns/nc#ExtEquipment"
                 inverseBaseProperty="http://entsoe.eu/ns/nc#ExtEquipment.DetailedEquipment"
                 inverseBasePropertyClass="http://entsoe.eu/ns/nc#ExtEquipment"
                 minOccurs="0"
                 maxOccurs="1">
         <Comment>An aggregated representation of the detailed equipment.</Comment>
         <Stereotype label="NC">http://langdale.com.au/2005/UML#nc</Stereotype>
         <Stereotype label="ByReference">http://langdale.com.au/2005/UML#byreference</Stereotype>
      </Reference>
      <InverseReference hideInDiagrams="false"
                        name="DetailedEquipment"
                        type="ExtEquipment"
                        ea_guid="EAID_9CDD9019_4ABE_4543_BD59_875E3C0A591E-B"
                        baseClass="http://entsoe.eu/ns/nc#ExtEquipment"
                        baseProperty="http://entsoe.eu/ns/nc#ExtEquipment.DetailedEquipment"
                        basePropertyClass="http://entsoe.eu/ns/nc#ExtEquipment"
                        inverseBaseProperty="http://entsoe.eu/ns/nc#ExtEquipment.AggregatedEquipment"
                        inverseBasePropertyClass="http://entsoe.eu/ns/nc#ExtEquipment"
                        minOccurs="0"
                        maxOccurs="unbounded">
         <Comment>A detailed representation of the aggregated equipment.</Comment>
         <Stereotype label="NC">http://langdale.com.au/2005/UML#nc</Stereotype>
      </InverseReference>
   </ComplexType>
   <ComplexType hideInDiagrams="false"
                name="IdentifiedObject"
                ea_guid="EAID_055C5806_E9D8_4a7a_9307_DAF7C31763C7"
                baseClass="http://iec.ch/TC57/CIM-generic#IdentifiedObject"
                package="Core"
                packageURI="http://iec.ch/TC57/CIM-generic#Package_Core"
                minOccurs="0"
                maxOccurs="unbounded">
      <Comment>This is a root class to provide common identification for all classes needing identification and naming attributes.</Comment>
      <AsciiDoc xml:space="preserve">The type of a transformer is derived as follows:</AsciiDoc>
      <AsciiDoc xml:space="preserve"/>
      <AsciiDoc xml:space="preserve">[source,python]</AsciiDoc>
      <AsciiDoc xml:space="preserve">----</AsciiDoc>
      <AsciiDoc xml:space="preserve">If PowerTransformer.EquipmentContainer-&gt; EquipmentContainer.@type:</AsciiDoc>
      <AsciiDoc xml:space="preserve">    xfmerType = DCConverterUnit # see DCConverterUnit</AsciiDoc>
      <AsciiDoc xml:space="preserve">else:</AsciiDoc>
      <AsciiDoc xml:space="preserve">    count = PowerTransformer.count(PowerTransformerEnd)</AsciiDoc>
      <AsciiDoc xml:space="preserve">    if count == 2:</AsciiDoc>
      <AsciiDoc xml:space="preserve">        xfmerType = TwoWinding</AsciiDoc>
      <AsciiDoc xml:space="preserve">    elif count == 3:</AsciiDoc>
      <AsciiDoc xml:space="preserve">        xfmerType = ThreeWinding</AsciiDoc>
      <AsciiDoc xml:space="preserve">    else:</AsciiDoc>
      <AsciiDoc xml:space="preserve">        # Log error</AsciiDoc>
      <AsciiDoc xml:space="preserve">----</AsciiDoc>
      <Simple hideInDiagrams="false"
              name="mRID"
              xstype="string"
              dataType="http://www.w3.org/2001/XMLSchema#string"
              cimDatatype="http://iec.ch/TC57/CIM-generic#String"
              ea_guid="EAID_C775F80A_A23D_4f38_AB9D_49D1FA882337"
              baseProperty="http://iec.ch/TC57/CIM-generic#IdentifiedObject.mRID"
              basePropertyClass="http://iec.ch/TC57/CIM-generic#IdentifiedObject"
              minOccurs="1"
              maxOccurs="1">
         <Comment>Master resource identifier issued by a model authority. The mRID is unique within an exchange context. Global uniqueness is easily achieved by using a UUID, as specified in RFC 4122, for the mRID. The use of UUID is strongly recommended.</Comment>
         <Comment>For CIMXML data files in RDF syntax conforming to IEC 61970-552, the mRID is mapped to rdf:ID or rdf:about attributes that identify CIM object elements.</Comment>
         <Stereotype label="Attribute">http://langdale.com.au/2005/UML#attribute</Stereotype>
      </Simple>
      <Simple hideInDiagrams="false"
              name="name"
              xstype="string"
              dataType="http://www.w3.org/2001/XMLSchema#string"
              cimDatatype="http://iec.ch/TC57/CIM-generic#String"
              ea_guid="EAID_870F033B_EDA6_4a32_A5AD_47DCBBFE2997"
              baseProperty="http://iec.ch/TC57/CIM-generic#IdentifiedObject.name"
              basePropertyClass="http://iec.ch/TC57/CIM-generic#IdentifiedObject"
              minOccurs="0"
              maxOccurs="1">
         <Comment>The name is any free human readable and possibly non unique text naming the object.</Comment>
         <Stereotype label="Attribute">http://langdale.com.au/2005/UML#attribute</Stereotype>
      </Simple>
   </ComplexType>
   <EnumeratedType hideInDiagrams="false"
                   name="PhaseCode"
                   ea_guid="EAID_3687AEED_A1B1_4557_899E_5985D184FCE9"
                   baseClass="http://iec.ch/TC57/CIM-generic#PhaseCode"
                   package="Core"
                   packageURI="http://iec.ch/TC57/CIM-generic#Package_Core"
                   minOccurs="0"
                   maxOccurs="unbounded">
      <Comment>An unordered enumeration of phase identifiers.  Allows designation of phases for both transmission and distribution equipment, circuits and loads.   The enumeration, by itself, does not describe how the phases are connected together or connected to ground.  Ground is not explicitly denoted as a phase.</Comment>
      <Comment>Residential and small commercial loads are often served from single-phase, or split-phase, secondary circuits. For the example of s12N, phases 1 and 2 refer to hot wires that are 180 degrees out of phase, while N refers to the neutral wire. Through single-phase transformer connections, these secondary circuits may be served from one or two of the primary phases A, B, and C. For three-phase loads, use the A, B, C phase codes instead of s12N.</Comment>
      <Comment>The integer values are from IEC 61968-9 to support revenue metering applications.</Comment>
      <Stereotype label="enumeration">http://langdale.com.au/2005/UML#enumeration</Stereotype>
      <EnumeratedValue hideInDiagrams="false"
                       name="A"
                       ea_guid="EAID_EA5174F8_A73C_4f4b_96AA_54EAFB16BC9F"
                       baseResource="http://iec.ch/TC57/CIM-generic#PhaseCode.A"
                       code="128">
         <Comment>Phase A.</Comment>
      </EnumeratedValue>
      <EnumeratedValue hideInDiagrams="false"
                       name="AB"
                       ea_guid="EAID_77216F5E_3863_424c_91CD_4597AE97B61E"
                       baseResource="http://iec.ch/TC57/CIM-generic#PhaseCode.AB"
                       code="132">
         <Comment>Phases A and B.</Comment>
      </EnumeratedValue>
      <EnumeratedValue hideInDiagrams="false"
                       name="ABC"
                       ea_guid="EAID_5A6F7D82_6A2C_4eb3_90BC_8F77AAD9D50F"
                       baseResource="http://iec.ch/TC57/CIM-generic#PhaseCode.ABC"
                       code="224">
         <Comment>Phases A, B, and C.</Comment>
      </EnumeratedValue>
      <EnumeratedValue hideInDiagrams="false"
                       name="ABCN"
                       ea_guid="EAID_8E38EE25_FD5C_4b01_938C_008998EDA526"
                       baseResource="http://iec.ch/TC57/CIM-generic#PhaseCode.ABCN"
                       code="225">
         <Comment>Phases A, B, C, and N.</Comment>
      </EnumeratedValue>
      <EnumeratedValue hideInDiagrams="false"
                       name="ABN"
                       ea_guid="EAID_C5F9ED62_CB15_4c15_98DB_6593686F63E2"
                       baseResource="http://iec.ch/TC57/CIM-generic#PhaseCode.ABN"
                       code="193">
         <Comment>Phases A, B, and neutral.</Comment>
      </EnumeratedValue>
      <EnumeratedValue hideInDiagrams="false"
                       name="AC"
                       ea_guid="EAID_598C4480_5C39_4889_8BD1_D1D2BCEB4DEA"
                       baseResource="http://iec.ch/TC57/CIM-generic#PhaseCode.AC"
                       code="96">
         <Comment>Phases A and C.</Comment>
      </EnumeratedValue>
      <EnumeratedValue hideInDiagrams="false"
                       name="ACN"
                       ea_guid="EAID_0396E7F5_6112_49e7_A7C8_7B7FA0214AA7"
                       baseResource="http://iec.ch/TC57/CIM-generic#PhaseCode.ACN"
                       code="41">
         <Comment>Phases A, C and neutral.</Comment>
      </EnumeratedValue>
      <EnumeratedValue hideInDiagrams="false"
                       name="AN"
                       ea_guid="EAID_9B41A289_EDF6_4728_AABE_B11D2E617549"
                       baseResource="http://iec.ch/TC57/CIM-generic#PhaseCode.AN"
                       code="129">
         <Comment>Phases A and neutral.</Comment>
      </EnumeratedValue>
      <EnumeratedValue hideInDiagrams="false"
                       name="B"
                       ea_guid="EAID_DF516C67_D4FE_4a6b_9FE7_54E54036C7CA"
                       baseResource="http://iec.ch/TC57/CIM-generic#PhaseCode.B"
                       code="64">
         <Comment>Phase B.</Comment>
      </EnumeratedValue>
      <EnumeratedValue hideInDiagrams="false"
                       name="BC"
                       ea_guid="EAID_8124AC36_FD4D_4b64_A414_6F9B8D350469"
                       baseResource="http://iec.ch/TC57/CIM-generic#PhaseCode.BC"
                       code="66">
         <Comment>Phases B and C.</Comment>
      </EnumeratedValue>
      <EnumeratedValue hideInDiagrams="false"
                       name="BCN"
                       ea_guid="EAID_F494A423_E865_4c3d_8C83_180728F30A66"
                       baseResource="http://iec.ch/TC57/CIM-generic#PhaseCode.BCN"
                       code="97">
         <Comment>Phases B, C, and neutral.</Comment>
      </EnumeratedValue>
      <EnumeratedValue hideInDiagrams="false"
                       name="BN"
                       ea_guid="EAID_2780D899_5467_4920_8DAA_117051620D3A"
                       baseResource="http://iec.ch/TC57/CIM-generic#PhaseCode.BN"
                       code="65">
         <Comment>Phases B and neutral.</Comment>
      </EnumeratedValue>
      <EnumeratedValue hideInDiagrams="false"
                       name="C"
                       ea_guid="EAID_8E5E8952_BD3F_4b06_A218_7A1EE85598D0"
                       baseResource="http://iec.ch/TC57/CIM-generic#PhaseCode.C"
                       code="32">
         <Comment>Phase C.</Comment>
      </EnumeratedValue>
      <EnumeratedValue hideInDiagrams="false"
                       name="CN"
                       ea_guid="EAID_DEB66611_AEAD_4b57_8CBD_65D1931709CE"
                       baseResource="http://iec.ch/TC57/CIM-generic#PhaseCode.CN"
                       code="33">
         <Comment>Phases C and neutral.</Comment>
      </EnumeratedValue>
      <EnumeratedValue hideInDiagrams="false"
                       name="N"
                       ea_guid="EAID_177D92A8_237D_4ec7_99BF_6BBE2AA2CE9E"
                       baseResource="http://iec.ch/TC57/CIM-generic#PhaseCode.N"
                       code="16">
         <Comment>Neutral phase.</Comment>
      </EnumeratedValue>
      <EnumeratedValue hideInDiagrams="false"
                       name="X"
                       ea_guid="EAID_18C21147_5A05_4e89_857C_07DED480CDD7"
                       baseResource="http://iec.ch/TC57/CIM-generic#PhaseCode.X"
                       code="1024">
         <Comment>Unknown non-neutral phase.</Comment>
      </EnumeratedValue>
      <EnumeratedValue hideInDiagrams="false"
                       name="XN"
                       ea_guid="EAID_C97339FF_B1B1_4b27_9F89_F1224B83DFCD"
                       baseResource="http://iec.ch/TC57/CIM-generic#PhaseCode.XN"
                       code="1040">
         <Comment>Unknown non-neutral phase plus neutral.</Comment>
      </EnumeratedValue>
      <EnumeratedValue hideInDiagrams="false"
                       name="XY"
                       ea_guid="EAID_88204DE0_8923_4886_8C42_955E3147E39B"
                       baseResource="http://iec.ch/TC57/CIM-generic#PhaseCode.XY"
                       code="3072">
         <Comment>Two unknown non-neutral phases.</Comment>
      </EnumeratedValue>
      <EnumeratedValue hideInDiagrams="false"
                       name="XYN"
                       ea_guid="EAID_BE6C0B89_4F67_41fa_B56D_1195F07B82E0"
                       baseResource="http://iec.ch/TC57/CIM-generic#PhaseCode.XYN"
                       code="3088">
         <Comment>Two unknown non-neutral phases plus neutral.</Comment>
      </EnumeratedValue>
      <EnumeratedValue hideInDiagrams="false"
                       name="none"
                       ea_guid="EAID_39811306_A5CF_49f9_9D71_313B1B5BC519"
                       baseResource="http://iec.ch/TC57/CIM-generic#PhaseCode.none"
                       code="0">
         <Comment>No phases specified.</Comment>
      </EnumeratedValue>
      <EnumeratedValue hideInDiagrams="false"
                       name="s1"
                       ea_guid="EAID_50FB82A9_B3F5_4a7b_AF43_2EC84E06D953"
                       baseResource="http://iec.ch/TC57/CIM-generic#PhaseCode.s1"
                       code="512">
         <Comment>Secondary phase 1.</Comment>
      </EnumeratedValue>
      <EnumeratedValue hideInDiagrams="false"
                       name="s12"
                       ea_guid="EAID_939E2E11_8FE6_4d66_A048_8F990F9BEBF6"
                       baseResource="http://iec.ch/TC57/CIM-generic#PhaseCode.s12"
                       code="768">
         <Comment>Secondary phase 1 and 2.</Comment>
      </EnumeratedValue>
      <EnumeratedValue hideInDiagrams="false"
                       name="s12N"
                       ea_guid="EAID_2E31EA79_AFF2_45bf_82E3_DD2DD070FDB6"
                       baseResource="http://iec.ch/TC57/CIM-generic#PhaseCode.s12N"
                       code="784">
         <Comment>Secondary phases 1, 2, and neutral.</Comment>
      </EnumeratedValue>
      <EnumeratedValue hideInDiagrams="false"
                       name="s1N"
                       ea_guid="EAID_7CBBF307_75C0_4255_B181_0BB16E0B4A23"
                       baseResource="http://iec.ch/TC57/CIM-generic#PhaseCode.s1N"
                       code="528">
         <Comment>Secondary phase 1 and neutral.</Comment>
      </EnumeratedValue>
      <EnumeratedValue hideInDiagrams="false"
                       name="s2"
                       ea_guid="EAID_DD0F804D_9672_4043_8B7A_9937AC0C3BAB"
                       baseResource="http://iec.ch/TC57/CIM-generic#PhaseCode.s2"
                       code="256">
         <Comment>Secondary phase 2.</Comment>
      </EnumeratedValue>
      <EnumeratedValue hideInDiagrams="false"
                       name="s2N"
                       ea_guid="EAID_16119B57_3431_4045_A8EB_1618E844A397"
                       baseResource="http://iec.ch/TC57/CIM-generic#PhaseCode.s2N"
                       code="272">
         <Comment>Secondary phase 2 and neutral.</Comment>
      </EnumeratedValue>
   </EnumeratedType>
   <ComplexType hideInDiagrams="false"
                name="PowerSystemResource"
                ea_guid="EAID_0340C084_3759_40cc_AAF2_386101DE842F"
                baseClass="http://iec.ch/TC57/CIM-generic#PowerSystemResource"
                package="Core"
                packageURI="http://iec.ch/TC57/CIM-generic#Package_Core"
                minOccurs="0"
                maxOccurs="unbounded">
      <Comment>A power system resource (PSR) can be an item of equipment such as a switch, an equipment container containing many individual items of equipment such as a substation, or an organisational entity such as sub-control area. Power system resources can have measurements associated.</Comment>
      <SuperType name="IdentifiedObject"
                 baseClass="http://iec.ch/TC57/CIM-generic#IdentifiedObject"
                 baseClassIsShadowExtension="false"/>
   </ComplexType>
   <Root hideInDiagrams="false"
         name="Terminal"
         ea_guid="EAID_1A0F8321_5E77_4d68_BE29_B36FA31549DC"
         baseClass="http://iec.ch/TC57/CIM-generic#Terminal"
         package="Core"
         packageURI="http://iec.ch/TC57/CIM-generic#Package_Core"
         minOccurs="0"
         maxOccurs="unbounded">
      <Comment>An AC electrical connection point to a piece of conducting equipment. Terminals are connected at physical connection points called connectivity nodes.</Comment>
      <Stereotype label="Concrete">http://langdale.com.au/2005/UML#concrete</Stereotype>
      <SuperType name="IdentifiedObject"
                 baseClass="http://iec.ch/TC57/CIM-generic#IdentifiedObject"
                 baseClassIsShadowExtension="false"/>
      <Enumerated baseClass="http://iec.ch/TC57/CIM-generic#PhaseCode"
                  type="PhaseCode"
                  hideInDiagrams="false"
                  name="phases"
                  ea_guid="EAID_8C0E221E_4988_48bf_BFC3_F9FFD7E7E075"
                  baseProperty="http://iec.ch/TC57/CIM-generic#Terminal.phases"
                  basePropertyClass="http://iec.ch/TC57/CIM-generic#Terminal"
                  inverseBasePropertyClass="http://iec.ch/TC57/CIM-generic#Terminal"
                  minOccurs="0"
                  maxOccurs="1">
         <Comment>Represents the normal network phasing condition. If the attribute is missing, three phases (ABC) shall be assumed, except for terminals of grounding classes (specializations of EarthFaultCompensator, GroundDisconnector, and Ground) which will be assumed to be N. Therefore, phase code ABCN is explicitly declared when needed, e.g. for star point grounding equipment.</Comment>
         <Comment>The phase code on terminals connecting same ConnectivityNode or same TopologicalNode as well as for equipment between two terminals shall be consistent.</Comment>
         <Stereotype label="enumeration">http://langdale.com.au/2005/UML#enumeration</Stereotype>
         <Stereotype label="Attribute">http://langdale.com.au/2005/UML#attribute</Stereotype>
      </Enumerated>
      <Reference baseClass="http://iec.ch/TC57/CIM-generic#ConductingEquipment"
                 type="ConductingEquipment"
                 hideInDiagrams="false"
                 name="ConductingEquipment"
                 ea_guid="EAID_5FEF5186_7804_4dad_8E18_8C5DB7FCE6B2-A"
                 baseProperty="http://iec.ch/TC57/CIM-generic#Terminal.ConductingEquipment"
                 basePropertyClass="http://iec.ch/TC57/CIM-generic#Terminal"
                 inverseBaseProperty="http://iec.ch/TC57/CIM-generic#ConductingEquipment.Terminals"
                 inverseBasePropertyClass="http://iec.ch/TC57/CIM-generic#ConductingEquipment"
                 minOccurs="1"
                 maxOccurs="1">
         <Comment>The conducting equipment of the terminal.  Conducting equipment have  terminals that may be connected to other conducting equipment terminals via connectivity nodes or topological nodes.</Comment>
         <Stereotype label="ByReference">http://langdale.com.au/2005/UML#byreference</Stereotype>
      </Reference>
      <InverseReference hideInDiagrams="false"
                        name="Terminals"
                        type="Terminal"
                        ea_guid="EAID_5FEF5186_7804_4dad_8E18_8C5DB7FCE6B2-B"
                        baseClass="http://iec.ch/TC57/CIM-generic#Terminal"
                        baseProperty="http://iec.ch/TC57/CIM-generic#ConductingEquipment.Terminals"
                        basePropertyClass="http://iec.ch/TC57/CIM-generic#ConductingEquipment"
                        inverseBaseProperty="http://iec.ch/TC57/CIM-generic#Terminal.ConductingEquipment"
                        inverseBasePropertyClass="http://iec.ch/TC57/CIM-generic#Terminal"
                        minOccurs="0"
                        maxOccurs="unbounded">
         <Comment>Conducting equipment have terminals that may be connected to other conducting equipment terminals via connectivity nodes or topological nodes.</Comment>
      </InverseReference>
   </Root>
   <PrimitiveType hideInDiagrams="false"
                  name="Boolean"
                  xstype="boolean"
                  dataType="http://iec.ch/TC57/CIM-generic#Boolean"
                  ea_guid="EAID_9F8964F1_6C32_465b_A83D_F5A201A291C3"
                  package="Domain"
                  packageURI="http://iec.ch/TC57/CIM-generic#Package_Domain">
      <Comment>A type with the value space "true" and "false".</Comment>
      <Stereotype label="Primitive">http://langdale.com.au/2005/UML#primitive</Stereotype>
   </PrimitiveType>
   <PrimitiveType hideInDiagrams="false"
                  name="String"
                  xstype="string"
                  dataType="http://iec.ch/TC57/CIM-generic#String"
                  ea_guid="EAID_E50DF78B_84CE_42e9_A275_A956DEF45490"
                  package="Domain"
                  packageURI="http://iec.ch/TC57/CIM-generic#Package_Domain">
      <Comment>A string consisting of a sequence of characters. The character encoding is UTF-8. The string length is unspecified and unlimited.</Comment>
      <Stereotype label="Primitive">http://langdale.com.au/2005/UML#primitive</Stereotype>
   </PrimitiveType>
   <Package name="ExtEquivalent"
            ea_guid="EAPK_36474D3A_8C50_4c96_8AC4_C97C7531435D"
            basePackage="http://entsoe.eu/ns/nc#Package_ExtEquivalent">
      <Comment>This package contains the extensions related to the equivalents.</Comment>
      <Stereotype label="NC">http://langdale.com.au/2005/UML#nc</Stereotype>
      <ParentPackage name="ExtNetworkCodes"
                     basePackage="http://entsoe.eu/ns/nc#Package_ExtNetworkCodes"/>
   </Package>
   <Package name="ExtNetworkCodes"
            ea_guid="EAPK_87163B9E_DAB8_4fef_AC8B_445DA4276796"
            basePackage="http://entsoe.eu/ns/nc#Package_ExtNetworkCodes">
      <Comment>This package contains the extensions defined for the need of Network codes (NC) data exchanges.</Comment>
      <Stereotype label="NC">http://langdale.com.au/2005/UML#nc</Stereotype>
      <ParentPackage name="EuropeanCIMExtensions"
                     basePackage="http://iec.ch/TC57/CIM100-European#Package_EuropeanCIMExtensions"/>
   </Package>
   <Package name="Base"
            ea_guid="EAPK_20A2C6D8_4765_466f_AD75_5E1B3CAF4E8D"
            basePackage="http://iec.ch/TC57/CIM-generic#Package_Base">
      <Comment>Content of the base CIM published as IEC 61970-301.</Comment>
      <ParentPackage name="IEC61970"
                     basePackage="http://iec.ch/TC57/CIM-generic#Package_IEC61970"/>
   </Package>
   <Package name="Core"
            ea_guid="EAPK_6A503B72_6E15_4cd1_B92D_DDF6D14DBE29"
            basePackage="http://iec.ch/TC57/CIM-generic#Package_Core">
      <Comment>Contains the core PowerSystemResource and ConductingEquipment entities shared by all applications plus common collections of those entities. Not all applications require all the Core entities.  This package does not depend on any other package except the Domain package, but most of the other packages have associations and generalizations that depend on it.</Comment>
      <ParentPackage name="Base" basePackage="http://iec.ch/TC57/CIM-generic#Package_Base"/>
   </Package>
   <Package name="Domain"
            ea_guid="EAPK_0134E45C_F32A_4522_A725_E07B0AE4CB57"
            basePackage="http://iec.ch/TC57/CIM-generic#Package_Domain">
      <Comment>The domain package defines primitive datatypes that are used by classes in other packages. Stereotypes are used to describe the datatypes. The following stereotypes are defined:</Comment>
      <Comment>&amp;lt;&amp;lt;enumeration&amp;gt;&amp;gt; A list of permissible constant values.</Comment>
      <Comment>&amp;lt;&amp;lt;Primitive&amp;gt;&amp;gt; The most basic data types used to compose all other data types.</Comment>
      <Comment>&amp;lt;&amp;lt;CIMDatatype&amp;gt;&amp;gt; A datatype that contains a value attribute, an optional unit of measure and a unit multiplier. The unit and multiplier may be specified as a static variable initialized to the allowed value.</Comment>
      <Comment>&amp;lt;&amp;lt;Compound&amp;gt;&amp;gt; A composite of Primitive, enumeration, CIMDatatype or other Compound classes, as long as the Compound classes do not recurse.</Comment>
      <Comment>For all datatypes both positive and negative values are allowed unless stated otherwise for a particular datatype.</Comment>
      <ParentPackage name="Base" basePackage="http://iec.ch/TC57/CIM-generic#Package_Base"/>
   </Package>
   <Package name="IEC61970"
            ea_guid="EAPK_21D32832_FF64_4213_B81C_55ACE35EEBFF"
            basePackage="http://iec.ch/TC57/CIM-generic#Package_IEC61970">
      <Comment>Top package for IEC 61970.</Comment>
      <ParentPackage name="TC57CIM"
                     basePackage="http://iec.ch/TC57/CIM-generic#Package_TC57CIM"/>
   </Package>
   <Package name="TC57CIM"
            ea_guid="EAPK_39AA7E64_A03A_4934_AF09_E74943F7E6C0"
            basePackage="http://iec.ch/TC57/CIM-generic#Package_TC57CIM">
      <Comment>Top package for IEC TC57 CIM.</Comment>
      <ParentPackage name="Global"
                     basePackage="http://langdale.com.au/2005/UML#global_package"/>
   </Package>
   <Package name="Wires"
            ea_guid="EAPK_6C99E9CA_2035_4035_B77F_9217E17D86F4"
            basePackage="http://iec.ch/TC57/CIM-generic#Package_Wires">
      <Comment>An extension to the Core and Topology package that models information on the electrical characteristics of Transmission and Distribution networks. This package is used by network applications such as State Estimation, Load Flow and Optimal Power Flow.</Comment>
      <ParentPackage name="Base" basePackage="http://iec.ch/TC57/CIM-generic#Package_Base"/>
   </Package>
   <Package name="EuropeanCIMExtensions"
            ea_guid="EAPK_3593D1DA_0DC7_46f0_B8A1_37DA93912939"
            basePackage="http://iec.ch/TC57/CIM100-European#Package_EuropeanCIMExtensions">
      <Comment>The package contains the European  extensions to canonical CIM model.</Comment>
      <Stereotype label="European">http://langdale.com.au/2005/UML#european</Stereotype>
      <ParentPackage name="Global"
                     basePackage="http://langdale.com.au/2005/UML#global_package"/>
   </Package>
   <Package name="Global"
            basePackage="http://langdale.com.au/2005/UML#global_package"/>
</Catalog>
