1 | block TimeProgramEnergyModeFunctionality
|
---|
2 | ScheduleWeekly weeklySchedule(inputIntervalsAndValue = PAR_WSCH);
|
---|
3 | parameter Real[:, 5] PAR_WSCH = {weeklySchedule.startTime, {0, 7, 30, 0, 3.0}};
|
---|
4 | end TimeProgramEnergyModeFunctionality;
|
---|
5 |
|
---|
6 | partial block PartialFunction
|
---|
7 | replaceable PartialFunctionality functionality;
|
---|
8 | end PartialFunction;
|
---|
9 |
|
---|
10 | partial block PartialFunctionality end PartialFunctionality;
|
---|
11 |
|
---|
12 | block ScheduleWeekly
|
---|
13 | parameter Real[5] startTime = {0, 0, 0, 0, 0.0};
|
---|
14 | parameter Real[:, 5] inputIntervalsAndValue = {{0, 8, 11, 0, 0.0}, {0, 8, 11, 0, 0.5}} ;
|
---|
15 | end ScheduleWeekly;
|
---|
16 |
|
---|
17 | block TimeProgramEnergyMode
|
---|
18 | extends PartialFunction(redeclare TimeProgramEnergyModeFunctionality functionality(PAR_WSCH = PAR_WSCH));
|
---|
19 | parameter Real[:, 5] PAR_WSCH = {functionality.weeklySchedule.startTime, {0, 7, 30, 0, 3.0}};
|
---|
20 | end TimeProgramEnergyMode;
|
---|