Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add generation of CGMES profile class #39

Merged
Merged
Changes from 1 commit
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
Prev Previous commit
Next Next commit
Update generated python files (add recommended class profile to all g…
…enerated classes)

Signed-off-by: Thomas Günther <[email protected]>
tom-hg57 committed Aug 15, 2024
commit 291d73a196115d2eb3efa1c960030aa7d4895642
2 changes: 2 additions & 0 deletions cimpy/cgmes_v2_4_15/ACDCConverter.py
Original file line number Diff line number Diff line change
@@ -52,6 +52,8 @@ class ACDCConverter(ConductingEquipment):

serializationProfile = {}

recommendedClassProfile = Profile.EQ.value

__doc__ += "\nDocumentation of parent class ConductingEquipment:\n" + ConductingEquipment.__doc__

def __init__(self, DCTerminals = "list", PccTerminal = None, baseS = 0.0, idc = 0.0, idleLoss = 0.0, maxUdc = 0.0, minUdc = 0.0, numberOfValves = 0, p = 0.0, poleLossP = 0.0, q = 0.0, ratedUdc = 0.0, resistiveLoss = 0.0, switchingLoss = 0.0, targetPpcc = 0.0, targetUdc = 0.0, uc = 0.0, udc = 0.0, valveU0 = 0.0, *args, **kw_args):
2 changes: 2 additions & 0 deletions cimpy/cgmes_v2_4_15/ACDCConverterDCTerminal.py
Original file line number Diff line number Diff line change
@@ -18,6 +18,8 @@ class ACDCConverterDCTerminal(DCBaseTerminal):

serializationProfile = {}

recommendedClassProfile = Profile.EQ.value

__doc__ += "\nDocumentation of parent class DCBaseTerminal:\n" + DCBaseTerminal.__doc__

def __init__(self, DCConductingEquipment = None, polarity = None, *args, **kw_args):
2 changes: 2 additions & 0 deletions cimpy/cgmes_v2_4_15/ACDCTerminal.py
Original file line number Diff line number Diff line change
@@ -24,6 +24,8 @@ class ACDCTerminal(IdentifiedObject):

serializationProfile = {}

recommendedClassProfile = Profile.EQ.value

__doc__ += "\nDocumentation of parent class IdentifiedObject:\n" + IdentifiedObject.__doc__

def __init__(self, BusNameMarker = None, Measurements = "list", OperationalLimitSet = "list", connected = False, sequenceNumber = 0, *args, **kw_args):
2 changes: 2 additions & 0 deletions cimpy/cgmes_v2_4_15/ACLineSegment.py
Original file line number Diff line number Diff line change
@@ -32,6 +32,8 @@ class ACLineSegment(Conductor):

serializationProfile = {}

recommendedClassProfile = Profile.EQ.value

__doc__ += "\nDocumentation of parent class Conductor:\n" + Conductor.__doc__

def __init__(self, b0ch = 0.0, bch = 0.0, g0ch = 0.0, gch = 0.0, r = 0.0, r0 = 0.0, shortCircuitEndTemperature = 0.0, x = 0.0, x0 = 0.0, *args, **kw_args):
2 changes: 2 additions & 0 deletions cimpy/cgmes_v2_4_15/Accumulator.py
Original file line number Diff line number Diff line change
@@ -18,6 +18,8 @@ class Accumulator(Measurement):

serializationProfile = {}

recommendedClassProfile = Profile.EQ.value

__doc__ += "\nDocumentation of parent class Measurement:\n" + Measurement.__doc__

def __init__(self, AccumulatorValues = "list", LimitSets = "list", *args, **kw_args):
2 changes: 2 additions & 0 deletions cimpy/cgmes_v2_4_15/AccumulatorLimit.py
Original file line number Diff line number Diff line change
@@ -18,6 +18,8 @@ class AccumulatorLimit(Limit):

serializationProfile = {}

recommendedClassProfile = Profile.EQ.value

__doc__ += "\nDocumentation of parent class Limit:\n" + Limit.__doc__

def __init__(self, LimitSet = None, value = 0, *args, **kw_args):
2 changes: 2 additions & 0 deletions cimpy/cgmes_v2_4_15/AccumulatorLimitSet.py
Original file line number Diff line number Diff line change
@@ -18,6 +18,8 @@ class AccumulatorLimitSet(LimitSet):

serializationProfile = {}

recommendedClassProfile = Profile.EQ.value

__doc__ += "\nDocumentation of parent class LimitSet:\n" + LimitSet.__doc__

