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
21 """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.
24 from CIM14
.CPSM
.Equipment
.Wires
.LoadBreakSwitch
import LoadBreakSwitch
25 from CIM14
.CPSM
.Equipment
.Wires
.TransformerWinding
import TransformerWinding
26 from CIM14
.CPSM
.Equipment
.Wires
.SwitchSchedule
import SwitchSchedule
27 from CIM14
.CPSM
.Equipment
.Wires
.PhaseVariationCurve
import PhaseVariationCurve
28 from CIM14
.CPSM
.Equipment
.Wires
.RegulatingControl
import RegulatingControl
29 from CIM14
.CPSM
.Equipment
.Wires
.ACLineSegment
import ACLineSegment
30 from CIM14
.CPSM
.Equipment
.Wires
.PhaseTapChanger
import PhaseTapChanger
31 from CIM14
.CPSM
.Equipment
.Wires
.SeriesCompensator
import SeriesCompensator
32 from CIM14
.CPSM
.Equipment
.Wires
.PowerTransformer
import PowerTransformer
33 from CIM14
.CPSM
.Equipment
.Wires
.EnergyConsumer
import EnergyConsumer
34 from CIM14
.CPSM
.Equipment
.Wires
.Switch
import Switch
35 from CIM14
.CPSM
.Equipment
.Wires
.RegulationSchedule
import RegulationSchedule
36 from CIM14
.CPSM
.Equipment
.Wires
.ShuntCompensator
import ShuntCompensator
37 from CIM14
.CPSM
.Equipment
.Wires
.Conductor
import Conductor
38 from CIM14
.CPSM
.Equipment
.Wires
.BusbarSection
import BusbarSection
39 from CIM14
.CPSM
.Equipment
.Wires
.TapChanger
import TapChanger
40 from CIM14
.CPSM
.Equipment
.Wires
.ImpedanceVariationCurve
import ImpedanceVariationCurve
41 from CIM14
.CPSM
.Equipment
.Wires
.ReactiveCapabilityCurve
import ReactiveCapabilityCurve
42 from CIM14
.CPSM
.Equipment
.Wires
.Disconnector
import Disconnector
43 from CIM14
.CPSM
.Equipment
.Wires
.RatioVariationCurve
import RatioVariationCurve
44 from CIM14
.CPSM
.Equipment
.Wires
.TapSchedule
import TapSchedule
45 from CIM14
.CPSM
.Equipment
.Wires
.MutualCoupling
import MutualCoupling
46 from CIM14
.CPSM
.Equipment
.Wires
.SynchronousMachine
import SynchronousMachine
47 from CIM14
.CPSM
.Equipment
.Wires
.RatioTapChanger
import RatioTapChanger
48 from CIM14
.CPSM
.Equipment
.Wires
.RegulatingCondEq
import RegulatingCondEq
49 from CIM14
.CPSM
.Equipment
.Wires
.Line
import Line
50 from CIM14
.CPSM
.Equipment
.Wires
.StaticVarCompensator
import StaticVarCompensator
51 from CIM14
.CPSM
.Equipment
.Wires
.Breaker
import Breaker
53 nsURI
= "http://iec.ch/TC57/2009/CIM-schema-cim14?profile=http://iec.ch/TC57/2007/profile#Wires"
57 class WindingType(str):
58 """Values are: tertiary, primary, secondary
62 class WindingConnection(str):
63 """Values are: I, Yn, Z, Y, A, D, Zn
67 class TransformerControlMode(str):
68 """Values are: reactive, volt
72 class RegulatingControlModeKind(str):
73 """Values are: reactivePower, timeScheduled, voltage, activePower, currentFlow, fixed, temperature, powerFactor, admittance
77 class SVCControlMode(str):
78 """Values are: voltage, reactivePower, off
82 class SynchronousMachineType(str):
83 """Values are: condenser, generator_or_condenser, generator
87 class SynchronousMachineOperatingMode(str):
88 """Values are: condenser, generator
92 class PhaseTapChangerKind(str):
93 """Values are: asymmetrical, symmetrical, unknown