Full text

Turn on search term navigation

© 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 (https://creativecommons.org/licenses/by/4.0/). Notwithstanding the ProQuest Terms and Conditions, you may use this content in accordance with the terms of the License.

Abstract

The Building Safe Water Use Plan promoted by the Macao Marine and Water Bureau aims to encourage property management entities to regularly maintain building water supply systems to ensure the safety and stability of drinking water. However, traditional laboratory testing methods are often time-consuming and labor-intensive, making real-time and efficient water quality monitoring challenging. To address this issue, this study proposes a Raspberry Pi-based multi-sensor system for rapid water quality detection and improved monitoring efficiency. This system integrates multiple sensors to measure key water quality parameters, such as pH, total dissolved solids (TDSs), temperature, and turbidity, while recording data in real-time. The data were continuously collected over a period of five months (July to November 2024). The collected data were analyzed and validated using machine learning algorithms, including Isolation Forest, Random Forest, Logistic Regression, and Local Outlier Factor. Among these models, Random Forest exhibited the best overall performance, achieving an accuracy of 98.10% and an F1 score of 98.99%. These results show that the dataset demonstrates high reliability in anomaly detection and classification tasks, accurately identifying deviations in water quality. This approach not only enhances the efficiency of water quality monitoring but also provides technological support for urban drinking water safety management.

Details

Title
Water Quality Monitoring: A Water Quality Dataset from an On-Site Study in Macao
Author
Gao Jiawei  VIAFID ORCID Logo  ; Chen, Bochao  VIAFID ORCID Logo  ; Su-Kit, Tang  VIAFID ORCID Logo 
First page
4130
Publication year
2025
Publication date
2025
Publisher
MDPI AG
e-ISSN
20763417
Source type
Scholarly Journal
Language of publication
English
ProQuest document ID
3194488541
Copyright
© 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 (https://creativecommons.org/licenses/by/4.0/). Notwithstanding the ProQuest Terms and Conditions, you may use this content in accordance with the terms of the License.