modelRule
Rules applied in the Decide module
Information
The Rule module is equivalent to the BRule block of the SIMANLib library.
It represents additional rules (for N-Way divisions) to the Decide module.
The variables et and ef store the reference to the last entity sent through the OUTPORT (true) and the OUTPORT1 (false) ports, respectively.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | Type | 1 | priority to seize resource |
| Boolean | EndRule | false | last rule? |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| DEVSLib.SRC.Interfaces.inPort | inPort | ||
| DEVSLib.SRC.Interfaces.outPort | outPort | ||
| DEVSLib.SRC.Interfaces.outPort | outPort1 |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Real | Percent_true | 50 | Chance probability |
| Boolean | Condition | true | Condition expression |
| DESLib.SIMANLib.Blocks.BRule | bRule | ||
| Integer | et | last entity that left the module (True port) | |
| Integer | ef | last entity that left the module (False port) |