def __init__(self, Limits = "list", Measurements = "list", *args, **kw_args):
2 changes: 2 additions & 0 deletions cimpy/cgmes_v2_4_15/AccumulatorReset.py
Original file line number Diff line number Diff line change
@@ -16,6 +16,8 @@ class AccumulatorReset(Control):

serializationProfile = {}

recommendedClassProfile = Profile.EQ.value

__doc__ += "\nDocumentation of parent class Control:\n" + Control.__doc__

def __init__(self, AccumulatorValue = None, *args, **kw_args):
2 changes: 2 additions & 0 deletions cimpy/cgmes_v2_4_15/AccumulatorValue.py
Original file line number Diff line number Diff line change
@@ -20,6 +20,8 @@ class AccumulatorValue(MeasurementValue):

serializationProfile = {}

recommendedClassProfile = Profile.EQ.value

__doc__ += "\nDocumentation of parent class MeasurementValue:\n" + MeasurementValue.__doc__

def __init__(self, Accumulator = None, AccumulatorReset = None, value = 0, *args, **kw_args):
2 changes: 2 additions & 0 deletions cimpy/cgmes_v2_4_15/ActivePower.py
Original file line number Diff line number Diff line change
@@ -20,6 +20,8 @@ class ActivePower(Base):

serializationProfile = {}

recommendedClassProfile = Profile.EQ.value


def __init__(self, multiplier = None, unit = None, value = 0.0):

2 changes: 2 additions & 0 deletions cimpy/cgmes_v2_4_15/ActivePowerLimit.py
Original file line number Diff line number Diff line change
@@ -16,6 +16,8 @@ class ActivePowerLimit(OperationalLimit):

serializationProfile = {}

recommendedClassProfile = Profile.EQ.value

__doc__ += "\nDocumentation of parent class OperationalLimit:\n" + OperationalLimit.__doc__

def __init__(self, value = 0.0, *args, **kw_args):
2 changes: 2 additions & 0 deletions cimpy/cgmes_v2_4_15/ActivePowerPerCurrentFlow.py
Original file line number Diff line number Diff line change
@@ -24,6 +24,8 @@ class ActivePowerPerCurrentFlow(Base):

serializationProfile = {}

recommendedClassProfile = Profile.EQ.value


def __init__(self, denominatorMultiplier = None, denominatorUnit = None, multiplier = None, unit = None, value = 0.0):

2 changes: 2 additions & 0 deletions cimpy/cgmes_v2_4_15/ActivePowerPerFrequency.py
Original file line number Diff line number Diff line change
@@ -24,6 +24,8 @@ class ActivePowerPerFrequency(Base):

serializationProfile = {}

recommendedClassProfile = Profile.EQ.value


def __init__(self, denominatorMultiplier = None, denominatorUnit = None, multiplier = None, unit = None, value = 0.0):

2 changes: 2 additions & 0 deletions cimpy/cgmes_v2_4_15/Analog.py
Original file line number Diff line number Diff line change
@@ -20,6 +20,8 @@ class Analog(Measurement):

serializationProfile = {}

recommendedClassProfile = Profile.EQ.value

__doc__ += "\nDocumentation of parent class Measurement:\n" + Measurement.__doc__

def __init__(self, AnalogValues = "list", LimitSets = "list", positiveFlowIn = False, *args, **kw_args):
2 changes: 2 additions & 0 deletions cimpy/cgmes_v2_4_15/AnalogControl.py
Original file line number Diff line number Diff line change
@@ -20,6 +20,8 @@ class AnalogControl(Control):

serializationProfile = {}

recommendedClassProfile = Profile.EQ.value

__doc__ += "\nDocumentation of parent class Control:\n" + Control.__doc__

def __init__(self, AnalogValue = None, maxValue = 0.0, minValue = 0.0, *args, **kw_args):
2 changes: 2 additions & 0 deletions cimpy/cgmes_v2_4_15/AnalogLimit.py
Original file line number Diff line number Diff line change
@@ -18,6 +18,8 @@ class AnalogLimit(Limit):

serializationProfile = {}

recommendedClassProfile = Profile.EQ.value

__doc__ += "\nDocumentation of parent class Limit:\n" + Limit.__doc__

def __init__(self, LimitSet = None, value = 0.0, *args, **kw_args):
2 changes: 2 additions & 0 deletions cimpy/cgmes_v2_4_15/AnalogLimitSet.py
Original file line number Diff line number Diff line change
@@ -18,6 +18,8 @@ class AnalogLimitSet(LimitSet):

