Controller that outputs the commanded position for the valve that diverts the return water to the middle or bottom of the tank.
The controller changes its commanded valve position continuously between 0 and 1.
If the measured temperature TRet
is below TSwi
, the output is
0, otherwise it is 1. The controller has a hysteresis of 2 Kelvin.