ARTICLES · Volume 6, Issue 3 · 168-180 · November 2026 · Open Access

Interactive Cloud-Based Domestic Water Quality Assessment Using Mamdani Fuzzy Logic and Streamlit

Dwi Puspita Anggraeni, Riskiana Wulan, Teja Endra Eng Tju
Download PDF Set Alert Get Rights Previous article

Abstract

This study develops an interactive cloud-based system for assessing domestic water quality using Mamdani fuzzy logic. The system evaluates three physicochemical parameters, namely pH, total dissolved solids (TDS), and turbidity. The research employed a computational development and empirical validation approach involving regulatory parameter identification, membership-function design, formulation of 27 If–Then rules, Max–Min inference, centroid defuzzification, and web-based implementation using Python and Streamlit. Empirical validation was conducted using three laboratory-tested water samples representing suitable, intermediate, and unsuitable water conditions. The system produced centroid scores of 88.5, 48.3, and 15.4 and classified the samples as suitable, suitable after treatment, and unsuitable, respectively. All three classifications matched the corresponding laboratory reference classifications, resulting in 100% classification agreement within the evaluated samples. Evaluation of the aggregated fuzzy output produced a Mean Absolute Error below 0.04, indicating a low numerical deviation in the resulting fuzzy decision curve. The findings demonstrate that the developed system can accommodate gradual transitions near physicochemical thresholds and provide interpretable water-quality decisions through an accessible cloud-based interface. Nevertheless, the reported validation is limited to the three samples evaluated in this study.

Keywords

Citation

Anggraeni, D. P., Wulan, R., & Tju, T. E. E. (2026). Interactive Cloud-Based Domestic Water Quality Assessment Using Mamdani Fuzzy Logic and Streamlit. ARRUS Journal of Engineering and Technology, 6(3), 168–180. https://doi.org/10.35877/jetech5524
PublishedNovember 16, 2026
Volume6 - 2026
Pages168-180

Statements

Copyright (c) 2026 Dwi Puspita Anggraeni, Riskiana Wulan, Teja Endra Eng Tju