Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] How to use duaIterate with TAZ files

Please provide minimal example input files.

Am So., 16. Feb. 2025 um 20:28 Uhr schrieb Rehab Shahin via sumo-user <sumo-user@xxxxxxxxxxx>:
Hello,

I'm trying to create a simulation scenario using some datasets. The data I have is:
- the network in shapefile format
- zones (districts) in shapefile formats
- O-D matrices in CSV format.

This is what I did:
1. converted the network from shapefile to .net.xml format
2. converted the zones from shapefile into polygons .xml files, checked it in the gui with the network and they're correct.
3. used edgesInDistricts.py to create TAZ files, this is how the generated TAZ file looks like:
    <taz id="10012" color="51,128,255" edges="-23626933#1 -430145490 23626933#0 430145490"/>

4. Converted the O-D matrices from CSV to tazRelation:
    <tazRelation from="11107" to="11096" count="12"/>

5. used od2trips to generate trips based on the O-D matrices and the TAZ files
    <trip id="4751392" depart="199.97" from="4417590#0" to="159380095" type="passenger" fromTaz="60004" toTaz="60006" departLane="free" departSpeed="max"/>

6. used duaIterate.py to calculate the routes. Now it fails on these errors:
Error: No connection between edge '151525767' and edge '897331270' found.
Error: Mandatory edge '897331270' not reachable by vehicle '1992927'.
Error: The vehicle '1992927' has no valid route.

what I observed is that, when the vehicle can't find a route connecting the From and To edges, the trip is inside the same TAZ in most cases.
Could you please help me to debug the problem? Are there any steps missing in the above sequence?

thanks,
Rehab

Rehab Shahin

Research Engineer ‑ Transport Modelling and Simulation

rehab.shahin@xxxxxxxxxx

+44(0) 20 3514 1170

 | 

+1 (929) 265‑5193

LinkedIn

Twitter

YouTube

_______________________________________________
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