Control the queue openoutput order, and openoutput one by one

Control the queue openoutput order, and openoutput one by one

joe_l6
Not applicable
323 Views
20 Replies
Message 1 of 21

Control the queue openoutput order, and openoutput one by one

joe_l6
Not applicable

[ FlexSim 16.1.2 ]

Now I have a globaltable called 'Order' and a model as the following picture, I focus on Queue1, Queue2, Queue3.

machine-order.pngmodel.png

I hope that when the model starts simulating, Queue1, Queue2, Queue3 were 'Closeoutput'. And I can determine the order of 'Openoutput' of Queue1, Queue2, and Queue3 based on the values in the Order table. And only one queue is allowed to openoutput at a time.

For example, the values in the order table are as shown in the upper picture, left to right were 1, 2, 3. So the order of 'Openoutput' of Queue1, Queue2, and Queue3 were:

Queue1 Openoutput

\/

Queue1 Closeoutput

\/

Queue2 Openoutput

\/

Queue2 Closeoutput

\/

Queue3 Openoutput

\/

Queue3 Closeoutput

After Queue3 Closeoutput, it goes back to Queue1 Openoutput again, and this process repeats until the simulation ends.

In addition, I also hope that when a Queue is Openoutput, it can remain open until all the items in the Queue are shipped before Closeoutput.

The scenario I described above is that I hope to simulate the operation of one machine at a time, and be able to control the order of machine operations based on the table.

May I know if it is possible to achieve the scenario described above? Thank you!Queue Openoutput Order.fsm

0 Likes
Accepted solutions (1)
324 Views
20 Replies
Replies (20)
Message 21 of 21

joe_l6
Not applicable

Edit 1:

Hi @Felix Möhlmann , later I found out a way to solve my problem. Sorry for bothering, have a nice day! Thanks.

0 Likes