rafapereirabr / otp-travel-time-matrix

Tutorial with reproducible example to estimate a travel time matrix using OpenTripPlanner and Python
51 stars 24 forks source link

travel times should be randomly selected #6

Closed aakarner closed 5 years ago

aakarner commented 5 years ago

I've updated the list of departure times so that they're randomly selected within each window. This will avoid periodicity effects -- if the window is 30 minutes and you have a route with a 30 minute headway, your level of service will never change. I also clamp the initial wait time to zero so that OTP doesn't try to optimize the trip by eliminating the initial wait. This will more realistically represent the level of service on infrequent routes.

rafapereirabr commented 5 years ago

Wonderful, Alex. Thanks for pointing this out and for contributing to the repository!