Skip to main content

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

Hi,
can you share your scenario? Is the rerouter edge the starting edge for the vehicles?

Best regards,
Michael

Am 2019-07-23 01:56, schrieb Sasan Amini:
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

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


Back to the top