arup-group / elara

Command line utility for processing MATSim events output files.
MIT License
14 stars 4 forks source link

allows negative duration activity plan components #39

Closed fredshone closed 4 years ago

fredshone commented 4 years ago

FYI only:

This adds a simpler method for dealing with activity plan times to the plan_handler module.

The previous method (which i leave in - but will clean out once this change is established on real project data) essentailly hid negative activity and trip durations by adding a day to the datetime. I've since come to the conclusion that these negative durations are 'real' and so we shouldn't hide them.

I will merge but i leave this PR for info and posterity for when the rest of the stack collapses 🙏