Prediction of effluent total nitrogen and energy consumption in wastewater treatment plants: Bayesian optimization machine learning methods

Bioresour Technol. 2024 Mar:395:130361. doi: 10.1016/j.biortech.2024.130361. Epub 2024 Jan 28.

Abstract

The control of effluent total nitrogen (TN) and total energy consumption (TEC) is a key issue in managing wastewater treatment plants. In this study, effluent TN and TEC predictive models were established by selecting influent water quality and process control indicators as input features. The prediction performance of machine learning methods under different random seeds was explored, the moving average method was used for data amplification, and the Bayesian algorithm was used for hyperparameter optimization. The results showed that compared with the traditional hyperparameter optimization method for effluent TN prediction, the coefficient of determination (R2) increased by 0.092 and 0.067, reaching 0.725, and the root mean square error (RMSE) decreased by 0.262 and 0.215 mg/L, reaching 1.673 mg/L, respectively, after Bayesian optimization and data amplification. During TEC prediction, R2 increased by 0.068 and 0.042, reaching 0.884, and the RMSE decreased by 232.444 and 197.065 kWh, reaching 1305.829 kWh, respectively.

Keywords: Bayesian algorithm; Model prediction; Random seed; WWTPs.

MeSH terms

  • Bayes Theorem
  • Nitrogen / analysis
  • Wastewater*
  • Water Purification* / methods
  • Water Quality

Substances

  • Wastewater
  • Nitrogen