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)
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. In this
link you can also find information about other detectors.
Regards,
Giuliana
Von: sumo-user <sumo-user-bounces@xxxxxxxxxxx> Im Auftrag von
Dom Newman
Gesendet: Sonntag, 23. Mai 2021 19:14
An: Sumo project User discussions <sumo-user@xxxxxxxxxxx>
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,