Hi SUMO,

I have a 2 questions with regards to SUMO Weight File (Edge-based).


  1.  How do I get an appropriate SUMO Weight File (Edge-based, based on Travel 
time), so as to use the --weight-files option in SUMO?



Currently, what I saw on the web is that I could either:



A) Create an additional file and loads it during the simulation:

http://sumo.dlr.de/wiki/Simulation/Output/Lane-_or_Edge-based_Traffic_Measures



This would allow me to have the flexibility to have either a single aggregated 
weight (Without using 'begin' and 'end' parameters) or multiple sets of weight 
that is valid for a period of x seconds (Which can easily grow to several 
hundred MBs for simulation involving an entire city).



B)  Uses the option --device.rerouting.adaptation-interval 0 in conjunction 
with --device.rerouting.output <FILE> as a SUMO parameter.



However, the SUMO Weight File does not write any weight data in this case, 
while when device.rerouting.adaptation-interval with a greater than 0 value 
writes a weight file with "begin" and "end" value without a way to aggregate it.



Also, SUMO-GUI (0.28.0) continues to run simulation when 
--device.rerouting.adaptation-interval -1 is specified despite error message 
thrown.



http://www.sumo.dlr.de/wiki/SUMO#Routing





But the problem is that I still need to run at least once in SUMO without 
specifying --weight-files.



I would like to have the SUMO Weight File even before running the first 
iteration of simulation, if it is possible.



I cannot find a suitable output parameter for DUAROUTER for this purpose as I 
convert my randomly generated SUMO Trips into SUMO Route file.



http://www.sumo.dlr.de/wiki/DUAROUTER





  1.  By default, SUMO has default weight attributes such as traveltime, 
density, speed etc. However, it applies only to edges that has sampled vehicles 
which drives into the specified edge.



Is there a way to ensure all edges to have a specified attribute via 
--weight-attribute in SUMO, such as traveltime?



Otherwise, how does SUMO handles the weight for edges that does not have that 
specified attribute?



http://www.sumo.dlr.de/wiki/SUMO#Input







  1.  How do I generate an independent customized weight (Not the same weight 
file as the earlier SUMO Weight File mentioned in Qn 1 & Qn 2), such as 
distance (Length of edge), minTravelTime (Distance / Max Speed) that could be 
directly derived from SUMO Network File attributes?



Or do I need to hand-code it despite over several tens of thousands edges in a 
network that is meant to simulate entire city?



  1.  Lastly, I would also like to explore other options to create weight whose 
attributes that are not directly available from SUMO Network File.



Specifically, another independent edge weight file for exploring how dynamic 
rerouting can produce optimized route but mainly based on toll charges as the 
first criteria.







Regards,

Samuel Lee
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user

Reply via email to