modelStopwatch

Extends from Modelica_StateGraph2.PartialParallel (Partial compont to construct a parallel submodel via inheritance).

Parameters

TypeNameDefaultDescription
IntegernIn (from PartialParallelBase)0Number of input connections
IntegernOut (from PartialParallelBase)0Number of output connections
IntegernSuspend (from PartialParallelBase)0Number of suspend ports
IntegernResume (from PartialParallelBase)0Number of resume ports
IntegernEntry (from PartialParallelBase)0Number of entry branches
IntegernExit (from PartialParallelBase)0Number of exit branches
BooleaninitialStep (from PartialParallelBase)false=true, if initial step (start state machine at entry ports of Parallel)
Booleanuse_inPort (from PartialParallelBase)true=true, if inPort enabled
Booleanuse_outPort (from PartialParallelBase)false=true, if outPort enabled
Booleanuse_suspend (from PartialParallelBase)false=true, if suspend and resume ports enabled
Booleanuse_activePort (from PartialParallelBase)false=true, if activePort enabled

Connectors

TypeNameDefaultDescription
Modelica_StateGraph2.Internal.Interfaces.Step_in[nIn]inPort (from PartialParallel)If enabled, port for one or more input transitions
Modelica_StateGraph2.Internal.Interfaces.Step_out[nOut]outPort (from PartialParallel)If enabled, port for one or more output transitions
Modelica_StateGraph2.Internal.Interfaces.Composite_resume[nResume]resume (from PartialParallel)If enabled, port for zero, one or more resume transitions
Modelica_StateGraph2.Internal.Interfaces.Composite_suspend[nSuspend]suspend (from PartialParallel)If enabled, port for zero, one or more suspend transitions
Modelica.Blocks.Interfaces.BooleanOutputactivePort (from PartialParallel)active= true if Parallel component is active, otherwise it is not active

Components

TypeNameDefaultDescription
Booleanactive (from PartialParallelBase)= true if composite/parallel step is active, otherwise it is not active
Paralleldisplayrun
Modelica_StateGraph2.Stepreg
Modelica_StateGraph2.Steplap
Modelica_StateGraph2.Stepon
Modelica_StateGraph2.Stepoff
Modelica_StateGraph2.Transitionreg_d
Modelica_StateGraph2.Transitionlap_d
Modelica_StateGraph2.Stepzero
Modelica_StateGraph2.Transitionzero_b
Modelica_StateGraph2.Transitionon_b
Modelica_StateGraph2.Transitionoff_b
Modelica_StateGraph2.Transitiondisplayrun_d
Modelica.Blocks.Logical.Edgeedge1
Modelica.Blocks.Logical.Edgeedge2
Modelica_StateGraph2.Blocks.MathInteger.TriggeredAddstopwatch_clock
Modelica.Blocks.Sources.IntegerConstantunit_second
Modelica.Blocks.Sources.SampleTriggertime_increment_trigger
Modelica_StateGraph2.Blocks.MathBoolean.Andincrement_time
Blocks.MathInteger.MultiSwitchselect_display_of_time_or_lap_time
Blocks.MathInteger.TriggeredAddstopwatch_lap
Modelica_StateGraph2.Blocks.MathBoolean.Andfreeze_time