Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sumo-user] force vehickles not to eneter a closed street

Dear all,

 

I am simulating a scenario in which I close an edge and want to force all vehicles to other alternatives. The problem is that vehicles without any other alternative to reach their destination still enter the edge. In the Wiki it says if I set allow or disallow thoese vehicles must stop until they are teleported. I also set new destination for those vehicles, but they still take the old path. Has anyone tried to change destination? My rerouter files look like below. I want to close edge 146 and send vehicles that have to go via this link to 202 and 246 as their new destination, but it doesn’t work. All other vehicles are rerouted though.

 

<additional>

                <rerouter id="1" edges="103 142">

                               <interval begin="24000" end="36000">

                                               <closingReroute id="146" disallow="private passenger"/>

                                               <destProbReroute id="202" probability="0.5"/>

                                               <destProbReroute id="246" probability="0.5"/>

                               </interval>

 

                </rerouter>

</additional>

 

Thanks,

Sasan


Back to the top