Skip to main content

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

Once again, thank you very much for your help!
It worked out.

Sds,

Pedro Oliveira


Em sex., 24 de jan. de 2025 às 09:41, Jakob Erdmann via sumo-user <sumo-user@xxxxxxxxxxx> escreveu:
Please also add option --with-taz when calling duarouter (otherwise it will ignore the fromTaz/toTaz and only use the from/to attributes of the trips).

Am Fr., 24. Jan. 2025 um 12:40 Uhr schrieb Pedro Oliveira <pedro.engenhariae@xxxxxxxxx>:

Good morning!

Thank you very much!

Could you check if I understood the instructions correctly?

The network is this:
image.png
I made the following definition:

image.png

I ran od2trips
od2trips -c C:\Users\Pedro\Sumo\od2trips-carro.config.xml -n C:\Users\Pedro\Sumo\taz_file.taz.xml -d C:\Users\Pedro\Sumo\OD_file-carro.od --vtype carro --prefix carro -o C:\Users\Pedro\Sumo\od_file-carro.odtrips.xml

Result:
image.png

I ran duarouter:

duarouter --junction-taz -c C:\Users\Pedro\Sumo\duarcfg_file-carro.trips2routes.duarcfg -o od_route_file-carro.odtrips.rou.xml

Configuration file:
image.png

Result:
image.png

What procedure am I doing wrong?

Sds,

Pedro Oliveira

Em sex., 24 de jan. de 2025 às 03:46, Jakob Erdmann via sumo-user <sumo-user@xxxxxxxxxxx> escreveu:
If you want duarouter to route between junctions and also od2trips to define trips between junctions here is how you can do it:
- define your TAZ to have the same ids as your junctions (the edges within these taz do not matter. They can all be the same)
- run duarouter with option --junction-taz (and without loading a your taz file)

Am Do., 23. Jan. 2025 um 22:36 Uhr schrieb Pedro Oliveira via sumo-user <sumo-user@xxxxxxxxxxx>:
Good afternoon everybody.

I usually use od2trips with an OD taz matrix of the type:
image.png

image.png

Then I apply duarouter.

od2trips -c C:\Users\Pedro\Sumo\od2trips-carro.config.xml -n C:\Users\Pedro\Sumo\taz_file.taz.xml -d C:\Users\Pedro\Sumo\OD_file-carro.od --vtype carro --prefix carro -o C:\Users\Pedro\Sumo\od_file-carro.odtrips.xml

duarouter -c C:\Users\Pedro\Sumo\duarcfg_file-carro.trips2routes.duarcfg -o od_route_file-carro.odtrips.rou.xml

As TAZ does not accept junctions, how would I perform od2trips followed by duarouter, or is it not possible to perform this sequence?

Sds,

Pedro Oliveira


_______________________________________________
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