Skip to main content

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

The problem is in line 2. The interval tag has a superfluous / at the end.
Also, loading this edge data will not help because all vehicles will still take the shortest path.
An easy fix to distribute vehicles on different but similarly-good routes is to set option --weights.random-factor (experiment with arguments between 1 and 2)
For a more sophisticated solution, see https://sumo.dlr.de/docs/Tools/Assign.html

Am Do., 21. Nov. 2024 um 15:48 Uhr schrieb Pedro Oliveira via sumo-user <sumo-user@xxxxxxxxxxx>:
Good morning everybody!

I would like some help.

I'm carrying out a simple test with duaroter to apply in a more complex context later.

I built a scenario of an OD matrix with origins and destinations at both ends and two route possibilities.
I used the od2trips and duaroter command.

I would like duaroter to divide the flow by 50%.
image.png
I used the following command:

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

The weights file was this:

image.png

Result:
image.png

Best regards,

Pedro Oliveira


_______________________________________________
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