question

gio-c avatar image
0 Likes"
gio-c asked gio-c commented

Operators pick boxes that don't exist

I have a picking simulation, where operators pull orders from a list and fullfill them. I don't know why but they pick the first box and then they pick air. I think the problem is that i don't reference correctly to the box to pick. If this is the case how can i solve this problem?
Thank you in advance!
Ultima simulazione funzionante con database.fsm

FlexSim 25.0.2
process flowoperatorsorder picking
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 gio-c commented

You are refering to the same first X entries in the "Scatole" array every time you run the loading subflow.

1744872302012.png

You need to map to the correct items. With how the items are currently created, the "Scatole" array is in reverse order compared to the order in which the items will be picked (each new item is added to the front of the array, thus the first item is the one that was created last and also 'belongs to' the last sub flow token.

An easy solution would be to create a copy of the array (optional, only if you need item references later) and pop (remove and return) the last entry when assigning an item to the load token.

ultima-simulazione-funzionante-con-database_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.

gio-c avatar image gio-c commented ·
Thank you very much! It works very well
0 Likes 0 ·