Skip to main content
Log in

Prediction of nitrous oxide emission of a municipal wastewater treatment plant using LSTM-based deep learning models

  • Research Article
  • Published:
Environmental Science and Pollution Research Aims and scope Submit manuscript

Abstract

Accurate assessment of greenhouse gas emissions from wastewater treatment plants is crucial for mitigating climate change. N2O is a potent greenhouse gas that is emitted from wastewater treatment plants during the biological denitrification process. In this study, we developed and evaluated deep learning models for predicting N2O emissions from a WWTP in Switzerland. Six key parameters were selected to obtain the optimal LSTM model by adjusting experimental parameter conditions. The optimal parameter condition was achieved with 150 neurons, the tanh activation function, the RMSprop optimization algorithm, a learning rate of 0.001, no dropout regularization, and a batch size of 128. Under the same conditions, we compared the performance of recurrent neural networks (RNNs) and Long Short-Term Memory (LSTM) networks. We found that LSTM models outperformed RNN models in predicting N2O emissions. The optimal LSTM model achieved a 36% improvement in mean absolute error (MAE), a 19% improvement in root mean squared error (RMSE), and a 6.92% improvement in R2 score compared to the RNN model. Additionally, LSTM models demonstrated better resilience to sudden changes in the target sequence, exhibiting a 9.54% higher percentage of explained variance compared to RNNs. These results highlight the potential of LSTM models for accurate and robust prediction of N2O emissions from wastewater treatment plants, contributing to effective greenhouse gas mitigation strategies.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11
Fig. 12
Fig. 13
Fig. 14
Fig. 15
Fig. 16
Fig. 17

Similar content being viewed by others

Data availability

Data is avaliable upon request.

References

Download references

Funding

The authors declare that no funds, grants, or other support were received during the preparation of this manuscript.

Author information

Authors and Affiliations

Authors

Contributions

Xiaozhen Xu: Investigation, Data curation, Programming, Writing-original draft. Anlei Wei: Conceptualization, Methodology, Supervision, Writing-review and editing. Songjun Tang: Investigation. Qi Liu: Investigation, Conceptualization. Hanxiao Shi: Investigation, Visualization. Wei Sun: Writing-review & editing. All authors read and approved the final manuscript.

Corresponding author

Correspondence to Anlei Wei.

Ethics declarations

Ethical approval

Not applicable.

Consent to participate

Not applicable.

Consent to publish

Not applicable.

Competing interests

The authors declare no competing interests.

Additional information

Responsible Editor: Marcus Schulz

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Xu, X., Wei, A., Tang, S. et al. Prediction of nitrous oxide emission of a municipal wastewater treatment plant using LSTM-based deep learning models. Environ Sci Pollut Res 31, 2167–2186 (2024). https://doi.org/10.1007/s11356-023-31250-9

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11356-023-31250-9

Keywords

Navigation