WOLFRAM SYSTEM MODELER

CompositeStep

State machine demonstrating a composite step (used in StateGraph.Examples.ShowCompositeStep)

Diagram

Wolfram Language

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

Parameters (2)

nSuspend

Value: 1

Type: Integer

Description: Number of suspend ports

nResume

Value: 1

Type: Integer

Description: Number of resume ports

Outputs (1)

active

Type: Boolean

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

Connectors (4)

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)

Components (15)

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

transition3

Type: Transition

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

transition4

Type: Transition

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

step3

Type: Step

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

step4

Type: Step

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

transition5

Type: Transition

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

transition6

Type: Transition

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

transition4a

Type: Transition

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

step4a

Type: Step

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

transition6a

Type: Transition

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

initStep

Type: Step

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

exitStep

Type: Step

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

Alternative1

Type: Alternative

Description: Alternative splitting of execution path (use component between two steps)

Used in Examples (1)

ShowCompositeStep

Modelica.StateGraph.Examples

Example to demonstrate parallel activities described by a StateGraph