Zhejiang Daxue xuebao. Lixue ban (May 2025)

Surface water quality prediction based on BOA-BiLSTM model(基于BOA-BiLSTM模型的地表水水质预测)

  • 章佩丽(ZHANG Peili),
  • 赵文雅(ZHAO Wenya),
  • 许旭敏(XU Xumin),
  • 包鑫磊(BAO Xinlei)

DOI
https://doi.org/10.3785/j.issn.1008-9497.2025.03.004
Journal volume & issue
Vol. 52, no. 3
pp. 323 – 333

Abstract

Read online

∶To accurately assess the water quality evolution trend of small watersheds in plain river networks with limited monitoring conditions and predict the change of water quality in advance, based on the water quality monitoring data of Nanguan River in Taizhou, Zhejiang province from June 2021 to June 2023, a surface water quality prediction model was established by integrating a Bayesian optimization algorithm (BOA) with a bi-directional long short-term memory network (BiLSTM). The temporal and spatial distribution of water quality was discovered through the use of box plots and Spearman's rank correlation. Consequently, NH3—N and TP were identified as the primary control parameters, and four stations were designated as the primary research areas. The results indicate that the predicted RMSE of NH3—N by the BOA-BiLSTM model for the next four hours is respectively 0.213 2, 0.368 9, 0.332 7 and 0.374 0, the predicted RMSE of TP is respectively 0.024 6, 0.032 1, 0.042 2 and 0.033 4. Compared with the basic LSTM model, the predicted RMSE of NH3—N in the next four hours is increased by 15.8%, 10.6%, 10.6% and 17.1%, respectively, the RMSE of forecast TP is increased by 22.6%, 3.6%, 14.8% and 11.8% respectively. Simultaneously, we take the NH3—N of Moshi Bridge as an example, it is demonstrated that the time series prediction has higher prediction accuracy and stronger applicability for the plain river network with fewer monitoring parameters comparing with the multi-variable prediction results after adding upstream and downstream data. Finally, based on the on-site investigation and land classification of the study area, it is pointed out that the living source, imperfect sewage collection and treatment facilities, and the combined flow of rain and sewage are the key points of regulation. The established high-precision water quality prediction model and its associated findings provide reliable data to support environmental law enforcement and water environment governance, helping to enhance monitoring capabilities for abnormal water quality within limited monitoring parameters.∶为准确评估监测条件有限的平原河网小流域河水水质演变趋势,预知水质变化情况,利用浙江省台州市南官河2021年6月至2023年6月的水质监测数据,基于贝叶斯优化算法(Bayesian optimization algorithm,BOA)和双向长短期记忆神经网络(bi-directional long short-term memory,BiLSTM)建立了地表水水质预测模型。利用箱线图和Spearman秩相关系数挖掘水质的时空分布规律,划定中间河段4个站点为重点研究区域,NH3—N和TP为治理重点。通过BOA和双向信息传递机制优化LSTM超参数和模型结构,结果显示,用BOA-BiLSTM模型预测,未来4 h NH3—N浓度的均方根误差(root mean squared error,RMSE)分别为0.213 2,0.368 9,0.332 7和0.374 0;未来4 h TP浓度的RMSE分别为0.024 6,0.032 1,0.042 2和0.033 4。二者较基准LSTM模型的预测结果分别提升了15.8%,10.6%,10.6%,17.1%和22.6%,3.6%,14.8%,11.8%。以磨石桥NH3—N浓度为例,对比了时序预测与加入上下游数据后的多变量预测结果,发现时序预测对监测参数较少的平原河网具有更强的适用性和更高的预测精度。同时结合研究区域现场勘查和地块分类情况,指出生活源、污水收集及处理设施不完善、雨污合流应为整治重点。当监测参数有限时,本文模型有助于提升对水质异常的监管水平,为环境执法、水环境治理提供数据支撑。