question

宣怡 萬 avatar image
0 Likes"
宣怡 萬 asked Axel Kohonen commented

How to show the status of the supermarket queue

This is a simulation case of a supermarket queuing. There are two counters and two waiting areas (Queue).I use randomly assigned currently.But the status of supermarket queue not likes this. ""The status of sumpermarket queue"" is people will choose to line up that fewer people waiting for. So I used "Random Available Port" and "Shortest Queue if Available" in Source.But I think there is a little weird.

Is there any way to fix it or I have to write A program? Thanks.

Other (please specify)
Other
supermarket queue
1489543901916.jpg (117.2 KiB)
1489544491430.jpg (171.4 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.

1 Answer

Axel Kohonen avatar image
0 Likes"
Axel Kohonen answered Axel Kohonen commented

Hi,

I am not sure if I understand what is not behaving as you want. If you are using "Shortest queue if available" in the source it sends the person to the queue that is shortest at the moment when the person arrives to the source. If two queues are the same length then the person goes to the one that is connected first output of the source. Is this not what you want?

Or would you want the customers to change to another queue if it becomes shorter than the one they are in now?

Axel

· 4
5 |100000

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