Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] routing
  • From: Michael Behrisch <oss@xxxxxxxxxxx>
  • Date: Thu, 15 Oct 2020 22:54:43 +0200
  • Autocrypt: addr=oss@xxxxxxxxxxx; prefer-encrypt=mutual; keydata= xsDiBFLSvucRBACGsasS4GeIWs1CFNTOYmp3ScQ2ZTJLJWQxhPliwtHTzLsErYu9Y7e8qDov iHFviYyaNuceUNoACm1e4MT4eu0DmM2Wk3y/jjD6hfm7L0EZNPxQhj+CJf2oZAm2ezCe7/si xZ2d7TCO8yWavOGbF0EVi/ZDIJqVgupu6WBpv/NCewCg65HQiS1wm+1w1MdFYxKCmXzbv08D /iWXX3tzabbCrLlUum8hBgBpJEHRtlic2uaGsKm8Fize4tfLZkTBbTYLYXfcx2Oq9+lINPTW h9jnbCjAjErRWLTjNTQjel0JnDryCnqabub/R3wScR/EHRDBeS9L6YRj0xdVd2qIaArtSYRR auKPNc4M2qZNEFSM37cXC7avhpdeA/99oJf4qyVly4RxHmekAmj9UJjRx17x9xX8t9uzUuSt AeTh+kQ3o5jK7veU6/F/+pPyi96EOzym9BJA8pgXC8hLWNjOajI10filkdQ26QsfHOpUdPSZ 4Duyw9Ayj8loagEnnAONmU/xE0QlyVBANIut0W+SNqPScYXfnBbVOaG3Hc0mTWljaGFlbCBC ZWhyaXNjaCA8bWljaGFlbEBiZWhyaXNjaC5kZT7CZgQTEQIAJgIbIwcLCQgHAwIBBhUIAgkK CwQWAgMBAh4BAheABQJS0sKXAhkBAAoJEDwQ/pbRcKYp+SEAoMJSvUzfk3u6EA1nMlMVSk85 nHhoAJ0VE5xLi2ni8j9wdx+uga7XGLtjhs7ATQRS0r7nEAQAkQLdzlu3i/Ddziadm2c/60ZX bcY3FYhHHfsKUHC/QING+lu3uHG0nPaElPTAHTr8UdFMbmpXkRs9+1v1RAvHBWW95BbUXZeu oBsoCm+4Jdktu+PeVxGKhOwQRdR30A4y/bIeRn7iMzkZKoQh0lE3ZEbs0T8TUHBGBUqwEhIv Y0MAAwUD/RXrkwtUiR61/bT96eMaxGtO15AqvlM8DYQ3Xs6EH09QlGzr/i0+usi01wGoh13p YGjzEDtTqO+lNs9AtS7nZAHA3cCWzLmdEXw6EY7IH4X7zOpKoj+JtLNjUd2Nzvhyl48LT217 g8GmCACL6Wo/G+fZ+30Mny+gWbDtEGXNIv7fwkkEGBECAAkFAlLSvucCGwwACgkQPBD+ltFw pimNZQCgnN5oibnjl7r2SVle6hgUMcckfN4AoMYRjy/Tqz9tq8TSUqNcOTjlMR7D
  • Delivered-to: sumo-user@xxxxxxxxxxx
  • List-archive: <https://www.eclipse.org/mailman/private/sumo-user>
  • List-help: <mailto:sumo-user-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/sumo-user>, <mailto:sumo-user-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/sumo-user>, <mailto:sumo-user-request@eclipse.org?subject=unsubscribe>
  • User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0

Hi,
yes, using those two options looks like the way to go.

Best regards,
Michael

