question

Aditya S2 avatar image
0 Likes"
Aditya S2 asked Carter Walch commented

Pull from list based on Travel Distance

Hi,

I have a Model consisting of a TE and Racks and using A star. I want the TE to pull items based on nearest "travel" distance rather than straight line distance from Puller. Is there a way to do this in flexsim?

In the attached model, I have the Pull from list based on Straight line distance. If I add one-way mandatory paths, how can I pull items based on travel distance rather than straight line distance from Puller?

1690919092201.png

Pull_by_travel_distance.fsm

FlexSim 22.2.4
distance traveledpulling from liststravel distance
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

Carter Walch avatar image
0 Likes"
Carter Walch answered Carter Walch commented

Hi @Aditya S2 ,

You can use the distancetotravel command to accomplish this. If the task executer is on a network like Astar it returns the travel distance along the network

· 5
5 |100000

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

Carter Walch avatar image Carter Walch commented ·

Here is an updated model implementing distance to travel: pull-by-travel-distance.fsm

Notice how even though the item in Rack2 has closer straight-line distance, the task executer takes the item that has the shortest travel distance which is in Rack1.

actualtraveldistance.gif

0 Likes 0 ·
Aditya S2 avatar image Aditya S2 Carter Walch commented ·
This works! Thank you!
1 Like 1 ·
Carter Walch avatar image Carter Walch Aditya S2 commented ·
You're welcome!
0 Likes 0 ·
Aditya S2 avatar image Aditya S2 Carter Walch commented ·
A follow up question I have is, if I have collision avoidance turned on in A star, does the traveldistance account for any blockage time a TE would face if there are multiple TEs in the model?

If yes, can the pull query be changed to pull by travel time rather than travel distance?

1 Like 1 ·
Carter Walch avatar image Carter Walch Aditya S2 commented ·

Unfortunately no, the travel distance will remain the same despite being blocked by another TE because it is just based on the distance along the network. However, an AGV system might be better at accomplishing this task receiving tasks and finding the shortest available path to get there.

0 Likes 0 ·