I am currently working on a traffic simulation and I have encountered a persistent deadlock/gridlock issue at a priority intersection that I haven't been able to resolve.
Vehicles coming from a minor road (lower priority) need to turn into a highly saturated major road but they seem to find no space to get in and clogging the intersection. As seen in the attached screenshot, completely blocking each other.
I suspect there is a direct conflict between the Sublane Model and the Junction Model logic:
The sublane model allows multiple vehicles (or smaller vehicles) to stand side-by-side at the lane approach.
Once at the intersection edge, the junction model seems to freeze them because they share the same exit connection or because they detect each other as lateral foes inside the junction area.
This creates a permanent deadlock where no vehicle from the minor road can ever advance.
I am attaching a screenshot of the exact moment the deadlock occurs.
Red type vehicles which represent motorcycles seem to completely freeze until teleported. The scenario on the first image causes the second one later. Could you please provide some guidance on which parameters I should tune or what I might be doing wrong.
Thank you for your time and help.
Best regards,
Duvan Rivera, Mateo Suarez