question

Marc R5 avatar image
0 Likes"
Marc R5 asked Jason Lightfoot 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.

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 ·
Bchiga avatar image
-4 Likes"
Bchiga answered Jason Lightfoot commented

Hi please how can I create a group with the operators. Then create a parameter to change the number of operators with the reference field pointing to that group

Salut svp comment je peux créer un groupe avec les opérateurs. Ensuite, créez un paramètre pour modifier le nombre d'opérateurs avec le champ de référence pointant vers ce groupe

· 1
5 |100000

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

Jason Lightfoot avatar image Jason Lightfoot ♦♦ commented ·
This is standard use of parameters and groups. Also you've asked this question in another post which has received an extensive set of answers.
0 Likes 0 ·