modelPartialParallel

Partial compont to construct a parallel submodel via inheritance

Extends from Modelica_StateGraph2.Internal.Interfaces.PartialParallelBase (Base class of a parallel component (including a composite step as special case)).

Information

This is a variant of the Parallel component. The essential difference is that this is a "partial" model. It is therefore not allowed to drag it. The only purpose of this model is to inherit from it in order to construct a new model that is a special Parallel component.

The Figure below shows a component ("s2") built from a PartialParallel component. As the diagram and the icon layer of the PartialParallel component does not need to be the same size, the user can benefit from collecting large subsystems in smaller closed Parallel components to improve overview and modularization of the full system.

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]inPortIf enabled, port for one or more input transitions
Modelica_StateGraph2.Internal.Interfaces.Step_out[nOut]outPortIf enabled, port for one or more output transitions
Modelica_StateGraph2.Internal.Interfaces.Composite_resume[nResume]resumeIf enabled, port for zero, one or more resume transitions
Modelica_StateGraph2.Internal.Interfaces.Composite_suspend[nSuspend]suspendIf enabled, port for zero, one or more suspend transitions
Modelica.Blocks.Interfaces.BooleanOutputactivePortactive= 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