Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reconcile vehkm table with legs table #82

Open
Theodore-Chatziioannou opened this issue Apr 11, 2024 · 0 comments
Open

Reconcile vehkm table with legs table #82

Theodore-Chatziioannou opened this issue Apr 11, 2024 · 0 comments
Labels
bug Something isn't working invalid This doesn't seem right

Comments

@Theodore-Chatziioannou
Copy link

Vehicle-km (for each car user) figures can be calculated from the legs table, or taken directly from the intermediate vehkm output. Testing with one of our sims, I get slightly different numbers in the two tables. This includes agents with zero veh-km travelled in the legs log, but non-zero distance in the vehkm log.
I think this might be due to different treatment of entry/exit links. I believe the MATSim assumption (reflected in the legs table) is that a vehicle enters "just before" the end of the link and exits "just after" its start, while the Gelato vehkm calculation is assigning the full length every time. Similarly, this affects any zero-distance trips: a single-link event with zero travel time is assigned the full distance of the link.

@Theodore-Chatziioannou Theodore-Chatziioannou added the invalid This doesn't seem right label Apr 11, 2024
@mfitz mfitz added the bug Something isn't working label Apr 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants