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
.CDPSM
.GIS_Connectivity
.IEC61970
.Wires
.BusbarSection
import BusbarSection
25 from CIM14
.CDPSM
.GIS_Connectivity
.IEC61970
.Wires
.LoadBreakSwitch
import LoadBreakSwitch
26 from CIM14
.CDPSM
.GIS_Connectivity
.IEC61970
.Wires
.TapChanger
import TapChanger
27 from CIM14
.CDPSM
.GIS_Connectivity
.IEC61970
.Wires
.Fuse
import Fuse
28 from CIM14
.CDPSM
.GIS_Connectivity
.IEC61970
.Wires
.Junction
import Junction
29 from CIM14
.CDPSM
.GIS_Connectivity
.IEC61970
.Wires
.ACLineSegment
import ACLineSegment
30 from CIM14
.CDPSM
.GIS_Connectivity
.IEC61970
.Wires
.Disconnector
import Disconnector
31 from CIM14
.CDPSM
.GIS_Connectivity
.IEC61970
.Wires
.EnergySource
import EnergySource
32 from CIM14
.CDPSM
.GIS_Connectivity
.IEC61970
.Wires
.SynchronousMachine
import SynchronousMachine
33 from CIM14
.CDPSM
.GIS_Connectivity
.IEC61970
.Wires
.RatioTapChanger
import RatioTapChanger
34 from CIM14
.CDPSM
.GIS_Connectivity
.IEC61970
.Wires
.EnergyConsumer
import EnergyConsumer
35 from CIM14
.CDPSM
.GIS_Connectivity
.IEC61970
.Wires
.Switch
import Switch
36 from CIM14
.CDPSM
.GIS_Connectivity
.IEC61970
.Wires
.Line
import Line
37 from CIM14
.CDPSM
.GIS_Connectivity
.IEC61970
.Wires
.ShuntCompensator
import ShuntCompensator
38 from CIM14
.CDPSM
.GIS_Connectivity
.IEC61970
.Wires
.Breaker
import Breaker
39 from CIM14
.CDPSM
.GIS_Connectivity
.IEC61970
.Wires
.Conductor
import Conductor
41 nsURI
= "http://iec.ch/TC57/2009/CIM-schema-cim14?profile=http://iec.ch/TC57/2007/profile#Wires"
45 class TransformerControlMode(str):
46 """Values are: reactive, volt
50 class WindingConnection(str):
51 """Values are: I, Z, Yn, Y, A, D, Zn
55 class SynchronousMachineType(str):
56 """Values are: condenser, generator_or_condenser, generator
60 class SynchronousMachineOperatingMode(str):
61 """Values are: condenser, generator