Hi Dom,

I think you can use the frequency attribute to set a period to aggregate the 
data (see 
Lane-_or_Edge-based_Traffic_Measures<https://sumo.dlr.de/docs/Simulation/Output/Lane-_or_Edge-based_Traffic_Measures.html>)

But if you don’t need traffic volumes for all edges, you should better use 
induction loop detectors. You will need one detector for each lane. You can 
also aggregate the data with the frequency attribute. See 
Induction_Loops_Detectors<https://sumo.dlr.de/docs/Simulation/Output/Induction_Loops_Detectors_%28E1%29.html>.
 In this link<https://sumo.dlr.de/docs/Simulation/Output/#simulated_detectors> 
you can also find information about other detectors.

Regards,
Giuliana

Von: sumo-user <[email protected]> Im Auftrag von Dom Newman
Gesendet: Sonntag, 23. Mai 2021 19:14
An: Sumo project User discussions <[email protected]>
Betreff: [sumo-user] Track number of vehicles for specific street

I'm needing to evaluate the accuracy of my model, so will be comparing it with 
traffic information for the number of vehicles that pass a road at each hour.

The edge output file generated by my simulation is huge, and I believe a python 
script to crawl through it would be incredibly slow.

It there any way to keep track of the number of vehicles that pass a specific 
edge in SUMO, or atleast restrict the amount of data being output to only edges 
that are relevant to me?

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

Reply via email to