Hello Jakob,
Thanks. I used the speed factor command and have been to make the desired
change.

Here are some of the commands I have used recently.
Posting them on portal so that it might helpful for those having similar
queries:

traci.vehicle.setSpeedFactor(vehs, 1.2)
-vehs represents the vehicle ID

traci.vehicle.slowDown(vehs, v, k)
-v represents the final velocity in m/s
-k represents the time in ms. Please check the data type of k. It *must be
an integer *otherwise you will get an error.

Regards,
Vaibhav Rungta
Graduate Student - Industrial and Systems Engineering
Graduate Assistant - Toyota Production Systems Lab
Research Assistant - University Transport Research Center
585-754-7133


On Tue, Jan 3, 2017 at 4:38 AM, Jakob Erdmann <[email protected]>
wrote:

> this is done by specifying 'speed factor'  (0x5e)
> see http://sumo.dlr.de/wiki/TraCI/Change_Vehicle_State
> (multiplier for the lane speed limit, http://sumo.dlr.de/wiki/
> Definition_of_Vehicles,_Vehicle_Types,_and_Routes#Vehicle_Types)
>
> regards,
> Jakob
>
>
>
> 2016-12-31 21:13 GMT+01:00 Vaibhav Rungta <[email protected]>:
>
>> Hello Folks,
>> Wishing you guys an exhilarating, prosperous and a healthy New Year :)
>>
>> I am working on an algorithm which involves speed calculation. Sometimes
>> the speed required to provide better results will be more than the edge
>> speed limit for certain vehicles. As we observe in real world, no one gets
>> pulled over for driving 15-20% above speed limit for a short duration
>> (10-15s). To simulate this I have to allow some vehicles to go faster.
>>
>> - I tried setMaxSpeed command but that seems to have a different purpose.
>> - I thought of using variable speed limit but then that will allow all
>> vehicles to go faster. This might increase the emissions and that's not
>> what I want.
>> - I am not sure if vehicle speed distribution will allow that, but again
>> randomness may not allow those vehicles to go fast which I specifically
>> want to go faster.
>>
>> I wish to accelerate only those vehicles which can make it through the
>> intersection by slightly accelerating above speed limit.
>> Kindly suggest how I may do this? Thank you.
>>
>> Regards,
>> Vaibhav Rungta
>> Graduate Student - Industrial and Systems Engineering
>> Graduate Assistant - Toyota Production Systems Lab
>> Research Assistant - University Transport Research Center
>> 585-754-7133
>> ------------------------------------------------------------
>> ------------------
>> 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