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