Hi Everyone,

I am having an issue when using sumo-gui and a Traci with the simulation speed. 
Basically no matter what I set as the delay in the GUI I am getting a lot of 
cycle times that are both longer (acceptable for certain instantaneous steps 
where more processing is necessary), but I'm also getting cycle times that are 
much shorter than the delay. For example I'm measuring this in the runner.py , 
In the GUI I'm setting a delay of 200ms , and not only is the timing extremely 
inconsistent, it is not honoring the value I set. the value in sumo sim is 
measured in ms around "traci.simulationStep()".
##########################################################
[[24559.2] ] total sim:58.1
[[24559.2] ] sumo sim: 5.8
[[24559.2] ] state sim: 52.3
##########################################################
[[25248.3] ] total sim:231.8
[[25248.4] ] sumo sim: 102.8
[[25248.4] ] state sim: 129.0
##########################################################
[[25569.6] ] total sim:53.1
[[25569.6] ] sumo sim: 36.5
[[25569.6] ] state sim: 16.6
##########################################################
[[26019.1] ] total sim:2.6
[[26019.1] ] sumo sim: 1.0
[[26019.2] ] state sim: 1.6
##########################################################
[[26695.4] ] total sim:160.3
[[26695.5] ] sumo sim: 102.8
[[26695.5] ] state sim: 57.5
##########################################################
[[27190.4] ] total sim:134.8
[[27190.4] ] sumo sim: 77.4
[[27190.5] ] state sim: 57.4
##########################################################
[[27949.4] ] total sim:377.8
[[27949.4] ] sumo sim: 103.0
[[27949.4] ] state sim: 274.8
##########################################################
[[28124.0] ] total sim:22.7
[[28124.0] ] sumo sim: 21.5
[[28124.0] ] state sim: 1.2
##########################################################
[[28770.6] ] total sim:159.8
[[28770.6] ] sumo sim: 158.7
[[28770.6] ] state sim: 1.1
##########################################################


My script is subscribing to events from 13 different traffic lights and is 
controlling the phase of each of them via traci.trafficlight.setPhase(). Is 
there a way to make each step a more consistent time? Is it the number of 
lights I'm controlling? As far as I can tell the subscriptions aren't causing 
the variablility, but setPhase() seems to.

I would appreciate any insight, or suggestions of things to try.

Regards,

Tiago Furtado

_______________________________________________
sumo-user mailing list
[email protected]
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user

Reply via email to