This project demonstrates comprehensive transportation network analysis using the FAF5 (Freight Analysis Framework 5) network data and the AequilibraE transportation modeling framework.
The FAF5 network is a comprehensive freight transportation network covering the United States, containing detailed highway network data including links, nodes, and various transportation attributes. This project provides tools and workflows to:
- Load FAF5 network data from Geodatabase format
- Create an AequilibraE project and import the network
- Calculate shortest travel times/costs between origin-destination (OD) pairs
- Compute shortest paths between OD pairs with detailed path information
- Generate route choice sets between OD pairs using BFS-LE algorithm
- Perform traffic assignment using path-sized logit method
The analysis generates interactive maps visualizing the network analysis results:
- Network Loading: Import FAF5 network from Geodatabase format (487,384 links and 348,498 nodes)
- Path Computation: Calculate shortest paths between OD pairs with detailed link-by-link information
- Route Choice Analysis: Generate route choice sets using Breadth-First Search with Link Elimination (BFS-LE) algorithm
- Traffic Assignment: Perform static traffic assignment using path-sized logit route choice model
- Visualization: Generate interactive Folium maps for exploring network paths and route choices
- Python 3.9 or higher
- GDAL/GEOS libraries (required for GeoPandas)
- Clone the repository:
git clone https://github.com/CPCS-IAU/FAF5.git
cd FAF5- Install dependencies:
pip install -r requirements.txtThe project requires:
numpy>=1.20.0pandas>=1.3.0aequilibrae>=1.0.0geopandas>=0.12.0fiona>=1.9.0shapely>=2.0.0jupyter>=1.0.0ipykernel>=6.0.0
The main analysis is performed in the Jupyter notebook FAF5_AequilibraE_Analysis.ipynb. Open the notebook and run the cells sequentially to:
- Load the FAF5 network data
- Create and configure the AequilibraE project
- Perform network analysis operations
- Generate visualization maps
The FAF5 network data can be downloaded from here and should be extracted as:
Networks/Geodatabase Format/FAF5Network.gdb
The network data dictionary is available in Networks/FAF5 Network Data Dictionary.pdf.
For move information see here.
FAF5/
├── FAF5_AequilibraE_Analysis.ipynb # Main analysis notebook
├── requirements.txt # Python dependencies
├── Networks/ # FAF5 network data
│ ├── Geodatabase Format/
├── shortest_paths_map.html # Interactive shortest paths map
├── route_choice_sets_map.html # Interactive route choice sets map
└── README.md # This file
- Network Loading: Import FAF5 links and nodes from Geodatabase
- Project Creation: Initialize AequilibraE project and import network
- Graph Preparation: Build network graph with travel time/cost attributes
- Path Computation: Calculate shortest paths for selected OD pairs
- Route Choice Sets: Generate alternative routes using BFS-LE algorithm
- Traffic Assignment: Assign traffic flows using path-sized logit model
- Visualization: Create interactive maps showing paths and assignments
- AequilibraE Documentation
- FAF5 Network Data Dictionary (included in
Networks/directory)