1 # Copyright (C) 2010-2011 Richard Lincoln
3 # Permission is hereby granted, free of charge, to any person obtaining a copy
4 # of this software and associated documentation files (the "Software"), to
5 # deal in the Software without restriction, including without limitation the
6 # rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
7 # sell copies of the Software, and to permit persons to whom the Software is
8 # furnished to do so, subject to the following conditions:
10 # The above copyright notice and this permission notice shall be included in
11 # all copies or substantial portions of the Software.
13 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14 # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15 # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16 # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17 # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
18 # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
24 from CIM14
.CDPSM
.GIS_Connectivity
.Element
import Element
26 nsURI
= "http://iec.ch/TC57/2009/CIM-schema-cim14?profile=http://iec.ch/TC57/2007/profile/CDPSM/GIS_Connectivity"
30 "Element": "CIM14.CDPSM.GIS_Connectivity",
31 "DistributionTransformerWinding": "CIM14.CDPSM.GIS_Connectivity.IEC61968.WiresExt",
32 "DistributionLineSegment": "CIM14.CDPSM.GIS_Connectivity.IEC61968.WiresExt",
33 "WindingPiImpedance": "CIM14.CDPSM.GIS_Connectivity.IEC61968.WiresExt",
34 "DistributionTapChanger": "CIM14.CDPSM.GIS_Connectivity.IEC61968.WiresExt",
35 "PerLengthSequenceImpedance": "CIM14.CDPSM.GIS_Connectivity.IEC61968.WiresExt",
36 "TransformerBank": "CIM14.CDPSM.GIS_Connectivity.IEC61968.WiresExt",
37 "PerLengthPhaseImpedance": "CIM14.CDPSM.GIS_Connectivity.IEC61968.WiresExt",
38 "DistributionTransformer": "CIM14.CDPSM.GIS_Connectivity.IEC61968.WiresExt",
39 "PhaseImpedanceData": "CIM14.CDPSM.GIS_Connectivity.IEC61968.WiresExt",
40 "TransformerInfo": "CIM14.CDPSM.GIS_Connectivity.IEC61968.AssetModels",
41 "ToWindingSpec": "CIM14.CDPSM.GIS_Connectivity.IEC61968.AssetModels",
42 "WireArrangement": "CIM14.CDPSM.GIS_Connectivity.IEC61968.AssetModels",
43 "CableInfo": "CIM14.CDPSM.GIS_Connectivity.IEC61968.AssetModels",
44 "OpenCircuitTest": "CIM14.CDPSM.GIS_Connectivity.IEC61968.AssetModels",
45 "ConcentricNeutralCableInfo": "CIM14.CDPSM.GIS_Connectivity.IEC61968.AssetModels",
46 "ConductorInfo": "CIM14.CDPSM.GIS_Connectivity.IEC61968.AssetModels",
47 "DistributionWindingTest": "CIM14.CDPSM.GIS_Connectivity.IEC61968.AssetModels",
48 "WireType": "CIM14.CDPSM.GIS_Connectivity.IEC61968.AssetModels",
49 "WindingInfo": "CIM14.CDPSM.GIS_Connectivity.IEC61968.AssetModels",
50 "OverheadConductorInfo": "CIM14.CDPSM.GIS_Connectivity.IEC61968.AssetModels",
51 "TapeShieldCableInfo": "CIM14.CDPSM.GIS_Connectivity.IEC61968.AssetModels",
52 "ShortCircuitTest": "CIM14.CDPSM.GIS_Connectivity.IEC61968.AssetModels",
53 "GeoLocation": "CIM14.CDPSM.GIS_Connectivity.IEC61968.Common",
54 "Location": "CIM14.CDPSM.GIS_Connectivity.IEC61968.Common",
55 "PositionPoint": "CIM14.CDPSM.GIS_Connectivity.IEC61968.Common",
56 "IEC61970CIMVersion": "CIM14.CDPSM.GIS_Connectivity.IEC61970",
57 "BusbarSection": "CIM14.CDPSM.GIS_Connectivity.IEC61970.Wires",
58 "LoadBreakSwitch": "CIM14.CDPSM.GIS_Connectivity.IEC61970.Wires",
59 "TapChanger": "CIM14.CDPSM.GIS_Connectivity.IEC61970.Wires",
60 "Fuse": "CIM14.CDPSM.GIS_Connectivity.IEC61970.Wires",
61 "Junction": "CIM14.CDPSM.GIS_Connectivity.IEC61970.Wires",
62 "ACLineSegment": "CIM14.CDPSM.GIS_Connectivity.IEC61970.Wires",
63 "Disconnector": "CIM14.CDPSM.GIS_Connectivity.IEC61970.Wires",
64 "EnergySource": "CIM14.CDPSM.GIS_Connectivity.IEC61970.Wires",
65 "SynchronousMachine": "CIM14.CDPSM.GIS_Connectivity.IEC61970.Wires",
66 "RatioTapChanger": "CIM14.CDPSM.GIS_Connectivity.IEC61970.Wires",
67 "EnergyConsumer": "CIM14.CDPSM.GIS_Connectivity.IEC61970.Wires",
68 "Switch": "CIM14.CDPSM.GIS_Connectivity.IEC61970.Wires",
69 "Line": "CIM14.CDPSM.GIS_Connectivity.IEC61970.Wires",
70 "ShuntCompensator": "CIM14.CDPSM.GIS_Connectivity.IEC61970.Wires",
71 "Breaker": "CIM14.CDPSM.GIS_Connectivity.IEC61970.Wires",
72 "Conductor": "CIM14.CDPSM.GIS_Connectivity.IEC61970.Wires",
73 "ConnectivityNodeContainer": "CIM14.CDPSM.GIS_Connectivity.IEC61970.Core",
74 "VoltageLevel": "CIM14.CDPSM.GIS_Connectivity.IEC61970.Core",
75 "Bay": "CIM14.CDPSM.GIS_Connectivity.IEC61970.Core",
76 "Equipment": "CIM14.CDPSM.GIS_Connectivity.IEC61970.Core",
77 "BaseVoltage": "CIM14.CDPSM.GIS_Connectivity.IEC61970.Core",
78 "PSRType": "CIM14.CDPSM.GIS_Connectivity.IEC61970.Core",
79 "EquipmentContainer": "CIM14.CDPSM.GIS_Connectivity.IEC61970.Core",
80 "IdentifiedObject": "CIM14.CDPSM.GIS_Connectivity.IEC61970.Core",
81 "Substation": "CIM14.CDPSM.GIS_Connectivity.IEC61970.Core",
82 "ConductingEquipment": "CIM14.CDPSM.GIS_Connectivity.IEC61970.Core",
83 "SubGeographicalRegion": "CIM14.CDPSM.GIS_Connectivity.IEC61970.Core",
84 "Terminal": "CIM14.CDPSM.GIS_Connectivity.IEC61970.Core",
85 "GeographicalRegion": "CIM14.CDPSM.GIS_Connectivity.IEC61970.Core",
86 "PowerSystemResource": "CIM14.CDPSM.GIS_Connectivity.IEC61970.Core",
87 "GeneratingUnit": "CIM14.CDPSM.GIS_Connectivity.IEC61970.Generation.Production",
88 "LoadResponseCharacteristic": "CIM14.CDPSM.GIS_Connectivity.IEC61970.LoadModel",
89 "SvTapStep": "CIM14.CDPSM.GIS_Connectivity.IEC61970.StateVariables",
90 "ConnectivityNode": "CIM14.CDPSM.GIS_Connectivity.IEC61970.Topology",
94 class ApparentPower(float):
95 """Product of the RMS value of the voltage and the RMS value of the current
99 class Conductance(float):
100 """Factor by which voltage must be multiplied to give corresponding power lost from a circuit. Real part of admittance.
104 class Impedance(float):
105 """Ratio of voltage to current.
109 class Susceptance(float):
110 """Imaginary part of admittance.
114 class ReactivePower(float):
115 """Product of RMS value of the voltage and the RMS value of the quadrature component of the current.
119 class CurrentFlow(float):
120 """Electrical current (positive flow is out of the ConductingEquipment into the ConnectivityNode)
124 class AngleDegrees(float):
125 """Measurement of angle in degrees
129 class ActivePower(float):
130 """Product of RMS value of the voltage and the RMS value of the in-phase component of the current
134 class KWActivePower(float):
135 """Active power in kilowatts.
139 class Voltage(float):
140 """Electrical voltage.
149 class Resistance(float):
150 """Resistance (real part of impedance).
154 class AngleRadians(float):
155 """Phase angle in radians
159 class PerCent(float):
160 """Normally 0 - 100 on a defined base
164 class Reactance(float):
165 """Reactance (imaginary part of impedance), at rated frequency.
169 class Seconds(float):
174 class Temperature(float):
175 """Value of temperature in degrees Celsius.
182 class CIMDateTime(str):
185 class CIMDuration(str):
194 class CIMGMonthDay(str):
197 class CIMGMonth(str):
203 class CIMGYearMonth(str):