modelPartialParallel
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
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | nIn (from PartialParallelBase) | 0 | Number of input connections |
| Integer | nOut (from PartialParallelBase) | 0 | Number of output connections |
| Integer | nSuspend (from PartialParallelBase) | 0 | Number of suspend ports |
| Integer | nResume (from PartialParallelBase) | 0 | Number of resume ports |
| Integer | nEntry (from PartialParallelBase) | 0 | Number of entry branches |
| Integer | nExit (from PartialParallelBase) | 0 | Number of exit branches |
| Boolean | initialStep (from PartialParallelBase) | false | =true, if initial step (start state machine at entry ports of Parallel) |
| Boolean | use_inPort (from PartialParallelBase) | true | =true, if inPort enabled |
| Boolean | use_outPort (from PartialParallelBase) | false | =true, if outPort enabled |
| Boolean | use_suspend (from PartialParallelBase) | false | =true, if suspend and resume ports enabled |
| Boolean | use_activePort (from PartialParallelBase) | false | =true, if activePort enabled |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica_StateGraph2.Internal.Interfaces.Step_in[nIn] | inPort | If enabled, port for one or more input transitions | |
| Modelica_StateGraph2.Internal.Interfaces.Step_out[nOut] | outPort | If enabled, port for one or more output transitions | |
| Modelica_StateGraph2.Internal.Interfaces.Composite_resume[nResume] | resume | If enabled, port for zero, one or more resume transitions | |
| Modelica_StateGraph2.Internal.Interfaces.Composite_suspend[nSuspend] | suspend | If enabled, port for zero, one or more suspend transitions | |
| Modelica.Blocks.Interfaces.BooleanOutput | activePort | active | = true if Parallel component is active, otherwise it is not active |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean | active (from PartialParallelBase) | = true if composite/parallel step is active, otherwise it is not active |