Changing the weights of the AGV paths

Changing the weights of the AGV paths

patrick_zweekhorst
Advocate Advocate
16 Views
2 Replies
Message 1 of 3

Changing the weights of the AGV paths

patrick_zweekhorst
Advocate
Advocate

[ FlexSim 20.0.7 ]

Hi @anthony.johnson,

I read your post to Stevens question about closing and opening AGV paths.

https://answers.flexsim.com/questions/87363/condition-closing-of-agv-paths.html

As you mention there it will become significantly slower if we need to compute the routing table each time an AGV starts to travel.

In the model Steven was talking about it could also be an option to just change the path weights at the start. We would increase the weights of the paths that are under the rack. In that way the AGV should only take the paths under the rack if they really need to be there. If they don't need to be at the rack, they will drive around it because of the weights.

Would it be an option to only change the getPathTravelWeight function and keep shouldBuildCustomRoute on 0, such that we don't recalculate the route tree each time? Or is it an option to let the shouldBuildCustomRoute only return 1 after the first travel task of the model, such that the route table is updated with the custom weights at the start of the model, but not after this.

I have tested the functions where I set the shouldBuildCustomRoute to 1 only for the first travel task. For the second travel task I did not, and it used the shortest route (instead of using the weights). Is there a something else I need to toggle or is the custom route not saved and should it really be called each time?

Thanks for all the AGV tips lately.

Patrick

Note I made the model in 20.0.7, when I opened the model in 20.1 it did not work anymore

AgvWeightTest_3.fsm

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

anthony_johnsonT83CM
Autodesk
Autodesk
Accepted solution

@Patrick Zweekhorst Custom routes are not saved. Thus you have to recalculate them every time. So, yes, for now there's no way to optimize for speed when you defining customized routing.

0 Likes
Message 3 of 3

patrick_zweekhorst
Advocate
Advocate

@anthony.johnson,

Thanks for the reply. Is it an option for future versions to include an option to save the customized routing?

0 Likes