首页|期刊导航|水生态学杂志|基于可解释机器学习方法的丹江口水库总磷预测研究

基于可解释机器学习方法的丹江口水库总磷预测研究OA

Prediction of Total Phosphorus in Danjiangkou Reservoir Based on Machine Learning Methods

中文摘要英文摘要

通过机器学习方法开展丹江口水库汉库总磷预测和影响因素分析,为水库水污染防治提供参考.基于2021-2023年汉库逐日监测数据,评估多元线性回归、反向传播神经网络、随机森林、极端梯度提升和轻量级梯度提升机(LightGBM)5种机器学习算法对坝上中点位总磷的预测性能,使用SHAP模型解释识别影响总磷浓度的关键因素,并用条件回归树分析关键影响因素的阈值.结果显示,LightGBM算法预测性能最佳,R²为0.950,MAE为0.002,RMSE为0.003;水位、浊度和出库流量对总磷浓度影响较大,其中水位的关键影响阈值为163.02 m,浊度为 6.5 NTU,出库流量为 1 616.7 m³/s,当水位≤163.02 m且浊度≤6.5 NTU时,总磷达标率最高,达99.1%.

Total phosphorus(TP)in the Hubei section(Hanku)of Danjiangkou reservoir has failed to consistently reach the Class II water quality standard in recent years.Prediction of total phosphorus con-centration and analysis of influencing factors would provide a reference for prevention and control of total phosphorus pollution in Danjiangkou reservoir.In this study,we employed machine learning approaches to conduct total phosphorus prediction and influencing factor analysis for the Hubei section of Danji-angkou reservoir.The study was based on daily monitoring data of Hanku during 2021-2023,and the pre-diction performance and accuracy of five machine learning models(multiple linear regression,BP neural network,random forest,XGBoost and LightGBM)of total phosphorus at Bashangzhong monitoring station was evaluated.Then,Shapley Additive exPlanations(SHAP)model was used to identify the key factors affecting total phosphorus.Finally,conditional regression tree was applied to analyze the threshold values of the key factors.Results show that LightGBM exhibited the best predictive performance,with an R²of 0.950,an MAE of 0.002,and an RMSE of 0.003.When the water level is≤163.02 m and the turbidity is≤6.5 NTU,the compliance rate for total phosphorus reaches its highest level,at 99.1%.Water level,turbidity and outflow discharge were the primary influencing factors for total phosphorus concentration.The key threshold value for water level,turbidity and outflow were 163.02 m,6.5 NTU and 1616.7 m3/s,respectively.When the water level was≤163.02 m and the turbidity was≤6.5 NTU,the compliance rate for total phosphorus reached its highest level,at 99.1%.In conclusion,to control the total phosphorus(TP)concentration in the Hubei section of Danjiangkou reservoir,it is essential to strengthen the manage-ment and control of non-point source pollution during the flood season and the risk management of the water-level fluctuation zone,and scientific regulation can be achieved by adjusting the water level and flow rate of the reservoir.The study could provide practical cases and methodological support for the application of machine learning in water quality prediction for large reservoirs and for research on model interpretability.

张煦;黄霞;张晓彤;刘真贞;马琳

湖北省生态环境监测中心站,湖北 武汉 430071湖北省生态环境监测中心站,湖北 武汉 430071湖北省生态环境监测中心站,湖北 武汉 430071湖北省生态环境监测中心站,湖北 武汉 430071中国科学院武汉植物园,湖北 武汉 430074

资源环境

总磷机器学习影响因素丹江口水库

total phosphorusmachine learninginfluencing factorsDanjiangkou reservoir

《水生态学杂志》 2026 (1)

98-109,12

水利部重大科技项目(SKS-2022123).

10.15928/j.1674-3075.202407250001

评论