question

Nicholas D avatar image
0 Likes"
Nicholas D asked Connor A commented

How to pass task to correct dispatcher when operator goes to down?

I have an operator connected to 2 dispatchers. The operator performs a task which uses "Dispatcher1" but goes into a down-state during the processing. I want the operator to pass the task to a different operator connected to "Dispatcher1" and not to the first output port of the down-state operator "Dispatcher2". How can this be accomplished? Please see an example model attached.


Dispatcher Pass To Example.fsm

FlexSim 21.1.5
dispatcheroperators assignmentpass to
· 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.

Connor A avatar image Connor A commented ·

Hi @Nicholas D, was Ryan Clark'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 unaccept and comment back to reopen your question.

0 Likes 0 ·

1 Answer

·
Ryan Clark avatar image
0 Likes"
Ryan Clark answered

Hi @Nicholas D,

I was able to modify your model to do what you want. In order to test my logic, I added a second processor, and it should be working as desired. I only changed the code on the "Pass To" of Op_Both to check which processor it's working on when he is passing the task back. Then, based on that, the task is returned to the correct dispatcher and passed to the next available operator connected to that dispatcher.

I hope this helps! Let us know if you have further questions!

dispatcher-pass-to-example-rc-v3.fsm


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.