Journal of environmental quality

Spatiotemporal water quality assessment of Xingqing Lake, China: Integrating water quality index, principal component analysis, and machine learning for SDG 6 reporting.

Soundous Dahlab, Hafidha Rahmoune, Zhou Yuqin

Marxism School, Chang'an University, Xi'an, China. · Water and Environment School, Chang'an University, Xi'an, China.

Computational

Key points

From the paper's conclusion
  • This study introduces an integrated water quality index (WQI)-principal component analysis (PCA)-ML framework for comprehensive water-quality assessment, demonstrated through a case study at Xingqing Lake, China (2022-2025).

Abstract

Urban lakes are increasingly affected by stormwater runoff, wastewater inputs, and intensive human activities, while water-quality assessments increasingly combine indices, multivariate statistics, and machine learning (ML) but often emphasize different stages of assessment, diagnosis, prediction, or management. This study introduces an integrated water quality index (WQI)-principal component analysis (PCA)-ML framework for comprehensive water-quality assessment, demonstrated through a case study at Xingqing Lake, China (2022-2025). The study analyzed seven parameters (pH, dissolved oxygen, permanganate chemical oxygen demand, dichromate chemical oxygen demand, 5-day biochemical oxygen demand [BOD5], NH4 +-N, and total phosphorus) at five monitoring sites, using WQI for classification, PCA to identify dominant multivariate water-quality patterns, and three ML models (random forest [RF], extreme gradient boosting [XGBoost], and long short-term memory) for predictive modeling. Results revealed clear spatial gradients, with S4 and S5 showing comparatively favorable WQI conditions, while S1-S3 exhibited greater deterioration and temporal variability. RF and XGBoost achieved strong contemporaneous WQI-mapping performance (RF: R2 = 0.924; XGBoost: R2 = 0.918). PCA identified two primary drivers: PC1 (57.6% of annual variance) representing nutrient-organic pollution and PC2 (18.5%) representing oxygenation (where PC represents principal component). PCA and ML findings showed strong convergence (r = 0.873, p < 0.01), with NH4 +-N and BOD5 identified as dominant factors. This integrated monitoring approach aligns with Sustainable Development Goal (SDG) Target 6.3, which emphasizes improving ambient water quality through pollution reduction and long-term water-quality assessment. Although WQI, PCA, and ML have been used individually or in pairs, their coordinated use for simultaneous classification, multivariate diagnosis, and predictive forecasting in urban lakes remains underexplored. The integrated WQI-PCA-ML framework provides a robust diagnostic and forecasting tool for continuous local water-quality management relevant to SDG Target 6.3 and complementary to formal Indicator 6.3.2 reporting.

Read the paper

Discussion

Science Skim's AI key points, plus readers' public thoughts

Readers' thoughts

No reader thoughts yet.

Related papers