WOLFRAM SYSTEM MODELER
TankPIDA tank controlled by a PID controller |
SystemModel["IntroductoryExamples.Hierarchical.TankPID"]
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:
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 |