question

Diego VG avatar image
0 Likes"
Diego VG asked Ben Wilson commented

Is it possible to set a dispatcher "pass to" by label?

Good morning,

I wondered if there was a way so I could dispatch task executers to some fixed resources by matching a certain label.

Let's say that I have a group of task executers (operators) and a group of processors. They are all of them linked to a dispatcher. The operators have a certain label and so do the processors. I would like to dispatch the operators only to the processors that match this label's value.

I have checked in the tutorials but I have not found the solution. Is there any other better way maybe?

Thanks a lot for your help.

Diego

FlexSim 21.0.2
task executerflexsim 21.0.2dispatcher
· 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.

Ben Wilson avatar image Ben Wilson ♦♦ commented ·

Hi @Diego VG, was Parker S's answer helpful? If so, please click the red "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 unaccept and comment back to reopen your question.

0 Likes 0 ·

1 Answer

·
Parker S avatar image
0 Likes"
Parker S answered

@Diego VG

The easiest way to match operators with processors is to have a dispatcher for each processor and then connect the dispatchers to the group of operators desired.

Here's an example:

4processors_3operators.fsm

Another way to do this would be with process flow; sending jobs to a list and pulling the matching operators from another list.


5 |100000

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

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.