This example demostrates how to model "shell and tube heat exchanger" using ordinary differential equations. No control system is designed in this example, this is an open loop example.
However, if you are looking to design the shell and tube heat exchanger with control system, you may refers to my academia article:
How to model the ODE from your journal or textbook in MATLAB and Simulink
Hint how to develop control system and GUI for your ODE model
Product Focus :
Kevin Chng (2019). Designing an ODE Model in MATLAB and Simulink (https://www.mathworks.com/matlabcentral/fileexchange/71816-designing-an-ode-model-in-matlab-and-simulink), MATLAB Central File Exchange. Retrieved .