correction: it should be %SUMO_HOME%/tools/detector/flowrouter.py -n BAB.net.xml -d BAB_Zaehlstellen.add.xml -f DetectorFlows.csv -i *60* -o out2.add.xml -e out2.rou.xml because flowrouter uses minutes (trying to be consistent with the flow input which also defines time in minutes).
Am Di., 11. Apr. 2023 um 16:32 Uhr schrieb Jakob Erdmann < namdre.s...@gmail.com>: > - for dfrouter, set option --time-step 3600. By default, the dfrouter > expects inputs at 60s granularity. This is now documented at > https://sumo.dlr.de/docs/Demand/Routes_from_Observation_Points.html#computing_flows > - for flowrouter,py, the following commandline worked fine on my end: > %SUMO_HOME%/tools/detector/flowrouter.py -n BAB.net.xml -d > BAB_Zaehlstellen.add.xml -f DetectorFlows.csv -i 3600 -o out2.add.xml -e > out2.rou.xml > > Am Mo., 3. Apr. 2023 um 09:18 Uhr schrieb Florian Schnepf < > florian.schnep...@web.de>: > >> Hello, >> >> input files are attached. >> >> Adding 'python' at the beginning unfortunately changes nothing. >> *Gesendet:* Donnerstag, 30. März 2023 um 17:33 Uhr >> *Von:* "Jakob Erdmann" <namdre.s...@gmail.com> >> *An:* "Sumo project User discussions" <sumo-user@eclipse.org> >> *Betreff:* Re: [sumo-user] Generating Demand from Counting Data >> - for dfrouter, this sounds a bit like an issue with how the input data >> is encoded. Can you provide examplary input files? >> - for flowrouter try adding 'python' in front of the tool name. See >> https://sumo.dlr.de/docs/FAQ.html#the_python_scripts_do_not_accept_command_line_arguments_windows_only >> >> >> Am Do., 30. März 2023 um 16:03 Uhr schrieb Florian Schnepf < >> florian.schnep...@web.de>: >> >>> Hello, >>> >>> i am trying to generate vehicles for a section of highway. For the >>> detectors, i have data for each hour. With dfrouter, the generated vehicles >>> are generated only at the beginning of a new started hour. This makes the >>> traffic uneven. Tried it with the --randomize-flows option, but that didn't >>> make any difference. >>> >>> Now I wanted to test flowrouter.py. When I call it in the command line, >>> I only get all options displayed (see picture). >>> >>> Also tried to call it with %SUMO_HOME%/tools/detector/flowrouter.py with >>> same results >>> >>> Thanks for all the support >>> _______________________________________________ >>> sumo-user mailing list >>> sumo-user@eclipse.org >>> To unsubscribe from this list, visit >>> https://www.eclipse.org/mailman/listinfo/sumo-user >> >> _______________________________________________ sumo-user mailing list >> sumo-user@eclipse.org To unsubscribe from this list, visit >> https://www.eclipse.org/mailman/listinfo/sumo-user >> _______________________________________________ >> sumo-user mailing list >> sumo-user@eclipse.org >> To unsubscribe from this list, visit >> https://www.eclipse.org/mailman/listinfo/sumo-user >> >
_______________________________________________ sumo-user mailing list sumo-user@eclipse.org To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user