Flowrouter doesn’t work
Hello,
I want to use the flowrouter to estimate the flow on roads in which detector data is not available. I have created a very simple network but the flowrouter doesn’t work. Here is a sample of what happens when I run the code.

Do you want to share your example?
Hello, yes this is the example I used. python Sumo\tools/detector/flowrouter.py -n C:\Users\MAHGAM\Desktop\MAHGAM_TEST\MAHGAM_TEST.net.xml -d C:\Users\MAHGAM\Desktop\MAHGAM_TEST\detector_TEST.xml -f C:\Users\MAHGAM\Desktop\MAHGAM_TEST\flow_TEST.csv -o C:\Users\MAHGAM\Desktop\MAHGAM_TEST\routes.rou.xml -v --debug --revalidate-detectors
On Thu, Aug 4, 2022 at 12:02 PM Mirko Barthauer @.***> wrote:
Do you want to share your example?
— Reply to this email directly, view it on GitHub https://github.com/eclipse/sumo/issues/11275#issuecomment-1204876838, or unsubscribe https://github.com/notifications/unsubscribe-auth/A2LAPQ2GDGSETMEKEDXRELLVXNWZHANCNFSM55MN7P4Q . You are receiving this because you authored the thread.Message ID: @.***>
yes sure this is the example
python Sumo\tools/detector/flowrouter.py -n C:\Users\MAHGAM\Desktop\MAHGAM_TEST\MAHGAM_TEST.net.xml -d C:\Users\MAHGAM\Desktop\MAHGAM_TEST\detector_TEST.xml -f C:\Users\MAHGAM\Desktop\MAHGAM_TEST\flow_TEST.csv -o C:\Users\MAHGAM\Desktop\MAHGAM_TEST\routes_text.rou.xml -v --debug --revalidate-detectors


I used the route files that I had created while utilizing sumo random trips. (routes.rou.alt.xml) I have also utilized trips.trips.xml file and routes.rou.xml file that have been created with sumo random trips.
There is no need to put screenshots of text files. Just attach the files directly - the net is still missing.
detector.txt flow_TEST.csv mahgam_net.txt routes_text.txt hello, I just attached all files as text thank you
Sorry for the delay. I had a closer look and could identify two causes:
- there seems to be some special character in the first line of flow_TEST.csv, so that the detector column is not found
- use the option
-e <FILE>to write the resulting flows to an output file