urbanaccess icon indicating copy to clipboard operation
urbanaccess copied to clipboard

Mean wait time vs. mean headway

Open smmaurer opened this issue 5 years ago • 1 comments

When UrbanAccess creates connector edges for agents moving from the base network to the transit network, the default impedance is the mean headway at a given transit stop.

This happens in urbanaccess.integrate_network(), and current options are mean, std, min, and max, defined here: network.py#L103.

I'd like to propose adding an option for half of the mean, which would be a better approximation for the average expected wait time. It's also possible to achieve this through post-processing of the integrated network, but automatic calculation of it might be nice!

This is related to issues #36 and #51, i think.

smmaurer avatar Oct 12 '20 03:10 smmaurer

Agreed @smmaurer . This would be a good addition as another option to use in the parameter along side the existing ones.

Would also be nice if while this can be addressed we open this up to also add an option here to pass a custom function to calculate the headway as well.

sablanchard avatar Oct 12 '20 03:10 sablanchard