Hello,
the simples solution is to defined a vehicle fleet with heterogeneous
speeds (relative to the speed limit).
See
http://sumo.dlr.de/wiki/Definition_of_Vehicles,_Vehicle_Types,_and_Routes#Speed_Distributions

regards,
Jakob

2017-01-29 18:19 GMT+01:00 Manuel Perarnau <[email protected]>:

> Hello SUMO community,
>
>
> It’s been a while since I last used SUMO, so I may have forgotten some of
> the functions.
>
>
> I’m using TraCI to evaluate the impact of a lane changing vehicle over the
> users on the target lane.
>
>
> During initial tests I noticed that after the maneuver is completed, the
> distance between the vehicles involved (behind and in front of the one that
> changed lanes) doesn’t change up until the end of the simulation (straight
> road with two lanes).
>
>
> This led me to do a few tests involving TraCI. Having the same road, but
> with all of the vehicles on the same lane, I redefined the maximum speed
> for the edge every certain amount of time with the objective to find if
> their respective gaps varies with the traveling speed.
>
>
> As you can see in the charts, the vehicles respond and slowly adjust their
> top speed, but the distance they keep between them remains the same up
> until 60m/s where it widens. I may be doing something wrong, but is there a
> way for the vehicles to surpass the edge’s max speed for them to close the
> gap, adopting a sort of “rubber band” behavior?
>
>
> Attached you will find the files requited for the simulation (start with
> start_sim_VG.py) and the graphs I used. The changes in speed are indicated
> with the “*” following:
>
> ·         20m/s when  20s<=time<40s
>
> ·         30m/s when  40s<=time<80s
>
> ·         40m/s when  80s<=time<120s
>
> ·         50m/s when  120s<=time<160s
>
> ·         60m/s when  160s<=time<200s
>
>
>
> Thank you beforehand and I hope you have a pleasant week
>
>
> Regards
>
>
> Alex
>
> ------------------------------------------------------------
> ------------------
> 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

Reply via email to