Gravity Drained Tank Model with Experimental Results

Material balance model and experimental results of a gravity drained tank
2.5K Downloads
Updated 1 Jun 2007

View License

This is a simple example of a first-principles model for simulation and control. This is a ONE state differential equation model. I've included the experimental results with the files.

We used this example as a teaching aide for Tom Edgar's control course at the University of Texas at Austin. We used a PID controller and nonlinear MPC (model predictive control) to show the difference in control performance and to review tuning correlations. The PID controller was difficult to tune because of the relatively long process time constant. Nonlinear MPC was outstanding because of the excellent predictive capability of the model.

The gravity drained water tank has a level that is controlled by a valve on the inlet stream. The tank is open to the atmosphere and continuously drains through a short outlet pipe.

More details on this example can be found at:

http://apmonitor.com/water_tank.aspx

Download additional MATLAB nonlinear models and documentation from the Nonlinear Model Database:

http://www.hedengren.net/models.htm

Cite As

John Hedengren (2024). Gravity Drained Tank Model with Experimental Results (https://www.mathworks.com/matlabcentral/fileexchange/15168-gravity-drained-tank-model-with-experimental-results), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2007a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Model Predictive Control Toolbox in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0