Published September 17, 2025 | Version v1
Computational notebook Open

Flood Impact Simulation and Criticality Analysis and rban Traffic and Flood Analysis Scripts in R Software

Description

Script 1 – Urban Traffic Analysis under Flood Scenarios
This R script provides a comprehensive framework for assessing the impact of floods on urban road networks. It downloads and preprocesses OpenStreetMap (OSM) data, integrates Google Traffic information with field-measured speeds, and applies correction factors to improve accuracy. The program computes and visualizes optimal travel routes under both normal and user-defined flood conditions, incorporating statistical validation through paired t-tests. Outputs include statistical summaries, travel time metrics, and high-resolution maps, offering a robust and data-driven perspective on flood-related traffic disruption.

Script 2 – Flood Scenario Simulation and Traffic Flow Analysis
This advanced R script simulates multiple flood scenarios to evaluate their effects on urban mobility. By combining OSM data with Google and field-based traffic measurements, it identifies critical days and peak congestion periods. The program models three levels of road blockage (100%, 75%, and 50%) and calculates shortest travel paths for each case. Results include comparative indicators such as average travel time and congestion index, as well as visualizations in the form of detailed maps and justification plots. The script is particularly suited for urban planning, risk assessment, and disaster management applications.

Files

Supplementary_Scripts_R.zip

Files (61.1 kB)

Name Size Download all
md5:12006ad738a9dd5f3abb71b6c3d5da7c
61.1 kB Preview Download