Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sumo-user] Rerouting and Simulation of Accidents

Hi,

How can I assign rerouting for vehicles such that they adjust their routes in simulation time based on the travel time on edges?

I have a scenario of a motorway where the demand is created using randomTrips.py. a route file is created where routes are defined and assigned for each vehicle.

I want to simulate an accident on a specific segment of the motorway. what I did is:
- assigned a reroute device for all vehicles ( <device.rerouting probability="1.0"/>)
- closed the edge where the accident happened by  <closingReroute id="2956471#1" disallow="all"/>

The vehicles are queued in front of the edge blocking the road. My understanding is cars don't know about the closed road until reaching there and then they change the route. but what I want to do is reroute based on the travel times on the edges. Is there a way to do this?
Do I have to change the route file to a trip file so that cars don't have predefined routes?

thanks,
Rehab
Rehab Shahin
Research Engineer ‑ Transport Modelling and Simulation
rehab.shahin@xxxxxxxxxx
+44(0) 20 3514 1170
 | 
+1 (929) 265‑5193
LinkedIn
Twitter
YouTube
Hadean Awarded King's Award for Enterprise
Recipient of this year's
King's Awards for Enterprise
Innovation

This e-mail is to be treated as confidential and the information in it may not be used or disclosed except for the purpose for which it has been sent. If you have received it by mistake please let us know and delete it from your system. E-mails are not secure and cannot be guaranteed to be error-free as they can be intercepted, amended, lost or destroyed, or contain viruses. 
Hadean Supercomputing Ltd, is registered in England with number 09808169 and has its registered office 9 Appold St, London EC2A 2AP, UK

Back to the top