Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Running duaIterate.py with flowrouter.py routes

Hello,
the two outpufiles generated by flowrouter.py (routes and flows) must be used together. This can either be done by adding the routes with option --additional or by using duarouter in a preprocessing step (load routes, flows and network to create a combined file with lots of vehicles).

The whole idea of combining flowrouter (or any other tool that creates routes from counting data) with duaIterate to ease congestion is questionable though, because the new routes may ignore the original edge count values that were used with flowrouter.

Flowrouter is known to generated "implausible routes" which are more likely to cause congestion in some networks. There are two approaches to deal with this problem
- identify and blacklist "implausible" routes to guide the flowrouter process
- use another tool

See https://sumo.dlr.de/docs/Demand/Routes_from_Observation_Points.html#chosing_the_right_tool

regards,
Jakob


Am Sa., 13. Nov. 2021 um 09:22 Uhr schrieb Alejandro Rodríguez Sánchez <alrodr25@xxxxxx>:
Hello everyone,

I am trying to use the duaIterate.py script to ease congestion in my network using the flowrouter.py output. However, at the moment I have not succeed:

When running duaiterate with the options --additional vtypes.add.xml -r routes.xml -e 21600 --time-to-teleport.highways 120 duarouter--vtype-output dummy.xml duarouter--additional-files vtypes.add.xml
I have this error in the "dua.log" file:
Error: No route input specified or all routes were invalid.
Quitting (on error).

When I introduce the flows as input (option -F flows.xml), the errors change to the following:
Error: The route '-226701455_219967849.qPKW.0' for flow '-226701455_219967849.qPKW.0' is not known. (and the error repeats for every flow defined in the flows.xml file).

What I am missing here? Is it not possible to run duaIterate.py using the flowrouter.py output as routes/flows data?

Kind regards,
Alejandro.
--
Alejandro Rodríguez Sánchez
PhD student
CIEMAT // Universidad Complutense de Madrid
28040 Madrid
email: alrodr25@xxxxxx
_______________________________________________
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