question

Piotr K7 avatar image
0 Likes"
Piotr K7 asked Piotr K7 commented

Worker moving without taking item

Good day everyone

I wanted to ask question how to repair my basic processflow training simulation of unloading delivery: Delivery unload.fsm

My problem is at subflow part - worker is supposed to take one box at the time to warehouse queue, but he only takes one (first) box per subflow - next three times he moves without item.

I would be very thankful for your help.

Sincerely,

Piotr

FlexSim 20.2.2
flexsim 20.2.2task sequencesubflowmultiple operations
delivery-unload.fsm (45.3 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

Benjamin W2 avatar image
0 Likes"
Benjamin W2 answered Piotr K7 commented

Hi @piotr.k7,

When you create the label on token.box, you assign it to an array. Then when you have the operator load the box, you point to the array instead of a specific box within the array. To fix this, add a "Rank" label to the to ken in the "Run Subflow" activity with the value of "creationRank":


Then, in your subflow "Load" activity, index the box array according to token.Rank:

This should fix the problem.




1600041084893.png (112.3 KiB)
1600041240024.png (59.9 KiB)
· 2
5 |100000

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

Benjamin W2 avatar image Benjamin W2 commented ·
0 Likes 0 ·
delivery-unload.fsm (44.0 KiB)
Piotr K7 avatar image Piotr K7 commented ·

Thanks a lot for help, it did solve the problem.

0 Likes 0 ·