question

christoph gruber avatar image
0 Likes"
christoph gruber asked christoph gruber commented

AGV take the wrong item from the queue

Hi @Joshua S

push parking AGVs now are working, and my demo model works fine until simulation time 910 sec. But than there is a problem in taking the right item from the queue - see the discribion in the picture below and the attached model.

Thank you for your help.

push-agv-1.fsm

FlexSim 19.2.4
agvlist pulltaskexecutor flowitem
take-wrong-item.png (307.1 KiB)
push-agv-1.fsm (156.0 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.

christoph gruber avatar image christoph gruber commented ·

I figur out that the list query are the problem. An idle AGV should take the nearest item (if available.) If I use the query distance2 there are an other error in the system console. What is the right way/right query to build the model with the right logic?

0 Likes 0 ·
take-wrong-item2.png (125.6 KiB)
Joshua S avatar image Joshua S christoph gruber commented ·

Somehow it is getting a reference to an object to pickup and it is leaving it on the list, so now the object on the list is the box on the task executer. The other Task executer then wants to travel to the other task executer and take the box from it. I'll look more into it but that is why the error message is occuring.

1 Like 1 ·

1 Answer

·
Joshua S avatar image
2 Likes"
Joshua S answered christoph gruber commented

After you are traveling to the queues, you are telling the task executers to pick up the first item in the queues, which is not necessarily the item pulled off the list. For Item in your Load activities, use "token.flowItem" instead of "token.flowItem.up.first"

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

christoph gruber avatar image christoph gruber commented ·

You are right, sorry I missed this mistake - thanks a lot!

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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