WOLFRAM SYSTEM MODELER

TankController

Controller for tank system

Diagram

Wolfram Language

In[1]:=
SystemModel["Modelica.Fluid.Examples.ControlledTankSystem.Utilities.TankController"]
Out[1]:=

Parameters (3)

maxLevel

Value:

Type: Height (m)

Description: Fill level of tank 1

minLevel

Value:

Type: Height (m)

Description: Lowest level of tank 1 and 2

waitTime

Value:

Type: Time (s)

Description: Wait time, between operations

Connectors (8)

start

Type: BooleanInput

Description: 'input Boolean' as connector

stop

Type: BooleanInput

Description: 'input Boolean' as connector

shut

Type: BooleanInput

Description: 'input Boolean' as connector

level1

Type: RealInput

Description: 'input Real' as connector

level2

Type: RealInput

Description: 'input Real' as connector

valve1

Type: BooleanOutput

Description: 'output Boolean' as connector

valve2

Type: BooleanOutput

Description: 'output Boolean' as connector

valve3

Type: BooleanOutput

Description: 'output Boolean' as connector

Components (14)

s1

Type: InitialStep

Description: Initial step (= step that is active when simulation starts)

normal

Type: NormalOperation

Description: Normal operation of tank system (button start pressed)

T1

Type: Transition

Description: Transition where the fire condition is set by a modification of variable condition

T2

Type: Transition

Description: Transition where the fire condition is set by a modification of variable condition

T3

Type: Transition

Description: Transition where the fire condition is set by a modification of variable condition

s2

Type: Step

Description: Ordinary step (= step that is not active when simulation starts)

T4

Type: Transition

Description: Transition where the fire condition is set by a modification of variable condition

T5

Type: Transition

Description: Transition where the fire condition is set by a modification of variable condition

emptyTanks

Type: Step

Description: Ordinary step (= step that is not active when simulation starts)

T6

Type: Transition

Description: Transition where the fire condition is set by a modification of variable condition

setValve1

Type: BooleanExpression

Description: Set output signal to a time varying Boolean expression

setValve2

Type: BooleanExpression

Description: Set output signal to a time varying Boolean expression

setValve3

Type: BooleanExpression

Description: Set output signal to a time varying Boolean expression

stateGraphRoot

Type: StateGraphRoot

Description: Root of a StateGraph (has to be present on the highest level of a StateGraph)

Used in Examples (1)

ControlledTanks

Modelica.Fluid.Examples.ControlledTankSystem

Demonstrating the controller of a tank filling/emptying system