Bug in A*. Transporters aren't taking short route post collision avoidance

Bug in A*. Transporters aren't taking short route post collision avoidance

sudheer_r
Not applicable
98 Views
1 Reply
Message 1 of 2

Bug in A*. Transporters aren't taking short route post collision avoidance

sudheer_r
Not applicable

[ FlexSim 23.2.0 ]

WareHouse_4.fsm

In the attached model post Collison avoidance the transporter named ACR2 takes random route to reach it's destination instead of shortest route in A Start.
It looks like bug

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

moehlmann_fe
Advocate
Advocate
Accepted solution

Not a bug. When ACR1 and 2 meet, ACR2 calculates a new path to circumvent the deadlock. Since the intersection is blocked by ACR1 at that time, the shortest path to the destination leads along the upper path. Aferwards there are no more events that would cause ACR2 to recalculate its path again, so it continues along the alternate route until it reaches its destination.

If you want to achieve a different behaviour, you would have to implement your own deadlock prevention. (Listen to the On AStar Block event and if the Needs Reroute parameter is true, then take the necessary steps to move one of the involved Task Executers out of the way.)

1692770602522.png

0 Likes