WOLFRAM SYSTEM MODELER

TankController

Controller for tank system

Diagram

Wolfram Language

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

Parameters (2)

limit

Value: 0.98

Type: Real

Description: Limit level of tank 1

waitTime

Value: 3

Type: Time (s)

Description: Wait time

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 (13)

s1

Type: InitialStep

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

makeProduct

Type: MakeProduct

Description: State machine defining the time instants when to fill or empty a tank

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

Used in Examples (1)

ControlledTanks

Modelica.StateGraph.Examples

Demonstrating the controller of a tank filling/emptying system