Hello, the default Krauss model of SUMO is designed to work with variable time steps. The IDM model also supports time steps below 1s. Other models should work as well but are less tested. The lane-changing models are also written so as to support time steps below 1s. If you observe unexpected behavior at sub-second time steps, please report them.
One issue with setting speeds via TraCI is that it overrides speed-adaptation that are triggered by the lane-changing model (vehicles slowing down or speeding up to create gaps in traffic). The latest development version of sumo supports retrieving the lane-changing intentions of each vehicle which could be used to avoid this problem. If the vehicles have sufficient gaps and still do not change lanes, please report a bug as well. regards, Jakob 2017-04-25 22:04 GMT+02:00 KANAAD VINAYAK PARVATE <[email protected]>: > Hi everyone, > > I'm trying to implement car following models using TraCI, while keeping > SUMO's lane changing models. I'm doing this because I want models that run > at a smaller time step than 1.0 seconds per step, and if I understand > correctly, SUMO's models are designed to run at 1.0 seconds per step. > > I've done this by setting the velocity of each vehicle before calling > simulation step and progressing through the simulation that way; and it > seems to be working fine; however, we'd like to use SUMO's lane changing > models rather than implement our own. Unfortunately it looks like SUMO's > models are also tuned to run at 1.0 seconds per step, and need a car > following model implemented as part of SUMO to run correctly, and as a > result, I'm experiencing rather erratic behavior (cars not changing lanes). > > Does anyone have any advice on how to use SUMOs lane changing models with > traci overwriting velocity commands at each time step? Alternatively, is > there any good way of getting SUMO's models (car following and/or lane > changing) to run at a smaller timestep (i.e. 0.01 seconds per step)? > > ​Cheers, > > Kanaad Parvate > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > sumo-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/sumo-user > ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ sumo-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sumo-user
