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 <[email protected]> de la part de Jakob Erdmann 
<[email protected]>
Envoyé : samedi 18 septembre 2021 15:16
À : Sumo project User discussions <[email protected]>
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.

Am Sa., 18. Sept. 2021 um 21:03 Uhr schrieb Menno van der Woude 
<[email protected]<mailto:[email protected]>>:

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<https://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsumo.dlr.de%2Fdocs%2FSimulation%2FSublaneModel.html%23simple_continous_lane-change_model&data=04%7C01%7Cfrancois.vaudrin.1%40ulaval.ca%7C6ad2188f5aa24907b7ad08d97ad8eb8d%7C56778bd56a3f4bd3a26593163e4d5bfe%7C1%7C1%7C637675894350153027%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=bVVJeXrtpHigTG%2F%2BrSuYkMechJtbH73FMxrG92PXxLM%3D&reserved=0>


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<https://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsumo.dlr.de%2Fdocs%2FSimulation%2FBasic_Definition.html%23defining_the_time_step_length&data=04%7C01%7Cfrancois.vaudrin.1%40ulaval.ca%7C6ad2188f5aa24907b7ad08d97ad8eb8d%7C56778bd56a3f4bd3a26593163e4d5bfe%7C1%7C1%7C637675894350163022%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=EPyy0kL2RVSoamPjZyyWV27%2F2%2Bbvxz8xolBPrWsqX2I%3D&reserved=0>


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

François

________________________________
De : sumo-user 
<[email protected]><mailto:[email protected]> de la 
part de Menno van der Woude 
<[email protected]><mailto:[email protected]>
Envoyé : vendredi 17 septembre 2021 14:39
À : [email protected]<mailto:[email protected]> 
<[email protected]><mailto:[email protected]>
Objet : Re: [sumo-user] Continuous model in SUMO


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<https://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsumo.dlr.de%2Fdocs%2FBasics%2FUsing_the_Command_Line_Applications.html%23configuration_files&data=04%7C01%7Cfrancois.vaudrin.1%40ulaval.ca%7C6ad2188f5aa24907b7ad08d97ad8eb8d%7C56778bd56a3f4bd3a26593163e4d5bfe%7C1%7C1%7C637675894350173020%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=%2BLnffvTnLC1nswoVtlmi1zcIGYIiOkcdVf5Y2dKials%3D&reserved=0>.


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
François
 CANADA

________________________________
De : sumo-user 
<[email protected]><mailto:[email protected]> de la 
part de Jakob Erdmann <[email protected]><mailto:[email protected]>
Envoyé : lundi 13 septembre 2021 15:41
À : Sumo project User discussions 
<[email protected]><mailto:[email protected]>
Objet : Re: [sumo-user] Continuous model in SUMO

https://sumo.dlr.de/docs/Simulation/SublaneModel.html#simple_continous_lane-change_model<https://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsumo.dlr.de%2Fdocs%2FSimulation%2FSublaneModel.html%23simple_continous_lane-change_model&data=04%7C01%7Cfrancois.vaudrin.1%40ulaval.ca%7C6ad2188f5aa24907b7ad08d97ad8eb8d%7C56778bd56a3f4bd3a26593163e4d5bfe%7C1%7C1%7C637675894350173020%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=cLi%2Fykq58NauPlUCUWve9Uc2zoAKdd%2FpUzjMc1eixUo%3D&reserved=0>
Please let me know which part of the documentation is unclear.

Am Mo., 13. Sept. 2021 um 21:01 Uhr schrieb François Vaudrin 
<[email protected]<mailto:[email protected]>>:
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

François

________________________________
De : sumo-user 
<[email protected]<mailto:[email protected]>> de la 
part de Jakob Erdmann <[email protected]<mailto:[email protected]>>
Envoyé : lundi 13 septembre 2021 14:29
À : Sumo project User discussions 
<[email protected]<mailto:[email protected]>>
Objet : Re: [sumo-user] Continuous model in SUMO

The two types of continuous models are activated via sumo options and then 
apply to all vehicles regardless of vType.

Am Mo., 13. Sept. 2021 um 17:41 Uhr schrieb François Vaudrin 
<[email protected]<mailto:[email protected]>>:

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
[email protected]<mailto:[email protected]>
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user<https://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.eclipse.org%2Fmailman%2Flistinfo%2Fsumo-user&data=04%7C01%7Cfrancois.vaudrin.1%40ulaval.ca%7C6ad2188f5aa24907b7ad08d97ad8eb8d%7C56778bd56a3f4bd3a26593163e4d5bfe%7C1%7C1%7C637675894350183011%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=6Rij75RfIwE7Op9T6%2FtN2QCRfnTTxjvN21Y3YyY4ypo%3D&reserved=0>
_______________________________________________
sumo-user mailing list
[email protected]<mailto:[email protected]>
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user<https://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.eclipse.org%2Fmailman%2Flistinfo%2Fsumo-user&data=04%7C01%7Cfrancois.vaudrin.1%40ulaval.ca%7C6ad2188f5aa24907b7ad08d97ad8eb8d%7C56778bd56a3f4bd3a26593163e4d5bfe%7C1%7C1%7C637675894350193133%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=TgG%2F2cz2yY4GJYobL4ckzIKGbQq8Zs4SulJ%2B1fNgfGQ%3D&reserved=0>



_______________________________________________
sumo-user mailing list
[email protected]<mailto:[email protected]>
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user<https://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.eclipse.org%2Fmailman%2Flistinfo%2Fsumo-user&data=04%7C01%7Cfrancois.vaudrin.1%40ulaval.ca%7C6ad2188f5aa24907b7ad08d97ad8eb8d%7C56778bd56a3f4bd3a26593163e4d5bfe%7C1%7C1%7C637675894350193133%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=TgG%2F2cz2yY4GJYobL4ckzIKGbQq8Zs4SulJ%2B1fNgfGQ%3D&reserved=0>




_______________________________________________
sumo-user mailing list
[email protected]<mailto:[email protected]>
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user<https://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.eclipse.org%2Fmailman%2Flistinfo%2Fsumo-user&data=04%7C01%7Cfrancois.vaudrin.1%40ulaval.ca%7C6ad2188f5aa24907b7ad08d97ad8eb8d%7C56778bd56a3f4bd3a26593163e4d5bfe%7C1%7C1%7C637675894350203004%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=y3QgiXCjGkpcSGuDb6mlbjJRO0qLuxnWrk5c9usIQIc%3D&reserved=0>


_______________________________________________
sumo-user mailing list
[email protected]<mailto:[email protected]>
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user<https://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.eclipse.org%2Fmailman%2Flistinfo%2Fsumo-user&data=04%7C01%7Cfrancois.vaudrin.1%40ulaval.ca%7C6ad2188f5aa24907b7ad08d97ad8eb8d%7C56778bd56a3f4bd3a26593163e4d5bfe%7C1%7C1%7C637675894350203004%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=y3QgiXCjGkpcSGuDb6mlbjJRO0qLuxnWrk5c9usIQIc%3D&reserved=0>
_______________________________________________
sumo-user mailing list
[email protected]
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user

Reply via email to