Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sumo-user] Closing routes problem

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>

 

 

 

 


Back to the top