[sumo-user] [REROUTING]

2018-10-09 Thread Luca Di Costanzo
Hi guys I wanna implement in my network a rerouting in every edges since that I noticed that usually at a crossing cars are stucked with their initial route even if one lane is empty and the manouver is possible for the car. To avoid this behaviour I thought to put a reroute to every lane (to star

[sumo-user] Rerouting Question

2018-04-17 Thread Jonathan Harper
Hi there, More of a generic question – when rerouting a vehicle with vehicle.rerouteTraveltime(), does the vehicle account for traffic as it currently stands or traffic that it estimates will be there once the vehicle reaches the point of congestion? E.g. say a vehicle has 2 possible paths it c

Re: [sumo-user] [REROUTING]

2018-10-09 Thread Mirko Barthauer
See http://sumo.dlr.de/wiki/Simulation/Rerouter#Assigning_a_new_Route. "action description" is a placeholder for the different action tags explained in the following sections of the linked wiki page. You should look at "assigning a new destination" or "assigning a new route" for examples. Re

Re: [sumo-user] [REROUTING]

2018-10-09 Thread Jakob Erdmann
There are various ways to let vehicles modify their route. Putting a rerouter on every edge is usually not needed. See http://sumo.dlr.de/wiki/Simulation/Routing Am Di., 9. Okt. 2018 um 13:58 Uhr schrieb Mirko Barthauer < m.bartha...@t-online.de>: > See http://sumo.dlr.de/wiki/Simulation/Rerouter

Re: [sumo-user] [REROUTING]

2018-10-12 Thread Luca Di Costanzo
I'm here again trying to solve the last problem to perform my simulation I'm trying to post this image to help me explain my problem. You can see, in the figure below, that the vehicles occupy almost only the right lane, staying in the queue, remaining empty the lefty one even if they have to turn

Re: [sumo-user] [REROUTING]

2018-10-12 Thread Jakob Erdmann
>From the screenshot alone, this does not look like an issue with the model parameters to me but rather like a network issue. Can you send the network file (or just the part shown in the screenshot if your network is too big)? Am Fr., 12. Okt. 2018 um 17:25 Uhr schrieb Luca Di Costanzo < dicostan

[sumo-user] rerouting algorithm

2020-10-13 Thread Jane Cheung
Dear all One question about the rerouting algorithm. Could I find the rerouting algorithm in the publication *Simulation-Based Traffic Assignment(*https://sumo.dlr.de/pdf/GawronDiss.pdf*)* 。Rerouting use the static or dynamic assignment in this thesis? Best, Jane

[sumo-user] rerouting problem

2021-02-10 Thread ali mirzaei
Hi,I have a problem with circular rerouting in SUMO 1.8.0. I want to make a circular flow just with netedit and sumogui(without xml. codes).First I creat  my network. Then define and verify my flows(5 cars) and routes. at last I add my rerout icon on my network. Finally all steps are saved and o

[sumo-user] Rerouting Multiple Vehicles

2018-04-12 Thread Jonathan Harper
Hello, An observation I’ve had when rerouting many vehicles at once (going through a list of vehicles and rerouting them one after the other) is that the rerouting of the first vehicle seemingly takes by far the longest (sometimes being up to 10 seconds), whereas the other vehicles present in t

Re: [sumo-user] Rerouting Question

2018-04-17 Thread Jakob Erdmann
Hello, The function rerouteTravelTime use the time values from edge.getTraveltime() and this is based on the average vehicle speed at that time. (no smoothing of past fluctuations and no extrapolation into the future). Various smoothing options are available when using the rerouting device (but als

Re: [sumo-user] rerouting algorithm

2020-10-15 Thread Michael Behrisch
Hi, no, there are different algorithms used for rerouting. The standard one is Dijkstra, see here: https://sumo.dlr.de/docs/Simulation/Routing.html#routing_algorithms and the links there. Best regards, Michael Am 13.10.20 um 19:08 schrieb Jane Cheung: > Dear all  > One question about the reroutin

Re: [sumo-user] rerouting problem

2021-02-10 Thread Jakob Erdmann
Adding a rerouter element is not enough. You also need to define an interval and a routeProbReroute or destProbReroute element that defines the new route/destination to be assigned. See https://sumo.dlr.de/docs/Netedit/elementsAdditional.html#rerouter https://sumo.dlr.de/docs/Simulation/Rerouter.ht

[sumo-user] Rerouting by lane

2022-08-23 Thread David Oswald
Hello,Is it possible to reroute by lane? For example, if in edge 1, there are two left turn lanes and two through lanes, and a vehicle that is supposed to turn left gets stuck in the far through lane. Currently the vehicle waits until it is transported, but is there a way to have a rerouter in that

Re: [sumo-user] Rerouting Multiple Vehicles

2018-04-11 Thread Jakob Erdmann
Hello, this is due to the functionality of rerouteTraveltime(currentTravelTimes=True). In order to use the current travel times, all edges are queried for their current travel time and these values are stored for the router to use. This is only done once per simulattion step but may take some time

[sumo-user] Rerouting and edges effort

2019-10-06 Thread Jose Monreal Bailey
Hey everyone, I need some help to understand what it means the edge effort, and the findRoute method. I am changing the effort of the edges (greater effort less chance for vehicles to be rerouted in that edge, correct?) And the findRoute method it seems not taking into account the effort of the ed

[sumo-user] Rerouting pedestrians in model

2020-03-09 Thread Evans, Barry
Hi all, I apologise if this question has been asked already. I've been trying to reroute pedestrians in my sumo model using the re-router method. For some reason, unlike that of traffic when the pedestrians move onto an edge declared by the rerouter they continue on their pre-existing route. D

Re: [sumo-user] Rerouting by lane

2022-08-23 Thread Jakob Erdmann
You currently cannot trigger rerouting on specific lanes (though I agree that this would be useful: https://github.com/eclipse/sumo/issues/11406). As a workaround you could use rerouter attribute 'timeThreshold' to trigger rerouting for vehicles that are stuck for too long (at least if the problema

[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

[sumo-user] Rerouting after closing a lane

2018-06-05 Thread christopher.ew...@t-online.de
Hi all, I'm having trouble with the rerouting in TraCi. I have an edge with two lanes and I want to close one of them (the outer one). What I do is I disallow all vehicles on that lane and then reroute them, but they still try to use the inner one to get to their destination despite it having

[sumo-user] Rerouting Vehicles by recomputing path

2018-11-14 Thread Pratik Dutta
How can I recompute vehicles route using traci? I have found dijkstra.py file, but in this file three methods can be found. I want to know the description among with how to call the method *Regards,* Pratik Dutta ___ sumo-user mailing list sumo-user@

Re: [sumo-user] Rerouting and edges effort

2019-10-09 Thread Jakob Erdmann
The findRoute method currently routes according to travelTime and ignores effort. See https://github.com/eclipse/sumo/issues/3876 If you have efforts that don't change over time then you can get the same effect by setting a custom traveltime according to the required efforts. (The whole point of se

Re: [sumo-user] Rerouting and edges effort

2019-10-09 Thread Jose Monreal Bailey
Hi Jakob, Thanks for the reply! So another approach it would be take the rerouteEffort, that way the vehicle gets a new route depending on the effort of the edges. Thanks! best regards, Jose On Wed, 9 Oct 2019 at 08:53, Jakob Erdmann wrote: > The findRoute method currently routes according to

Re: [sumo-user] Rerouting pedestrians in model

2020-03-10 Thread Jakob Erdmann
Hello, rerouters for pedestrians are simply not implemented yet ( https://github.com/eclipse/sumo/issues/1722). As a workaround you can use TraCI to trigger pedestrian rerouting (traci.person.rerouteTraveltime). regards, Jakob Am Di., 10. März 2020 um 04:34 Uhr schrieb Evans, Barry < b.ev...@exete

Re: [sumo-user] Rerouting pedestrians in model

2020-03-10 Thread Evans, Barry
,0, duration=-1, speed=-1, stopID='') Maybe this will be useful for others if they wish to use it. Kind regards, Barry From: sumo-user-boun...@eclipse.org On Behalf Of Jakob Erdmann Sent: Tuesday, 10 March 2020 8:15 PM To: Sumo project User discussions Subject: Re: [sumo-user] Rero

[sumo-user] Rerouting in SUMO using TraCI

2020-07-18 Thread Padisala, Shanthan Kumar
Hi, I am trying to use rerouters to change dynamically my route (keeping the destination fixed). I have initialized my network with multiple vehicles with a specific route to each vehicle, that are added into the network at multiple intervals of time. The next step is to reroute all the vehicl

[sumo-user] rerouting first or weight update

2020-12-03 Thread Raheleh Zarei
Hello In automatic rerouting, if we set --device.rerouting.adaptation-interval to 10 and --device.rerouting.period also to 10, which one happens first? weight update happens and then based on that rerouting happens or rerouting happens with previous edge weights and then edge weight? Thanks --

[sumo-user] Rerouting Parking Area using TraCI

2021-12-08 Thread 191 000
Hi, I'm using TraCI to reroute vehicles to another parking area. The code I am using is given below: "*traci.vehicle.rerouteParkingArea(vehicle_id, parking_area_id)*" and I get the following error: /" File "D:\sumo\tools\traci\_vehicle.py", line 1031, in rerouteParkingArea self._setCmd(tc.

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

Re: [sumo-user] Rerouting after closing a lane

2018-06-05 Thread Jakob Erdmann
Hello, - regarding your routing issue: If the vehicles have an alternative route they should use it. Otherwise a warning is issued and the old route is kept. This could lead to the symptoms you see. If the vehicles have an alternative route then please send me a minimal scenario which shows the pro

Re: [sumo-user] Rerouting after closing a lane

2018-06-06 Thread christopher.ew...@t-online.de
Hi Jakob, -No the cars don't have an alternative route, so i could try that. -Thank you for providing the links, i will definitely try using these algorithms. Again thank you for your reply. -Original-Nachricht- Betreff: Re: [sumo-user] Rerouting after closing a lane

Re: [sumo-user] Rerouting Vehicles by recomputing path

2018-11-14 Thread Jakob Erdmann
see http://sumo.dlr.de/wiki/Simulation/Routing#TraCI http://sumo.dlr.de/wiki/Simulation/Routing#Travel-time_values_for_routing Am Mi., 14. Nov. 2018 um 10:51 Uhr schrieb Pratik Dutta : > How can I recompute vehicles route using traci? I have found dijkstra.py > file, but in this file three meth

Re: [sumo-user] Rerouting in SUMO using TraCI

2020-08-05 Thread Jakob Erdmann
1) most likely, no vehicle ever reaches a waiting time of 600s. By default vehicles are teleported after being jammed for 300s 2) the difference is in the way travel times are estimated. The rerouting device averages speeds (and thus travel times) over time with a configurable algorithm. In contras

Re: [sumo-user] rerouting first or weight update

2020-12-03 Thread Jakob Erdmann
If they are scheduled for the same step, rerouting happens first and weight updated afterwards. Note, that the rerouting period is counted for each vehicle individually based on their depart time. This means only a fraction of the vehicles will have their rerouting in the update step. Am Fr., 4. D

Re: [sumo-user] rerouting first or weight update

2020-12-10 Thread Raheleh Zarei
Thank you. My script looks like this. python myRandomTrips.py -n eichstaett.net.xml -o ./Eichstaett-TripsTest/RoutingSim12.rou.xml --random true -b 0 -e 200 --period 0.5 --binomial 200 --junction-taz true However, some trips depart at a time later than 200 and I was wondering why this happened? Th

Re: [sumo-user] rerouting first or weight update

2020-12-10 Thread Jakob Erdmann
Probably: https://sumo.dlr.de/docs/Simulation/VehicleInsertion.html#delayed_departure Am Do., 10. Dez. 2020 um 22:39 Uhr schrieb Raheleh Zarei < raheleh.za...@gmail.com>: > Thank you. > My script looks like this. > python myRandomTrips.py -n eichstaett.net.xml -o > ./Eichstaett-TripsTest/RoutingS

Re: [sumo-user] Rerouting Parking Area using TraCI

2021-12-08 Thread Jakob Erdmann
It looks like the error message is incomplete can you post additional output lines before and after the 2 lines that you gave? Am Mi., 8. Dez. 2021 um 17:45 Uhr schrieb 191 000 : > Hi, > > I'm using TraCI to reroute vehicles to another parking area. The code I am > using is given below: > > "*tra

Re: [sumo-user] Rerouting Parking Area using TraCI

2021-12-08 Thread 191 000
Hi Jacob, The complete error is given below: /"Traceback (most recent call last): File "C:\Users\admin\Sumo\Simulation_test\New\new_trial.py", line 69, in run() File "C:\Users\admin\Sumo\Simulation_test\New\new_trial.py", line 37, in run traci.vehicle.rerouteParkingArea(veh_id,"ACAD37"

Re: [sumo-user] Rerouting Parking Area using TraCI

2021-12-08 Thread Jakob Erdmann
It looks like sumo crashed. Please provide all input files that are needed to replicate this behavior (sumocfg, network, routes, ) If your traci script is large/complex are you cannot included it for some reason, send a recording of all traci commands intead (see https://sumo.dlr.de/docs/TraCI

Re: [sumo-user] Rerouting Parking Area using TraCI

2021-12-08 Thread 191 000
Attached are all the input files including the TraCI code. Thanks, Rohan On Thu, Dec 9, 2021 at 12:56 PM Jakob Erdmann wrote: > It looks like sumo crashed. Please provide all input files that are needed > to replicate this behavior (sumocfg, network, routes, ) > If your traci script is large

Re: [sumo-user] Rerouting Parking Area using TraCI

2021-12-09 Thread Jakob Erdmann
Thank you for the example files. The bug has been fixed ( https://github.com/eclipse/sumo/issues/9755) You can download a patched version of sumo tomorrow at https://sumo.dlr.de/docs/Downloads.php#sumo_-_latest_development_version (or as a workaround, make sure that your cars have spent one step dr

Re: [sumo-user] Rerouting Parking Area using TraCI

2021-12-09 Thread 191 000
Thank you for your support. On Thu, Dec 9, 2021 at 2:47 PM Jakob Erdmann wrote: > Thank you for the example files. The bug has been fixed ( > https://github.com/eclipse/sumo/issues/9755) > You can download a patched version of sumo tomorrow at > https://sumo.dlr.de/docs/Downloads.php#sumo_-_late

[sumo-user] Rerouting in ring road: vehicles overlap

2022-11-03 Thread Chen Di
Hi, I am running simulations in a ring road with all vehicles being rerouted. In my setting, vehicles with different types travel at different speed. When I observe the simulation, I noticed that sometimes two vehicles overlap. The faster vehicle just directly "cover" and pass the slow vehicle as

[sumo-user] Rerouting the vehicle due to lane blockage

2020-07-17 Thread anilbaral
Hi all, I have generated the vehicle using routeSampler.py. I want to study the time delay that can be caused due to blockage of certain lanes in the network. I am having two problems: 1. How can we create a lane blockage in SUMO? 2. The vehicles that I generated using routeSampler.py won't rerout

Re: [sumo-user] Rerouting in ring road: vehicles overlap

2022-11-04 Thread Jakob Erdmann
The most likely causes is that this is purely visual: https://sumo.dlr.de/docs/Simulation/Distances.html#vehicle_lengths_in_sumo-gui Feel free to provide a minimal scenario example ( https://sumo.dlr.de/docs/FAQ.html#how_do_i_report_erroneous_behavior_of_a_sumo_application ) Am Fr., 4. Nov. 2022

Re: [sumo-user] Rerouting in ring road: vehicles overlap

2022-11-04 Thread Chen Di
Hi Jakob, The Length-Geometry-mismatch seems to be the reason. Thanks very much for your information! Best, Jakob Erdmann 于2022年11月4日周五 00:31写道: > The most likely causes is that this is purely visual: > > https://sumo.dlr.de/docs/Simulation/Distances.html#vehicle_lengths_in_sumo-gui > Feel fre

Re: [sumo-user] Rerouting the vehicle due to lane blockage

2020-07-22 Thread Laura Bieker
Dear Anil, for question 1: please have a look here: https://sumo.dlr.de/docs/FAQ.html#how_to_simulate_an_accident and for your 2: https://sumo.dlr.de/docs/Demand/Automatic_Routing.html or you can use TraCI to for rerouting https://sumo.dlr.de/pydoc/traci._vehicle.html If you use TraCI the change

[sumo-user] Rerouting according to each road traveltime during simulation

2023-02-22 Thread 최석환
Hello, I created traffic network and random demand using osmWebWizard.py. However, the path of each vehicle is predefined in the trip.xml file. I want to reroute every 300 seconds according to the road travel time. Do I need to add a command when I create a path from rou.xml to trips.xml? Or shou

Re: [sumo-user] Rerouting according to each road traveltime during simulation

2023-02-22 Thread Jakob Erdmann
by default, webWizard creates a scenario with the following properties: - only vehicle destinations but not the routes are fixed () - initial routes are selected according to current traffic conditions If you want vehicles to modify their after they started driving, it is sufficient to add option