Commit 0678496e authored by Philipp Reuber's avatar Philipp Reuber
Browse files

add new cgmes class files, support import for new class files, #5

parent 5eeca9df
from cimpy.cgmes_v2_4_15_flat.ConductingEquipment import ConductingEquipment
from cimpy.cgmes_v2_4_15.ConductingEquipment import ConductingEquipment
class ACDCConverter(ConductingEquipment):
......@@ -26,6 +26,8 @@ class ACDCConverter(ConductingEquipment):
:targetUdc: Target value for DC voltage magnitude. Default: 0.0
'''
cgmesProfile = ConductingEquipment.cgmesProfile
possibleProfileList = {'class': [cgmesProfile.EQ.value, cgmesProfile.SV.value, cgmesProfile.SSH.value, ],
'baseS': [cgmesProfile.EQ.value, ],
'idleLoss': [cgmesProfile.EQ.value, ],
......
from cimpy.cgmes_v2_4_15_flat.DCBaseTerminal import DCBaseTerminal
from cimpy.cgmes_v2_4_15.DCBaseTerminal import DCBaseTerminal
class ACDCConverterDCTerminal(DCBaseTerminal):
......@@ -9,6 +9,8 @@ class ACDCConverterDCTerminal(DCBaseTerminal):
:polarity: Represents the normal network polarity condition. Default: None
'''
cgmesProfile = DCBaseTerminal.cgmesProfile
possibleProfileList = {'class': [cgmesProfile.EQ.value, cgmesProfile.SSH.value, cgmesProfile.TP.value, ],
'DCConductingEquipment': [cgmesProfile.EQ.value, ],
'polarity': [cgmesProfile.EQ.value, ],
......
from cimpy.cgmes_v2_4_15_flat.IdentifiedObject import IdentifiedObject
from cimpy.cgmes_v2_4_15.IdentifiedObject import IdentifiedObject
class ACDCTerminal(IdentifiedObject):
......@@ -11,6 +11,8 @@ class ACDCTerminal(IdentifiedObject):
:connected: The connected status is related to a bus-branch model and the topological node to terminal relation. True implies the terminal is connected to the related topological node and false implies it is not. In a bus-branch model, the connected status is used to tell if equipment is disconnected without having to change the connectivity described by the topological node to terminal relation. A valid case is that conducting equipment can be connected in one end and open in the other. In particular for an AC line segment, where the reactive line charging can be significant, this is a relevant case. Default: False
'''
cgmesProfile = IdentifiedObject.cgmesProfile
possibleProfileList = {'class': [cgmesProfile.DY.value, cgmesProfile.EQ.value, cgmesProfile.SV.value, cgmesProfile.SSH.value, cgmesProfile.TP.value, ],
'BusNameMarker': [cgmesProfile.EQ.value, ],
'sequenceNumber': [cgmesProfile.EQ.value, ],
......
from cimpy.cgmes_v2_4_15_flat.Conductor import Conductor
from cimpy.cgmes_v2_4_15.Conductor import Conductor
class ACLineSegment(Conductor):
......@@ -16,6 +16,8 @@ class ACLineSegment(Conductor):
:x0: Zero sequence series reactance of the entire line section. Default: 0.0
'''
cgmesProfile = Conductor.cgmesProfile
possibleProfileList = {'class': [cgmesProfile.EQ.value, ],
'bch': [cgmesProfile.EQ.value, ],
'gch': [cgmesProfile.EQ.value, ],
......
from cimpy.cgmes_v2_4_15_flat.Base import Base
from cimpy.cgmes_v2_4_15.Base import Base
class ActivePower(Base):
......@@ -10,6 +10,8 @@ class ActivePower(Base):
:multiplier: Default: None
'''
cgmesProfile = Base.cgmesProfile
possibleProfileList = {'class': [cgmesProfile.DY.value, cgmesProfile.EQ.value, cgmesProfile.SV.value, cgmesProfile.SSH.value, ],
'value': [cgmesProfile.DY.value, cgmesProfile.EQ.value, cgmesProfile.SV.value, cgmesProfile.SSH.value, ],
'unit': [cgmesProfile.DY.value, cgmesProfile.EQ.value, cgmesProfile.SV.value, cgmesProfile.SSH.value, ],
......
from cimpy.cgmes_v2_4_15_flat.Base import Base
from cimpy.cgmes_v2_4_15.Base import Base
class ActivePowerPerCurrentFlow(Base):
......@@ -12,6 +12,8 @@ class ActivePowerPerCurrentFlow(Base):
:value: Default: 0.0
'''
cgmesProfile = Base.cgmesProfile
possibleProfileList = {'class': [cgmesProfile.EQ.value, ],
'denominatorMultiplier': [cgmesProfile.EQ.value, ],
'denominatorUnit': [cgmesProfile.EQ.value, ],
......
from cimpy.cgmes_v2_4_15_flat.Base import Base
from cimpy.cgmes_v2_4_15.Base import Base
class ActivePowerPerFrequency(Base):
......@@ -12,6 +12,8 @@ class ActivePowerPerFrequency(Base):
:value: Default: 0.0
'''
cgmesProfile = Base.cgmesProfile
possibleProfileList = {'class': [cgmesProfile.EQ.value, ],
'denominatorMultiplier': [cgmesProfile.EQ.value, ],
'denominatorUnit': [cgmesProfile.EQ.value, ],
......
from cimpy.cgmes_v2_4_15_flat.Base import Base
from cimpy.cgmes_v2_4_15.Base import Base
class AngleDegrees(Base):
......@@ -10,6 +10,8 @@ class AngleDegrees(Base):
:multiplier: Default: None
'''
cgmesProfile = Base.cgmesProfile
possibleProfileList = {'class': [cgmesProfile.DI.value, cgmesProfile.DY.value, cgmesProfile.EQ.value, cgmesProfile.SV.value, cgmesProfile.SSH.value, ],
'value': [cgmesProfile.DI.value, cgmesProfile.DY.value, cgmesProfile.EQ.value, cgmesProfile.SV.value, cgmesProfile.SSH.value, ],
'unit': [cgmesProfile.DI.value, cgmesProfile.DY.value, cgmesProfile.EQ.value, cgmesProfile.SV.value, cgmesProfile.SSH.value, ],
......
from cimpy.cgmes_v2_4_15_flat.Base import Base
from cimpy.cgmes_v2_4_15.Base import Base
class AngleRadians(Base):
......@@ -10,6 +10,8 @@ class AngleRadians(Base):
:multiplier: Default: None
'''
cgmesProfile = Base.cgmesProfile
possibleProfileList = {'class': [cgmesProfile.EQ.value, ],
'value': [cgmesProfile.EQ.value, ],
'unit': [cgmesProfile.EQ.value, ],
......
from cimpy.cgmes_v2_4_15_flat.Base import Base
from cimpy.cgmes_v2_4_15.Base import Base
class ApparentPower(Base):
......@@ -10,6 +10,8 @@ class ApparentPower(Base):
:multiplier: Default: None
'''
cgmesProfile = Base.cgmesProfile
possibleProfileList = {'class': [cgmesProfile.DY.value, cgmesProfile.EQ.value, ],
'value': [cgmesProfile.DY.value, cgmesProfile.EQ.value, ],
'unit': [cgmesProfile.DY.value, cgmesProfile.EQ.value, ],
......
from cimpy.cgmes_v2_4_15_flat.Base import Base
from cimpy.cgmes_v2_4_15.Base import Base
class Area(Base):
......@@ -10,6 +10,8 @@ class Area(Base):
:multiplier: Default: None
'''
cgmesProfile = Base.cgmesProfile
possibleProfileList = {'class': [cgmesProfile.DY.value, ],
'value': [cgmesProfile.DY.value, ],
'unit': [cgmesProfile.DY.value, ],
......
from cimpy.cgmes_v2_4_15_flat.RotatingMachine import RotatingMachine
from cimpy.cgmes_v2_4_15.RotatingMachine import RotatingMachine
class AsynchronousMachine(RotatingMachine):
......@@ -18,6 +18,8 @@ class AsynchronousMachine(RotatingMachine):
:asynchronousMachineType: Indicates the type of Asynchronous Machine (motor or generator). Default: None
'''
cgmesProfile = RotatingMachine.cgmesProfile
possibleProfileList = {'class': [cgmesProfile.DY.value, cgmesProfile.EQ.value, cgmesProfile.SSH.value, ],
'AsynchronousMachineDynamics': [cgmesProfile.DY.value, ],
'nominalFrequency': [cgmesProfile.EQ.value, ],
......
from cimpy.cgmes_v2_4_15_flat.RotatingMachineDynamics import RotatingMachineDynamics
from cimpy.cgmes_v2_4_15.RotatingMachineDynamics import RotatingMachineDynamics
class AsynchronousMachineDynamics(RotatingMachineDynamics):
......@@ -11,6 +11,8 @@ class AsynchronousMachineDynamics(RotatingMachineDynamics):
:TurbineGovernorDynamics: Turbine-governor model associated with this asynchronous machine model. Default: None
'''
cgmesProfile = RotatingMachineDynamics.cgmesProfile
possibleProfileList = {'class': [cgmesProfile.DY.value, ],
'AsynchronousMachine': [cgmesProfile.DY.value, ],
'MechanicalLoadDynamics': [cgmesProfile.DY.value, ],
......
from cimpy.cgmes_v2_4_15_flat.AsynchronousMachineDynamics import AsynchronousMachineDynamics
from cimpy.cgmes_v2_4_15.AsynchronousMachineDynamics import AsynchronousMachineDynamics
class AsynchronousMachineEquivalentCircuit(AsynchronousMachineDynamics):
......@@ -12,6 +12,8 @@ class AsynchronousMachineEquivalentCircuit(AsynchronousMachineDynamics):
:xlr2: Damper 2 winding leakage reactance. Default: 0.0
'''
cgmesProfile = AsynchronousMachineDynamics.cgmesProfile
possibleProfileList = {'class': [cgmesProfile.DY.value, ],
'xm': [cgmesProfile.DY.value, ],
'rr1': [cgmesProfile.DY.value, ],
......
from cimpy.cgmes_v2_4_15_flat.Base import Base
from cimpy.cgmes_v2_4_15.Base import Base
class AsynchronousMachineKind(Base):
......@@ -7,6 +7,8 @@ class AsynchronousMachineKind(Base):
'''
cgmesProfile = Base.cgmesProfile
possibleProfileList = {'class': [cgmesProfile.SSH.value, ],
}
......
from cimpy.cgmes_v2_4_15_flat.AsynchronousMachineDynamics import AsynchronousMachineDynamics
from cimpy.cgmes_v2_4_15.AsynchronousMachineDynamics import AsynchronousMachineDynamics
class AsynchronousMachineTimeConstantReactance(AsynchronousMachineDynamics):
......@@ -12,6 +12,8 @@ class AsynchronousMachineTimeConstantReactance(AsynchronousMachineDynamics):
:tppo: Subtransient rotor time constant (T''o) (> 0). Typical Value = 0.03. Default: 0.0
'''
cgmesProfile = AsynchronousMachineDynamics.cgmesProfile
possibleProfileList = {'class': [cgmesProfile.DY.value, ],
'xs': [cgmesProfile.DY.value, ],
'xp': [cgmesProfile.DY.value, ],
......
from cimpy.cgmes_v2_4_15_flat.AsynchronousMachineDynamics import AsynchronousMachineDynamics
from cimpy.cgmes_v2_4_15.AsynchronousMachineDynamics import AsynchronousMachineDynamics
class AsynchronousMachineUserDefined(AsynchronousMachineDynamics):
......@@ -9,6 +9,8 @@ class AsynchronousMachineUserDefined(AsynchronousMachineDynamics):
:ProprietaryParameterDynamics: Parameter of this proprietary user-defined model. Default: []
'''
cgmesProfile = AsynchronousMachineDynamics.cgmesProfile
possibleProfileList = {'class': [cgmesProfile.DY.value, ],
'proprietary': [cgmesProfile.DY.value, ],
'ProprietaryParameterDynamics': [cgmesProfile.DY.value, ],
......
from cimpy.cgmes_v2_4_15_flat.IdentifiedObject import IdentifiedObject
from cimpy.cgmes_v2_4_15.IdentifiedObject import IdentifiedObject
class BaseVoltage(IdentifiedObject):
......@@ -12,6 +12,8 @@ class BaseVoltage(IdentifiedObject):
:TopologicalNode: The topological nodes at the base voltage. Default: []
'''
cgmesProfile = IdentifiedObject.cgmesProfile
possibleProfileList = {'class': [cgmesProfile.EQ.value, cgmesProfile.TP.value, ],
'nominalVoltage': [cgmesProfile.EQ.value, ],
'ConductingEquipment': [cgmesProfile.EQ.value, ],
......
from cimpy.cgmes_v2_4_15_flat.IdentifiedObject import IdentifiedObject
from cimpy.cgmes_v2_4_15.IdentifiedObject import IdentifiedObject
class BasicIntervalSchedule(IdentifiedObject):
......@@ -10,6 +10,8 @@ class BasicIntervalSchedule(IdentifiedObject):
:value2Unit: Value2 units of measure. Default: None
'''
cgmesProfile = IdentifiedObject.cgmesProfile
possibleProfileList = {'class': [cgmesProfile.EQ.value, ],
'startTime': [cgmesProfile.EQ.value, ],
'value1Unit': [cgmesProfile.EQ.value, ],
......
from cimpy.cgmes_v2_4_15_flat.Base import Base
from cimpy.cgmes_v2_4_15.Base import Base
class Boolean(Base):
......@@ -7,6 +7,8 @@ class Boolean(Base):
'''
cgmesProfile = Base.cgmesProfile
possibleProfileList = {'class': [cgmesProfile.DI.value, cgmesProfile.DY.value, cgmesProfile.EQ.value, cgmesProfile.SV.value, cgmesProfile.SSH.value, ],
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment