WOLFRAM SYSTEMMODELER

TankPID

A tank controlled by a PID controller

Diagram

Wolfram Language

In[1]:=
Click for copyable input
SystemModel["IntroductoryExamples.Hierarchical.TankPID"]
Out[1]:=

Information

This is a component based model of the following one-tank system with a PID controller:

The input flow is given by the LiquidSource component and is constant the first 150 seconds and then triples. By controlling the output flow from the tank with a PID controller the tank level is held at a desired reference value ref.

We simulate for 350 seconds again and compare with the results from the PI controlled system:

For a step by step tutorial see Hierarchical Model—Tank System.

Components (3)

tank

Type: Tank

Description:

pidControl

Type: PIDController

Description:

source

Type: LiquidSource

Description: