WOLFRAM SYSTEM MODELER

ShowExceptions

Example to demonstrate how a hierarchically structured StateGraph can suspend and resume actions on different levels

Diagram

Wolfram Language

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

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

CompositeStep "compositeStep" is a hierarchical StateGraph consisting of two other subgraphs. Whenever component "compositeStep" is suspended, all steps with in "compositeStep" are deactivated. By entering "compositeStep" via its "resume" port, all steps within "compositeStep" are activated according to their setting before leaving the "compositeStep" via its "suspend" port.

Components (8)

compositeStep

Type: CompositeStep1

Description: Composite step used to demonstrate exceptions (in StateGraph.Examples.ShowExceptions)

initialStep

Type: InitialStep

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

transition1

Type: Transition

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

transition2

Type: Transition

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

transition3

Type: Transition

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

step1

Type: Step

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

transition4

Type: Transition

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

stateGraphRoot

Type: StateGraphRoot

Description: Root of a StateGraph (has to be present on the highest level of a StateGraph)