question

student-loging avatar image
0 Likes"
student-loging asked Felix Möhlmann commented

Decide where to unload

Hello Flexsim community,

I have a problem with my model. After the robot has unloaded the ship, I want it to load the AGVs. Now the model loads just one of them, I want to split the products to each of the AGVs, based on the producttypes (here: the colors). Maybe we can use a dispatcher instead of three different resources, or some kind of conditional decide and case?


I'm trying to get the pink and lime products on AGV1, teal on AGV2 and aqua on AGV3. I believe the change need to be done on the unload under "Load AGVs".


Also, if possible, I want the products who appear in the initial inventory to be put in their "correct spot" by using Paint Slot Labels, and also have the incoming products put in the same place.

I'll attach my model here: Testfile 22.03.fsm

Thank you!
FlexSim 24.2.1
decide where to unload
testfile-2203.fsm (96.8 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
0 Likes"
Felix Möhlmann answered Felix Möhlmann commented

To place the initial items in the correct slots, set the Slot Assignment Strategy of the Floor Storage to "Matching Labels". To place the other ones correct as well, add the "Type" label to them and add a WHERE clause to the Find Slot query that matches the slot and item label.

Unloading to the correct AGV is probably easiest by specifying which type to unload to what vehicle in a global table.

In general, adding all AGVs to a group can allow to simplify the Process Flow down to a single section that manages all AGVs (destinations can be stored on labels on the AGVs).

I'm not quite sure what you tried to achieve by pulling items by priority in the AGV flow. Because currently the AGV starts to move as soon as there is a single item loaded on it. Should they wait for the whole batch?

testfile-0304.fsm


testfile-0304.fsm (84.4 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.

student-loging avatar image student-loging commented ·
Thank you so much for the help. It is supposed to load on and one item, so its correct!
0 Likes 0 ·
student-loging avatar image student-loging commented ·
Hello, I have one more question. Do you know how I can get the robot to pick for example 2 items of pink, and not the whole batch, but still only one by one. Then one of lime, and 3 of aqua, and 2 of teal (still one by one)? If two or more items of the same color is after one another they could also be put on a different AGVs, is it then possible to make all the AGVs available and then have the order to be first available? If this makes sense. It would be great if I could use a GlobalTable for this, because I would like to have a fixed sequential order repeating.

Sorry if this is too much, thank you for all your help so far!!


0 Likes 0 ·
Felix Möhlmann avatar image Felix Möhlmann student-loging commented ·

You could define the order in a table and move through it one row at a time, reading the next required type before each pull. In the query field you filter for items with the correct type.

I also changed the model slightly in that it now uses a global list for the items in the storage. And the storage pushes them to it in the On Entry trigger. This was done so the initial inventory also ends up on the list.

testfile-0404.fsm

0 Likes 0 ·
testfile-0404.fsm (84.1 KiB)