serializationProfile = {}

recommendedClassProfile = Profile.EQ.value

__doc__ += "\nDocumentation of parent class LimitSet:\n" + LimitSet.__doc__

def __init__(self, Limits = "list", Measurements = "list", *args, **kw_args):
2 changes: 2 additions & 0 deletions cimpy/cgmes_v2_4_15/AnalogValue.py
Original file line number Diff line number Diff line change
@@ -20,6 +20,8 @@ class AnalogValue(MeasurementValue):

serializationProfile = {}

recommendedClassProfile = Profile.EQ.value

__doc__ += "\nDocumentation of parent class MeasurementValue:\n" + MeasurementValue.__doc__

def __init__(self, Analog = None, AnalogControl = None, value = 0.0, *args, **kw_args):
2 changes: 2 additions & 0 deletions cimpy/cgmes_v2_4_15/AngleDegrees.py
Original file line number Diff line number Diff line change
@@ -20,6 +20,8 @@ class AngleDegrees(Base):

serializationProfile = {}

recommendedClassProfile = Profile.EQ.value


def __init__(self, multiplier = None, unit = None, value = 0.0):

2 changes: 2 additions & 0 deletions cimpy/cgmes_v2_4_15/AngleRadians.py
Original file line number Diff line number Diff line change
@@ -20,6 +20,8 @@ class AngleRadians(Base):

serializationProfile = {}

recommendedClassProfile = Profile.EQ.value


def __init__(self, multiplier = None, unit = None, value = 0.0):

2 changes: 2 additions & 0 deletions cimpy/cgmes_v2_4_15/ApparentPower.py
Original file line number Diff line number Diff line change
@@ -20,6 +20,8 @@ class ApparentPower(Base):

serializationProfile = {}

recommendedClassProfile = Profile.EQ.value


def __init__(self, multiplier = None, unit = None, value = 0.0):

2 changes: 2 additions & 0 deletions cimpy/cgmes_v2_4_15/ApparentPowerLimit.py
Original file line number Diff line number Diff line change
@@ -16,6 +16,8 @@ class ApparentPowerLimit(OperationalLimit):

serializationProfile = {}

recommendedClassProfile = Profile.EQ.value

__doc__ += "\nDocumentation of parent class OperationalLimit:\n" + OperationalLimit.__doc__

def __init__(self, value = 0.0, *args, **kw_args):
2 changes: 2 additions & 0 deletions cimpy/cgmes_v2_4_15/Area.py
Original file line number Diff line number Diff line change
@@ -20,6 +20,8 @@ class Area(Base):

serializationProfile = {}

recommendedClassProfile = Profile.DY.value


def __init__(self, multiplier = None, unit = None, value = 0.0):

2 changes: 2 additions & 0 deletions cimpy/cgmes_v2_4_15/AsynchronousMachine.py
Original file line number Diff line number Diff line change
@@ -36,6 +36,8 @@ class AsynchronousMachine(RotatingMachine):

serializationProfile = {}

recommendedClassProfile = Profile.EQ.value

__doc__ += "\nDocumentation of parent class RotatingMachine:\n" + RotatingMachine.__doc__

def __init__(self, AsynchronousMachineDynamics = None, asynchronousMachineType = None, converterFedDrive = False, efficiency = 0.0, iaIrRatio = 0.0, nominalFrequency = 0.0, nominalSpeed = 0.0, polePairNumber = 0, ratedMechanicalPower = 0.0, reversible = False, rxLockedRotorRatio = 0.0, *args, **kw_args):
2 changes: 2 additions & 0 deletions cimpy/cgmes_v2_4_15/AsynchronousMachineDynamics.py
Original file line number Diff line number Diff line change
@@ -22,6 +22,8 @@ class AsynchronousMachineDynamics(RotatingMachineDynamics):

serializationProfile = {}

recommendedClassProfile = Profile.DY.value

__doc__ += "\nDocumentation of parent class RotatingMachineDynamics:\n" + RotatingMachineDynamics.__doc__

def __init__(self, AsynchronousMachine = None, MechanicalLoadDynamics = None, TurbineGovernorDynamics = None, WindTurbineType1or2Dynamics = None, *args, **kw_args):
2 changes: 2 additions & 0 deletions cimpy/cgmes_v2_4_15/AsynchronousMachineEquivalentCircuit.py
Original file line number Diff line number Diff line change
@@ -24,6 +24,8 @@ class AsynchronousMachineEquivalentCircuit(AsynchronousMachineDynamics):

