Skip to content

Calculate change in accessibility due to new infrastructure

Notifications You must be signed in to change notification settings

mbonsma/calculate_accessibility

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Calculate accessibility change from new cycling projects

This code calculates the change in destination accessibility for each origin in Toronto as a result of an input list of cycling infrastructure projects.

Inputs:

  • A list of projects -- a list of integer IDs for projects that correspond to the arterial road segments in proj2artid, i.e. project 0 is the 0th indexed element in proj2artid. Alternatively projects are listed as network edges in args['projects'].
  • args.pkl -- object containing:
    • destination values for each DA (indexed by centroid node ID)
      • graph object for full city network (G) and reachable with current infrastructure (G_curr)

Returns:

  • change in destination accessibility for each origin, mapped to DAid in a csv

Usage:

Test project set - 10 km city-wide budget, from seed 38 - data/new_projects.csv

python calculate_accessibility.py potentials

Example usage: python calculate_accessibility job populations

About

Calculate change in accessibility due to new infrastructure

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages