Hi James,
 
you can use a separate attribute as effort and specify it through the 
--weight-attribute argument. See the examples
<https://sumo.dlr.de/extractTest.php?path=duarouter/function/measure> from 
our tests. TAZ weights are a different topic – they are used to select a 
departure/arrival edge inside a TAZ (calling od2trips only, not 
duarouter/sumo) but not for the routing between origin and destination. See 
the docs
<https://sumo.dlr.de/docs/Definition_of_Vehicles%2C_Vehicle_Types%2C_and_Routes.html#traffic_assignment_zones_taz>
 
.
 
Best regards
Mirko
 
 
 
 
-----Original-Nachricht-----
Betreff: [sumo-user] Question about Routing by Effort using SUMO
Datum: 2023-08-12T03:08:44+0200
Von: "James Cheng via sumo-user" <[email protected]>
An: "[email protected]" <[email protected]>
 
 
 
Dear SUMO staff members,
 
My main question is the following: how do we route by effort, where 
“effort” is travel time + toll? According to the documentation
<https://sumo.dlr.de/docs/Simulation/Routing.html#routing_by_effort> , it 
is recommended to use a weight file for routing by effort. However, my team 
and I have a couple questions about the weight file: 
   1. How do we encode our definition of effort into the weight file
      
<https://sumo.dlr.de/docs/Simulation/Output/Lane-_or_Edge-based_Traffic_Measures.html#edge-based_network_states>
 
      ? Is it through the “traveltime” parameter?
Moreover, in the above weight file format, is “traveltime” a keyword that 
specifically encodes traveltime for the edge? Or can we put another 
variable name to represent our effort, such as “effort = 3” instead of 
“traveltime = 3”
   1. In addition, looking through the SUMO directory, we were unable to
      locate a formal definition of weights within the TAZ file and were
      wondering if you could help define it. According to SUMO
      documentation
      
<https://sumo.dlr.de/docs/Demand/Importing_O/D_Matrices.html#differentiated_probabilities>
 
      , the weight in the TAZ file is a “probability to use”, but is that
      an initial probability for a car to use that edge when we generate
      the simulation or is it iterative, in the sense that any time a car
      is confronted with that edge during the simulation, it has that
      probability to use the edge?
         1. In addition, what is the difference between the weights from
            the weight file vs the weights from the TAZ file?
   2. As a clarification, what would be the best way to route by effort? Do
      we use the weight file to route by effort or can we use the weights
      within the TAZ file to route by effort as well?
         1. Any examples of routing by effort, besides only travel time,
            using SUMO would be greatly appreciated!
 
Thank you so much for your help!
 
Best Regards,
James
 
 

_______________________________________________
sumo-user mailing list
[email protected]
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user

Reply via email to