Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Generating Demand from Counting Data

- 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.schnepf97@xxxxxx>:
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.sumo@xxxxxxxxx>
An: "Sumo project User discussions" <sumo-user@xxxxxxxxxxx>
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.schnepf97@xxxxxx>:
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@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
_______________________________________________
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