SIMUL8 logo

Routing Out

Use the routing-out dialog to tell SIMUL8 where Work Items should go next after leaving an object.

If the object is connected to the next with one simple connection (routing arrow) then the routing dialog has no options.

If there is a choice of two or more locations to go to then the routing dialog box can be used to change the routing rules.

Click right on the destination objects to open the Links Dialog.

Routing Out Rules

Available routing rules are:

Ignore Blocked Routes

It is possible to specify what should happen if the chosen route is blocked. “Ignore Blocked Routes” means that if the desired route is blocked then the same rule will be used again to find another route. Switching “Preference Only” off means that once a route has been chosen (using the rule), then for this particular Work Item leaving the Activity, it must go down the chosen route and it will wait until that route becomes available.

Circulate

The default.

The Circulate Routing Out Rule sends the Work Items out to the destination objects (queues, Conveyors) in sequence, so the first Work Item will go to the first destination in the routing out list, the second Work Item to the second destination, and so on. When each of the possible routes out of the Conveyor have had items sent to them, the next item will go to the first destination in the list. So the Conveyor “circulates” through the list of destinations.

When ticked, Ignore Blocked Routes tells the Conveyor to miss out/skip any route that is not available, for example, because the queue is at capacity, or if feeding directly to a Conveyor when the Conveyor is already processing an item.

When Ignore Blocked Routes is not ticked then SIMUL8 will wait for the route to become available before routing an item out.

Uniform

The destination is decided randomly with each destination having an equal chance of being chosen.

Percent

The routing out destinations of an object can be controlled by percentage.

Access the routing out options of an object through the object properties and by selecting routing out.

The destination Activity is decided randomly (like “uniform”) except that the exact percentage chance of a Work Item going to each destination can be specified.

Percentage Must = 100 If the percentages do not add to 100 they will be pro-rata adjusted when you click OK to exit from the dialog box.

Alternatively you can click the ”=100” button to see the adjusted.

Priority

The priority routing rule sends all Work Items to the first destination in the list, unless this is blocked, when the 2nd is tried…and so on.

Label

To route a Work Item depending on label value: Select LABEL in the routing dialog and click the DETAIL button to select what label to use. The Work Items to be routed must have this label attached to them. If a label is missing from a Work Item type that goes through the Activity, then the default routine rules (circulate) will be used.

The value of the label should be between 1 and N, where N is the number of alternative routing destinations.

If the value is > N the Nth destination will be used. If the Label value is set to 0 then item will wait until the label is set to a number greater than 0. This feature is designed to work with Before Exit Visual Logic

Routing using labels example

Shortest Queue

This routing method sends Work Items to the queue that is the shortest. If one or more of the places that Work Items can be sent is a Conveyor then Work Items will go to the Conveyor if it can currently take more work. i.e. - A Conveyor that can take work immediately counts the same as a queue with nothing in it.

Jobs Matrix

Look up the next destination in the Jobs Matrix.

Passive

Passive routing out means that the object does not attempt to push Work Items out. Instead it keeps hold of the work until another simulation object pulls it out.

More Options

In an Activity click the more button on the Routing Out dialog to reveal the following options:

See Also

logo
cleardot