question

SudheerReddy avatar image
0 Likes"
SudheerReddy asked anthony.johnson answered

When Queue has 2 location points how AGV chooses the location?

As shown in below image In Travel to Unload Point (as marked in blue color in PF) , Destination is written as token.unloadItem.destination which is Queue1 as marked in red color shown in Quick properties window.

Here I am trying to understand when destination is Queue1 why do always AGV takes route 1 as marked in model image but not 2.

The next thing I am trying is when Route 1 is filled with AGV the next AGV should take Route 2. How to achieve this. Any input on this

Is WayPoints in network properties is the option?

Attaching the model for reference.

agvunload.fsm

FlexSim 20.0.3
agvagv process flow
destination.jpg (96.0 KiB)
agvunload.fsm (124.7 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

anthony.johnson avatar image
1 Like"
anthony.johnson answered anthony.johnson edited

When the destination is an object with multiple Location connections, then AGVs will always travel to the control point closest to where the AGV is at the time.

The easy way to fix this is to connect Queue1 instead to ControlPoint7 on the right and then create two DropoffPoints connections from ControlPoint7 to the two drop off points. This will cause the AGVs to travel to the initial point, then dynamically decide on an available dropoff point to travel to for unload. This is what the DropoffPoints connection type is meant for.

Once you've connected the DropoffPoints, you can configure how the AGV decides which dropoff point to use as part of the Get a dropoff point activity. The default pull query is: ORDER BY isAvailable AND content == 0 DESC, distance ASC. This means it will prioritize first dropoff points that are not allocated by another AGV or have an item in them, and second by the closest dropoff point. You can also edit the fields you can access in the DropoffPoints global list in the toolbox.


5 |100000

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