WOLFRAM SYSTEM MODELER
ControlledTanksDemonstrating the controller of a tank filling/emptying system |
![]() |
SystemModel["Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks"]
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 Description: Controller for tank system |
---|---|---|
![]() |
start |
Type: RadioButtonSource Description: Boolean signal source that mimics a radio button |
![]() |
stop |
Type: RadioButtonSource Description: Boolean signal source that mimics a radio button |
![]() |
shut |
Type: RadioButtonSource Description: Boolean signal source that mimics a radio button |
![]() |
valve1 |
Type: ValveDiscrete Description: Valve for water/steam flows with linear pressure drop |
![]() |
tank1 |
Type: OpenTank Description: Simple tank with inlet/outlet ports |
![]() |
level1 |
Type: RealExpression Description: Set output signal to a time varying Real expression |
![]() |
valve2 |
Type: ValveDiscrete Description: Valve for water/steam flows with linear pressure drop |
![]() |
valve3 |
Type: ValveDiscrete Description: Valve for water/steam flows with linear pressure drop |
![]() |
tank2 |
Type: OpenTank Description: Simple tank with inlet/outlet ports |
![]() |
ambient1 |
Type: Boundary_pT Description: Boundary with prescribed pressure, temperature, composition and trace substances |
![]() |
level2 |
Type: RealExpression Description: Set output signal to a time varying Real expression |
![]() |
source |
Type: Boundary_pT Description: Boundary with prescribed pressure, temperature, composition and trace substances |
![]() |
system |
Type: System Description: System properties and default values (ambient, flow direction, initialization) |