CompositeStep

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

Diagram

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

outPort

Type: Step_out

suspend

Type: CompositeStep_suspend[nSuspend]

resume

Type: CompositeStep_resume[nResume]

Components (15)

stateGraphRoot

Type: CompositeStepState

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

outerState

Type: OuterState

innerState

Type: InnerState

transition3

Type: Transition

transition4

Type: Transition

step3

Type: Step

step4

Type: Step

transition5

Type: Transition

transition6

Type: Transition

transition4a

Type: Transition

step4a

Type: Step

transition6a

Type: Transition

initStep

Type: Step

exitStep

Type: Step

Alternative1

Type: Alternative

Used in Examples (1)

ShowCompositeStep

Modelica.StateGraph.Examples

Example to demonstrate parallel activities described by a StateGraph