Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] routeSampler

- increase the number of sampled routes that is given as an input
- check the sampled routes for plausibility (if they show apparent detours as in your screenshot, there may be network model errors that prevent the expected route from being used)
- check whether the sampled routes match the input counting data (https://sumo.dlr.de/docs/Tools/Turns.html#spatial_quality_data). It is possible, that the inputs force the observed result.

If none of this helps, provide more details.

Am So., 22. Sept. 2024 um 18:05 Uhr schrieb fereshte jafari via sumo-user <sumo-user@xxxxxxxxxxx>:
Hi there,

I created the vehicle routes file using routeSampler.py with the following command:
python tools/routeSampler.py -r <input-route-file> --edgedata-files <edgedata-files> -o <output-file>

To generate the input route file, I used this command:
python tools/randomTrips.py -n <input-net-file> -r sampleRoutes.rou.xml

However, when I ran the simulation in sumo-gui, I noticed that some roads weren't used in the generated routes at all. Please refer to the screenshot below.Screenshot 2024-09-22 at 16.47.08.png
 I’ve noticed that in some parts of the network, vehicles are teleporting. Additionally, in one specific area (see the picture below), all the cars are trying to pass through route 1, while route 2 remains empty and available. Do you know how I can resolve these issues?

Screenshot 2024-09-22 at 16.27.23.png

Thanks in advance for your help.


--
Sincerely,
Fereshteh Jafari Shahdani
PhD candidate, Dep. of Civil Engineering
ISISE - University of Minho
_______________________________________________
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