Hi Jakob,

Thank you so much for your very swift reply, that solution seems to work and 
the routes re-open now accordingly.

Thank you again and I wish you a nice weekend.

Kind regards,

Barry


From: [email protected] [mailto:[email protected]] On 
Behalf Of Jakob Erdmann
Sent: 12 April 2019 20:53
To: Sumo project User discussions <[email protected]>
Subject: Re: [sumo-user] Closing routes problem

This sounds like a sumo bug. I think we don't have many tests for multiple 
rerouters that load the same definition file.
Please check if it works if you replace your 4 rerouter definitions with the 
following single rerouter that uses all 4 trigger edges:

<rerouter edges="-45791 --45791 -45962 --45962" file="R_Zone11.shp.def.xml" 
id="Zone11.shp" probability="1" />

regards,
Jakob



Am Fr., 12. Apr. 2019 um 21:06 Uhr schrieb Evans, Barry 
<[email protected]<mailto:[email protected]>>:
Good evening,

I’m trying to simulate temporary road closures in SUMO. I have 4 edges in my in 
my additional file that trigger a rerouting action that references a file that 
tells SUMO which roads are closed.The idea being that the roads are closed from 
7:00am and then reopen at 7:30am. When I run this in the SUMO GUI at 7am the 
closed link in Zone11 disappears and is replaced by No Entry markers to depict 
the road is closed as expected. However, at 7:30am the No Entry signs disappear 
but the closed Edge is still missing from the network and the vehicles can’t 
continue their journey. If I remove any one of the four trigger edges from the 
additional file SUMO appears to work correctly in that at 7am the edge is 
closed and the No Entry markers appears and then at 7:30am the No Entry markers 
disappear and the Edge reappears allowing flow of traffic.

Do you know if this is a bug in SUMO or if perhaps I am doing something wrong. 
Any help you can give will be greatly appreciated. I’ve included below a Sample 
of the XML files from the Additional File and also reference file that says 
what edges are closed.

Kind regards,

Barry


Additional file looks like the following:

<additional xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:noNamespaceSchemaLocation="http://sumo-sim.org/xsd/additional_file.xsd";>
<rerouter edges="-45791" file="R_Zone11.shp.def.xml" id="Zone11.shp" 
probability="1" />
<rerouter edges="--45791" file="R_Zone11.shp.def.xml" id="Zone11.shp" 
probability="1" />

<rerouter edges="-45962" file="R_Zone11.shp.def.xml" id="Zone11.shp" 
probability="1" />
<rerouter edges="--45962" file="R_Zone11.shp.def.xml" id="Zone11.shp" 
probability="1" />
</additional>

With reference file looking like this:

<rerouter id="Zone11.shp">

                <interval begin="25200" end="27000">

                                <closingReroute disallow="all" id="-45956" />
                                <closingReroute disallow="all" id="--45956" />

                </interval>
</rerouter>




_______________________________________________
sumo-user mailing list
[email protected]<mailto:[email protected]>
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user

Reply via email to