[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [sumo-user] Two lane vehicle flow
|
Hi Leonardo,
Use attribute departLane in the flow definition to define which flow should use which lane(s).
Best regards,
Mirko
-----Original-Nachricht-----
Betreff: [sumo-user] Two lane vehicle flow
Datum: 2025-02-18T16:04:15+0100
Von: "林紹維 via sumo-user" <sumo-user@xxxxxxxxxxx>
An: "sumo-user@xxxxxxxxxxx" <sumo-user@xxxxxxxxxxx>
Dear community:
I am currently implementing a two lane highway with car flows on a single edge, “E1”. The .rou.xml file looks like the following, but it seems that two flows (f_0, f_1) do not enter lane 1 and lane 2 respectively, where as the two flows seem to mix together and enter the simulation. I tried visualizing
flow 0 in green and flow 1 in blue, and saw that the green cars enter the edge on both lanes, and so do the blue cars. Is there a way to implement the car flow such that the flows enter the lanes respectively, but still allows lane changing between the lanes, thank you.
Best regards,
Leonardo