Resumen: The computational simulation of rivers is a useful tool that can be applied in a wide range of situations from providing real time alerts to the design of future mitigation plans. However, for all the applications, there are two important requirements when modeling river behavior: accuracy and reasonable computational times. This target has led to recent developments in numerical models based on the full two-dimensional (2D) shallow water equations (SWE). This work presents a GPU accelerated 2D SW model for the simulation of flood events in real time. It is based on a well-balanced explicit first-order finite volume scheme able to run over dry beds without the numerical instabilities that are likely to occur when used in complex topography. The model is applied to reproduce a real event in the reach of the Ebro River (Spain) with a downstream reservoir, in which a study of the most appropriate boundary condition (BC) for modeling of the dam is assessed (time-dependent level condition and weir condition). The whole creation of the model is detailed in terms of mesh optimization and validation. The simulation results are compared with field data over the flood duration (up to 20 days), allowing an analysis of the performance and time saved by different GPU devices and with the different BCs. The high values of fit between observed and simulated results, as well as the computational times achieved, are encouraging to propose the use of the model as a forecasting system. Idioma: Inglés DOI: 10.3390/geohazards4020009 Año: 2023 Publicado en: GeoHazards 4, 2 (2023), 136-156 ISSN: 2624-795X Factor impacto CITESCORE: 2.6 - Environmental Science (all) (Q3)