WOLFRAM SYSTEMMODELER

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: SetRealParameter

Description: Limit level of tank 1

waitTime

Value: 3

Type: SetRealParameter

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

outPort

Type: Step_out

suspend

Type: CompositeStep_suspend[nSuspend]

resume

Type: CompositeStep_resume[nResume]

level1

Type: RealInput

Components (12)

stateGraphRoot

Type: CompositeStepState

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

outerState

Type: OuterState

innerState

Type: InnerState

fillTank1

Type: Step

T1

Type: Transition

fillTank2

Type: Step

T3

Type: Transition

emptyTank2

Type: Step

wait1

Type: Step

T2

Type: Transition

wait2

Type: Step

T4

Type: Transition

Used in Components (1)

TankController

Modelica.StateGraph.Examples.Utilities

Controller for tank system