modelMakeProduct
Extends from Modelica_StateGraph2.PartialParallel (Partial compont to construct a parallel submodel via inheritance).
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 |
| Modelica.Units.SI.Height | limit1 | 0.98 | Maximum level of tank 1 |
| Modelica.Units.SI.Height | limit2 | 0.98 | Maximum level of tank 2 |
| Modelica.Units.SI.Height | minLevel | 0.01 | Minimum fill level of a tank |
| Modelica.Units.SI.Time | waitTime | 3 | Wait time to newly open a valve |
Connectors
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean | active (from PartialParallelBase) | = true if composite/parallel step is active, otherwise it is not active | |
| Modelica_StateGraph2.Step | startStep | ||
| Modelica_StateGraph2.Transition | T1 | ||
| Modelica_StateGraph2.Step | fillTank1 | ||
| Modelica_StateGraph2.Transition | T2 | ||
| Modelica_StateGraph2.Step | wait1 | ||
| Modelica_StateGraph2.Step | fillTank2 | ||
| Modelica_StateGraph2.Transition | T3 | ||
| Modelica_StateGraph2.Transition | T4 | ||
| Modelica_StateGraph2.Step | wait2 | ||
| Modelica_StateGraph2.Transition | T5 | ||
| Modelica_StateGraph2.Step | emptyTanks | ||
| Modelica_StateGraph2.Transition | T6 | ||
| Modelica_StateGraph2.Blocks.MathBoolean.Or | or1 |