File Exchange

image thumbnail

Simulink Dual Gravity Drained Tank

version (113 KB) by John Hedengren
Process control simulation tutorial for PID tuning


Updated 04 Oct 2014

View License

Editor's Note: This file was selected as MATLAB Central Pick of the Week

This simulation lab is a dual gravity drained tank as an example of a second order and nonlinear system. Additional information on the application is available with the following video:

The problem statement for the process dynamics and control course (BYU) is located below:

There is also an Excel workbook that allows users to import data from the simulation to fit a first order plus dead time (FOPDT) model. Below is link to other course content that includes other simulation studies in MATLAB and Simulink:

Cite As

John Hedengren (2020). Simulink Dual Gravity Drained Tank (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (3)


Joel Ferry

Joel Ferry


Added figure of the dual tank system

MATLAB Release Compatibility
Created with R2014b
Compatible with any release
Platform Compatibility
Windows macOS Linux