Predictive Flood Prevention System: A Microarchitecture-Based Approach for Intelligent Dam Control

Abstract

This paper aims to build a fully automatic control system that reduces the risk of flooding in reservoirs in advance. The developed solution combines the collected data on historical water levels, rainfall, and temperature, and calculates the estimated water level for the next fifteen days with a machine learning model based on LSTM. The obtained forecasts are converted into precise opening and closing of the gates of the dams with servo motors, thus preventing the water level from exceeding the safety limit in real time. The prototype was tested in a home environment on three plastic tanks and proved that it is possible to maintain a constant water level using pre-calculated opening angles. The system continues to operate safely based on internal rules even in the absence of a backup power line and an external weather forecast API. This approach provides a flexible and self-managing example that can be applied to Azerbaijan’s data-poor reservoirs. The project shows that when modern sensor technology, deep learning, and modular software work together, it is possible to significantly reduce flood risk, and manage water resources more efficiently.

Country : Azerbaijan

1 Kamala Oghuz2 Elchin Bayramli

  1. Baku Higher Oil School, Information Technology Department, Baku, Azerbaijan
  2. Baku Higher Oil School, Information Technology Department, Baku, Azerbaijan

IRJIET, Volume 9, Issue 7, July 2025 pp. 14-23

doi.org/10.47001/IRJIET/2025.907002

References

  1. Muhamad, Ali Najah Ahmed, Marlinda Abdul Malek, Ahmed Hussein Birima, Munir, M., M. Sherif, and A. Elshafie.. Exploring machine learning algorithms for accurate water level forecasting in Muda river, Malaysia. Heliyon, 9(7), pp.e17689–e17689, 2023. doi: https://doi.org/10.1016/j.heliyon.2023.e17689.
  2. Y.O. Ouma, D.B. Moalafhi, G. Anderson, B. Nkwae, P. Odirile, B.P. Parida, and J. Qi. Dam Water Level Prediction Using Vector AutoRegression, Random Forest Regression and MLP-ANN Models Based on Land-Use and Climate Factors. Sustainability, 14(22), p. 14934., 2022 doi: https://doi.org/10.3390/su142214934.
  3. https://www.frontiersin.org/journals/marine-science/articles/10.3389/fmars.2024.1470320/full
  4. R. Liu, C. Ye, P. Yang, Z. Miao, B. Liu, and Y. Chen. Short-Term Prediction Model of Water Level Based on ATT-ConvLSTM. 2022 doi: https://doi.org/10.1145/3528114.3528128.
  5. https://www.mdpi.com/2227-9709/11/4/73
  6. https://www.mdpi.com/2071-1050/14/22/14934
  7. S. Yi, and J. Yi. Reservoir-based flood forecasting and warning: deep learning versus machine learning. Applied Water Science, 14(11), 2024. doi: https://doi.org/10.1007/s13201-024-02298-w.
  8. https://ieeexplore.ieee.org/document/10949142
  9. I.R. Widiasari, and R. Efendi. Utilizing LSTM-GRU for IOT-Based Water Level Prediction Using Multi-Variable Rainfall Time Series Data. Informatics, 11(4), p.73, 2024. doi: https://doi.org/10.3390/informatics11040073.
  10. https://www.mdpi.com/2079-9292/10/8/882
  11. https://ieeexplore.ieee.org/document/5874897
  12. https://rsisinternational.org/Issue0/pdf/paper19.pdf
  13. A.Kumar, V.K. Pal, V.K. Chaurasiya, and A. Singh. Dams Gate Control Using Programmable Logic Controller and SCADA. International Journal of Advance Research and Innovation, 9(3), pp.57–63, 2021. doi:https://doi.org/10.51976/ijari.932109
  14. https://www.researchgate.net/publication/387661552_Hybrid_System_Prototype_for_Dam_Water_Level_Control_System_to_Irrigating_Rice_Fields
  15. S.S. Lin, K.Y. Zhu, X.H. Zhang, Y.C. Liu, and C.Y. Wang. Development of a Microservice-Based Storm Sewer Simulation System with IoT Devices for Early Warning in Urban Areas. Smart Cities, 6(6), pp.3411–3426, 2023. doi: https://doi.org/10.3390/smartcities6060151.
  16. https://www.sciencedirect.com/science/article/pii/S0167739X24000529?via%3Dihub
  17. The 20 th week Measuring flow in open channels (weirs) Broad-Crested and Sharp-Crested Weirs. (n.d.). Available at: https://www.uobabylon.edu.iq/eprints/publication_3_3905_6015.pdf.
  18. International Commission on Large Dams (ICOLD). Bulletin 154: Dam Safety Management — Operational Safety of Dams. Paris: ICOLD, 2016.
  19. F. Kratzert, D. Klotz, C. Brenner, K. Schulz, & M. Herrnegger. Rainfall–runoff modelling using Long Short-Term Memory (LSTM) networks. Hydrology and Earth System Sciences, 22, 6005–6022, 2018. https://doi.org/10.5194/hess-22-6005-2018
  20. D. Gómez, C. E. Torres, & J. Porras. An edge–cloud architecture for real-time monitoring and control of hydrological infrastructure. Sensors, 21(14), 4725, 2021. https://doi.org/10.3390/s21144725