Editing Decide Modules
Decide modules can be added to the flowchart view via dragging and dropping (see
Editing Create Modules for a demonstration) and edited by double clicking on the module. There are 4 types of
Decide modules.
2-way by Chance
This type of
decide module will route entities one of two ways according to a given percentage. The percentage is specifed by the user and relates to the proprotion of entities that are routed to the
True exit point.
2-way by Condition
This type of
decide module will route entities one of two ways depending on the condition. There are multiple types of conditions.
Variable
Arena evaluates a variable-based expression and routes to the
True exit point if the expression is true or the
False exit point otherwise.
Attribute
Arena evaluates an attribute-based expression and routes to the
True exit point if the expression is true or the
False exit point otherwise.
Consider the example of simulating queuing at a supermarket. If the entity attribute
QueueNumber is equal to 2 then that entity will be routed to the
True exit point which leads to processing at
Counter 2.
Entity Type
Arena will route all of entites of the specifed entity type to the
True exit point and all other entity types to the
False exit point.
Consider the example of simluation an egg sorting factory. If an egg has the
Entity Type 'size 6 egg' then that entity will be routed to the
True exit point which leads to the
collection of size 6 eggs.
Expression
Arena evaluates the expression and routes to the
True exit point if the expression is true or the
False exit point otherwise.
N-way by Chance
Coming soon!
N-way by Condition
Coming soon!
--
MichaelOSullivan - 25 Aug 2009