Back to search

Universitat Oberta de Catalunya (UOC)

FloodSim: Distributed C++ Flood Simulator

Abstract

dc:description.abstract

This Final Master’s Project presents FloodSim, a distributed, high-performance flood simulation framework developed in C++ to address the critical computational latency of traditional hydrodynamic forecasting models during flash flood events. Sparked by the catastrophic 2024 DANA crisis in Valencia, Spain, this research bridges the gap between complex physical hydraulic routing and real-time emergency response infrastructure. The proposed system leverages a multi-dimensional, multilayer Cellular Automata (m : n−CAk) engine to model surface water flow dynamics over discretized spatial grids using continuous GIS-derived topography and roughness datasets. To prevent the architectural rigidity common in scientific software, the system implements a decoupled Hexagonal Architecture that completely isolates core hydraulic transition physics from data ingestion modules. Furthermore, a distributed telemetry layer powered by the MQTT publish-subscribe protocol is incorporated, enabling sub-second concurrent synchronization with remote 3D visualization platforms and field sensors to construct a Reactive Digital Twin. The framework was experimentally validated by reconstructing the 2024 Valencia flood across a 1,311 km2 domain, focusing on the heavily impacted sectors of Pla de Quart and Paiporta. The simulation successfully captured non-linear floodwave propagation and maximum inundation depths within seconds, proving that discrete parallelized architectures can achieve finite-volume accuracy without the immense computational overhead. Ultimately, FloodSim demonstrates the viability of distributed cellular models as practical, real-time decision-support tools capable of mitigating modern socio environmental crises and saving lives.

Degree

thesis:*
Grantor dc:publisher
Universitat Oberta de Catalunya (UOC)
Year dc:date.issued
2026

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Carmona Segovia, Mario

Subjects

dc:subject × 11

Rights

dc:rights.accessrights
Statement dc:rights.accessrights
  • info:eu-repo/semantics/openAccess
  • Attribution-NonCommercial-NoDerivatives 4.0 International
Language dc:language.iso
eng

Identifiers

dc:identifier.*
Dc Identifier Citation
Carmona Segovia, M. [Mario]. (2026). FloodSim: Distributed C++ Flood Simulator. Universitat Oberta de Catalunya (UOC). https://hdl.handle.net/10609/155498

Chain of custody

source
Harvested from
Universitat Oberta de Catalunya
Base URL
openaccess.uoc.edu/server/oai/request
Last updated
2026-11-26
Source record
OAI-PMH GetRecord
citation

Carmona Segovia, Mario. FloodSim: Distributed C++ Flood Simulator. Universitat Oberta de Catalunya (UOC), 2026. https://hdl.handle.net/10609/155498