Skip to main content
. 2021 Jan 17;285:116429. doi: 10.1016/j.apenergy.2020.116429

Table 1.

The calculation procedures for the distances of all bike-sharing trips.

1 Extract the bikeable road network in Beijing with OSMnx, which is denoted as GN,L,where N is the set of nodes, and L is the set of links.
2 Define the sets of longitudes and latitudes of origins and destinations for bike sharing as (Olon,Olat) and (Dlon,Dlat), respectively.
3 Find the nearest point locations of (Olon,Olat) and (Dlon,Dlat)from G, denoted as (O'lon,O'lat) and (D'lon,D'lat).
4 Input (O'lon,O'lat), (D'lon,D'lat) and G, utilizing Dijkstra algorithm to calculate the shortest paths of all bike-sharing trips.
5 Save the length of the shortest paths as R.