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

This can be done in a two step process:
filter out the faulty trips with
>  duarouter -n data.net.xml -r data.trip.xml -o valid.rou.xml --ignore-errors
then use the valid.rou.xml as input to duaIterate.py

Am Di., 18. Feb. 2025 um 11:06 Uhr schrieb Rehab Shahin via sumo-user <sumo-user@xxxxxxxxxxx>:
I wonder if there is a way to ignore the trips/routes that cause the problem? I used duarouter--ignore-errors but it doesn't work: 
Error: A value for the option 'ignore-errors' was already set.
 Possible synonymes: continue-on-unbuild, dismiss-loading-errors
Error: Could not parse commandline options.

Rehab Shahin

Research Engineer ‑ Transport Modelling and Simulation

rehab.shahin@xxxxxxxxxx

+44(0) 20 3514 1170

 | 

+1 (929) 265‑5193

LinkedIn

Twitter

YouTube

On Mon, 17 Feb 2025 at 13:16, Rehab Shahin <rehab.shahin@xxxxxxxxxx> wrote:
Hi,
It's a very large scale scenario, I have taken a slice of the data and attached it to this email (the net file and trip data). I also attached an example of the TAZ  and the TAZRelation files that I created for reference (just an example, doesn't include the full data).
 

On Mon, 17 Feb 2025 at 06:22, Jakob Erdmann via sumo-user <sumo-user@xxxxxxxxxxx> wrote:
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
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
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