Commit 58883eaf authored by Richard Marston's avatar Richard Marston
Browse files

Copy in new python files created by cimgen

parent c5d9bee8
from cimpy.cgmes_v2_4_15.ConductingEquipment import ConductingEquipment
from cimpy.output.ConductingEquipment import ConductingEquipment
class ACDCConverter(ConductingEquipment):
'''
A unit with valves for three phases, together with unit control equipment, essential protective and switching devices, DC storage capacitors, phase reactors and auxiliaries, if any, used for conversion.
:baseS: Base apparent power of the converter pole. Default: 0.0
:idleLoss: Active power loss in pole at no power transfer. Converter configuration data used in power flow. Default: 0.0
:maxUdc: The maximum voltage on the DC side at which the converter should operate. Converter configuration data used in power flow. Default: 0.0
:minUdc: Min allowed converter DC voltage. Converter configuration data used in power flow. Default: 0.0
:numberOfValves: Number of valves in the converter. Used in loss calculations. Default: 0
:ratedUdc: Rated converter DC voltage, also called UdN. Converter configuration data used in power flow. Default: 0.0
:resistiveLoss: Converter configuration data used in power flow. Refer to poleLossP. Default: 0.0
:switchingLoss: Switching losses, relative to the base apparent power 'baseS'. Refer to poleLossP. Default: 0.0
:valveU0: Valve threshold voltage. Forward voltage drop when the valve is conducting. Used in loss calculations, i.e. the switchLoss depend on numberOfValves * valveU0. Default: 0.0
:DCTerminals: Default: "list"
:PccTerminal: All converters' DC sides linked to this point of common coupling terminal. Default: None
:idc: Converter DC current, also called Id. Converter state variable, result from power flow. Default: 0.0
:poleLossP: The active power loss at a DC Pole = idleLoss + switchingLoss*|Idc| + resitiveLoss*Idc^2 For lossless operation Pdc=Pac For rectifier operation with losses Pdc=Pac-lossP For inverter operation with losses Pdc=Pac+lossP Converter state variable used in power flow. Default: 0.0
:uc: Converter voltage, the voltage at the AC side of the bridge. Converter state variable, result from power flow. Default: 0.0
:udc: Converter voltage at the DC side, also called Ud. Converter state variable, result from power flow. Default: 0.0
:p: Active power at the point of common coupling. Load sign convention is used, i.e. positive sign means flow out from a node. Starting value for a steady state solution in the case a simplified power flow model is used. Default: 0.0
:q: Reactive power at the point of common coupling. Load sign convention is used, i.e. positive sign means flow out from a node. Starting value for a steady state solution in the case a simplified power flow model is used. Default: 0.0
:targetPpcc: Real power injection target in AC grid, at point of common coupling. Default: 0.0
:targetUdc: Target value for DC voltage magnitude. Default: 0.0
:baseS: Base apparent power of the converter pole. Default:
:idleLoss: Active power loss in pole at no power transfer. Converter configuration data used in power flow. Default:
:maxUdc: The maximum voltage on the DC side at which the converter should operate. Converter configuration data used in power flow. Default:
:minUdc: Min allowed converter DC voltage. Converter configuration data used in power flow. Default:
:numberOfValves: Number of valves in the converter. Used in loss calculations. Default:
:ratedUdc: Rated converter DC voltage, also called UdN. Converter configuration data used in power flow. Default:
:resistiveLoss: Converter configuration data used in power flow. Refer to poleLossP. Default:
:switchingLoss: Switching losses, relative to the base apparent power `baseS`. Refer to poleLossP. Default:
:valveU0: Valve threshold voltage. Forward voltage drop when the valve is conducting. Used in loss calculations, i.e. the switchLoss depend on numberOfValves * valveU0. Default:
:DCTerminals: Default:
:PccTerminal: All converters` DC sides linked to this point of common coupling terminal. Default:
:p: Active power at the point of common coupling. Load sign convention is used, i.e. positive sign means flow out from a node. Starting value for a steady state solution in the case a simplified power flow model is used. Default:
:q: Reactive power at the point of common coupling. Load sign convention is used, i.e. positive sign means flow out from a node. Starting value for a steady state solution in the case a simplified power flow model is used. Default:
:targetPpcc: Real power injection target in AC grid, at point of common coupling. Default:
:targetUdc: Target value for DC voltage magnitude. Default:
:idc: Converter DC current, also called Id. Converter state variable, result from power flow. Default:
:poleLossP: The active power loss at a DC Pole = idleLoss + switchingLoss*|Idc| + resitiveLoss*Idc^2 For lossless operation Pdc=Pac For rectifier operation with losses Pdc=Pac-lossP For inverter operation with losses Pdc=Pac+lossP Converter state variable used in power flow. Default:
:uc: Converter voltage, the voltage at the AC side of the bridge. Converter state variable, result from power flow. Default:
:udc: Converter voltage at the DC side, also called Ud. Converter state variable, result from power flow. Default:
'''
cgmesProfile = ConductingEquipment.cgmesProfile
possibleProfileList = {'class': [cgmesProfile.EQ.value, cgmesProfile.SV.value, cgmesProfile.SSH.value, ],
'baseS': [cgmesProfile.EQ.value, ],
'idleLoss': [cgmesProfile.EQ.value, ],
'maxUdc': [cgmesProfile.EQ.value, ],
'minUdc': [cgmesProfile.EQ.value, ],
'numberOfValves': [cgmesProfile.EQ.value, ],
'ratedUdc': [cgmesProfile.EQ.value, ],
'resistiveLoss': [cgmesProfile.EQ.value, ],
'switchingLoss': [cgmesProfile.EQ.value, ],
'valveU0': [cgmesProfile.EQ.value, ],
'DCTerminals': [cgmesProfile.EQ.value, ],
'PccTerminal': [cgmesProfile.EQ.value, ],
'idc': [cgmesProfile.SV.value, ],
'poleLossP': [cgmesProfile.SV.value, ],
'uc': [cgmesProfile.SV.value, ],
'udc': [cgmesProfile.SV.value, ],
'p': [cgmesProfile.SSH.value, ],
'q': [cgmesProfile.SSH.value, ],
'targetPpcc': [cgmesProfile.SSH.value, ],
'targetUdc': [cgmesProfile.SSH.value, ],
possibleProfileList = {'class': [cgmesProfile.{'$rdf:datatype': 'http://www.w3.org/2001/XMLSchema#string', '_': 'EQ'}.value, cgmesProfile.{'$rdf:datatype': 'http://www.w3.org/2001/XMLSchema#string', '_': 'SSH'}.value, cgmesProfile.{'$rdf:datatype': 'http://www.w3.org/2001/XMLSchema#string', '_': 'SV'}.value, ],
'baseS': [cgmesProfile.{'$rdf:datatype': 'http://www.w3.org/2001/XMLSchema#string', '_': 'EQ'}.value, ],
'idleLoss': [cgmesProfile.{'$rdf:datatype': 'http://www.w3.org/2001/XMLSchema#string', '_': 'EQ'}.value, ],
'maxUdc': [cgmesProfile.{'$rdf:datatype': 'http://www.w3.org/2001/XMLSchema#string', '_': 'EQ'}.value, ],
'minUdc': [cgmesProfile.{'$rdf:datatype': 'http://www.w3.org/2001/XMLSchema#string', '_': 'EQ'}.value, ],
'numberOfValves': [cgmesProfile.{'$rdf:datatype': 'http://www.w3.org/2001/XMLSchema#string', '_': 'EQ'}.value, ],
'ratedUdc': [cgmesProfile.{'$rdf:datatype': 'http://www.w3.org/2001/XMLSchema#string', '_': 'EQ'}.value, ],
'resistiveLoss': [cgmesProfile.{'$rdf:datatype': 'http://www.w3.org/2001/XMLSchema#string', '_': 'EQ'}.value, ],
'switchingLoss': [cgmesProfile.{'$rdf:datatype': 'http://www.w3.org/2001/XMLSchema#string', '_': 'EQ'}.value, ],
'valveU0': [cgmesProfile.{'$rdf:datatype': 'http://www.w3.org/2001/XMLSchema#string', '_': 'EQ'}.value, ],
'DCTerminals': [cgmesProfile.{'$rdf:datatype': 'http://www.w3.org/2001/XMLSchema#string', '_': 'EQ'}.value, ],
'PccTerminal': [cgmesProfile.{'$rdf:datatype': 'http://www.w3.org/2001/XMLSchema#string', '_': 'EQ'}.value, ],
'p': [cgmesProfile.{'$rdf:datatype': 'http://www.w3.org/2001/XMLSchema#string', '_': 'SSH'}.value, ],
'q': [cgmesProfile.{'$rdf:datatype': 'http://www.w3.org/2001/XMLSchema#string', '_': 'SSH'}.value, ],
'targetPpcc': [cgmesProfile.{'$rdf:datatype': 'http://www.w3.org/2001/XMLSchema#string', '_': 'SSH'}.value, ],
'targetUdc': [cgmesProfile.{'$rdf:datatype': 'http://www.w3.org/2001/XMLSchema#string', '_': 'SSH'}.value, ],
'idc': [cgmesProfile.{'$rdf:datatype': 'http://www.w3.org/2001/XMLSchema#string', '_': 'SV'}.value, ],
'poleLossP': [cgmesProfile.{'$rdf:datatype': 'http://www.w3.org/2001/XMLSchema#string', '_': 'SV'}.value, ],
'uc': [cgmesProfile.{'$rdf:datatype': 'http://www.w3.org/2001/XMLSchema#string', '_': 'SV'}.value, ],
'udc': [cgmesProfile.{'$rdf:datatype': 'http://www.w3.org/2001/XMLSchema#string', '_': 'SV'}.value, ],
}
serializationProfile = {}
__doc__ += '\n Documentation of parent class ConductingEquipment: \n' + ConductingEquipment.__doc__
def __init__(self, baseS = 0.0, idleLoss = 0.0, maxUdc = 0.0, minUdc = 0.0, numberOfValves = 0, ratedUdc = 0.0, resistiveLoss = 0.0, switchingLoss = 0.0, valveU0 = 0.0, DCTerminals = "list", PccTerminal = None, idc = 0.0, poleLossP = 0.0, uc = 0.0, udc = 0.0, p = 0.0, q = 0.0, targetPpcc = 0.0, targetUdc = 0.0, *args, **kw_args):
def __init__(self, baseS = , idleLoss = , maxUdc = , minUdc = , numberOfValves = , ratedUdc = , resistiveLoss = , switchingLoss = , valveU0 = , DCTerminals = , PccTerminal = , p = , q = , targetPpcc = , targetUdc = , idc = , poleLossP = , uc = , udc = , *args, **kw_args):
super().__init__(*args, **kw_args)
self.baseS = baseS
......@@ -68,14 +68,14 @@ class ACDCConverter(ConductingEquipment):
self.valveU0 = valveU0
self.DCTerminals = DCTerminals
self.PccTerminal = PccTerminal
self.idc = idc
self.poleLossP = poleLossP
self.uc = uc
self.udc = udc
self.p = p
self.q = q
self.targetPpcc = targetPpcc
self.targetUdc = targetUdc
self.idc = idc
self.poleLossP = poleLossP
self.uc = uc
self.udc = udc
def __str__(self):
str = 'class=ACDCConverter\n'
......
from cimpy.cgmes_v2_4_15.DCBaseTerminal import DCBaseTerminal
from cimpy.output.DCBaseTerminal import DCBaseTerminal
class ACDCConverterDCTerminal(DCBaseTerminal):
'''
A DC electrical connection point at the AC/DC converter. The AC/DC converter is electrically connected also to the AC side. The AC connection is inherited from the AC conducting equipment in the same way as any other AC equipment. The AC/DC converter DC terminal is separate from generic DC terminal to restrict the connection with the AC side to AC/DC converter and so that no other DC conducting equipment can be connected to the AC side.
:DCConductingEquipment: Default: None
:polarity: Represents the normal network polarity condition. Default: None
:DCConductingEquipment: Default:
:polarity: Represents the normal network polarity condition. Default:
'''
cgmesProfile = DCBaseTerminal.cgmesProfile
possibleProfileList = {'class': [cgmesProfile.EQ.value, cgmesProfile.SSH.value, cgmesProfile.TP.value, ],
'DCConductingEquipment': [cgmesProfile.EQ.value, ],
'polarity': [cgmesProfile.EQ.value, ],
possibleProfileList = {'class': [cgmesProfile.{'$rdf:datatype': 'http://www.w3.org/2001/XMLSchema#string', '_': 'EQ'}.value, cgmesProfile.{'$rdf:datatype': 'http://www.w3.org/2001/XMLSchema#string', '_': 'SSH'}.value, cgmesProfile.{'$rdf:datatype': 'http://www.w3.org/2001/XMLSchema#string', '_': 'TP'}.value, ],
'DCConductingEquipment': [cgmesProfile.{'$rdf:datatype': 'http://www.w3.org/2001/XMLSchema#string', '_': 'EQ'}.value, ],
'polarity': [cgmesProfile.{'$rdf:datatype': 'http://www.w3.org/2001/XMLSchema#string', '_': 'EQ'}.value, ],
}
serializationProfile = {}
__doc__ += '\n Documentation of parent class DCBaseTerminal: \n' + DCBaseTerminal.__doc__
def __init__(self, DCConductingEquipment = None, polarity = None, *args, **kw_args):
def __init__(self, DCConductingEquipment = , polarity = , *args, **kw_args):
super().__init__(*args, **kw_args)
self.DCConductingEquipment = DCConductingEquipment
......
from cimpy.cgmes_v2_4_15.IdentifiedObject import IdentifiedObject
from cimpy.output.IdentifiedObject import IdentifiedObject
class ACDCTerminal(IdentifiedObject):
'''
An electrical connection point (AC or DC) to a piece of conducting equipment. Terminals are connected at physical connection points called connectivity nodes.
:BusNameMarker: The bus name marker used to name the bus (topological node). Default: None
:sequenceNumber: The orientation of the terminal connections for a multiple terminal conducting equipment. The sequence numbering starts with 1 and additional terminals should follow in increasing order. The first terminal is the "starting point" for a two terminal branch. Default: 0
:OperationalLimitSet: Default: "list"
: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
:BusNameMarker: The bus name marker used to name the bus (topological node). Default:
:sequenceNumber: The orientation of the terminal connections for a multiple terminal conducting equipment. The sequence numbering starts with 1 and additional terminals should follow in increasing order. The first terminal is the `starting point` for a two terminal branch. Default:
:OperationalLimitSet: Default:
:Measurements: Measurements associated with this terminal defining where the measurement is placed in the network topology. It may be used, for instance, to capture the sensor position, such as a voltage transformer (PT) at a busbar or a current transformer (CT) at the bar between a breaker and an isolator. Default:
: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:
'''
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, ],
'OperationalLimitSet': [cgmesProfile.EQ.value, ],
'connected': [cgmesProfile.SSH.value, ],
possibleProfileList = {'class': [cgmesProfile.{'$rdf:datatype': 'http://www.w3.org/2001/XMLSchema#string', '_': 'EQ'}.value, cgmesProfile.{'$rdf:datatype': 'http://www.w3.org/2001/XMLSchema#string', '_': 'SSH'}.value, cgmesProfile.{'$rdf:datatype': 'http://www.w3.org/2001/XMLSchema#string', '_': 'SV'}.value, cgmesProfile.{'$rdf:datatype': 'http://www.w3.org/2001/XMLSchema#string', '_': 'DY'}.value, cgmesProfile.{'$rdf:datatype': 'http://www.w3.org/2001/XMLSchema#string', '_': 'TP'}.value, ],
'BusNameMarker': [cgmesProfile.{'$rdf:datatype': 'http://www.w3.org/2001/XMLSchema#string', '_': 'EQ'}.value, ],
'sequenceNumber': [cgmesProfile.{'$rdf:datatype': 'http://www.w3.org/2001/XMLSchema#string', '_': 'EQ'}.value, ],
'OperationalLimitSet': [cgmesProfile.{'$rdf:datatype': 'http://www.w3.org/2001/XMLSchema#string', '_': 'EQ'}.value, ],
'Measurements': [cgmesProfile.{'$rdf:datatype': 'http://www.w3.org/2001/XMLSchema#string', '_': 'EQ'}.value, ],
'connected': [cgmesProfile.{'$rdf:datatype': 'http://www.w3.org/2001/XMLSchema#string', '_': 'SSH'}.value, ],
}
serializationProfile = {}
__doc__ += '\n Documentation of parent class IdentifiedObject: \n' + IdentifiedObject.__doc__
def __init__(self, BusNameMarker = None, sequenceNumber = 0, OperationalLimitSet = "list", connected = False, *args, **kw_args):
def __init__(self, BusNameMarker = , sequenceNumber = , OperationalLimitSet = , Measurements = , connected = , *args, **kw_args):
super().__init__(*args, **kw_args)
self.BusNameMarker = BusNameMarker
self.sequenceNumber = sequenceNumber
self.OperationalLimitSet = OperationalLimitSet
self.Measurements = Measurements
self.connected = connected
def __str__(self):
......
from cimpy.cgmes_v2_4_15.Conductor import Conductor
from cimpy.output.Conductor import Conductor
class ACLineSegment(Conductor):
'''
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. For symmetrical, transposed 3ph 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. 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.
:bch: Positive sequence shunt (charging) susceptance, uniformly distributed, of the entire line section. This value represents the full charging over the full length of the line. Default: 0.0
:gch: Positive sequence shunt (charging) conductance, uniformly distributed, of the entire line section. Default: 0.0
:r: Positive sequence series resistance of the entire line section. Default: 0.0
:x: Positive sequence series reactance of the entire line section. Default: 0.0
:b0ch: Zero sequence shunt (charging) susceptance, uniformly distributed, of the entire line section. Default: 0.0
:g0ch: Zero sequence shunt (charging) conductance, uniformly distributed, of the entire line section. Default: 0.0
:r0: Zero sequence series resistance of the entire line section. Default: 0.0
:shortCircuitEndTemperature: Maximum permitted temperature at the end of SC for the calculation of minimum short-circuit currents. Used for short circuit data exchange according to IEC 60909 Default: 0.0
:x0: Zero sequence series reactance of the entire line section. Default: 0.0
:bch: Positive sequence shunt (charging) susceptance, uniformly distributed, of the entire line section. This value represents the full charging over the full length of the line. Default:
:gch: Positive sequence shunt (charging) conductance, uniformly distributed, of the entire line section. Default:
:r: Positive sequence series resistance of the entire line section. Default:
:x: Positive sequence series reactance of the entire line section. Default:
:b0ch: Zero sequence shunt (charging) susceptance, uniformly distributed, of the entire line section. Default:
:g0ch: Zero sequence shunt (charging) conductance, uniformly distributed, of the entire line section. Default:
:r0: Zero sequence series resistance of the entire line section. Default:
:shortCircuitEndTemperature: Maximum permitted temperature at the end of SC for the calculation of minimum short-circuit currents. Used for short circuit data exchange according to IEC 60909 Default:
:x0: Zero sequence series reactance of the entire line section. Default:
'''
cgmesProfile = Conductor.cgmesProfile
possibleProfileList = {'class': [cgmesProfile.EQ.value, ],
'bch': [cgmesProfile.EQ.value, ],
'gch': [cgmesProfile.EQ.value, ],
'r': [cgmesProfile.EQ.value, ],
'x': [cgmesProfile.EQ.value, ],
'b0ch': [cgmesProfile.EQ.value, ],
'g0ch': [cgmesProfile.EQ.value, ],
'r0': [cgmesProfile.EQ.value, ],
'shortCircuitEndTemperature': [cgmesProfile.EQ.value, ],
'x0': [cgmesProfile.EQ.value, ],
possibleProfileList = {'class': [cgmesProfile.{'$rdf:datatype': 'http://www.w3.org/2001/XMLSchema#string', '_': 'EQ'}.value, ],
'bch': [cgmesProfile.{'$rdf:datatype': 'http://www.w3.org/2001/XMLSchema#string', '_': 'EQ'}.value, ],
'gch': [cgmesProfile.{'$rdf:datatype': 'http://www.w3.org/2001/XMLSchema#string', '_': 'EQ'}.value, ],
'r': [cgmesProfile.{'$rdf:datatype': 'http://www.w3.org/2001/XMLSchema#string', '_': 'EQ'}.value, ],
'x': [cgmesProfile.{'$rdf:datatype': 'http://www.w3.org/2001/XMLSchema#string', '_': 'EQ'}.value, ],
'b0ch': [cgmesProfile.{'$rdf:datatype': 'http://www.w3.org/2001/XMLSchema#string', '_': 'EQ'}.value, ],
'g0ch': [cgmesProfile.{'$rdf:datatype': 'http://www.w3.org/2001/XMLSchema#string', '_': 'EQ'}.value, ],
'r0': [cgmesProfile.{'$rdf:datatype': 'http://www.w3.org/2001/XMLSchema#string', '_': 'EQ'}.value, ],
'shortCircuitEndTemperature': [cgmesProfile.{'$rdf:datatype': 'http://www.w3.org/2001/XMLSchema#string', '_': 'EQ'}.value, ],
'x0': [cgmesProfile.{'$rdf:datatype': 'http://www.w3.org/2001/XMLSchema#string', '_': 'EQ'}.value, ],
}
serializationProfile = {}
__doc__ += '\n Documentation of parent class Conductor: \n' + Conductor.__doc__
def __init__(self, bch = 0.0, gch = 0.0, r = 0.0, x = 0.0, b0ch = 0.0, g0ch = 0.0, r0 = 0.0, shortCircuitEndTemperature = 0.0, x0 = 0.0, *args, **kw_args):
def __init__(self, bch = , gch = , r = , x = , b0ch = , g0ch = , r0 = , shortCircuitEndTemperature = , x0 = , *args, **kw_args):
super().__init__(*args, **kw_args)
self.bch = bch
......
from cimpy.output.Measurement import Measurement
class Accumulator(Measurement):
'''
Accumulator represents an accumulated (counted) Measurement, e.g. an energy value.
:LimitSets: The Measurements using the LimitSet. Default:
:AccumulatorValues: Measurement to which this value is connected. Default:
'''
cgmesProfile = Measurement.cgmesProfile
possibleProfileList = {'class': [cgmesProfile.{'$rdf:datatype': 'http://www.w3.org/2001/XMLSchema#string', '_': 'EQ'}.value, ],
'LimitSets': [cgmesProfile.{'$rdf:datatype': 'http://www.w3.org/2001/XMLSchema#string', '_': 'EQ'}.value, ],
'AccumulatorValues': [cgmesProfile.{'$rdf:datatype': 'http://www.w3.org/2001/XMLSchema#string', '_': 'EQ'}.value, ],
}
serializationProfile = {}
__doc__ += '\n Documentation of parent class Measurement: \n' + Measurement.__doc__
def __init__(self, LimitSets = , AccumulatorValues = , *args, **kw_args):
super().__init__(*args, **kw_args)
self.LimitSets = LimitSets
self.AccumulatorValues = AccumulatorValues
def __str__(self):
str = 'class=Accumulator\n'
attributes = self.__dict__
for key in attributes.keys():
str = str + key + '={}\n'.format(attributes[key])
return str
from cimpy.output.Limit import Limit
class AccumulatorLimit(Limit):
'''
Limit values for Accumulator measurements.
:value: The value to supervise against. The value is positive. Default:
:LimitSet: The limit values used for supervision of Measurements. Default:
'''
cgmesProfile = Limit.cgmesProfile
possibleProfileList = {'class': [cgmesProfile.{'$rdf:datatype': 'http://www.w3.org/2001/XMLSchema#string', '_': 'EQ'}.value, ],
'value': [cgmesProfile.{'$rdf:datatype': 'http://www.w3.org/2001/XMLSchema#string', '_': 'EQ'}.value, ],
'LimitSet': [cgmesProfile.{'$rdf:datatype': 'http://www.w3.org/2001/XMLSchema#string', '_': 'EQ'}.value, ],
}
serializationProfile = {}
__doc__ += '\n Documentation of parent class Limit: \n' + Limit.__doc__
def __init__(self, value = , LimitSet = , *args, **kw_args):
super().__init__(*args, **kw_args)
self.value = value
self.LimitSet = LimitSet
def __str__(self):
str = 'class=AccumulatorLimit\n'
attributes = self.__dict__
for key in attributes.keys():
str = str + key + '={}\n'.format(attributes[key])
return str
from cimpy.output.LimitSet import LimitSet
class AccumulatorLimitSet(LimitSet):
'''
An AccumulatorLimitSet specifies a set of Limits that are associated with an Accumulator measurement.
:Measurements: A measurement may have zero or more limit ranges defined for it. Default:
:Limits: The set of limits. Default:
'''
cgmesProfile = LimitSet.cgmesProfile
possibleProfileList = {'class': [cgmesProfile.{'$rdf:datatype': 'http://www.w3.org/2001/XMLSchema#string', '_': 'EQ'}.value, ],
'Measurements': [cgmesProfile.{'$rdf:datatype': 'http://www.w3.org/2001/XMLSchema#string', '_': 'EQ'}.value, ],
'Limits': [cgmesProfile.{'$rdf:datatype': 'http://www.w3.org/2001/XMLSchema#string', '_': 'EQ'}.value, ],
}
serializationProfile = {}
__doc__ += '\n Documentation of parent class LimitSet: \n' + LimitSet.__doc__
def __init__(self, Measurements = , Limits = , *args, **kw_args):
super().__init__(*args, **kw_args)
self.Measurements = Measurements
self.Limits = Limits
def __str__(self):
str = 'class=AccumulatorLimitSet\n'
attributes = self.__dict__
for key in attributes.keys():
str = str + key + '={}\n'.format(attributes[key])
return str
from cimpy.output.Control import Control
class AccumulatorReset(Control):
'''
This command reset the counter value to zero.
:AccumulatorValue: The accumulator value that is reset by the command. Default:
'''
cgmesProfile = Control.cgmesProfile
possibleProfileList = {'class': [cgmesProfile.{'$rdf:datatype': 'http://www.w3.org/2001/XMLSchema#string', '_': 'EQ'}.value, ],
'AccumulatorValue': [cgmesProfile.{'$rdf:datatype': 'http://www.w3.org/2001/XMLSchema#string', '_': 'EQ'}.value, ],
}
serializationProfile = {}
__doc__ += '\n Documentation of parent class Control: \n' + Control.__doc__
def __init__(self, AccumulatorValue = , *args, **kw_args):
super().__init__(*args, **kw_args)
self.AccumulatorValue = AccumulatorValue
def __str__(self):
str = 'class=AccumulatorReset\n'
attributes = self.__dict__
for key in attributes.keys():
str = str + key + '={}\n'.format(attributes[key])
return str
from cimpy.output.MeasurementValue import MeasurementValue
class AccumulatorValue(MeasurementValue):
'''
AccumulatorValue represents an accumulated (counted) MeasurementValue.
:Accumulator: The values connected to this measurement. Default:
:AccumulatorReset: The command that reset the accumulator value. Default:
:value: The value to supervise. The value is positive. Default:
'''
cgmesProfile = MeasurementValue.cgmesProfile
possibleProfileList = {'class': [cgmesProfile.{'$rdf:datatype': 'http://www.w3.org/2001/XMLSchema#string', '_': 'EQ'}.value, ],
'Accumulator': [cgmesProfile.{'$rdf:datatype': 'http://www.w3.org/2001/XMLSchema#string', '_': 'EQ'}.value, ],
'AccumulatorReset': [cgmesProfile.{'$rdf:datatype': 'http://www.w3.org/2001/XMLSchema#string', '_': 'EQ'}.value, ],
'value': [cgmesProfile.{'$rdf:datatype': 'http://www.w3.org/2001/XMLSchema#string', '_': 'EQ'}.value, ],
}
serializationProfile = {}
__doc__ += '\n Documentation of parent class MeasurementValue: \n' + MeasurementValue.__doc__
def __init__(self, Accumulator = , AccumulatorReset = , value = , *args, **kw_args):
super().__init__(*args, **kw_args)
self.Accumulator = Accumulator
self.AccumulatorReset = AccumulatorReset
self.value = value
def __str__(self):
str = 'class=AccumulatorValue\n'
attributes = self.__dict__
for key in attributes.keys():
str = str + key + '={}\n'.format(attributes[key])
return str
from cimpy.cgmes_v2_4_15.Base import Base
from import Base
class ActivePower(Base):
'''
Product of RMS value of the voltage and the RMS value of the in-phase component of the current.
:value: Default: 0.0
:unit: Default: None
:multiplier: Default: None
:value: Default:
:unit: Default:
:multiplier: Default:
'''
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, ],
'multiplier': [cgmesProfile.DY.value, cgmesProfile.EQ.value, cgmesProfile.SV.value, cgmesProfile.SSH.value, ],
possibleProfileList = {'class': [cgmesProfile.{'$rdf:datatype': 'http://www.w3.org/2001/XMLSchema#string', '_': 'EQ'}.value, cgmesProfile.{'$rdf:datatype': 'http://www.w3.org/2001/XMLSchema#string', '_': 'SSH'}.value, cgmesProfile.{'$rdf:datatype': 'http://www.w3.org/2001/XMLSchema#string', '_': 'SV'}.value, cgmesProfile.{'$rdf:datatype': 'http://www.w3.org/2001/XMLSchema#string', '_': 'DY'}.value, ],
'value': [cgmesProfile.{'$rdf:datatype': 'http://www.w3.org/2001/XMLSchema#string', '_': 'EQ'}.value, cgmesProfile.{'$rdf:datatype': 'http://www.w3.org/2001/XMLSchema#string', '_': 'SSH'}.value, cgmesProfile.{'$rdf:datatype': 'http://www.w3.org/2001/XMLSchema#string', '_': 'SV'}.value, cgmesProfile.{'$rdf:datatype': 'http://www.w3.org/2001/XMLSchema#string', '_': 'DY'}.value, ],
'unit': [cgmesProfile.{'$rdf:datatype': 'http://www.w3.org/2001/XMLSchema#string', '_': 'EQ'}.value, cgmesProfile.{'$rdf:datatype': 'http://www.w3.org/2001/XMLSchema#string', '_': 'SSH'}.value, cgmesProfile.{'$rdf:datatype': 'http://www.w3.org/2001/XMLSchema#string', '_': 'SV'}.value, cgmesProfile.{'$rdf:datatype': 'http://www.w3.org/2001/XMLSchema#string', '_': 'DY'}.value, ],
'multiplier': [cgmesProfile.{'$rdf:datatype': 'http://www.w3.org/2001/XMLSchema#string', '_': 'EQ'}.value, cgmesProfile.{'$rdf:datatype': 'http://www.w3.org/2001/XMLSchema#string', '_': 'SSH'}.value, cgmesProfile.{'$rdf:datatype': 'http://www.w3.org/2001/XMLSchema#string', '_': 'SV'}.value, cgmesProfile.{'$rdf:datatype': 'http://www.w3.org/2001/XMLSchema#string', '_': 'DY'}.value, ],
}
serializationProfile = {}
def __init__(self, value = 0.0, unit = None, multiplier = None, ):
def __init__(self, value = , unit = , multiplier = , ):
self.value = value
self.unit = unit
......
from cimpy.output.OperationalLimit import OperationalLimit
class ActivePowerLimit(OperationalLimit):
'''
Limit on active power flow.
:value: Value of active power limit. Default:
'''
cgmesProfile = OperationalLimit.cgmesProfile
possibleProfileList = {'class': [cgmesProfile.{'$rdf:datatype': 'http://www.w3.org/2001/XMLSchema#string', '_': 'EQ'}.value, ],
'value': [cgmesProfile.{'$rdf:datatype': 'http://www.w3.org/2001/XMLSchema#string', '_': 'EQ'}.value, ],
}
serializationProfile = {}
__doc__ += '\n Documentation of parent class OperationalLimit: \n' + OperationalLimit.__doc__
def __init__(self, value = , *args, **kw_args):
super().__init__(*args, **kw_args)
self.value = value
def __str__(self):
str = 'class=ActivePowerLimit\n'
attributes = self.__dict__
for key in attributes.keys():
str = str + key + '={}\n'.format(attributes[key])
return str
from cimpy.cgmes_v2_4_15.Base import Base
from import Base
class ActivePowerPerCurrentFlow(Base):
'''
:denominatorMultiplier: Default: None
:denominatorUnit: Default: None
:multiplier: Default: None
:unit: Default: None
:value: Default: 0.0
:denominatorMultiplier: Default:
:denominatorUnit: Default:
:multiplier: Default:
:unit: Default:
:value: Default:
'''
cgmesProfile = Base.cgmesProfile
possibleProfileList = {'class': [cgmesProfile.EQ.value, ],
'denominatorMultiplier': [cgmesProfile.EQ.value, ],
'denominatorUnit': [cgmesProfile.EQ.value, ],
'multiplier': [cgmesProfile.EQ.value, ],
'unit': [cgmesProfile.EQ.value, ],
'value': [cgmesProfile.EQ.value, ],
possibleProfileList = {'class': [cgmesProfile.{'$rdf:datatype': 'http://www.w3.org/2001/XMLSchema#string', '_': 'EQ'}.value, ],
'denominatorMultiplier': [cgmesProfile.{'$rdf:datatype': 'http://www.w3.org/2001/XMLSchema#string', '_': 'EQ'}.value, ],
'denominatorUnit': [cgmesProfile.{'$rdf:datatype': 'http://www.w3.org/2001/XMLSchema#string', '_': 'EQ'}.value, ],
'multiplier': [cgmesProfile.{'$rdf:datatype': 'http://www.w3.org/2001/XMLSchema#string', '_'<