question

Magdalena B3 avatar image
0 Likes"
Magdalena B3 asked Jason Lightfoot commented

Unloading a batch of totes in several different racks

Hi, I have a problem with unloading a batch of totes in several different racks.


My model needs to work like that:

In the end of conveyor there is a queue from where AGV need to pick up 4 totes (that is the batch size) and travel to exact Rack to unload one of the tote, then go to another rack and unload second and so on...

Every token has assigned labels, one of them is "Unload" in which is defined where(to which rack) the AGV need togo and unload one of the totes. Unfortunatelly, using RunSubFlow the model works like : AGV go to "Unload" assigned to firs token and unloding all of the totes in one rack. It seems to like the acces t other three tokens is loosed.


Here is my model

ex_racks_batch1.fsm

FlexSim 22.1.0
agvbatchrunsub flow
ex-racks-batch1.fsm (115.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

Kavika F avatar image
0 Likes"
Kavika F answered Jason Lightfoot commented

Hey @Magdalena B3, this is a similar problem to one I answered here. I modified my solution from that a little to what you're asking for. I modified your process flow so it would only spawn one token for the AGV to use. I push the boxes onto a List and append those boxes to a label called Items as I take them off the queue. Once all the boxes are taken off the queue, I travel to each location based on the Rack number provided. I used

model.find("Rack"+string.fromNum(token.Order.Rack))

to find the correct Rack, pulling the Rack number from the label Order I set on the token before performing the subflow to keep track of which box we're working with at the moment.

1654031529772.png

When it's done, it travels back to the queue and picks up another 4 items.

solution.fsm


1654031529772.png (23.9 KiB)
solution.fsm (110.2 KiB)
· 3
5 |100000

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

Magdalena B3 avatar image Magdalena B3 commented ·

Thank you for your solution, it works! :)

I have one more question. In that model I have also the opposite situation. I need to pickup 4 totes from four different racks (using labels) and deliver for one queue and unload all of them in that one point.

I tried to use your solution with some modificatios to do it, but it doesnt work. Do you have any idea why ?

Model is attached.

ex_racks_batch2.fsm


0 Likes 0 ·
ex-racks-batch2.fsm (123.9 KiB)
Magdalena B3 avatar image Magdalena B3 Magdalena B3 commented ·

In that case, I use 2 lists of items. One is RackList with all of the totes in warehous. The second is Mrowka_1_tab with ordered totes to deliver. AGV need to pick four totes from the Mrowka_1_tab which are in warehouse and deliver to on queue.

0 Likes 0 ·
Jason Lightfoot avatar image Jason Lightfoot ♦♦ Magdalena B3 commented ·
Your first ID in the table is 0 and you have no items in the list with ID zero.
0 Likes 0 ·