question

Maravilhas avatar image
0 Likes"
Maravilhas asked Carter Walch commented

Waiting for process end in queue

Good morning,

I have a project in which I have 2 machines and a queue. the item comes from the source and stays in the queue. depending on the label that the item has, he will choose a machine and afterwards he will go to the other machine. if it has label 2 it will go machine A and then B. but if it has label 1, it will go from B to A. since the machines have different process times, it gets stuck, since it is waiting for each machine to end their process and be released. How do I make it go to the queue again and wait for the next machine to get empty to then move to it, without causing any traffic?

Thank you in advance

FlexSim 22.0.16
queueprocessorstate
· 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.

Carter Walch avatar image Carter Walch commented ·

Hi @Maravilhas, was Felix Möhlmann'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

Felix Möhlmann avatar image
1 Like"
Felix Möhlmann answered

A good way to do this (if you are using port connections) is to have a label on the item keep track of the process step the item is at. This can then be used to determine the port to which the item should be send in both the queue and the processors.

MachineByStep_fm.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.