Hey Rahul, I did want to pass on some information about using an AGV network. While it would take more effort than implementing an A* network, using an AGV network does have these benefits:
1. With so many AMRs, using an AGV network will cause the model to run much faster than when using A*. Specifically, calculating routes should be much faster with an AGV network compared to a similar A* network.
2. Since you have to lay out the network beforehand, you will have more control with an AGV network. This may help with the deadlock issues you are having while using A*.
While building an AGV network, you do need to make sure there is enough room for all AMRs to be on the network at any given time. The default options for AGV objects is to have one AGV/AMR per control point/area, so you would need at least as many control points as AMRs. Too few control points could still cause deadlocks. Or you can also set up multiple allocations for some key control points, depending on how you want traffic to flow.
If you do want to pursue an A* network, you should be able to implement something like you've described in one of your comments, by routing the AMRs through some sort of network using nodes/dummy objects. I've not tested anything like this in your model, but it should work. If anybody else in the community has tried something similar, please feel free to weigh in.
I also wanted to mention that there is a feature coming in a future release of the software that will allow using Control Areas with A*, similar to how they are used with AGV currently. This may help the deadlocks in your model, but I'd be curious to see how it stacks against your modified model where you have already tried restricting AMRs near pickup locations. It may still cause deadlocks in other locations like you've already seen. However, since the feature is still in development, we won't be able to test it in this case until one of the FlexSim 2024 releases most likely.