Advanced Modeling with ARENA
In particular, the “Decide” module provides perhaps the most critically important way to build structure into simulations. Decide can route entities based on a probabilistic condition such as whether or not parts conform to specifications. More commonly, perhaps, it can route based on system conditions. For example, an entity might enter the shorter queue or be assigned to the more productive process. In the latter case, we might designate Process1 and Process2 as the two servers. Then, the entity routing condition in the Decide block could be based on the expression: Process 1.NumberOut <= Process 2.NumberOut. If the condition is true, the entity departs the decide block through the upper exit point, otherwise, the lower point.