This project comprises Python code from three consecutive assignments completed in the course Advanced Simulation of the MSc programme Engineering and Policy Analysis at TU Delft. The model analyses Bangladesh's road network using Road Maintenance Management System (RMMS) data to compute vulnerability and criticality metrics.
- Alessandro Dell-Orto
- other author
- other author
- other author
- other author
model– Python scripts for data processing and calculation of network metrics.analysis– CSV files with ranked criticality and vulnerability scores.Images– Plots created by the scripts.Report– Final report of the third assignment.requirements.txt– Python dependencies.
The data directory referenced in the scripts is not included because the datasets are large.
The workflow is divided over the three assignments:
- Data collection and cleaning – Scripts such as
data_pull.py,data_clean.pyandbridge_condition_refactored.pyparse the RMMS.htmfiles and generate processed CSV datasets. - Vulnerability and criticality computation –
merging_vulnerability_roads.pycombines hazard scores with road attributes, andCompute_metrics.pycalculates normalized indicators for roads and bridges. - Reporting – Rankings of the most critical and vulnerable links are saved to the
analysisfolder and summarised in the report underReport/.
Install the required packages with:
pip install -r requirements.txtThen run the scripts in model/ following the order described above. Adjust the paths to the RMMS data files locally.
You can adjust hazard weights or road condition categories by editing the data and scripts inside model/.
The raw and processed datasets are not included in this repository because of their size.
This project is based on the EPA133a - Advanced Simulation course at TU Delft.