Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sumo-user] closing and reroute

hello, im newbie in SUMO, i want to create a scenario.

in my "mycross.rou.xml"
i have, 156 vehicle. with id left_1 until left_156, and all route = "left",
like this :

<vehicle id="left_%n" type="typeWE1" route="left" depart="%t"
departLane="random" color="white"/>

i want in time between 300 and 600 lane 1o_0 closed and vehicle in
mycross.rou.xml in that time automatic reroute to route="leftup"

my "mycross.add.xml" like this :
<additional>
<rerouter id="rero1" edges="1o">
<interval begin="300" end="600">
<closingLaneReroute id="1o_0"/>
</interval>
</rerouter>
</additional>

and my "myrerou.add.xml" like this
<additional>
<rerouter id="rero1" edges="1o">
<interval begin="300" end="600">
<routeProbReroute id="leftup" probability="1"/>
</interval>
</rerouter>
</additional>

when im running, lane 1o_0 closed, but vehicle in that time is not reroute,
and error :
Error: Vehicle 'left_64' has no valid route. No connection between edge
'1o' and edge '51i'.
Quitting (on error).

how to correct them for running well.
thank you very much....
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/sumo-user


Back to the top