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

TypeNameDefaultDescription
IntegerType1priority to seize resource
BooleanEndRulefalselast rule?

Connectors

TypeNameDefaultDescription
DEVSLib.SRC.Interfaces.inPortinPort
DEVSLib.SRC.Interfaces.outPortoutPort
DEVSLib.SRC.Interfaces.outPortoutPort1

Components

TypeNameDefaultDescription
RealPercent_true50Chance probability
BooleanConditiontrueCondition expression
DESLib.SIMANLib.Blocks.BRulebRule
Integeretlast entity that left the module (True port)
Integereflast entity that left the module (False port)