serializationProfile = {}

recommendedClassProfile = Profile.DY.value

__doc__ += "\nDocumentation of parent class AsynchronousMachineDynamics:\n" + AsynchronousMachineDynamics.__doc__

def __init__(self, rr1 = 0.0, rr2 = 0.0, xlr1 = 0.0, xlr2 = 0.0, xm = 0.0, *args, **kw_args):
2 changes: 2 additions & 0 deletions cimpy/cgmes_v2_4_15/AsynchronousMachineKind.py
Original file line number Diff line number Diff line change
@@ -14,6 +14,8 @@ class AsynchronousMachineKind(Base):

serializationProfile = {}

recommendedClassProfile = Profile.SSH.value


def __init__(self):

Original file line number Diff line number Diff line change
@@ -24,6 +24,8 @@ class AsynchronousMachineTimeConstantReactance(AsynchronousMachineDynamics):

serializationProfile = {}

recommendedClassProfile = Profile.DY.value

__doc__ += "\nDocumentation of parent class AsynchronousMachineDynamics:\n" + AsynchronousMachineDynamics.__doc__

def __init__(self, tpo = 0.0, tppo = 0.0, xp = 0.0, xpp = 0.0, xs = 0.0, *args, **kw_args):
2 changes: 2 additions & 0 deletions cimpy/cgmes_v2_4_15/AsynchronousMachineUserDefined.py
Original file line number Diff line number Diff line change
@@ -18,6 +18,8 @@ class AsynchronousMachineUserDefined(AsynchronousMachineDynamics):

serializationProfile = {}

recommendedClassProfile = Profile.DY.value

__doc__ += "\nDocumentation of parent class AsynchronousMachineDynamics:\n" + AsynchronousMachineDynamics.__doc__

def __init__(self, ProprietaryParameterDynamics = "list", proprietary = False, *args, **kw_args):
2 changes: 2 additions & 0 deletions cimpy/cgmes_v2_4_15/BaseVoltage.py
Original file line number Diff line number Diff line change
@@ -24,6 +24,8 @@ class BaseVoltage(IdentifiedObject):

serializationProfile = {}

recommendedClassProfile = Profile.EQ.value

__doc__ += "\nDocumentation of parent class IdentifiedObject:\n" + IdentifiedObject.__doc__

def __init__(self, ConductingEquipment = "list", TopologicalNode = "list", TransformerEnds = "list", VoltageLevel = "list", nominalVoltage = 0.0, *args, **kw_args):
2 changes: 2 additions & 0 deletions cimpy/cgmes_v2_4_15/BasicIntervalSchedule.py
Original file line number Diff line number Diff line change
@@ -20,6 +20,8 @@ class BasicIntervalSchedule(IdentifiedObject):

serializationProfile = {}

recommendedClassProfile = Profile.EQ.value

__doc__ += "\nDocumentation of parent class IdentifiedObject:\n" + IdentifiedObject.__doc__

def __init__(self, startTime = '', value1Unit = None, value2Unit = None, *args, **kw_args):
2 changes: 2 additions & 0 deletions cimpy/cgmes_v2_4_15/Bay.py
Original file line number Diff line number Diff line change
@@ -16,6 +16,8 @@ class Bay(EquipmentContainer):

serializationProfile = {}

recommendedClassProfile = Profile.EQ.value

__doc__ += "\nDocumentation of parent class EquipmentContainer:\n" + EquipmentContainer.__doc__

def __init__(self, VoltageLevel = None, *args, **kw_args):
2 changes: 2 additions & 0 deletions cimpy/cgmes_v2_4_15/Boolean.py
Original file line number Diff line number Diff line change
@@ -14,6 +14,8 @@ class Boolean(Base):

serializationProfile = {}

recommendedClassProfile = Profile.EQ.value


def __init__(self):

2 changes: 2 additions & 0 deletions cimpy/cgmes_v2_4_15/Breaker.py
Original file line number Diff line number Diff line change
@@ -14,6 +14,8 @@ class Breaker(ProtectedSwitch):

serializationProfile = {}

recommendedClassProfile = Profile.EQ.value

__doc__ += "\nDocumentation of parent class ProtectedSwitch:\n" + ProtectedSwitch.__doc__

def __init__(self, *args, **kw_args):
2 changes: 2 additions & 0 deletions cimpy/cgmes_v2_4_15/BusNameMarker.py
Original file line number Diff line number Diff line change
@@ -20,6 +20,8 @@ class BusNameMarker(IdentifiedObject):

