from .BasicIntervalSchedule import BasicIntervalSchedule
[docs]class RegularIntervalSchedule(BasicIntervalSchedule):
'''
The schedule has time points where the time between them is constant.
:timeStep: The time between each pair of subsequent regular time points in sequence order. Default: 0
:endTime: The time for the last time point. Default: ''
:TimePoints: The regular interval time point data values that define this schedule. Default: "list"
'''
cgmesProfile = BasicIntervalSchedule.cgmesProfile
possibleProfileList = {'class': [cgmesProfile.EQ.value, ],
'timeStep': [cgmesProfile.EQ.value, ],
'endTime': [cgmesProfile.EQ.value, ],
'TimePoints': [cgmesProfile.EQ.value, ],
}
serializationProfile = {}
__doc__ += '\n Documentation of parent class BasicIntervalSchedule: \n' + BasicIntervalSchedule.__doc__
def __init__(self, timeStep = 0, endTime = '', TimePoints = "list", *args, **kw_args):
super().__init__(*args, **kw_args)
self.timeStep = timeStep
self.endTime = endTime
self.TimePoints = TimePoints
def __str__(self):
str = 'class=RegularIntervalSchedule\n'
attributes = self.__dict__
for key in attributes.keys():
str = str + key + '={}\n'.format(attributes[key])
return str