The AixLib.Controls.Continuous.PITemp model used in the Ideal Heaters will output a spike higher than the min output value on the switch from on to off even if the measured value is constantly above the set point. This should not be the case and is caused by setting the measured value to the set value, which makes the P-value of the PI-Controller zero, but numeric problems cause a small I-value, which is normally compensated by the P-value when the measured value is higher than the set point. The output value goes back to zero because of the triggeredTrapezoid block, whose parameters are not propagated to the top level.
To solve this behavior, the PI block should always get the real measured value, and the triggeredTrapezoid block should bring the continuous PI controller output to zero.
The
AixLib.Controls.Continuous.PITempmodel used in the Ideal Heaters will output a spike higher than the min output value on the switch from on to off even if the measured value is constantly above the set point. This should not be the case and is caused by setting the measured value to the set value, which makes the P-value of the PI-Controller zero, but numeric problems cause a small I-value, which is normally compensated by the P-value when the measured value is higher than the set point. The output value goes back to zero because of thetriggeredTrapezoidblock, whose parameters are not propagated to the top level.To solve this behavior, the PI block should always get the real measured value, and the
triggeredTrapezoidblock should bring the continuous PI controller output to zero.