Head (before)

Setting routing out or in in scenario manage based on some conditions — SIMUL8 Community Forum

Head (after)

Ask the SIMUL8 Community

Content (before)

Setting routing out or in in scenario manage based on some conditions

kymkym
Created at
in Community support

Has anyone tried setting routing out from an object based on a set of conditions? I tried to use function but hmmm, elas not working



Comments

  • Was this answer helpful?


    0

    Hi there Kym, Are you using SIMUL8 Professional or Basic? Indeed you can't change Routing out discipline for each Scenario, but if you're using Professional, how about you:
    1. Use a global variable (gbl_Routing) as a decision variable in Scenario Manager and set its values to be equal to the number of Routing Disciplines you're switching between. E.g. if you change only between 3 disciplines the values of gbl_Routing to be 1-3.
    2. On a Visual Logic section (e.g. Start Run because you're running Scenarios), check gbl_Routing's value and set Routing out discipline. E.g. IF gbl_routing = 1,
    Set Route out Discipline Activity 1, Collect
    ELSE IF gbl_routing =2
    Set Route out Discipline Activity 1, Priority

    Does this work for you?
    Rashida

Leave a Comment

BoldItalicStrikethroughOrdered listUnordered list
Emoji
Attach file
Attach image
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file

Content (after)