Re: [sumo-user] Traci Pedestrians: restrict positions (x, y) to a max value.

2023-03-30 Thread Jakob Erdmann
randomTrips does not support this directly. However, you can 1. create a smaller network with netedit ( https://sumo.dlr.de/docs/Netedit/neteditUsageExamples.html#reducing_the_extent_of_the_network) 2. run randomTrips on the smaller network 3. use the generated trips on the larger network Am Di.,

Re: [sumo-user] Generating Demand from Counting Data

2023-03-30 Thread Jakob Erdmann
- 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

[sumo-user] Generating Demand from Counting Data

2023-03-30 Thread Florian Schnepf
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 di

Re: [sumo-user] Rerouting by traci python

2023-03-30 Thread Jakob Erdmann
If vehicles perform automated rerouting based on the "device.rerouting" options they will use ROUTING_MODE_AGGREGATED and ignore the values set with traci.edge.setEffort. For details, see https://sumo.dlr.de/docs/Simulation/Routing.html#travel-time_values_for_routing To route periodically accordin

[sumo-user] Rerouting by traci python

2023-03-30 Thread 최석환
Dear SUMO users, hello I want vehicles to reroute according to the current road conditions probabilistically during the simulation with traci Python. Also, I would like to modify the weight used for reroute to edgeEffort. The code of traci Python I wrote is as follows. while step < 86400: t