serializationProfile = {}

recommendedClassProfile = Profile.EQ.value

__doc__ += "\nDocumentation of parent class IdentifiedObject:\n" + IdentifiedObject.__doc__

def __init__(self, ReportingGroup = None, Terminal = "list", priority = 0, *args, **kw_args):
2 changes: 2 additions & 0 deletions cimpy/cgmes_v2_4_15/BusbarSection.py
Original file line number Diff line number Diff line change
@@ -16,6 +16,8 @@ class BusbarSection(Connector):

serializationProfile = {}

recommendedClassProfile = Profile.EQ.value

__doc__ += "\nDocumentation of parent class Connector:\n" + Connector.__doc__

def __init__(self, ipMax = 0.0, *args, **kw_args):
2 changes: 2 additions & 0 deletions cimpy/cgmes_v2_4_15/Capacitance.py
Original file line number Diff line number Diff line change
@@ -20,6 +20,8 @@ class Capacitance(Base):

serializationProfile = {}

recommendedClassProfile = Profile.EQ.value


def __init__(self, multiplier = None, unit = None, value = 0.0):

2 changes: 2 additions & 0 deletions cimpy/cgmes_v2_4_15/CapacitancePerLength.py
Original file line number Diff line number Diff line change
@@ -24,6 +24,8 @@ class CapacitancePerLength(Base):

serializationProfile = {}

recommendedClassProfile = Profile.EQ.value


def __init__(self, denominatorMultiplier = None, denominatorUnit = None, multiplier = None, unit = None, value = 0.0):

2 changes: 2 additions & 0 deletions cimpy/cgmes_v2_4_15/Command.py
Original file line number Diff line number Diff line change
@@ -22,6 +22,8 @@ class Command(Control):

serializationProfile = {}

recommendedClassProfile = Profile.EQ.value

__doc__ += "\nDocumentation of parent class Control:\n" + Control.__doc__

def __init__(self, DiscreteValue = None, ValueAliasSet = None, normalValue = 0, value = 0, *args, **kw_args):
2 changes: 2 additions & 0 deletions cimpy/cgmes_v2_4_15/Conductance.py
Original file line number Diff line number Diff line change
@@ -20,6 +20,8 @@ class Conductance(Base):

serializationProfile = {}

recommendedClassProfile = Profile.EQ.value


def __init__(self, multiplier = None, unit = None, value = 0.0):

2 changes: 2 additions & 0 deletions cimpy/cgmes_v2_4_15/ConductingEquipment.py
Original file line number Diff line number Diff line change
@@ -20,6 +20,8 @@ class ConductingEquipment(Equipment):

serializationProfile = {}

recommendedClassProfile = Profile.EQ.value

__doc__ += "\nDocumentation of parent class Equipment:\n" + Equipment.__doc__

def __init__(self, BaseVoltage = None, SvStatus = None, Terminals = "list", *args, **kw_args):
2 changes: 2 additions & 0 deletions cimpy/cgmes_v2_4_15/Conductor.py
Original file line number Diff line number Diff line change
@@ -16,6 +16,8 @@ class Conductor(ConductingEquipment):

serializationProfile = {}

recommendedClassProfile = Profile.EQ.value

__doc__ += "\nDocumentation of parent class ConductingEquipment:\n" + ConductingEquipment.__doc__

def __init__(self, length = 0.0, *args, **kw_args):
2 changes: 2 additions & 0 deletions cimpy/cgmes_v2_4_15/ConformLoad.py
Original file line number Diff line number Diff line change
@@ -16,6 +16,8 @@ class ConformLoad(EnergyConsumer):

serializationProfile = {}

recommendedClassProfile = Profile.EQ.value

__doc__ += "\nDocumentation of parent class EnergyConsumer:\n" + EnergyConsumer.__doc__

def __init__(self, LoadGroup = None, *args, **kw_args):
2 changes: 2 additions & 0 deletions cimpy/cgmes_v2_4_15/ConformLoadGroup.py
Original file line number Diff line number Diff line change
@@ -18,6 +18,8 @@ class ConformLoadGroup(LoadGroup):

serializationProfile = {}

recommendedClassProfile = Profile.EQ.value

__doc__ += "\nDocumentation of parent class LoadGroup:\n" + LoadGroup.__doc__

def __init__(self, ConformLoadSchedules = "list", EnergyConsumers = "list", *args, **kw_args):
Loading