question

Marc R5 avatar image
0 Likes"
Marc R5 asked Marc R5 commented

control number of operators using parameters on dispatcher/processor

Hello,

I need to make several tests with different number of operators working on multiple processors controlled by a dispatcher. How can I modify the number of operators that the dispatcher is using and control the number using a parameter?

Is there a way to delete and create "connectionsout" in the dispatcher to operators?

Thanks!

FlexSim 22.2.1
operatorsdispatcherparameters
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

·
Iago MF avatar image
0 Likes"
Iago MF answered Marc R5 commented

Hi Marc!

After building all the process and connections, you should create a group with the operators. Then, create a parameter to change the number of operators with the reference field pointing to that grop like this:

1662535474614.png

I hope it helps you!


1662535474614.png (33.5 KiB)
· 3
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Marc R5 avatar image Marc R5 commented ·
Sorry, but how do I relate the dispatcher to the group?
0 Likes 0 ·
Iago MF avatar image Iago MF Marc R5 commented ·

Hi, you don't need to relate the dispatcher with the group directly. You just need to connect the dispatcher with the first operator (and include it in the group). Then, if you change the parameter and reset the model, copies of this operator will be created o destroyed.

1662536251341.png

0 Likes 0 ·
1662536251341.png (117.0 KiB)
Marc R5 avatar image Marc R5 Iago MF commented ·
Works perfectly. Thank you very much Iago!
0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.