How avoid deadlocks in bidireccional paths - waypoints?

How avoid deadlocks in bidireccional paths - waypoints?

carmen_fernandez7YE4Y
Contributor Contributor
151 Views
1 Reply
Message 1 of 2

How avoid deadlocks in bidireccional paths - waypoints?

carmen_fernandez7YE4Y
Contributor
Contributor

I am working on a model of a train system using the AGV module. The paths are bidirectional, and trains travel from a loading point to an unloading point and then return.

The main route is single-track, with several sidings (passing loops) where trains can pull over. Loaded trains have priority over empty trains, so the desired behavior is the following:

If two trains are heading toward each other, the empty train should detect the situation, pull into the nearest siding (CP_Parking1), and wait there. Once the loaded train has passed, the empty train should rejoin the main track and continue its journey.

I have attached a demo example. I have tried using waypoints, but I cannot get the returning AGV to redirect to CP_Parking in order to allow the other AGV to pass.

I would appreciate any help in resolving this issue and in better understanding the correct way to model this behavior.

Thank you!

0 Likes
Accepted solutions (1)
152 Views
1 Reply
Reply (1)
Message 2 of 2

Paula_LG
Advocate
Advocate
Accepted solution

Hi Carmen,

I strongly recommend taking a look at these application models, especially the Kiva system with dynamic deadlock control: https://forums.autodesk.com/t5/flexsim-knowledge-base/agv-amr-amp-navigation-logic/ta-p/14059043

I attach a new version of your model with a simple deadlock management logic implemented.

 

I hope it helps!

0 Likes