Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Weight file for SUMO

Thank you for responding. Based on your answer, I have a few follow up questions regarding the weight file.

1) The network I use is very large and hence it is tedious to manually set weights to every edge. Is there a way to automate this?

2) There are edges IDs which are divided based on the presence of junctions etc. That is, as 213736#2, 213736#3, 213736#4 etc. Should the weight be given to all of them or is it enough to give to ID 213736 alone? 

Thanking you
Marjerie Suresh


On Wed, 19 Feb, 2020, 00:57 Jakob Erdmann, <namdre.sumo@xxxxxxxxx> wrote:
However, you only need to set 'id' and 'traveltime'. If you want to route by effort (independent of traveltime) you currently have to write your values into one of the emission attributes.
2) Extension does not matter
3) The file must be loaded with option --weight-files and this can be used by duarouter as well as sumo (and sumo-gui)
regards,
Jakob

Am Di., 18. Feb. 2020 um 17:31 Uhr schrieb Marjerie Suresh <marji1998@xxxxxxxxx>:
Hello!

I am new to the software. I want to specify weights to every edge of a network formed from an osm file. After some reading, I understand that a weight file can be used to do that. But, I have a few questions regarding the weight file.

1) What is the syntax of the weight file?
2) Should it be saved as <file_name>.add.xml or some other extension?
3) How and when to add this file to the network? That is, during netconvert or while calling the GUI for simulation?

Thank you!
Marjerie Suresh
_______________________________________________
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