Block of a controller for set point tracking with a hysteresis element that switches the controller on and off.
If the controller is off, and the control error becomes larger
than eOn, then the controller switches to on and
remains on until the control error is smaller than
eOff. When the controller is on, the set point
tracking can be done using a P-, PI-, or PID-controller. In its
off-mode, the control output is zero. Thus, the parameters
yMin and yMax are used to constrain the
output of the controller during its on mode only. This can be used,
for example, to modulate a device between 0.3 and 1.0, and switch
it to off when the control error is small enough.
Modified from IBPSA Library