WOLFRAM SYSTEM MODELER

MakeProduct

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

Diagram

Wolfram Language

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

Parameters (4)

nSuspend

Value: 1

Type: Integer

Description: Number of suspend ports

nResume

Value: 1

Type: Integer

Description: Number of resume ports

limit

Value: 0.98

Type: Real

Description: Limit level of tank 1

waitTime

Value: 3

Type: Time (s)

Description: Wait time

Outputs (1)

active

Type: Boolean

Description: = true, if step is active, otherwise the step is not active

Connectors (5)

inPort

Type: Step_in

Description: Input port of a step

outPort

Type: Step_out

Description: Output port of a step

suspend

Type: CompositeStep_suspend[nSuspend]

Description: Output port of a step (used for suspend connector of a CompositeStep)

resume

Type: CompositeStep_resume[nResume]

Description: Input port of a step (used for resume connector of a CompositeStep)

level1

Type: RealInput

Description: 'input Real' as connector

Components (12)

stateGraphRoot

Type: CompositeStepState

Description: Communication port between the CompositeStep and the steps within the CompositeStep

outerState

Type: OuterState

Description: Block containing the port that is connected to the outer stateGraphRoot

innerState

Type: InnerState

fillTank1

Type: Step

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

T1

Type: Transition

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

fillTank2

Type: Step

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

T3

Type: Transition

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

emptyTank2

Type: Step

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

wait1

Type: Step

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

T2

Type: Transition

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

wait2

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

Used in Components (1)

TankController

Modelica.StateGraph.Examples.Utilities

Controller for tank system