question

Maria B6 avatar image
0 Likes"
Maria B6 asked Ben Wilson commented

How to make the item choose the queu with the shortest waiting time?

My model has a processor connected to 3 queues and each of these queues is connected to another processor. Is it possible to make an item from the first processor to choose the queue with the shortest waiting time?

FlexSim 18.2.3
flexsim 18.2.3decision
· 6
5 |100000

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

Joerg Vogel avatar image
2 Likes"
Joerg Vogel answered Joerg Vogel commented

Hi @Maria B6,

longest queue is not shortest waiting time. In the attached model I add all waiting times of all items of the same queue together. Therefore all Items are pushed to a global list on entry event and pulled on exit of any queue. The shortest time gets evaluated if all queues are filled at least with one item. The source code is in the queue previous to the waiting queues. The code is written to insert more queues.

shortest_wait_time_1.fsm


· 5
5 |100000

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

Braydn T avatar image
0 Likes"
Braydn T answered

@Maria B6

Does this shortest queue option not work?

Also, we cannot see your image.


shortestqueue.png (84.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.