Page 190 - ExtendSim User Guide
P. 190

164 Routing
Items going to several paths
Implicit routing
The simplest, but not necessarily the best, way to route items is by creating connections between the output of the collection point and the inputs of each activity-type block. This causes ExtendSim to pass items to the first available activity.
However, if more than one activity-type block is free when an item is ready, it is not obvious which block will get the item. For instance, a Queue that holds items for three Activity blocks would look like the model below.
Simple Connections model
If two or more machines are free when an item comes out of the queue, the machine that was first connected will get the item. With these types of simple parallel connections, even just disconnecting and then reconnecting a connection line could change the order of activities get- ting items. This implied routing may not be reflective of the actual system and is usually not want you would want.
Unless it is completely unimportant in the model, you should always use the Select Item In and Select Item Out blocks to explicitly state how items should be routed.Otherwise, the order in which their connections were made will dictate the routing.
Simple routing
It is most common to route a random number of items to one section of the model, while the rest are routed to another. An example of this is an intersection where a number of cars will turn to the left, some will go straight, and some will turn right.
Simple Routing model
In this model, items are routed randomly to one of three machines, as indicated by the setting Select output based on: random. The probability table in the dialog of the Select Item Out
Discrete Event

   188   189   190   191   192