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.ani...@gmail.com
>:

> 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@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

Reply via email to