Source code for cimpy.cgmes_v2_4_15.LoadUserDefined

from .LoadDynamics import LoadDynamics


[docs]class LoadUserDefined(LoadDynamics): ''' Load whose dynamic behaviour is described by a user-defined model. :proprietary: Behaviour is based on proprietary model as opposed to detailed model. true = user-defined model is proprietary with behaviour mutually understood by sending and receiving applications and parameters passed as general attributes false = user-defined model is explicitly defined in terms of control blocks and their input and output signals. Default: False :ProprietaryParameterDynamics: Parameter of this proprietary user-defined model. Default: "list" ''' cgmesProfile = LoadDynamics.cgmesProfile possibleProfileList = {'class': [cgmesProfile.DY.value, ], 'proprietary': [cgmesProfile.DY.value, ], 'ProprietaryParameterDynamics': [cgmesProfile.DY.value, ], } serializationProfile = {} __doc__ += '\n Documentation of parent class LoadDynamics: \n' + LoadDynamics.__doc__ def __init__(self, proprietary = False, ProprietaryParameterDynamics = "list", *args, **kw_args): super().__init__(*args, **kw_args) self.proprietary = proprietary self.ProprietaryParameterDynamics = ProprietaryParameterDynamics def __str__(self): str = 'class=LoadUserDefined\n' attributes = self.__dict__ for key in attributes.keys(): str = str + key + '={}\n'.format(attributes[key]) return str