Simulation-Based Performance Evaluation of a Three-Input Mamdani Fuzzy Inference System for Adaptive Floodgate Control
DOI:
https://doi.org/10.32492/nucleus.v5i2.5215Keywords:
Mamdani Fuzzy Inference System, Flood Mitigation, Water Gate Control, Water Level MonitoringAbstract
Flooding remains one of the most destructive natural hazards worldwide, causing substantial damage to infrastructure, economic activities, and public safety. Developing an adaptive floodgate control system is therefore essential to improve flood mitigation under dynamic hydrological conditions. This study proposes and evaluates a three-input Mamdani Fuzzy Inference System (FIS) for intelligent floodgate operation using water level, rainfall intensity, and water flow rate as input variables. The proposeds controller was implemented in the MATLAB R2024a Fuzzy Logic Toolbox using triangular membership functions, a rule base consisting of 27 fuzzy IF–THEN rules, and the Centroid of Area (CoA) defuzzification method. The controller performance was evaluated through twenty representative simulation scenarios using Root Mean Square Error (RMSE), Mean Absolute Error (MAE), and Output Category Agreement as quantitative evaluation metrics. The reference output values were established from expert-defined floodgate operating categories represented by the designed fuzzy rule base. The simulation results produced an RMSE of 2.1284 and an MAE of 1.2820, while all evaluated scenarios achieved 100% Output Category Agreement, indicating consistent classification of floodgate opening levels. Furthermore, surface response analysis confirmed smooth and continuous controller behavior under different combinations of hydrological input variables. Although the proposed controller was evaluated exclusively through MATLAB-based simulations, the obtained results demonstrate the feasibility of the proposed Mamdani FIS for adaptive floodgate control and provide a foundation for future validation using real-world hydrological data.
References
M. Darwis, H. A. Al Banna, S. R. Aji, D. Khoirunnisa, and N. Natassa, “IoT Based Early Flood Detection System with Arduino and Ultrasonic Sensors in Flood-Prone Areas,” J. Tek. Inform., vol. 16, no. 2, pp. 133–140, Dec. 2023, doi: 10.15408/jti.v16i2.32161.
F. Pohan, M. Qamal, and S. F. Anshari, “’ Jurnal Teknologi Informasi dan Komunikasi Implementation of Fuzzy Logic Sugeno on a Website-Based for Flood Monitoring and Early Detection System”, doi: 10.31849/digitalzone.v15i2.
H. Mudia, “Comparative Study of Mamdani-type and Sugeno-type Fuzzy Inference Systems for Coupled Water Tank,” Indones. J. Artif. Intell. Data Min., vol. 3, no. 1, p. 42, May 2020, doi: 10.24014/ijaidm.v3i1.9309.
Y. Phankamolsil et al., “Fuzzy rule–based control of multireservoir operation system for flood and drought mitigation in the Upper Mun River Basin,” Model. Earth Syst. Environ., vol. 10, no. 4, pp. 5605–5619, Aug. 2024, doi: 10.1007/s40808-024-02081-5.
F. ALHAJ OMAR, “Performance Comparison of Pid Controller and Fuzzy Logic Controller for Water Level Control With Applying Time Delay,” Konya J. Eng. Sci., vol. 9, no. 4, pp. 858–871, 2021, doi: 10.36306/konjes.976918.
M. Khairudin, M. L. Hakim, O. A. Rahmawan, W. N. Alfiati, A. Widowati, and E. Prasetyo, “Design of automatic water level control system using fuzzy logic,” in Journal of Physics: Conference Series, Institute of Physics, 2022. doi: 10.1088/1742-6596/2406/1/012006.
S. Supatmi, R. Hou, and I. D. Sumitra, “Study of Hybrid Neurofuzzy Inference System for Forecasting Flood Event Vulnerability in Indonesia,” Comput. Intell. Neurosci., vol. 2019, 2019, doi: 10.1155/2019/6203510.
F. Piadeh, V. Bakhtiari, and F. Piadeh, “Automated novel real-time framework for rainfall data imputation in flood early warning systems,” Eng. Appl. Artif. Intell., vol. 164, Jan. 2026, doi: 10.1016/j.engappai.2025.113348.
H. Kardhana, P. D. R. Deno, F. I. W. Rohmat, and W. Wijayasari, “From unreliable observations to reliable forecasts: Enhancing Jakarta flood prediction using HEC-HMS-assisted LSTM modeling,” Environ. Challenges, vol. 23, no. December 2025, 2026, doi: 10.1016/j.envc.2026.101464.
N. Byaruhanga, D. Kibirige, S. Gokool, and G. Mkhonta, “Evolution of Flood Prediction and Forecasting Models for Flood Early Warning Systems: A Scoping Review,” Water (Switzerland), vol. 16, no. 13, pp. 1–29, 2024, doi: 10.3390/w16131763.
G. Wee, L. C. Chang, F. J. Chang, and M. Z. Mat Amin, “A flood Impact-Based forecasting system by fuzzy inference techniques,” J. Hydrol., vol. 625, no. PB, p. 130117, 2023, doi: 10.1016/j.jhydrol.2023.130117.
A. Faruq, A. Marto, N. K. Izzaty, A. T. Kuye, S. F. Mohd Hussein, and S. S. Abdullah, “Flood Disaster and Early Warning: Application of ANFIS for River Water Level Forecasting,” Kinet. Game Technol. Inf. Syst. Comput. Network, Comput. Electron. Control, vol. 4, pp. 1–10, 2021, doi: 10.22219/kinetik.v6i1.1156.
A. Rachmawardani, B. Kurniawan, S. K. Wijaya, A. Sopaheluwakan, and M. Sinambela, “Hybrid machine learning for flood prediction: comparing CHIRPS satellite and ground station data,” J. Water L. Dev., no. 64, pp. 87–99, 2025, doi: 10.24425/jwld.2025.153520.
B. F. Bokhari, B. Tawabini, and H. M. Baalousha, “A fuzzy analytical hierarchy process -GIS approach to flood susceptibility mapping in NEOM, Saudi Arabia,” Front. Water, vol. 6, no. July, pp. 1–14, 2024, doi: 10.3389/frwa.2024.1388003.
S. Li, L. Chen, B. Yi, and B. Yang, “Optimal timescale of antecedent precipitation index for flood peak prediction in data-scarce mountain river basins,” J. Hydrol. Reg. Stud., vol. 66, no. December 2025, p. 103624, 2026, doi: 10.1016/j.ejrh.2026.103624.
S. Komsiyah, M. R. Ardyanti, and I. A. Iswanto, “Flood-Prone Susceptibility Analysis In Garut Using Fuzzy Inference System Mamdani Method,” Procedia Comput. Sci., vol. 227, pp. 912–921, 2023, doi: 10.1016/j.procs.2023.10.598.
D. Kim, H. Han, H. Lee, Y. Kang, W. Wang, and H. S. Kim, “Predicting Flood Water Level Using Combined Hybrid Model of Rainfall-Runoff and AI-Based Models,” KSCE J. Civ. Eng., vol. 28, no. 4, pp. 1580–1593, 2024, doi: 10.1007/s12205-023-1147-0.
S. Raut, N. Ullah, I. Hossain, C. Zhang, and R. Buchanan, “Deep learning driven time series modelling for forecasting water discharge,” Next Res., vol. 9, no. April, p. 101775, 2026, doi: 10.1016/j.nexres.2026.101775.
S. O. KASSIM, A. G. Ali, and I. M. Harram, “Design And Implementation Of Mamdani Type Fuzzy Inference System Based Water Level Controller,” IOSR J. Electron. …, vol. 16, no. 4, pp. 15–22, 2021, doi: 10.9790/2834-1604011522.
R. Kridalukmana, D. Eridani, R. Septiana, and I. P. Windasari, “Enhancing River Flood Prediction in Early Warning Systems Using Fuzzy Logic-Based Learning,” Int. J. Eng. Technol. Innov., vol. 14, no. 4, pp. 434–450, 2024, doi: 10.46604/ijeti.2024.13426.
Mulyanto, B. Suprapty, A. F. O. Gaffar, and M. T. Sumadi, “Water level control of small-scale recirculating aquaculture system with protein skimmer using fuzzy logic controller,” IAES Int. J. Robot. Autom., vol. 12, no. 3, pp. 300–314, 2023, doi: 10.11591/ijra.v12i3.pp300-314.
H. Wulandari, I. Julian Effendi, and J. Teknik Informatika, “Sistem Monitoring Pintu Pembendung Air Otomatis Menggunakan Algoritma Fuzzy Berbasis Prototype,” Animator, vol. 1, no. 2, pp. 1–5, 2023.
B. Yesil and S. Sahin, “Real-Time Implementation of a Microcontroller-Based Coupled-Tank Water Level Control System with Feedback Linearization and Fuzzy Logic Controller Algorithms,” Sensors, vol. 25, no. 5, Mar. 2025, doi: 10.3390/s25051279.
H. M. Nazha, A. M. Youssef, M. A. Darwich, T. A. Ibrahim, and H. E. Homsieh, “A Comparative Study on Fuzzy Logic-Based Liquid Level Control Systems with Integrated Industrial Communication Technology,” Computation, vol. 13, no. 3, pp. 1–13, 2025, doi: 10.3390/computation13030060.
M. Z. Ulhaq, M. Azamah, and I. Nazifah, “Analisis Performa PID , Fuzzy-PID , dan Model Predictive Control ( MPC ) untuk Pengaturan Ketinggian Air Bendungan,” vol. 6, no. April, pp. 1–16, 2026, doi: 10.51903/teknik.v6i1.1063.
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 Mohammad Nasrul

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.












