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

Hello,
1) When I run your scenario with sumo version 1.2 or the latest development version, no vehicles enter the closed edge until t=36000 (where the closing ends).
2) Vehicles that cannot reach their original destination, fail to reroute because of https://github.com/eclipse/sumo/issues/5904. The fix for this is availabe tomorrow at https://sumo.dlr.de/wiki/Downloads#SUMO_-_Latest_Development_Version

regards,
Jakob

Am So., 11. Aug. 2019 um 22:12 Uhr schrieb Sasan Amini <sasan.amini@xxxxxx>:
Dear Michael,

please find attach the files I used to model the road closure. The reroute edges are two edges upstream the closed edge and are not the beginning edge.
The problem is for vehicles which cannot find an alternative route. I thought with the additional file I am assigning a new destination for these vehicles with a possible path, but this is not working. Any tips to find my mistake are much appreciated.

Best,
Sasan

-----Original Message-----
From: Michael Behrisch [mailto:oss@xxxxxxxxxxx]
Sent: Friday, 2 August 2019 12:12
To: Sumo project User discussions <sumo-user@xxxxxxxxxxx>
Cc: Sasan Amini <sasan.amini@xxxxxx>
Subject: 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
_______________________________________________
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