This repository contains the code accompanying our paper "Quantifying the impacts of non-recurrent congestion on workplace EV charging infrastructures",. The codebase includes a Cell Transmission Model (CTM) implemented in Fortran and a Python pipeline that interfaces with the ACM simulator.
- CTM Model: Implemented in Fortran, dynamically generated from a configuration file to adapt to various traffic scenarios.
- Python Pipeline: Integrates with the ACM simulator to analyze the impact of EV charging on power grids. The ACM simulator can be found at ACM Simulator.
- Traffic Volume Data: Utilized from the Traffic Mapping Application provided by the Minnesota Department of Transportation, available here. The repository includes sample data for demonstration purposes.
- Network Data: Collected from OpenStreetMap (OSM), facilitating the realistic simulation of traffic scenarios.
If you find the code useful or refer to the concepts presented in the paper, please cite our work.
-
Clone the Repository:
git clone https://github.com/mie-lab/congestion-and-grid-overload.git cd congestion-and-grid-overload
-
Set Up the Environment:
-
For Python dependencies:
pip install -r requirements.txt
-
For Fortran, ensure a compatible compiler is available on your system.
-
-
Install ACM Portal and AdaCharge:
pip install git+https://github.com/zach401/acnportal.git@3c76892d78ae7cbdca9017f8e2a4e3114198deba pip install git+https://github.com/caltech-netlab/adacharge.git@b7d5fddb25e842333fc2b404d32dd3477ca47297
We need to modify one function inside the acnportal to extract more logging information during the simulation. Please follow the instructions in README_acnportal_modification.md
to install the acnportal properly.
-
Configure the Model: Modify the configuration file to suit your specific traffic scenario.
-
Run the Simulation: Execute the main script to start the simulation:
python pipeline.py
This project is open-sourced under the MIT license. See the LICENSE file for more details.
If you find the codes in this repository useful for your research, please consider citing our paper
@article{kumar2025quantifying,
title={Quantifying the impacts of non-recurrent congestion on workplace EV charging infrastructures},
author={Kumar, Nishant and Wang, Yi and Chin, Jun-Xing and Raubal, Martin},
journal={Transportation Research Part D: Transport and Environment},
volume={146},
pages={104869},
year={2025},
publisher={Elsevier}
}