[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [sumo-user] Continuous model in SUMO
|
Hey François,
the option you are using activates the "simple" lane changing
model:
https://sumo.dlr.de/docs/Simulation/SublaneModel.html#simple_continous_lane-change_model
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.
A final note: the step size you are using will also impact what
you see. I normally use 0.1 second per simulation step, but SUMO
defaults to 1.0 seconds. Use <step-length> for this. See
here:
https://sumo.dlr.de/docs/Simulation/Basic_Definition.html#defining_the_time_step_length
Greets, Menno
On 18/09/2021 20:37, François Vaudrin
wrote:
Thanks,
Menno,
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. Something
happens 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.
Thanks
again and have a nice day
Hey François,
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
...
<lanechange.duration>1.0</lanechange.duration>
...
should do the
trick in this case. This is true for all such arguments that
influence how the simulation runs. I agree that the
documentation can be somewhat hard to make out in this
respect if you are unfamiliar with this, but there is good
explanation here:
https://sumo.dlr.de/docs/Basics/Using_the_Command_Line_Applications.html#configuration_files.
Greets, Menno
On 17/09/2021 19:47, François
Vaudrin wrote:
Halo Jakob,
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.
Is
there an example?
Best
Please let me know which part of the
documentation is unclear.
Thanks Jakob,
Do I have to specify
the continuous model somewhere
with 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.
Best
The two types of continuous
models are activated via sumo options and
then apply to all vehicles regardless of
vType.
Hello,
Can we apply the continuous model
directly in the vtype definition as
for the carFollowing-Kraus model? If
so, does this give comparable
results?
<vType id="TRUCK_1" .... >
<carFollowing-Krauss accel="0.8"
decel="4.5" sigma="0.5"/>
</vType>
Thank you
François
CANADA
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user