Skip to content

The accident lane remains fully blocked in my SUMO simulation despite dynamic lane-changing parameter adjustments #17474

@MirandaZhang-hub

Description

@MirandaZhang-hub

Hello, I am currently conducting a simulation of a highway accident scenario. However, the lane-changing behavior of the vehicles does not seem to be very successful.
I used the TraCI setStop function to schedule a vehicle to be inserted at a specific location and time to simulate an accident scenario. The issue now is that, in a real-world situation, when drivers notice an accident ahead, they would choose to change lanes in advance to bypass it. In my simulation, the accident occurs on lane1. During the first simulation run, I observed that after the accident vehicle was inserted, the traffic flow upstream of it—including both lane1 and lane2 (lane0 is set as a hard shoulder, so no traffic passes through it)—completely stalled and stopped moving forward. As shown in the following figure:

Image

Later, I made some adjustments: I set setMaxSpeed=0.1 for the accident lane to prevent the non-accident lane from getting congested; I dynamically relaxed the lane-changing parameters for vehicles approaching the accident edge: laneChangeMode=1621, lcAssertive=1.8, lcImpatience=1.5, to enhance their willingness to detour. After these adjustments, the traffic flow in lane2 (where no accident occurred) can now pass normally, but lane1 (where the accident occurred) remains completely stalled, as shown in the figure below:

Image

I'm currently unsure how to resolve this issue, and I would greatly appreciate any assistance you could provide!

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions