question

Donia M avatar image
0 Likes"
Donia M asked Donia M commented

Logistic problem

Hello,

I have a problem with this example.

I need that the operator 1 load and unload items between the agv and Queue 1, and the Operator 2 load and unload the items betwen agv and Queue 2.

The problem here that the operator 1 get the item from the Queue 2 and load it under the avg.

Knowing that in the process flow the station is Queue 1 for the first operations between Agv and Queue1.

process-flow.png

Thank you in advance.

Logistic problem.fsm

FlexSim 22.0.1
agvlogisticsload unload
process-flow.png (29.9 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 Donia M commented

When creating the flow items, you assign them to the 'Box' label. Since the activity creates 8 items at once, this creates an array label, essentially a list of all items.

By using 'token.Box' in the load and unload activities, FlexSim reads the first entry in that array. As a result, the operators are told to load the first created item over and over again.

You need to find a way to reference the correct item from the array (token.Box[N] links to the Nth entry in the array). For example by having a label that counts which item should be loaded next or by utilizing a sub flow and assigning the item depending on the index of the created token.

1653373833615.png

An easier solution might be to just use one token per item.

logistic-problem_1.fsm


· 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.

Donia M avatar image Donia M commented ·
Thank you a lot !
0 Likes 0 ·