ActivePowerPerFrequency.py 1.11 KB
Newer Older
1
from cimpy.cgmes_v2_4_15.Base import Base
2
3
4
5
6
7
8
9
10
11
12
13
14


class ActivePowerPerFrequency(Base):
	'''
	Active power variation with frequency.

	:denominatorMultiplier:  Default: None
	:denominatorUnit:  Default: None
	:multiplier:  Default: None
	:unit:  Default: None
	:value:  Default: 0.0
		'''

15
16
	cgmesProfile = Base.cgmesProfile

Philipp Reuber's avatar
Philipp Reuber committed
17
18
19
20
21
22
23
24
	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, ],
						 }

25
	serializationProfile = {}
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42

	

	def __init__(self, denominatorMultiplier = None, denominatorUnit = None, multiplier = None, unit = None, value = 0.0,  ):
	
		self.denominatorMultiplier = denominatorMultiplier
		self.denominatorUnit = denominatorUnit
		self.multiplier = multiplier
		self.unit = unit
		self.value = value
		
	def __str__(self):
		str = 'class=ActivePowerPerFrequency\n'
		attributes = self.__dict__
		for key in attributes.keys():
			str = str + key + '={}\n'.format(attributes[key])
		return str