Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] routing

Thank you.

I would like to see the effect of the weight change interval on the duration(average travel time) of a simulation scenario. 
I choose the interval of 100, 200, 500, 1000 for weight update, and the same numbers for the rerouting period. My routing file contains 10000 random trips each one departure at one simulation step.  I expected to see a pattern in a change of average travel time but it seems it doesn't follow any pattern. Am I doing something wrong? or we can't say how average travel time is going to be with respect to weight update intervals?

Thanks,
Raheleh

On Thu, Oct 15, 2020 at 4:55 PM Michael Behrisch <oss@xxxxxxxxxxx> wrote:
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
>


_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user


--
RAZ

Back to the top