modelDecide
Division in the flow of entities
Information
The Decide module represents a division in the flow of entities.
It has been implemented using a Branch and a BRule blocks.
The maximum number of branches that can be selected in the Decide module is 1.
The variables et and ef store the reference to the last entity sent through the OUT1 (true) and the OUT2 (false) ports, respectively.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | Type | 1 | Statistical or conditional flow division |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| DEVSLib.SRC.Interfaces.inPort | In | ||
| DEVSLib.SRC.Interfaces.outPort | Out1 | ||
| DEVSLib.SRC.Interfaces.outPort | Out2 |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Real | Percent_true | 50 | Chance probability |
| Boolean | Condition | true | Condition expression |
| SIMANLib.Blocks.Branch | branch | ||
| SIMANLib.Blocks.BRule | bRule | ||
| Integer | et | last entity that left the module (True port) | |
| Integer | ef | last entity that left the module (False port) |