Simple Conditional Routes

When you need to route entities based on a user defined or system related condition, or multiple conditions.

Simple Conditional Routes model image

Where to Find the Model Object

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

  • Routings \ Simple Conditional Routes

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 Simple Conditional Routes 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 follow a condition, to Determine Route.from your model to Simple Conditional Routes
    2. Connect the routes exiting Determine Route to the rest of your model.from Simple Conditional Routes to your model
  4. Update Objects: Modify the action logic in Determine Route to meet your conditional requirements.

    This model object uses a simple distribution in the action logic of “Determine Route” to assign a route number. But you can use whatever logic is needed to determine which route to select. It could be anything from a simple calculation to a complex boolean expression based on a variety of criteria.Simple Conditional Routes action logic

  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_Direction: Do not change. A number associated with a specific route or location.
Was this article helpful?

Related Articles