Submitted:
27 December 2025
Posted:
29 December 2025
You are already at the latest version
Abstract
Keywords:
1. Introduction
2. Methodologies and Implementations
2.1. Flooding Image Classification Approach
2.1.1. Computer Platform and Environment Configuration
2.1.2. Datasets Preparation
- Dry day: 3,411 images
- Dry night: 3,436 images
- Wet day: 3,251 images
- Wet night: 3,535 images
- Flood day: 1,482 images
- Flood night: 547 images
2.1.3. Tuning Model Configuration
- (1)
- Pre-trained models leverage knowledge from large datasets (e.g., ImageNet), providing strong initialization, faster convergence, and improved performance on flood detection tasks, especially with limited data.
- (2)
- Adam optimizer is selected for its adaptive learning rate adjustment, enhancing convergence speed and robustness in training deep networks.
- (3)
- Setting 30 epochs balances sufficient training time to learn meaningful features and prevents overfitting while allowing performance monitoring via validation loss.
- (4)
- Dropout rate of 0.4 mitigates overfitting by randomly deactivating 40% of neurons during training, encouraging the network to learn robust features.
- (5)
- Learning rate of 0.0001 ensures controlled convergence, avoiding overshooting while fine-tuning pre-trained models by enabling gradual weight updates.
- (6)
- Batch size of 32 balances memory efficiency and convergence stability, providing accurate gradient estimation within memory constraints.
- (7)
- No early stopping is used, allowing models to train fully across all epochs for comprehensive performance evaluation and future adjustments.
2.2. Pumping Machinery Approach
2.2.1. Pumping Machinery Application/Service
2.2.2. Simulation Modeling of Drainage Network Pipeline Water Depth
- Downstream boundary: Water levels from the Tamsui River system.
- Upstream boundary: Rainfall inputs combining six-hour observations with one-hour QPESUMS forecasts [11].
- Calibration: Model outputs validated against observed water levels to refine forecasts and define warning thresholds.
- Forecast delivery: Water-level predictions updated every 10 min via API and visualized on a monitoring platform.
- Integration: Results transmitted to the Smart Flood Prevention Platform New Taipei City Case for real-time decision support.
3. Results
3.1. Machine Learning Results
3.1.1. Training and Validation Results
2.2.3. Artificial Intelligence Algorithm for Controlling Pumping Machinery Operations
3.1.2. Comparison Backbone Training Accuracy and Loss
3.1.3. Training Times of Models
3.1.4. Testing Results
3.1.5. CCTV Flood Detection Application with Web Interactive Accessibilities
- Live View: Simultaneously viewing multiple camera feeds in real-time as indicated in Figure 10.

- Weather Forecast: Accessing real-time weather conditions presented in six distinct, classified image categories (refer to Section 2.1.2) for a specific camera location, as indicated in Figure 11.

- Periodical Predictions: Automated daily scheduling for flood predictions can be configured using a manually defined timer. As shown in Figure 13d, the system allows users to set up a flood prediction process and adjust hyperparameters to run automatically according to a predefined schedule. For instance, the diagram illustrates how daily flood predictions can be scheduled to start automatically at 14:54:00, with the corresponding hyperparameters specified in the configuration.
- Model Training: Continuously improve accuracy through machine learning. The Train Model offers two primary modes: “Load History” and “New Training”. The Load History mode, as indicated in Figure 12, allows users to review previous classification results, such as Inception V3, which previously demonstrated superior performance. The mode also includes key performance metrics such as accuracy, loss per epoch, precision, recall, F1 score, and confusion matrix, along with model’s configurations and its corresponding hyperparameter settings.


