Skip to content

faq 33521667

Billy Charlton edited this page Sep 5, 2018 · 2 revisions

I would like to be sure what the linkstats, generated by MATSim every certain number of iterations, are showing.

by Kai Nagel on 2015-08-22 14:21:26


(kn proxying for Andres Gomez Moreno)
Dear all.

I would like to be sure what the linkstats, generated by MATSim every certain number of iterations, are showing. So my question is, what exactly are the numbers under the headings "HRS0-1min    HRS0-1avg    HRS01-max    HRS1-2min ..."?, are those traffic counts through the links?

Thank you.

Best regards.

Andres.


Comments: 1


Re: I would like to be sure what the linkstats, generated by MATSim every certain number of iterations, are showing.

by Kai Nagel on 2015-08-22 14:28:52

Dear Andres,

I would answer as follows:

  1. That code is quite ancient.  A problem with ancient code is that conventions inside matsim may have changed, but ancient code may not have been adapted.  For example, we now have different vehicle types, and it is never clear what such codes makes with different vehicle types, in particular different vehicle sizes (= passenger car equivalents, PCEs).  For that reason, we recommend for production runs to write your own analysis tools, based on events, see http://matsim.org/javadoc → main_distribution → RunEventsHandlingExample or RunEventsHandlingWithControlerExample.
  2. Having said that, the linkstats should contain hourly volume counts, e.g. HRS7-8... being the volume between 7am and 8am.  Similarly, TRAVELTIME is average travel time.  The "min", "max", "avg" has something to do with iterations; avg is averaged over some iteration, "min" is the min that occurred, and "max" the max.  However, I don't think there is a way in which you can control over which iterations this averages so this is a bit useless.  For the code see http://matsim.org/javadoc → main_distribution → CalcLinkStats .

Best

Kai

Clone this wiki locally