UDST / urbanaccess

A tool for GTFS transit and OSM pedestrian network accessibility analysis by UrbanSim
https://udst.github.io/urbanaccess/index.html
GNU Affero General Public License v3.0
241 stars 57 forks source link

Mean wait time vs. mean headway #76

Open smmaurer opened 4 years ago

smmaurer commented 4 years ago

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.

sablanchard commented 4 years ago

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.