blob: 8780838a079f319edb3db0720e761dbcc047fa9a [file] [log] [blame]
VAR ramp_mode : { RAMPING_DOWN, RAMPING_DONE };
ASSIGN
init(ramp_mode) := RAMPING_DOWN;
next(ramp_mode) := case
is_nominal: RAMPING_DOWN;
is_fault & varout - decr > end_value: RAMPING_DOWN;
TRUE: RAMPING_DONE;
esac;