Error on list querying

Error on list querying

steven_chen1
Not applicable
2 Views
3 Replies
Message 1 of 4

Error on list querying

steven_chen1
Not applicable

[ FlexSim 18.2.2 ]

Hello,

I got a strange error in the model below.

agv-parking.fsm

As the photos showing, there were 4 tokens pull same one agv if I set query order by distance.

15062-01.png

15063-02.png

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

joshua_s
Not applicable
Accepted solution

Change your puller on your "Pull AGV" activity to token rather then token.item.up, this seemed to fix the problem and the model seemed to run fine after that without 1 AGV grabbing all the boxes at once.

Message 3 of 4

steven_chen1
Not applicable

If I change puller from token.item.up to token, the distance field in list can't be calculated correctly because destObject is token.

15174-03.png

0 Likes
Message 4 of 4

joshua_s
Not applicable

I created a new field in your list called "Tokendistance" which gets the distance between the AGV and puller.item.up. The issue before is that a token only pulls 1 item, but the queue which you were referencing as your puller can pull as many things as it wants from a list all at once.15061-agv-parking.fsm

0 Likes