Khalil M, AlSayed A, Liu Y, Vanrolleghem PA. Machine learning for modeling N
2O emissions from wastewater treatment plants: Aligning model performance, complexity, and interpretability.
WATER RESEARCH 2023;
245:120667. [PMID:
37778084 DOI:
10.1016/j.watres.2023.120667]
[Citation(s) in RCA: 5] [Impact Index Per Article: 5.0] [Reference Citation Analysis] [Abstract] [Key Words] [MESH Headings] [Track Full Text] [Subscribe] [Scholar Register] [Received: 06/12/2023] [Revised: 09/22/2023] [Accepted: 09/23/2023] [Indexed: 10/03/2023]
Abstract
Nitrous oxide (N2O) emissions may account for up to 80 % of a wastewater treatment plant's (WWTP) total carbon footprint. Given the complexity of the pathways involved, estimating N2O emissions through mechanistic models still often fails to precisely depict process dynamics. Alternatively, data-driven methods for predicting N2O emissions hold substantial potential. However, so far, a comprehensive approach is still overlooked, impeding the advancement of full-scale application. Therefore, this study develops a comprehensive approach for using machine learning to perform online process modeling of N2O emissions. The approach is tested on a long-term N2O emission dataset from a full-scale WWTP. Uniquely, the proposed approach emphasizes not just model accuracy, but it also considers model complexity, computational speed, and interpretability, equipping operators with the insights needed for informed corrective actions. Algorithms with varying levels of complexity and interpretability including k-Nearest Neighbors (kNN), decision trees, ensemble learning models, and deep neural networks (DNN) were considered. Furthermore, a parametric multivariate outlier removal method was adjusted to account for data statistical distributions, significantly reducing data loss. By employing an effective feature selection methodology, a trade-off between data acquisition, model performance, and complexity was found, reducing the number of features by 40 % and decreasing data collection cost, model complexity and computational burden without significant effect on modeling accuracy. The best performing models are kNN (R2 = 0.88), AdaBoost (R2 = 0.94), and DNN (R2 = 0.90). Feature importance of models was analyzed and compared with process knowledge to test interpretability, guiding N2O mitigation decisions.
Collapse