ControlledTanksDemonstrating the controller of a tank filling/emptying system |
This information is part of the Modelica Standard Library maintained by the Modelica Association.
With this example, the controller of a tank filling/emptying system is demonstrated.
The basic operation is to fill and empty the two tanks:
The above "normal" process can be influenced by three buttons:
The demo-run uses the following button presses:
This example is based on
tankController |
Type: TankController |
|
---|---|---|
start |
Type: RadioButton |
|
stop |
Type: RadioButton |
|
shut |
Type: RadioButton |
|
valve1 |
Type: ValveDiscrete |
|
tank1 |
Type: OpenTank |
|
level1 |
Type: RealExpression |
|
valve2 |
Type: ValveDiscrete |
|
valve3 |
Type: ValveDiscrete |
|
tank2 |
Type: OpenTank |
|
ambient1 |
Type: Boundary_pT |
|
level2 |
Type: RealExpression |
|
source |
Type: Boundary_pT |
|
system |
Type: System |