Hi Michael, 

Thank you very much for your reply and the comments. Yes, you are correct, it 
was the routeProbReroute that I was referring to.  Sorry about the confusion.

I added the alternative route the way you suggested and the cars are following 
that route. The problem is that they seem to forget their original routes. 
Somehow I expected them miraculously to reach their original destinations after 
the reroute. Is there any way that can be achieved?

Cheers, 

Katya 



-----Original Message-----
From: Michael Behrisch [mailto:[email protected]] 
Sent: 26 July 2017 16:31
To: Pyatkova, Katya <[email protected]>; [email protected]
Subject: Re: [sumo-user] destProbReroute for alternative routes

Hi Katya,
I don't know whether I understood your question correctly but destProbReroute 
does not take a route id but an edge id. And if you define a routeProbReroute 
you need to give a known route which has been defined like this
  <route id="r1" edges ="e1 e2"/>
but you don't need a vehicle.

Best regards
Michael

Am 26.07.2017 um 12:38 schrieb Pyatkova, Katya via sumo-user:
> Dear SUMO community,
> 
> I am simulating traffic over flooding conditions and for that purpose I am 
> using multiple rerouters in a city of medium size.
> 
> For some of the rerouters it is necessary to use destProbReroute together 
> with closingReroute. Unfortunately, I am not sure how to do that. On the wiki 
> for Rerouters (http://sumo.dlr.de/wiki/Simulation/Rerouter) it is mentioned 
> that the id of the routeProbReroute 'must be the id of a previously loaded 
> route'. Does that mean that the new alternative route has to be created and 
> stored in the routes file as a vehicle?
> 
> I am using separate files for each of the rerouters and I was wondering if 
> you can show me an example of a new transformed rerouter. This is how they 
> look at the current moment.
> 
> <rerouter id="FloodZone7">
> 
>    <interval begin="111600" end="118800">
> 
>        <closingReroute id="-x" />
>        <closingReroute id="--x" />
>        <closingReroute id="-y" />
> 
>     </interval>
> 
> </rerouter>
> 
> Thank you very much for considering my question.
> 
> Best regards,
> 
> Katya Pyatkova
> MSc, PhD Student
> Centre for Water Systems
> College of Engineering, Mathematics and Physical Sciences (CEMPS) 
> University of Exeter, North Park Road, Exeter EX4 4QF, United Kingdom 
> [email protected]<mailto:[email protected]>, +44 (0) 7598 
> 659122<tel:%2B44%20%280%29%207598%20659122>
> 
> ----------------------------------------------------------------------
> -------- Check out the vibrant tech community on one of the world's 
> most engaging tech sites, Slashdot.org! http://sdm.link/slashdot 
> _______________________________________________
> sumo-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/sumo-user
> 


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user

Reply via email to