Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Using vType additional file with flowrouter.py

Loaded detectors are only used as sources or sinks if they have attribute type="source" or type="sink".  However, their flow data will always be used.
The only case where this matters is, if your network has source and sinks that cannot be deduced from the network topology. You can check the deduced ones with option --source-sink-output.

Am Di., 15. Juni 2021 um 14:36 Uhr schrieb Alejandro Rodríguez Sánchez <alrodr25@xxxxxx>:
Thanks Jakob, it's running now I'll let you know if something comes out badly.

One concern I have is this message that appears now,:
Loaded 0 sources and 0 sinks from detector file. Added 117 sources and 100 sinks from the network

Should be worried about this? This is how I run flowrouter and I attach the detectors position and measures files:

python3 $SUMO_HOME/tools/detector/flowrouter.py -n sumonetwork.net.xml -d detectors_Madrid_11-2019.xml -f 11-11-2019_randomdetectors_Madrid.csv -o routes.xml -e flows.xml -v  --source-sink-output sourceSink.xml --flow-poi-output flow_poi.xml -i 60

El mar, 15 jun 2021 a las 11:28, Jakob Erdmann (<namdre.sumo@xxxxxxxxx>) escribió:
flowrouter does not support additional files so you must use --params="type=\"vdist1\""
You may still want to add the default params departSpeed="max" departPos="last" departLane="best" in addition to that.

Am Di., 15. Juni 2021 um 11:23 Uhr schrieb Alejandro Rodríguez Sánchez <alrodr25@xxxxxx>:
Hi everyone,

I am reading the flowrouter documentation but I still have a question about vTypes in flowrouter.
If I have previously defined a vehicle distribution let's say named "vdist1" in an additional file (e.g. myvdist.add.xml), how should I let flowrouter.py know that I want to use the "vdist1" vehicle distribution in order to calculate the routes?
Should I call --params="type=\"vdist1"" or should I call the additional file? And how do I call the additional file to flowrouter?

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
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user


--
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