Hello,
the parameters can be configured as explained here:
http://sumo.dlr.de/wiki/Models/Electric
The source code is in src/microsim/devices/MSDevice_Battery.cpp

The default traffic light cycle time can be set with netconvert option
--tls.cycle.time
You can declare any signal plan you want as explained here:
http://sumo.dlr.de/wiki/Simulation/Traffic_Light
(or via netedit: http://sumo.dlr.de/wiki/NETEDIT#Traffic_Lights)
Note, that a minimum yellow time (and also red time) is required to allow
vehicles to brake and clear the intersection between phases.

regards,
Jakob

2016-10-28 16:44 GMT+02:00 Ankur Sarker <[email protected]>:

> Hi,
>
> I want to change the energy model of electric vehicle so that I can use my
> own parameters. Can anyone tell me which source code should I look at to do
> so?
>
> Also, how I can change the duration of traffic signal cycle to 60 seconds.
> By default in SUMO, the duration is 90 seconds. I see there are 16 lanes to
> consider. Is there any link to understand the relationships between lanes?
> Can I evenly distribute 60 seconds to 16 lanes?
>
> Thanks for your time!
>
> PS. Correct me if my understandings are wrong.
>
> Best,
> Ankur Sarker
> ------------------------------------------------------------
> ------------------
> The Command Line: Reinvented for Modern Developers
> Did the resurgence of CLI tooling catch you by surprise?
> Reconnect with the command line and become more productive.
> Learn the new .NET and ASP.NET CLI. Get your free copy!
> http://sdm.link/telerik
> _______________________________________________
> sumo-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/sumo-user
>
------------------------------------------------------------------------------
The Command Line: Reinvented for Modern Developers
Did the resurgence of CLI tooling catch you by surprise?
Reconnect with the command line and become more productive. 
Learn the new .NET and ASP.NET CLI. Get your free copy!
http://sdm.link/telerik
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user

Reply via email to