WOLFRAM SYSTEM MODELER

TankPID

A tank controlled by a PID controller

Diagram

Wolfram Language

In[1]:=
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:

Components (3)

tank

Type: Tank

Description: Model of a simple tank holding liquid

pidControl

Type: PIDController

Description: Elementary PID controller

source

Type: LiquidSource

Description: Source of liquid with varying output