Modeling and Simulation of Water Hammer Phenomena Using Artificial Neural Networks (ANN)

The water hammer phenomenon, characterized by transient pressure surges due to rapid fluid deceleration in pipelines, poses significant risks to hydraulic systems. Valve closure time is a critical parameter influencing pressure magnitude, necessitating precise calibration to ensure system safety. While numerical methods like the MacCormack scheme provide accurate solutions, their computational intensity limits practical applications. This study addresses this limitation by proposing a machine learning (ML) framework employing a multilayer perceptron (MLP) artificial neural network (ANN) to predict optimal pressure values—defined as the lowest maximum pressure obtained for several closure laws at a given closure time—corresponding to specific valve closure times. The ANN was trained on 637 simulations generated via the MacCormack method, which solves the hyperbolic partial differential equations governing transient flow in a reservoir-pipeline-valve (RPV) system. Performance evaluation metrics demonstrate the ANN’s exceptional robustness and accuracy, achieving a root mean square error (RMSE) of 0.068, Nash-Sutcliffe efficiency (NSE) of 0.99, and a correlation coefficient (R) of 0.99, with a maximum relative error below 1%. The results highlight the ANN’s superior predictive accuracy and flexibility in capturing complex transient flow dynamics, outperforming conventional numerical methods. Notably, the ANN reduced computational time from days for iterative simulations to mere seconds, enabling rapid prediction of pressure-time curves critical for real-time decision-making. This framework offers a computationally efficient and reliable alternative for optimizing valve closure strategies, mitigating water hammer risks, and enhancing pipeline safety. By bridging numerical rigor with machine learning, this work enhances hydraulic infrastructure resilience across industrial and urban networks.

Authors

Institutions

Publication Details

Journal
Water
Published
2025-05-27
DOI
https://doi.org/10.3390/w17111617
Primary Topic
Water Systems and Optimization
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Modeling and Simulation of Water Hammer Phenomena Using Artificial Neural Networks (ANN)

Abdelouaheb Toumi, Zaki Abda, Fateh Afoufou, Fateh Sekiou
Water
Water Systems and Optimization
article

Modeling and Simulation of Water Hammer Phenomena Using Artificial Neural Networks (ANN)

Abdelouaheb Toumi, Zaki Abda, Fateh Afoufou, Fateh Sekiou
article en

Abstract

The water hammer phenomenon, characterized by transient pressure surges due to rapid fluid deceleration in pipelines, poses significant risks to hydraulic systems. Valve closure time is a critical parameter influencing pressure magnitude, necessitating precise calibration to ensure system safety. While numerical methods like the MacCormack scheme provide accurate solutions, their computational intensity limits practical applications. This study addresses this limitation by proposing a machine learning (ML) framework employing a multilayer perceptron (MLP) artificial neural network (ANN) to predict optimal pressure values—defined as the lowest maximum pressure obtained for several closure laws at a given closure time—corresponding to specific valve closure times. The ANN was trained on 637 simulations generated via the MacCormack method, which solves the hyperbolic partial differential equations governing transient flow in a reservoir-pipeline-valve (RPV) system. Performance evaluation metrics demonstrate the ANN’s exceptional robustness and accuracy, achieving a root mean square error (RMSE) of 0.068, Nash-Sutcliffe efficiency (NSE) of 0.99, and a correlation coefficient (R) of 0.99, with a maximum relative error below 1%. The results highlight the ANN’s superior predictive accuracy and flexibility in capturing complex transient flow dynamics, outperforming conventional numerical methods. Notably, the ANN reduced computational time from days for iterative simulations to mere seconds, enabling rapid prediction of pressure-time curves critical for real-time decision-making. This framework offers a computationally efficient and reliable alternative for optimizing valve closure strategies, mitigating water hammer risks, and enhancing pipeline safety. By bridging numerical rigor with machine learning, this work enhances hydraulic infrastructure resilience across industrial and urban networks.

WaterVol. 17(11)
University of Batna 1 (DZ), University of Biskra (DZ), Larbi Ben M'hidi University of Oum El Bouaghi (DZ), University of Guelma (DZ)
Openalex Percentile: Top 88%
Water Systems and Optimization
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.