question

Jim avatar image
0 Likes"
Jim asked Jim commented

Group of operators assigned to different queues according to availability

Hello,

In my model there are six different queues where pallets come in. The pallets are created to a random available queue according to their order number. What i am trying to do is preferably have two operators assigned to each queue and if a new order comes in when everyone is occupied, reassign one of them, from the queue that has the least amount of itens in it, to the queue with the most recent order. For example , if 5 of the 6 queues are using all the operators and then an order comes to the sixth queue, one of the two operators assigned to the queue with the least amount of pallets left to load, should be assigned to the sixth queue. I would appreciate your help.

Regards,

Jim

model1.fsm


FlexSim 21.1.5
flexsim 21.1.4operator assignmentmultiple operatorsoperator task
model1.fsm (192.7 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

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

In the attached model I added a label "numOps" to the queues that keeps track of how many operators are currently doing a task involving the queue. This is then used in the Queue Strategy when the tokens acquire an operator, so that tasks involving a queue with fewer operators will get to acquire an operator first. The second condition is the current content. As a result the workers should be balanced evenly across the queues.

1677225089414.png

The model currently stops due to a deadlock in the A* navigator at 437s. You might want to rethink your settings. Especially the high amount of traffic around Queue8 makes this occurence quite likely.

(Possibly remove Queue8 from the navigator so the task executers can move freely through it and thus have more space to navigate. It's not really more unrealistic than picking/placing an item from the middle of the queue in my opinion anyway.)

task_order_fm.fsm


1677225089414.png (17.6 KiB)
task-order-fm.fsm (194.5 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.

Jim avatar image Jim commented ·
Thank you so much for the help and the advice!
0 Likes 0 ·