Transition

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

Parameters (2)

enableTimer

Value: false

Type: Boolean

Description: = true, if timer is enabled

waitTime

Value: 0

Type: Time (s)

Description: Wait time before transition fires

Inputs (2)

localCondition

Default Value: condition

Type: Boolean

Description: = true, if transition may fire

condition

Default Value: true

Type: Boolean

Description: = true, if transition may fire (time varying expression)

Outputs (3)

t

Type: Time (s)

Description: Actual waiting time (transition will fire when t > waitTime)

enableFire

Type: Boolean

Description: = true, if all firing conditions are true

fire

Type: Boolean

Description: = true, if transition fires

Connectors (2)

inPort

Type: Transition_in

Description: Vector of transition input connectors

outPort

Type: Transition_out

Description: Vector of transition output connectors

Used in Examples (6)

FirstExample

Modelica.StateGraph.Examples

A first simple StateGraph example

FirstExample_Variant2

Modelica.StateGraph.Examples

A variant of the first simple StateGraph example

FirstExample_Variant3

Modelica.StateGraph.Examples

A variant of the first simple StateGraph example

ExecutionPaths

Modelica.StateGraph.Examples

Example to demonstrate parallel and alternative execution paths

ShowCompositeStep

Modelica.StateGraph.Examples

Example to demonstrate parallel activities described by a StateGraph

ShowExceptions

Modelica.StateGraph.Examples

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

Used in Components (8)

TankController

Modelica.StateGraph.Examples.Utilities

Controller for tank system

MakeProduct

Modelica.StateGraph.Examples.Utilities

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

CompositeStep

Modelica.StateGraph.Examples.Utilities

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

CompositeStep1

Modelica.StateGraph.Examples.Utilities

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

CompositeStep2

Modelica.StateGraph.Examples.Utilities

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

TankController

Modelica.Fluid.Examples.ControlledTankSystem.Utilities

Controller for tank system

NormalOperation

Modelica.Fluid.Examples.ControlledTankSystem.Utilities

Normal operation of tank system (button start pressed)

Controller

Modelica.Fluid.Examples.AST_BatchPlant.BaseClasses