Hello Giuliana,
Thanks for the answer, it worked perfectly. However, I have a few questions about dfrouter and flowrouter:
1) I keep getting "Could not close route for detector X" warnings for most of the warnings, no matter if I pass the options --routes-for-all or/and --keep-unfinished-routes or none of them. I've noticed that this always happens to "between" detectors. What does this exactly mean? Are vehicles passing by those detectors not finishing their trips?
This is how I'm launching dfrouter:
dfrouter --net-file ${network} --routes-output ${routes} --emitters-output ${emitters_file} --detector-files ${detectors_pos} --measure-files ${measures_file} --strict-sources true --detector-output detectors_out.xml --keep-unfinished-routes
2) I also get lots of warnings like this: "Warning: Quitting checking for being a source for detector 'ES54-a' due to seen edge limit"
For this reason I have very few sources in my network and as a result, the number of vehicles generated is lower than expected, but if possible I want to avoid using the "between" detectors as sources.
3) Regarding flowrouter, I wanted to compare the results with dfrouter but when I run flowrouter it seems that it isn't reading the detectors file. According to the documentation I understand that the detectors file used as input in dfrouter should be adequate to use as input in flowrouter, as well as the detectors_out.xml generated by dfrouter. However, with both of the detector files I get 0 sources and sinks loaded from detector file:
Reading net
1066109 edges read
Reading detectors
Warning! Edge '31512186' is simultaneously source and sink.
Warning! Edge '739266307' is simultaneously source and sink.
Warning! Edge '823760807' is simultaneously source and sink.
Loaded 0 sources and 0 sinks from detector file. Added 138 sources and 110 sinks from the network
Reading flows
Calculating routes
138 sources, 138 unlimited
110 sinks, 110 unlimited
Nonetheless, the routes and flows file generated by flowrouter (attached) does look nice, so I think I'm missing something.
Best regards,
Alejandro.