question

Steven Chen avatar image
0 Likes"
Steven Chen asked Joshua S commented

Error on list querying

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.

FlexSim 18.2.2
agvlist
01.png (4.8 KiB)
02.png (4.7 KiB)
agv-parking.fsm (79.2 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

Joshua S avatar image
1 Like"
Joshua S answered Joshua S commented

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.

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

Steven Chen avatar image Steven Chen commented ·

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

0 Likes 0 ·
03.png (37.9 KiB)
Joshua S avatar image Joshua S Steven Chen commented ·

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