[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [sumo-user] Question about Routing by Effort using SUMO
|
Hi James,
you can use a separate attribute as effort and specify it through the --weight-attribute argument. See the examples 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.
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" <sumo-user@xxxxxxxxxxx>
An: "sumo-user@xxxxxxxxxxx" <sumo-user@xxxxxxxxxxx>
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, 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:
-
How do we encode our definition of effort into the weight file? 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”
-
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, 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?
-
In addition, what is the difference between the weights from the weight file vs the weights from the TAZ file?
-
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?
-
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