Hi,

Am 10.07.2014 12:00, schrieb Đỗ Thái Giang, (HN):
> Dear everyone,
> 
> I'm using SUMO and traci to simulate a traffic situation. And I must get
> statistic about how much vehicle are stopped at each step. But when I get
> all vehicle IDs and searching all the vehicles that have speed equal to
> zero, the simulation are very slow. How can I get amount of stopped vehicle
> faster?

You could use subscriptions which would automatically deliver all speeds
in each step or if you do not need them online, you could use the
meandata output
http://sumo-sim.org/userdoc/Simulation/Output/Lane-_or_Edge-based_Traffic_Measures.html
and get the values after the simulation in an XML file.

Best regards,
Michael


------------------------------------------------------------------------------
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user

Reply via email to