How can I change the rules of a dispatcher during the simulation?

How can I change the rules of a dispatcher during the simulation?

hamza_bouzekri
Not applicable
8 Views
4 Replies
Message 1 of 5

How can I change the rules of a dispatcher during the simulation?

hamza_bouzekri
Not applicable

[ FlexSim 22.2.0 ]

Hello, please how can I change the rules of a dispatcher during the simulation to change the assignment of operators. For example, I want to assign 2 operators to a machine during the first day, and add a 3th operator at the beginning of the 2nd day? Thank you

0 Likes
Accepted solutions (1)
9 Views
4 Replies
Replies (4)
Message 2 of 5

jason_lightfootVL7B4
Autodesk
Autodesk
Accepted solution

Use a case statement on label value so that changing the label changes the option the dispatcher is using.

If you need to, copy the code from the picklist options and paste them for each case.

0 Likes
Message 3 of 5

natalie_white
Not applicable

Hi @Hamza, was Jason Lightfoot's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always comment back to reopen your question.

0 Likes
Message 4 of 5

hamza_bouzekri
Not applicable
Ok please do you have an example?
0 Likes
Message 5 of 5

jason_lightfootVL7B4
Autodesk
Autodesk

Sorry - I answered the title of your question, not the body - which is a different question.

To have a varying number of required operators the solution will depend upon your model.

For information you can set the number using

processor.setProperty("NumProcessOperators",3)

The properties are listed here.

0 Likes