3.2. Pumping Machinery Results
- With Downstream Pump Stations: Drainage operation is guided by tidal conditions. Rising tides prompt early closure of floodgates and pump activation, converting drainage systems into temporary detention spaces. Falling tides allow gravity drainage.
- Without Pump Stations: Gravity-drained systems rely on real-time water level trends from sensors. If flooding risk is detected, mobile pumps are pre-deployed for rapid response.
- Half-Full Pipe: Indicates increasing rainfall intensity. Pump stations are activated, and monitoring frequency is increased to 1-min intervals.
- Full Pipe: Signals pressurized flow; overflow is imminent. Pump stations operate at maximum capacity, or local authorities are notified for field response.
- Surface Overflow: Triggers immediate traffic control for public safety.
- Localized Flooding with Available Capacity: Indicates inlet blockage or temporary accumulation. Water recedes post-rainfall or can be cleared manually.
- Flooding with Saturated Drainage: Confirms system overload. On-site teams manage traffic and report conditions to the platform for system-wide diagnostics.
4. Discussion
4.1. Machine Learning Discussion
4.2. Pumping Machinery Discussion
5. Conclusions
Author Contributions
Funding
Conflicts of Interest
References
- Himanshu Rai Goyal, Kamal Kumar Ghanshala, and Sachin Sharma, “Post flood management system based on smart IoT devices using AI approach”, Volume 46, Part 20, 2021, Pages 10411-10417. [CrossRef]
- Lihua Xiong, Lei Yan, Tao Du, Pengtao Yan, Lingqi Li, and Wen Tao Xu, “Impacts of Climate Change on Urban Extreme Rainfall and Drainage Infrastructure Performance: A Case Study in Wuhan City, China”, December 2018, Irrigation and Drainage 68(2). [CrossRef]
- Sani G. D/iya, Muhd BarzaniGasim, Mohd EkhwanToriman, Musa G. Abdullahi, “FLOODS IN MALAYSIA Historical Reviews, Causes, Effects and Mitigations Approach”, International Journal of Interdisciplinary Research and Innovations ISSN 2348-1226 (online) Vol. 2, Issue 4, pp: (59-65), Month: October—December 2014, Available at: www.researchpublish.com.
- Gangani Dharmarathn, A.O. Waduge, Madhusha Bogahawaththa, Upaka Rathnayake, D.P.P. Meddage, “Adapting Cities to the Surge: A Comprehensive Review of Climate-Induced Urban Flooding”, April 2024, Results in Engineering 22(19):1-15. [CrossRef]
- K. Arnbjerg-Nielsen, P. Willems, J. Olsson, S. Beecham, A. Pathirana, I. Bülow Gregersen, H. Madsen and V.-T.-V. Nguyen,”Impacts of climate change on rainfall extremes and urban drainage systems”, July 2013, Water Science & Technology 68(1):16-28. [CrossRef]
- Dianlei Xu, Tong Li, Yong Li, Xiang Su, Sasu Tarkoma, Tao Jiang, Jon Crowcroft, Pan Hui; Edge Intelligence: Architectures, Challenges, and Applications; Corpus ID: 219635841; Published 26 March 2020 Computer Science arXiv: Networking and Internet Architecture.
- Md. Sazzadur Rahman, Tapotosh Ghosh, Nahid Ferdous Aurna, M. Shamim Kaiser, Mehrin Anannya, A.S.M. Sanwar Hosen, “Machine learning and internet of things in industry 4.0: A review”, Measurement: Sensors, Volume 28, August 2023, 100822. [CrossRef]
- Abid S. K., Sulaiman N., Chan S. W., Nazir U., Abid M., Han H., Ariza-Montes A., and Vega-Muñoz A., 2021, Toward an Integrated Disaster Management Approach: How Artificial Intelligence Can Boost Disaster Management, Sustainability, 13(22), 12560; [CrossRef]
- Sun, W, Bocchini, P, and Davison, B.D., 2020, Applications of artificial intelligence for disaster management. Natural Hazards, 103, 2631–2689, . [CrossRef]
- Joao Giao, Artem A. Nazarenko, Fernando Luis-Ferreira, Diogo Gonçalves and Joao Sarraipa, “A Framework for Service-Oriented Architecture (SOA)-Based IoT Application Development”, Processes 2022, 10, 1782. [CrossRef]
- Sheng-Hsueh Yang, Sheau-Ling Hsieh, Xi-Jun Wang, Deng-Lin Chang, Shao-Tang Wei, De-Rem Song, Jyh Hour Pan, and Keh-Chia Yeh, “Adaptive Pluvial Flood Disaster Management in Taiwan: Infrastructure and IoT Technologies”, Water 2025, 17(15), 2269; [CrossRef]
- Shashikant Nishant Sharma and Dauda Ayuba, “Nature Based Solutions to Prevent Urban Flooding Book”, February 2024. [CrossRef]
- Yi Liu, Zhaoshun Xia, Hongying Deng and Shuihua Zheng, “Two-Stage Hybrid Model for Efficiency Prediction of Centrifugal Pump”, Sensors 2022, 22(11), 4300; [CrossRef]
- Chih-Chiang Wei, Nien-Sheng Hsu, Chien-Lin Huang, “Two-Stage Pumping Control Model for Flood Mitigation in Inundated Urban Drainage Basins”, Water Resources Management 28(2) December 2013;. [CrossRef]
- Ke Li, Yanping Wang, Xiujuan Fan, “Control system design of the pumping station”, IOP Conf. Series: Materials Science and Engineering 394 (2018) 032129. [CrossRef]
- M. E. Karar, M. F. Al-Rasheed, A. F. Al-Rasheed and Omar Reyad, “IoT and Neural Network-Based Water Pumping Control System for Smart Irrigation”, Inf. Sci. Lett. 9, No. 2, 107-112 (2020) (Information Sciences Letters);/www.naturalspublishing.com/Journals.asp.
- SOBEK (Deltares), Available online: https://www.deltares.nl/en/software/sobek/(accessed on 29 November 2025).
- Punit Kumar Bhola, Bhavana B. Nair, Jorge Leandro, Sethuraman N. Rao and Markus Disse, “Flood inundation forecasts using validation data generated with the assistance of computer vision”,.
- 19. Journal of Hydroinformatics (2019) 21 (2): 240–256. [CrossRef]
- Kanishk Lohumi and Sudip Roy, “Automatic Detection of Flood Severity Level from Flood Videos using Deep Learning Models”, 2018 5th International Conference on Information and Communication Technologies for Disaster Management (ICT-DM).
- Abdirahman Osman Hashi, Abdullahi Ahmed Abdirahman, Mohamed Abdirahman Elmi, Siti Zaiton Mohd Hashi, Octavio Ernesto Romo Rodriguez, “A Real-Time Flood Detection System Based on Machine Learning Algorithms with Emphasis on Deep Learning”, International Journal of Engineering Trends and Technology Volume 69 Issue 5, 249-256, May 2021 ISSN: 2231—5381/doi:10.14445/22315381/IJETT-V69I5P232.
- Pallavi Jain, Bianca Schoen-Phelan, Robert Ross, “Automatic flood detection in SentineI-2 images using deep convolutional neural networks”, SAC ‘20: Proceedings of the 35th Annual ACM Symposium on Applied Computing, March 2020, Pages 617–623, . [CrossRef]
- Pally, R and Samadi, S., “Application of Image Processing and Big Data Science for Flood Label Detection’, European Geosciences Union, 2021-04-30, https://par.nsf.gov/servlets/purl/10270717.
- Jaku Rabinder Rakshit Pally, “Application of image processing and convolutional neural networks for flood image classification and semantic segmentation”, Thesis (Jan 1, 2023)Muhammed Sit, Bekir Z. Demiray, Zhongrun Xiang, Gregory J. Ewing, Yusuf Sermet, Ibrahim Demir, “A Comprehensive Review of Deep Learning Applications in Hydrology and Water Resources”, Water Science and Technology (2020) 82 (12): 2635–2670. [CrossRef]
- Muhammad Alam, Jian-Feng Wang, Cong Guangpei, LV Yunrong, Yuanfang Chen, “Convolutional Neural Network for the Semantic Segmentation of Remote Sensing Images”, Mobile Networks & Applications (2021) 26:200–215, . [CrossRef]
- Roberto Bentivoglio, Elvin Isufi, Sebastian Nicolaas Jonkman, and Riccardo Taormina, “Deep Learning Methods for Flood Mapping: A Review of Existing Applications and Future Research Directions”, Hydrology Earth System Science, 26, 4345–4378, 2022 . [CrossRef]
- Ghobadi, F. and Kang, D., “Application of Machine Learning in Water Resources Management: A Systematic Literature Review”, Water 2023, 15, 620. [CrossRef]
- C. Thirumarai Selvi and S. Kalieswari, “Convolutional Neural Network Based Flood Detection Using Remote sensing images”, EasyChair Preprint no. 2235, December, 2019. https://easychair.org › publications › preprint › CSNF.
- Deep Residual Learning for Image Recognition Kaiming He Xiangyu Zhang Shaoqing Ren Jian Sun Microsoft Research {kahe, v-xiangz, v-shren, jiansun}@microsoft.com.
- Nur Atirah Muhadi, Ahmad Fikri Abdullah, Siti Khairunniza Bejo, Muhammad Razif Mahadi and Ana Mijic, Deep Learning Semantic Segmentation for Water Level Estimation Using Surveillance Camera”, Appl. Sci. 2021, 11, 9691. [CrossRef]
- Cem Sazara, Mecit Cetin and Khan M. Iftekharuddin, Detecting floodwater on roadways from image data with handcrafted features and deep transfer learning, 2019 IEEE Intelligent Transportation Systems Conference (ITSC) Auckland, NZ, October 27-30, 2019.
- Xiao-Xue Li, Dan Li, Wei-Xin Ren, and Jun-Shu Zhang, “Loosening Identification of Multi-Bolt Connections Based on Wavelet Transform and ResNet-50 Convolutional Neural Network”, Sensors 2022, 22, 6825. [CrossRef]
- Rikiya Yamashita, Mizuho Nishio, Richard Kinh Gian Do and Kaori Togashi, “Convolutional neural networks: an overview and application in radiology”, Insights into Imaging (2018) 9:611–629 . [CrossRef]
- Thaer Falahi, Ghalia Nassreddine, Joumana Younis, “Detecting Data Outliers with Machine Learning”, Al-Salam Journal for Engineering and Technology, Vol. 2 No. 2 (May, 2023) p. 152-164. [CrossRef]
- Leiyu Chen, Shaobo Li, Qiang Bai, Jing Yang, Sanlong Jiang and Yanming Miao, “Review of Image Classification Algorithms Based on Convolutional Neural Networks”, Remote Sens. 2021, 13, 4712. [CrossRef]
- Mohammad Mustafa Taye, “Theoretical Understanding of Convolutional Neural Network:Concepts, Architectures, Applications, Future Directions”, Computation 2023, 11, 52. [CrossRef]
- LoRa; available online: https://lora.readthedocs.io/en/latest/(accessed on 29 November 2025).
- Yaw-Wen Kuo, Wei-Ling Wen, Xue-Fen Hu, Ying-Ting Shen and Shen-Yun Miao, “A LoRa-Based Multisensor IoT Platform for Agriculture Monitoring and Submersible Pump Control in a Water Bamboo Field”, Processes 2021, 9, 813. [CrossRef]
- AT Commands Examples Examples for u-blox cellular modules Application Note, www.u-blox.com, UBX-13001820—R12.
- RESTful web API design, available online: https://learn.microsoft.com/en-us/azure/architecture/best-practices/api-design (accessed on 29 November 2025).
- Introducing JSON; available online: https://www.json.org/json-en.html (accessed on 29 November 2025).
- Shiang-Jen Wu, Chih-Tsu Hsu, Jhih-Cyuan Shen and Che-Hao Chang, “Modeling the 2D Inundation Simulation Based on the ANN-Derived Model with Real-Time Measurements at Roadside IoT Sensors”, Water 2022, 14(14), 2189; [CrossRef]
- Deng-Lin Chang, Sheng-Hsueh Yang, Sheau-Ling Hsieh, Hui-Jung Wang and Keh-Chia Yeh, “Artificial Intelligence Methodologies Applied to Prompt Pluvial Flood Estimation and Prediction”, Water 2020, 12(12), 3552; [CrossRef]
- Harlan H. Bengtson, Spreadsheet Use for Partially Full Pipe Flow Calculations, Continuing Education and Development, Inc. 9 Greyridge Farm Court Stony Point, NY 10980.
- K. Simonyan and A. Zisserman, “Very deep convolutional networks for large-scale image recognition”, CoRR, vol. abs/1409.1556, 2014.
- K. He, X. Zhang, S. Ren, and J. Sun. Deep residual learning for image recognition. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 770–778, 2016.
- Jashila Nair Mogan, Chin Poo Lee, Kian Ming Lim and Kalaiarasi Sonai Muthu, “VGG16-MLP: Gait Recognition with Fine-Tuned VGG-16 and Multilayer Perceptron”, Appl. Sci. 2022, 12, 7639. [CrossRef]
- Muhammad Shafiq and Zhaoquan Gu, “Deep Residual Learning for Image Recognition: A Survey”, Appl. Sci. 2022, 12, 8972. [CrossRef]
- Christian Szegedy, Sergey Ioffe, Vincent Vanhoucke, and Alex Alemi, “Inception-v4, Inception-ResNet and the Impact of Residual Connections on Learning”, AAAI’17: Proceedings of the Thirty-First AAAI Conference on Artificial Intelligence, February 2017 Pages 4278–4284.
- Hamidreza Mosaffa, Mojtaba Sadeghi, Iman Mallakpour, Mojtaba Naghdyzadegan Jahromi, and Hamid Reza Pourghasemi, “Application of machine learning algorithms in hydrology”, Computers in Earth and Environmental Sciences, Artificial Intelligence and Advanced Technologies in Hazards and Risk Management, 2022, Pages 585-591.
- Ezio Todini, PierPaolo Alberoni, Michael Butts, Chris Collier. Rahman Khatibi, Paul Samuels, Albrecht Weerts; ACTIF Best Practice Paper—Understanding and Reducing Uncertainty in Flood Forecasting; International conference on innovation, advances and implementation of flood forecasting technology, Tromsø, Norway, October 2005 Conference Papers.













![]() |
![]() |
![]() |
![]() |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).




