AGV take the wrong item from the queue

AGV take the wrong item from the queue

christoph_gruberYEAZC
Enthusiast Enthusiast
159 Views
4 Replies
Message 1 of 5

AGV take the wrong item from the queue

christoph_gruberYEAZC
Enthusiast
Enthusiast

[ FlexSim 19.2.4 ]

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.

25985-take-wrong-item.png

push-agv-1.fsm

0 Likes
Accepted solutions (1)
160 Views
4 Replies
Replies (4)
Message 2 of 5

christoph_gruberYEAZC
Enthusiast
Enthusiast

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?

26004-take-wrong-item2.png

0 Likes
Message 3 of 5

joshua_s
Not applicable

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.

Message 4 of 5

joshua_s
Not applicable
Accepted solution

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"

Message 5 of 5

christoph_gruberYEAZC
Enthusiast
Enthusiast

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

0 Likes