Hi Nicolas,
you cannot place the rerouter on the same edge you wish to close,
because the rerouter is triggered when the vehicle enters the edge and
obviously it is too late to choose a different one then. So change your
edges attribute to point to edges before the closed one.

Best regards,
Michael


Am 25.02.2014 21:41, schrieb Nicolas Dolphin:
> Hello,
> 
> I am trying to cause sumo to reroute traffic once it gets to the following
> edges defined in my additional file; however, when the vehicles get to
> these edges, they simply continue to maintain the same routes they
> initially have disregarding the command to reroute.
> My question is: is my syntax correct? The rerouter id's ("resource1a", and
> "resource1b") do not actually refer to anything, are they required in the
> syntax?
> 
> Do I need to generate my routes using the additional file or do I just
> include it in the *.sumocfg file?
> 
> Thanks in anticipation of your response.
> 
> Here's my rerouter code that is not working.
> 
> 
> <rerouter id="resource1a" edges="8820063" probability="1">
> 
>         <interval begin="0" end="3600">
> 
> 
>             <closingReroute id="8820063" />
> 
> 
> 
> 
>         </interval>
>     </rerouter>
> 
>     <rerouter id="resource1b" edges="24263435" probability="1"> <!--source1
> -->
> 
> 
>         <interval begin="0" end="3600">
> 
>             <closingReroute id="24263435" />
> 
> 
> 
>         </interval>
>     </rerouter>
> ------------------------------------------------------------------------------
> Flow-based real-time traffic analytics software. Cisco certified tool.
> Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
> Customize your own dashboards, set traffic alerts and generate reports.
> Network behavioral analysis & security monitoring. All-in-one tool.
> http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
> _______________________________________________
> sumo-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/sumo-user
> 


------------------------------------------------------------------------------
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user

Reply via email to