Source code for cimpy.cgmes_v2_4_15.EarthFaultCompensator

from .ConductingEquipment import ConductingEquipment


[docs]class EarthFaultCompensator(ConductingEquipment): ''' A conducting equipment used to represent a connection to ground which is typically used to compensate earth faults.. An earth fault compensator device modeled with a single terminal implies a second terminal solidly connected to ground. If two terminals are modeled, the ground is not assumed and normal connection rules apply. :r: Nominal resistance of device. Default: 0.0 ''' cgmesProfile = ConductingEquipment.cgmesProfile possibleProfileList = {'class': [cgmesProfile.EQ.value, ], 'r': [cgmesProfile.EQ.value, ], } serializationProfile = {} __doc__ += '\n Documentation of parent class ConductingEquipment: \n' + ConductingEquipment.__doc__ def __init__(self, r = 0.0, *args, **kw_args): super().__init__(*args, **kw_args) self.r = r def __str__(self): str = 'class=EarthFaultCompensator\n' attributes = self.__dict__ for key in attributes.keys(): str = str + key + '={}\n'.format(attributes[key]) return str