Skip to main content

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

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


Back to the top