question

alina233 avatar image
0 Likes"
alina233 asked Logan Gold commented

Change Queue after 5 minutes wait time

Hi,

We are in the process of simulating a supermarket. We have different checkouts. At the moment, customers queue up at the shortest queue. We want to set up that the customers, if they wait 5 minutes at a checkout, change the queue again and then queue again at the shortest checkout.


we have built in a decision, as different checkouts are open depending on the time. how could we implement this in the process flow so that customers change the queue again after 5 minutes?


This is an example of the saturday process flow:


1733744332373.png

1733744675174.pngNeustes Modell (5).fsm

Thank you in advance!!!

FlexSim 24.0.6
process flowqueue logicsupermarket queuesupermarketqueue change
1733744332373.png (20.7 KiB)
1733744675174.png (143.4 KiB)
· 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.

Logan Gold avatar image Logan Gold ♦♦ commented ·

Hi @alina233, 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 comment back to reopen your question.

0 Likes 0 ·

1 Answer

Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered

I would suggest to put the Queues onto a list. That makes it easy to check which is the shortest queue in the first place and later on, whether a better queue is available.

choose-queue.fsm

In the attached model I use "Create Tokens" activities to make sure that a token first enters the Wait for Exit activity before the respective item is moved into the queue. In case it leaves again immediately.


choose-queue.fsm (38.1 KiB)
5 |100000

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