Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Road closure

Thank you Jacob for the pointing me tthe right direction again.  Much appreciate that.

Many thanks
Mohsen


On Mon, Sep 17, 2018 at 12:00 AM, Jakob Erdmann
<namdre.sumo@xxxxxxxxx> wrote:
- routers always need an id
- if you close the whole street with closingLaneReroute you need to use sumo option --ignore-route-errors. This will make vehicles wait at the closure until it re-opens (if they have no alternative route)
- I is advisable to specify rerouter edges before an intersection where vehicles can still chose alternative routes




2018-09-16 10:56 GMT+02:00 mohsen hs <mohsenhs82@xxxxxxxxx>:
Hello there, 

I am following this page (http://sumo.dlr.de/wiki/ Simulation/Rerouter) and intend to simulate some road closures in SUMO.
------------------------------ ------------------
With this one:
<rerouter>
<interval begin="1" end="6000000">
      <closingLaneReroute id="5184833#7_1"/>
</interval>
</rerouter>


I get this error:
Error: missing required attribute 'id'
------------------------------ -------------
and with this:

<rerouter id="2" edges="5184833#7">
<interval begin="1" end="6000000">
      <closingLaneReroute id="5184833#7_0"/>
 <closingLaneReroute id="5184833#7_1"/>
</interval>
</rerouter>

I get this error:
Error: Vehicle '38' has no valid route. No connection between edge '5184833#7' and edge '5184833#8'.
------------------------------ -----------
and with this:
<rerouter>
<interval begin="1" end="6000000">
      <closingReroute id="5184833#7"/>

</interval>
</rerouter>


I get this error:
Error: missing required attribute 'id'

------------------------------ ---------------------
, but this works fine
<rerouter id="2" edges="5184833#7">
<interval begin="1" end="6000000">
      <closingLaneReroute id="5184833#7_0"/>
 
</interval>
</rerouter>

The reason is that 5184833#7 has two lanes.
------------------------------ --------------------------
I was wondering if you could advise me how I could have a road closure in my simulation environment. 

Many thanks
Mohsen


______________________________ _________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/ mailman/listinfo/sumo-user



Back to the top