matsim-org / matsim-code-examples

A repository containing code examples around MATSim
GNU General Public License v3.0
83 stars 180 forks source link

VKT/VMT #772

Closed FURSAL closed 2 years ago

FURSAL commented 2 years ago

Hello,

I have a question related to Vehicles Kilometer Traveled/Vehicle Miles Traveled, I have read many research papers utilizing MATSim software and they analyze the VKT. Is it something we can get from MATSim directly? Or, it has to be calculated?

Thank you,

Janekdererste commented 2 years ago

Matsim will not give you this number as direct output. You can compute this number from its output though.

gac55 commented 2 years ago

You can get VKT as output from Elara, see here

More info on Elara

FURSAL commented 2 years ago

You can get VKT as output from Elara, see here

More info on Elara

I'll try Elara out. Thank you so much

vsp-gleich commented 2 years ago

Hi, in a typical matsim run you will find pkm_modestats.txt in the output directory, which gives person-kilometers travelled. Since car has exactly one passenger per vehicle and never moves without the passenger(=driver), car-pkm equals car-vkm. If you use drt you will find a drt_vehicle_stats_drt.csv which among others gives the total km travelled. Both outputs should come out automatically at the end of the run unless they were deliberately switched off.

FURSAL commented 2 years ago

Great. Thank you so much