Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Calibration using observed counts

Hello,
you can do this with routeSampler.py

- prepare your edge counts as described at https://sumo.dlr.de/docs/Tools/Turns.html#edge_counts
- makes sure your OD-data is in this format: https://sumo.dlr.de/docs/Tools/Turns.html#taz_district_based
- run your initial trips through marouter to obtain a sensible set of candidate routes (set option --scale to increase the amount of traffic if you need a larger variety of routes)

run 
python tools/routeSampler.py -r candidateRoutes.rou.xml --edgedata-files <edgedata-files> -od-files <tazrelation-files> -o <output-file>



Am Do., 27. März 2025 um 14:27 Uhr schrieb Rehab Abdellatif via sumo-user <sumo-user@xxxxxxxxxxx>:
Hello,

I have an O-D matrix which I used to create a trip file using od2trips. Now I would like to generate routes such that they match observed real data collected from sensors. The data is collected every 15 minutes and it contains the count and the speed. Sensors don't cover all the edges in the simulation area. 

I also want to keep the counts from the OD matrix, (i.e. if there are 10 trips in the area based on the O-D matrix, and we have 2 possible routes, and a sensor covering one of them that reads 3 from real world observations, then the other route will receive 7 trips)

Is there any tool or script in sumo that can do this? and how can I use it?

Thanks,
Rehab
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

Back to the top