Round Robin Alternates

When you need to select the next available location in a round robin fashion, based on the last activity used and which location is currently available.

Round Robin Alternates model image

Where to Find the Model Object

The following model object can be found in the model objects directory:

  • Routings \ Round Robin Alternates

Difficulty Level

  • Ease of Use: Easy
  • Ease of Modification: Easy

How to Use the Model Object

  1. Open Your Model: Open your model or create a new blank model.
  2. Insert the Model Object into Your Model
    1. Locate the model object Round Robin Alternates and select the insert button.
    2. Move the cursor to the point of insertion and left mouse-click. The upper left corner of the model object will be inserted at the location of the mouse-click.
  3. Connect to Your Model
    1. Connect an arrival route or a percentage route from the part of your model where you would like the entities to enter the model object to Determine Next Location.Round Robin Alternates arrivals
    2. Connect each Station to an activity or storage in your model.from Round Robin Alternates to your model
  4. Update Objects
    1. Change each activity time to match your activity times.
    2. If you need to modify activity names (Stations), or the number of activities used, you will need to make the corresponding changes to the action logic in the “Determine Next Location” activity.

      Typical alternate routes have a priority in the order in which they are connected. This model object functions differently in that it determines the next activity to route to on a last used basis. For example, if Station1 was the last used activity, then Station2 is used next (if it is available). If Station3 was last used, then Station4 is used next (if it is available).

  5. Completion: The model object is now integrated into your model, you should now be able to save and then simulate the model.

Controls Usage

Attributes:

  1. a_OK: Do not change. Flag to exit the While … Do loop in “Determine Next Location”, 0 = don’t exit, 1 = exit.
  2. a_Route: Do not change. Corresponds to the Station number to route to.

Variables:

  1. v_Previous: Do not change. The last route (or Station) that was used
Was this article helpful?

Related Articles

Go to Top