Thread-topic: [sumo-user] Continuous model in SUMO
Thank you Jakob and Menno for your help,
I tried with the car tracking and indeed we see that lane change is done gradually.
It
is very interesting to use options to validate our model.
I'll try to keep this in mind
Best
François
De : sumo-user <sumo-user-bounces@xxxxxxxxxxx> de la part de Jakob Erdmann <namdre.sumo@xxxxxxxxx> Envoyé : samedi 18 septembre 2021 15:16 À : Sumo project User discussions <sumo-user@xxxxxxxxxxx> Objet : Re: [sumo-user] Continuous model in SUMO
The movement will be spread over the given number of seconds so you won't see much if you set this to '1'. Values of ~ 3 are recommended and you will then see the vehicle change more smoothly (position and angle will vary over time).How smooth exactly,
also depends on the simulation step length (option --step-length).
Try tracking a vehicle (right-click vehicle, 'start tracking') and set a delay in the gui to follow its movements.
I am not entirely sure, but this may be the reason you are not seeing a big difference in the UI. The docs read: "When using this model, vehicles will move with constant lateral speed to complete a maneuver in the specified time. Lane-changing decisions
take the extra time required into account." It is somewhat unclear from the documentation what the graphical representation of this simplified model will be. To decrease computational load, the visualization might also be simplified.
--> Maybe someone else can clarify?
If you wish to see cars smoothly change lanes, you may use <lateral-resolution> the same way you are using <lanechange.duration> now. I have used that and it surely results in a different behavior of vehicles that is also visible in SUMO-UI.
This is something I didn't know. That will be useful.
I added this line in sumocfg.xml .... <lanechange.duration> 1.0 </lanechange.duration> .... and did some tests varying the value 1.0, 5.0., 10.0. Somethinghappens because it does not give the same results, so this seems OK with the systax
On the other hand, I don't have the impression that the vehicle changing lanes is different (90 degrees). Maybe it is an impression because it is hard to catch the real movements
on the GUI.
please note that --lanechange.duration is a command line argument rather than something to add to an additionals file. An additionals file really is meant for 'additional' things in the network, that is, things other
than edges and junctions that make up the structure of the network.
You can however add these kind of arguments to your .sumocfg file: something like
I understand that this command (--lanechange.duration <FLOAT>) allows changing lanes over a greater distance in a more natural way on the screen. That's right ?
I couldn't find the syntax to write it to an additional.add.xml file.
Do I have to specify the continuous model somewherewith an option or it is already include in SUMO?
This is because currently the cars move 90 degrees when they change lanes in my simulation and I would have preferred that to be done on a larger transition.But if it's the best that can be done, that's fine.