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

TypeNameDefaultDescription
IntegerType1Statistical or conditional flow division

Connectors

TypeNameDefaultDescription
DEVSLib.SRC.Interfaces.inPortIn
DEVSLib.SRC.Interfaces.outPortOut1
DEVSLib.SRC.Interfaces.outPortOut2

Components

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