Double Tank Process Simulation in Matlab
You can solve the assignments in the manual by using the simulation of the process and controller, which looks like this:
The simulation is a Matlab script, which can be downloaded here: tank_sim.m Download tank_sim.m Instructions of how to get it working are given below:
- If you don't have Matlab installed on your computer, download it from here: Software LTH Links to an external site. and install it.
- Download the simulation script file tank_sim.m Download tank_sim.m and open it in Matlab.
- Make sure that the file path
is set to where you saved the script file.
- Click the "Run" button.
If any problems appear, you can try to close the window and run the script again.
Speed-up option
With the buttons "2x Speed" and "3x Speed", you can speed up the simulation 2 or 3 times. If you activate both at the same time, you will speed it up 6 times.