Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Rerouting the vehicle due to lane blockage

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 changes are only during the runtime of the current simulation and not permanent in the configuration files.

Best regards,
Laura

Am Fr., 17. Juli 2020 um 20:06 Uhr schrieb anilbaral <baral.anil99@xxxxxxxxx>:
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 reroute itself.
What options are available to reroute the vehicle in case of lane blockage
or traffic congestion?

Also, Is there any TRACI function to determine the travel time of the
vehicles?
If I change the vehicle state or lane state using TRACI, is it permanently
changed in the network file?

Thanks,
Anil



--
Sent from: http://sumo-user-mailing-list.90755.n8.nabble.com/
_______________________________________________
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