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

TripLogs output appears to exclude some trips #192

Closed
andkay opened this issue Mar 24, 2022 · 3 comments
Closed

TripLogs output appears to exclude some trips #192

andkay opened this issue Mar 24, 2022 · 3 comments
Assignees

Comments

@andkay
Copy link
Contributor

andkay commented Mar 24, 2022

I've discovered a possible bug in the TripLogs handler, which I am currently investigating. The number of trips (using experienced plans) for some agents appears to be incorrect.

Input TripsLog:
image

Output TripsLog:
image

@fredshone
Copy link
Contributor

Is the plan unachievable? - i think matsim expererienced plans would only be those within (depending on matsim config) 72hrs

@andkay
Copy link
Contributor Author

andkay commented Mar 24, 2022

Generally, the missing data seems to stem from complex plans with either (a) pt trips requiring lots of transfers or (b) car trips from agents plans containing generally high trip frequency.

For example, the plan agent referenced above ends with pt interaction with an end time well before the end of simulation. This happens during their third trip of the day (which is by bus).

...
<activity type="pt interaction" link="5217153356784779621_5217153356784779621" x="707518.706891855" y="739254.6427297454" start_time="19:57:55" end_time="19:57:56" >
                        </activity>
                </plan>

        </person>

I'm wondering if it may be that MATSim is truncating the plans after some number of lines/elements.

@andkay
Copy link
Contributor Author

andkay commented Aug 25, 2022

Closing this, as it's stale and with no possible fix in Elara. Fundamentally a MATSim issue.

@andkay andkay closed this as completed Aug 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants