Control with delays in a heat-flow system

Use a PID controller and tune its parameters (gain, derivative time and integral time) to achieve a nice and smooth control of the temperature in three different positions along a heat-flow system.

This simulation allows closing the control loop around three different points inside the heat-flow system thanks to the use of three sensors positioned at the beginning, in the middle and at the end of the tube. The heat-flow is a second order system with delays.

This EJS simulation is based on a real system.  The real heat-flow system is used as a remote laboratory for learning purposes and a different application created with EJS (visually identical to this simulation) serves as graphical user interface to operate the remote laboratory.