Am 13.10.20 um 04:53 schrieb Raheleh Zarei:
> Thanks.
> Jakob, what should I do to implement the scenario below: 
> I want to update the edge weight in the road network in a specific
> interval, as vehicles are running in the network, and if there is a
> quicker path the vehicles change their route to the new route. (I don't
> want location-based rerouter)
> Do I need to use the combination of device.rerouting.period and
> device.rerouting.adaptation-interval? 
> 
> Best,
> Raheleh
> 
> On Sun, Oct 4, 2020 at 3:42 PM Jakob Erdmann <namdre.sumo@xxxxxxxxx
> <mailto:namdre.sumo@xxxxxxxxx>> wrote:
> 
>     1) in your simulation, vehicles that reroute more than once do so
>     before insertion.  Pre-insertion rerouting happens multiple times
>     for vehicles that cannot depart due to filled roads (default
>     frequency of 60s). The way this is currently implemented, cost
>     savings are not computed for pre-insertion rerouting (because in the
>     case of rerouting a trip the savings are not meaningful)
>     2) Since vehicles may reroute multiple times before departure you
>     get different numbers.
> 
>     Am So., 4. Okt. 2020 um 17:44 Uhr schrieb Raheleh Zarei
>     <raheleh.zarei@xxxxxxxxx <mailto:raheleh.zarei@xxxxxxxxx>>:
> 
>         Thank you Jakob.
>         But my original question remained unanswered. Would you please
>         help me with that too?
> 
>         Thanks,
>         Raheleh
> 
>         On Sat, Oct 3, 2020 at 5:48 AM Jakob Erdmann
>         <namdre.sumo@xxxxxxxxx <mailto:namdre.sumo@xxxxxxxxx>> wrote:
> 
>             device.rerouting does not support conditional rerouting.
>             For location-based rerouting you could use a rerouter with
>             the timeThreshold parameter. This would trigger only for
>             vehicles that have accumulated enough waitingTime:
>             https://sumo.dlr.de/docs/Simulation/Rerouter.html
>             Or you could trigger rerouting via TraCI based on your own
>             jam detection.
> 
>             Am Fr., 2. Okt. 2020 um 18:08 Uhr schrieb Lara Codeca
>             <lara.codeca@xxxxxxxxx <mailto:lara.codeca@xxxxxxxxx>>:
> 
>                 Hi,
> 
>                 If the period is equal to the simulation step, it’s
>                 gonna recompile the best route every time.
> 
>                 Regards,
>                 Lara
> 
>                 On Fri 2 Oct 2020 at 16:58, Raheleh Zarei
>                 <raheleh.zarei@xxxxxxxxx
>                 <mailto:raheleh.zarei@xxxxxxxxx>> wrote:
> 
>                     Hello,
> 
>                     I want to use automatic rerouting, not periodic
>                     rerouting. We can't have automatic rerouting while a
>                     vehicle running in the network(In traffic jam
>                     condition)?
> 
>                     Best,
>                     Raheleh
> 
>                     On Fri, Oct 2, 2020 at 9:26 AM
>                     <Maria.Armellini@xxxxxx
>                     <mailto:Maria.Armellini@xxxxxx>> wrote:
> 
>                         Hi Raheleh,____
> 
>                         __ __
> 
>                         I think the reason is that you are missing the
>                         option „--device.rerouting.period”, as it says
>                         in the Wiki: “Please note that if a vehicle gets
>                         a routing device only rerouting before insertion
>                         is active by default. In order to activate
>                         periodic rerouting en route set
>                         --device.rerouting.period.” (see
>                         https://sumo.dlr.de/docs/Demand/Automatic_Routing.html#options).____
> 
>                         __ __
> 
>                         Regards,____
> 
>                         Giuliana____
> 
>                         __ __
> 
>                         *From:*sumo-user-bounces@xxxxxxxxxxx
>                         <mailto:sumo-user-bounces@xxxxxxxxxxx>
>                         [mailto:sumo-user-bounces@xxxxxxxxxxx
>                         <mailto:sumo-user-bounces@xxxxxxxxxxx>] *On
>                         Behalf Of *Raheleh Zarei
>                         *Sent:* Dienstag, 29. September 2020 17:10
>                         *To:* Sumo project User discussions
>                         *Subject:* [sumo-user] routing____
> 
>                         __ __
> 
>                         Hello,____
> 
>                         __ __
> 
>                         I have two questions please.____
> 
>                         - I have a sumo configuration file like this: ____
> 
>                          sumo.exe --routing-algorithm HL -n
>                         ./Mtl.net.xml -r ./RoutingSim1.rou.xml
>                         --junction-taz true
>                         --device.rerouting.adaptation-interval 100
>                         --tripinfo-output ./tripinfo.xml
>                         --vehroute-output ./vehroute.xml 
>                         --vehroute-output.cost true 
>                         --vehroute-output.route-length true 
>                         --duration-log.statistics true --xml-validation
>                         never --verbose true
>                         --device.rerouting.probability 1____
> 
>                         __ __
> 
>                         RoutingSim1.rou.xml contains 10000 vehicles that
>                         depart at each simulation step.____
> 
>                         In vehroute file, for some vehicles, rerouting
>                         have happened and log is like this:____
> 
>                              <vehicle id="186" depart="246.00"
>                         arrival="1141.00" routeLength="7659.49">____
> 
>                                 <routeDistribution>____
> 
>                                     <route cost="620.53" savings="0.00"
>                         replacedOnEdge="" reason="device.rerouting"
>                         replacedAtTime="246.00" probability="0"
>                         edges="665 664 663 662 661 55 54 737 3574 3575
>                         3189 3190 2146 2147 2149 2351 2148 3388 3389
>                         1347 2905 1344 1345 1346 1300 2328 2061 1355
>                         3756 2920 3611 2329 2330 2914 2915 2916 2917
>                         2921 2179 2923 2924 2815 2620 3033 1943 858 857
>                         859 770 768 767 1042 769 753 884 106 3249 1551
>                         3255 3253 3731 3732 3147 1440 2722"/>____
> 
>                                     <route cost="602.43" savings="0.00"
>                         edges="664 663 662 661 55 54 737 3574 3575 3189
>                         3190 2146 2147 2149 2351 2148 3388 3389 1347
>                         2905 1344 1345 1346 1300 2328 2061 1355 3756
>                         2920 3611 2329 2330 2914 2915 2916 2917 2921
>                         2179 2923 2924 2815 2620 3033 1943 858 857 859
>                         770 768 767 1042 769 753 884 106 3249 1551 3255
>                         3253 3731 3732 3147 1440"/>____
> 
>                                 </routeDistribution>____
> 
>                             </vehicle>____
> 
>                         __ __
> 
>                         All routings have happened are like this. The
>                         saving is 0, Replacedage is empty and there is
>                         not a change in the route. As log file shows,
>                         there was some jam and I was wondering why
>                         rerouting actually didn't happen.____
> 
>                         __ __
> 
>                         - Another question is: why I see different
>                         number of queries in the log file? I have 10000
>                         vehicles in route file, but I've got
>                         different answered query number. ____
> 
>                         __ __
> 
>                         HLRouter answered 9970 queries and explored ...____
> 
>                         In another case, that the number of vehicles in
>                         route file is smaller( 1000) , I get a bigger
>                         number of (1004).____
> 
>                         __ __
> 
>                         Thanks for your help.____
> 
>                         Raheleh
>                         ____
> 
>                         __ 
> 
>                         __
> 
>                         -- ____
> 
>                         *RAZ*____
> 
>                         _______________________________________________
>                         sumo-user mailing list
>                         sumo-user@xxxxxxxxxxx <mailto:sumo-user@xxxxxxxxxxx>
>                         To unsubscribe from this list, visit
>                         https://www.eclipse.org/mailman/listinfo/sumo-user
> 
> 
> 
>                     -- 
>                     *RAZ*
>                     _______________________________________________
>                     sumo-user mailing list
>                     sumo-user@xxxxxxxxxxx <mailto:sumo-user@xxxxxxxxxxx>
>                     To unsubscribe from this list, visit
>                     https://www.eclipse.org/mailman/listinfo/sumo-user
> 
>                 _______________________________________________
>                 sumo-user mailing list
>                 sumo-user@xxxxxxxxxxx <mailto:sumo-user@xxxxxxxxxxx>
>                 To unsubscribe from this list, visit
>                 https://www.eclipse.org/mailman/listinfo/sumo-user
> 
>             _______________________________________________
>             sumo-user mailing list
>             sumo-user@xxxxxxxxxxx <mailto:sumo-user@xxxxxxxxxxx>
>             To unsubscribe from this list, visit
>             https://www.eclipse.org/mailman/listinfo/sumo-user
> 
> 
> 
>         -- 
>         *RAZ*
>         _______________________________________________
>         sumo-user mailing list
>         sumo-user@xxxxxxxxxxx <mailto:sumo-user@xxxxxxxxxxx>
>         To unsubscribe from this list, visit
>         https://www.eclipse.org/mailman/listinfo/sumo-user
> 
>     _______________________________________________
>     sumo-user mailing list
>     sumo-user@xxxxxxxxxxx <mailto:sumo-user@xxxxxxxxxxx>
>     To unsubscribe from this list, visit
>     https://www.eclipse.org/mailman/listinfo/sumo-user
> 
> 
> 
> -- 
> *RAZ*
> 
> _______________________________________________
> sumo-user mailing list
> sumo-user@xxxxxxxxxxx
> To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
> 


Attachment: signature.asc
Description: OpenPGP digital signature


Back to the top