ABSTRACT
The potential of measurement-based control strategies for achieving lower N2O emissions in biological wastewater treatment is limited due to strong temporal variations in N2O emissions and a lack of measurement data regarding influencing parameters. To address this issue, a novel artificial intelligence (AI)-based process optimization method for minimizing N2O emissions was developed, relying on a genetic algorithm to automatically determine the control settings associated with minimum N2O emissions for an individual operating situation. The genetic algorithm employs a validated prediction model to evaluate the effect of individual control parameter sets on N2O emissions and other operating targets. For this purpose, neural networks were trained using data generated with a mechanistic model. This approach is beneficial in practical applications as prediction networks could be successfully trained even if only limited data is available. The developed method also includes a classification algorithm to check the reliability of the AI-suggested control strategy. Two modeling studies confirm that the practical application of the developed methodology holds the potential for a considerable reduction in emissions (43% or 1,588 t CO2e/a) while still achieving the required effluent quality. Operational settings are identified in less than 2 minutes so that the approach can be applied on a large scale.
HIGHLIGHTS
The transfer of a calibrated mechanistic model into neural networks enables an accurate and fast prediction of N2O emissions and other target parameters during biological wastewater treatment.
Applying a genetic algorithm in combination with neural networks for ongoing proactive optimization of the operational settings of biological wastewater treatment holds enormous potential for reducing operational greenhouse gas emissions.
A classification algorithm based on neural networks can be applied to evaluate the reliability of the proposed control strategies.
INTRODUCTION
Global efforts to minimize greenhouse gas emissions require a significant reduction of CO2-equivalent (CO2e) emissions in all sectors. The wastewater sector can also essentially contribute, e.g. by minimizing nitrous oxide (N2O) emissions during biological wastewater treatment (high global warming potential of 273 g CO2e/g N2O, IPCC (2021)). Within the scope of biological nitrogen removal, the formation and release of N2O are subject to high temporal dynamics and are influenced by a variety of different factors (Zhou et al. 2008; Chandran et al. 2011; Schneider et al. 2013; Ribera-Guardia et al. 2014). However, N2O emissions can be reduced to a minimum through control strategies that are individually tailored to the biological treatment process (e.g. Parravicini et al. 2015). These strategies usually rely on on-site measurements and predefined relationships between measurable parameters and control variables (e.g. Duan et al. 2020; Freyschmidt & Beier 2022). Recent control strategies focus on optimized aeration strategies (e.g. Duan et al. 2020; Freyschmidt & Beier 2022), enhanced denitrification (e.g. by dosing carbon, Peng et al. 2017), or optimized feeding (e.g. Valkova et al. 2021).
Not all parameters that influence N2O formation and emission can be measured directly, or much effort is involved to obtain the required data due to significant spatial and temporal variations. This limits the potential of measurement-based plant control from a practical point of view. In contrast, a calibrated digital model (e.g. ASM3/1_N2OISAH, Beier et al. 2021) running parallel to plant operation (‘digital twin’) ensures that more parameters (also those that are not measured) can be integrated into a control algorithm (Seggelke et al. 2005; Matheri et al. 2022). Model-based control thus enables the implementation of extended control strategies for more complex objectives. Nevertheless, the main disadvantage remains that these models are still based on fixed control relationships.
However, the optimum operational settings for minimizing N2O emissions can also be determined individually for an operating situation based on predictions, also considering legal effluent restrictions and energy demand. In this approach, various sets of operational settings are tested with the model, and the resulting N2O emission is predicted. Finally, the dataset resulting in the lowest emission is chosen. It is no longer necessary to define fixed individual control relationships for specific targets; instead, the system is optimized from a holistic perspective.
Choosing the optimum control settings for a specific operating situation to minimize N2O emissions can be automated with the help of intelligent, nature-inspired optimization algorithms. Unlike conventional derivation-based algorithms, nature-inspired algorithms like the genetic algorithm do not make any demands on the steadiness and differentiability of the optimization function, enabling the integration of various models (Nissen 1997).
For a prediction-based control approach, a large number of predictions may be necessary for a single optimization step. For that reason, the direct use of mechanistic models is currently considered unfeasible due to their high complexity and long simulation times. There is still a lack of quick-response tools that can be integrated into the operating practice.
As an alternative to mechanistic modeling, neural networks have become a focus of research in recent years (e.g. Hwangbo et al. 2021; Li et al. 2022). Neural networks are counted among the methods of artificial intelligence (AI) and consist of multiple artificial neurons, which transfer several inputs to an output based on the weighted sum of the inputs, a bias, and an activation function (Backhaus et al. 2015). By automatically changing the network parameters (weights, biases) during the network training, neural networks are capable of iteratively approximating complex mathematical (non-probabilistic) relationships between input and output data (Backhaus et al. 2015). The simplest type of neural network is a feedforward network, in which information is only passed in one direction (Backhaus et al. 2015). Compared to mechanistic models, neural networks require fewer input parameters for the prediction of N2O emissions and are much faster due to their mathematically simpler structure. This makes neural networks ideal for dynamic process optimization. However, extensive training data (several annual series, including the parameters required to describe the operating state, the parameters that influence N2O emissions, and the resulting N2O emissions) is required to train the networks. In practice, such data sets are often not available.
This paper presents a novel method for intelligent plant control, aiming for the minimization of operational N2O emissions during biological wastewater treatment. The approach includes three main components. First, operational settings associated with minimum N2O emissions are identified by relying on a genetic algorithm. Second, aiming for short simulation times, neural networks were used as part of the optimization function to compute the fitness value of each candidate solution. Third, a classification algorithm was implemented to evaluate the reliability of the proposed control strategy.
METHODS
The pilot plant (see Figure 1) was equipped with online sensors for temperature, pH, and oxygen concentration. In addition, the influent and effluent composition (Q, NH4–N, NO2–N, NO3–N, alkalinity) were analytically determined every week. During two measurement campaigns, lasting 3 and 5 days (stable operating conditions, small temporal changes in N2O formation), the N2O concentration in the liquid phase was measured; in one of these measurement campaigns, the N2O concentration in the reactor's off-gas and the off-gas volume flow were also determined to obtain data for the calibration of the gas transfer model.
A mechanistic model of the pilot plant was set up, using the expanded ASM model ASM3/1_N2OISAH (Beier et al. 2021). For calibration, seven data sets (influent and effluent composition (see Supplementary material, Table S1), O2 concentration, wastewater temperature, pH value) of a specific operating phase (duration: 49 days) were employed. The model was calibrated for nitrogen conversion as well as N2O formation and emission. During the investigation period, the commissioning of the system had already been completed, and a stable nitritation limited by the alkalinity was achieved. The biofilm thickness still increased slightly. More information on the model calibration can be found in Freyschmidt & Beier (2022). After completing the calibration process, nitrogen conversion as well as N2O formation and emission could be depicted with an accuracy being sufficient for the scope of this study (see Supplementary material, Figures S1 and S2). As described in Freyschmidt & Beier (2022), N2O formation can be traced back to the activity of autotrophic bacteria during the aerated phases inside the biofilm. However, also heterotrophic bacteria contribute to the N2O formation, due to a strong inhibition of the N2O reductase by nitrous acid (HNO2). The gas transfer rate (and therefore the emission) is limited by the diffusion rate from the biofilm to the bulk phase.
As a second example, the methodology for emission reduction was applied to a model of the large-scale WWTP Kralingseveer. This example does not address the implementation of the developed approach during practical operation in real time. Instead, the approach was tested on historical data provided by Daelman et al. (2015). Only complete datasets were employed, including N2O emissions, operational settings as well as influent and effluent composition (in total 55 datasets, covering a time span of 14.5 months). The biological stage of WWTP Kralingseveer consists of a plug flow reactor followed by two carousel reactors (flow scheme in Supplementary material Figure S3, more information in Daelman et al. (2015)). In this work, only the results of applying AI-based control to the model of WWTP Kralingseveer are summarized and discussed. More information on the setup of the algorithms and models can be found in the Supplementary material.
The same biological model was used to create the mechanistic model as for the pilot-scale example (expanded ASM model ASM3/1_N2OISAH; Beier et al. 2021). However, the calculation of the N2O formation factor as a function of the nitrite concentration was adapted to mainstream conditions (due to a lack of adaption, much lower nitrite concentrations can already induce N2O formation, e.g. Daelman et al. (2015) and Kuokkanen et al. (2021)).
For implementing the genetic algorithm and for setting up the neural networks, MATLAB R2023a (especially Optimization Toolbox, Global Optimization Toolbox, Deep Learning Toolbox, and Statistics and Machine Learning Toolbox) was employed.
AI-BASED APPROACH FOR N2O EMISSION REDUCTION
Minimization of operational N2O emissions using a genetic algorithm
The operational settings (O2 target concentration, on/off times of intermittent aeration) of the investigated pilot plant were optimized using a genetic algorithm, aiming to minimize the target value ‘CO2e emissions’. Only multiples of 0.5 were accepted for the O2 concentration. The intermittent aeration on/off times were randomly selected from three predefined scenarios (on/off = 15 min/15 min, 15 min/30 min, 30 min/30 min). With all combinations, a stable suppression of nitratation could be achieved during the pilot plant operation.
In this case, an interval of 1 week would be the obvious choice for calculating the CO2e emissions resulting from a specific set of operational settings, as the influent composition of the pilot plant changes weekly. However, since pre-investigations have shown that the plant performance stabilized approximately 3 days after the influent was changed, an interval of 3 days was selected.
In addition to the primary goal of minimizing CO2e emissions, further boundary conditions were defined to ensure a stable nitritation (NH4–N conversion ≥20%, effluent alkalinity <2 mmol/L, ratio of NO3–N effluent concentration and NO2–N effluent concentration <2%). It has to be emphasized that the mean NH4–N conversion during plant operation was 24%, limited by alkalinity. The fulfillment of the boundary conditions is verified by relying on a prediction of the effluent concentrations of NH4–N, NO3–N, and NO2–N as well as the effluent alkalinity.
Further information on the parameterization of the genetic algorithm can be found in the Supplementary material.
Training of neural networks supported by mechanistic modeling
As indicated before, tools are needed to rapidly predict the N2O emission as well as the effluent concentrations of NH4–N, NO3–N, and NO2–N and effluent alkalinity, depending on the operational settings. However, the extent of the available operating data was not sufficient for the training of reliable neural networks for prediction. For that reason, a novel approach to transfer a mechanistic model into multiple neural networks was developed in this work. Mechanistic models can already be calibrated with data from shorter measurement campaigns and are based on mathematical relationships so that the network training can benefit from existing process understanding that has already been converted into a mathematical form. The network can be regarded as an intermediate memory for mechanistic simulation results; however, reliable network outputs can also be calculated for input data that was not considered in exactly the same form during the training phase. Similar approaches were described by Mehrani et al. (2022) and Li et al. (2022). The authors employed a mechanistic model to increase the resolution of the operating data of an (experimental) plant; the datasets generated in this way were also employed to train neural networks.
In the first step, datasets for the network training were generated with the aid of the mechanistic model of the pilot plant and random model input parameters (influent volume flow, influent NH4–N concentration, influent alkalinity, temperature, pH value, O2 target concentration, and on/off times of intermittent aeration). The variation of the input parameters followed defined probability distributions (normal distribution for influent volume flow and composition and equal distribution for all other parameters), ensuring that also rarely occurring operational situations can be included in the network training with sufficient frequency. The range of the operational settings was limited as described above (multiples of 0.5 for the O2 concentration, three predefined scenarios for intermittent aeration).
Subsequently, the resulting N2O emissions for each input data set as well as the additional parameters that are needed to evaluate the boundary conditions (effluent concentrations of NH4–N, NO3–N, and NO2–N and effluent alkalinity) were determined using the mechanistic model. The first simulation (first dataset) is carried out from a steady state; all further simulations are carried out from the resulting state of the previous simulation. By varying the starting states, it is taken into account that the N2O emission depends not only on the current influent composition and the operational settings but also on the previous operating situations.
Finally, 20,000 datasets were generated via mechanistic modeling, including the influent volume flow and composition (NH4–N concentration, alkalinity), the wastewater temperature and the pH value, the operational settings (O2 target concentration, on/off times of intermittent aeration), the wastewater composition (concentrations of NH4–N, NO3–N, and NO2–N and alkalinity) in the reactor before the simulation starts, the resulting N2O emission, the resulting effluent concentrations of NH4–N, NO3–N, and NO2–N and the effluent alkalinity.
For the setup of the neural feedforward networks to predict the N2O emission as well as the effluent concentrations of NH4–N, NO3–N, and NO2–N and the effluent alkalinity, input parameters were chosen from the data included in the generated training datasets according to Table 1. A total of 456 datasets resulting in an N2O emission <0 were neglected. The networks are initialized with an input layer and two hidden layers; the number of neurons per layer was determined iteratively (see Table 2). The Levenberg–Marquardt algorithm was used for network training.
Parameter employed for network training
Chosen network inputs . |
---|
Influent volume flow |
Influent NH4–N concentration |
Influent alkalinity |
Wastewater temperature |
pH value in the reactor |
O2 target concentration |
On/off times of intermittent aeration |
NH4–N concentration in the reactor |
NO3–N concentration in the reactor |
NO2–N concentration in the reactor |
Alkalinity in the reactor (only networks for effluent NO3–N concentration and alkalinity) |
Chosen network inputs . |
---|
Influent volume flow |
Influent NH4–N concentration |
Influent alkalinity |
Wastewater temperature |
pH value in the reactor |
O2 target concentration |
On/off times of intermittent aeration |
NH4–N concentration in the reactor |
NO3–N concentration in the reactor |
NO2–N concentration in the reactor |
Alkalinity in the reactor (only networks for effluent NO3–N concentration and alkalinity) |
Network structure and coefficients of determination
Network . | Neurons on first/second layer . | Coefficient of determination R2 . |
---|---|---|
N2O emission | 20/10 | 0.920 |
NH4–N effluent concentration | 20/10 | 0.999 |
NO2–N effluent concentration | 20/10 | 0.991 |
NO3–N effluent concentration | 24/10 | 0.939 |
Effluent alkalinity | 24/10 | 0.985 |
Network . | Neurons on first/second layer . | Coefficient of determination R2 . |
---|---|---|
N2O emission | 20/10 | 0.920 |
NH4–N effluent concentration | 20/10 | 0.999 |
NO2–N effluent concentration | 20/10 | 0.991 |
NO3–N effluent concentration | 24/10 | 0.939 |
Effluent alkalinity | 24/10 | 0.985 |
Evaluation of suggested operational settings
The reliability of the proposed operational settings is mainly driven by the quality of the N2O emission prediction. To avoid counterproductive optimization (emission increase after applying the proposed control strategy), the operating situations in which the predicted N2O emissions are not reliable have to be identified.
In this work, 60 neural feedforward networks (2 layers, 20 neurons + 10 neurons) are trained to classify the predicted N2O emission. Only reliable and unreliable results are distinguished. If at least 45 networks rate the predicted N2O emission as reliable, the prediction is considered reliable (‘bootstrap aggregating’ or ‘bagging’ according to Breiman 1996).
The training datasets generated with the mechanistic model are also used to train the classification networks. In order for the algorithm to evaluate the network performance during the training, each training dataset must be classified. For this purpose, the 95% percentile of the absolute deviation between the N2O emission calculated with the mechanistic model and the one predicted with the neural network is employed.
For the training of the classification networks, all parameters that have already been used for the training of the prediction networks (19,544 datasets) as well as the predicted N2O emission were used as input parameters. Moreover, parameters to evaluate the stability of the N2O emission prediction, which are determined as percentage deviations between the N2O emission calculated with the actual input parameters and the N2O emissions calculated with input parameters increased or decreased by 1%, were integrated into the network training. Finally, the first principal component of the wastewater composition in the reactor before and after the simulation of the respective dataset (calculated with additional neural networks, R2 = 1,000 and 0.999) was employed for network training.
For each network to be trained, 75% of the datasets for which the predicted N2O emission was classified as unreliable are randomly selected for the training process. In addition, triple the amount of datasets with a predicted N2O emission classified as reliable is selected (also randomly). Since misclassification of an unreliable N2O emission is more critical due to a potentially counterproductive optimization, incorrect classifications are weighted differently in the performance evaluation during the network training (factor 10 for incorrect classification as reliable).
Approach for optimizing plant control parameters using neural networks and genetic algorithms.
Approach for optimizing plant control parameters using neural networks and genetic algorithms.
RESULTS AND DISCUSSION
Performance of the prediction networks
Comparison of the network outputs and the control data for the N2O emission (a) and the NO3–N effluent concentration (b), calculated with the datasets that were not used for network training.
Comparison of the network outputs and the control data for the N2O emission (a) and the NO3–N effluent concentration (b), calculated with the datasets that were not used for network training.
The performance of the network for predicting N2O emissions was additionally evaluated with the N2O emissions measured during the measurement campaign. The neural network predicts an average N2O emission of 1.86 g N2O-N/day over the duration of the measurement campaign (duration: 3 days). In situ, an N2O emission of 1.95 g N2O-N/day was measured. The deviation between calculated and measured emissions is approximately 5%.
In summary, the mechanistic model was successfully transferred to several neural networks so that a fast prediction of N2O emissions and other target parameters can be made based on measured values only. So, a considerable reduction in model complexity (fewer input parameters and simpler equations) can be achieved while maintaining nearly the same model accuracy.
Independent of the integration into an optimization algorithm, the approach of transferring a mechanistic model into neural prediction networks has a high potential for practical application. A comparable accuracy can be achieved with a model that is much easier to handle. In addition, the number of required input parameters can be reduced, which simplifies operational use. If sufficient data are available for the calibration of a mechanistic model, the approach can be transferred to any wastewater treatment parameters; the prediction of N2O emissions represents one of the most challenging cases here due to the large number of influencing factors. It has to be pointed out that the network training must be renewed in the case of changing operating conditions or wastewater composition, which are not covered by the range of the training data.
Performance of the classification networks for reliability evaluation
Performance of the classification algorithm (classification predicted with classification algorithm and true classification of the test datasets).
Performance of the classification algorithm (classification predicted with classification algorithm and true classification of the test datasets).
Performance of the intelligent control parameter optimization
The optimal operational settings were determined for the seven datasets already used for the calibration of the mechanistic model. The results show that the algorithm identifies intermittent aeration with an aerated and non-aerated phase of 15 min each as the optimal aeration strategy for all operating situations considered (see Table 3). The O2 concentration is selected so that the required NH4–N conversion is achieved or the maximum alkalinity in the effluent is just not exceeded. Higher O2 target concentrations are therefore recommended for higher NH4–N influent loads or higher alkalinity in the influent.
Results of intelligent control parameter optimization
Data set no. . | Aeration (min on/min off) . | O2 target conc. (mg/L) . | CO2e emission (kg CO2e) . | Result classification . |
---|---|---|---|---|
1 | 15/15 | 3 | 2.48 | Reliable |
2 | 15/15 | 2.5 | 2.16 | Reliable |
3 | 15/15 | 3.5 | 2.92 | Reliable |
4 | 15/15 | 3 | 2.36 | Reliable |
5 | 15/15 | 3.5 | 2.75 | Reliable |
6 | 15/15 | 3 | 2.10 | Reliable |
7 | 15/15 | 3 | 2.49 | Reliable |
Data set no. . | Aeration (min on/min off) . | O2 target conc. (mg/L) . | CO2e emission (kg CO2e) . | Result classification . |
---|---|---|---|---|
1 | 15/15 | 3 | 2.48 | Reliable |
2 | 15/15 | 2.5 | 2.16 | Reliable |
3 | 15/15 | 3.5 | 2.92 | Reliable |
4 | 15/15 | 3 | 2.36 | Reliable |
5 | 15/15 | 3.5 | 2.75 | Reliable |
6 | 15/15 | 3 | 2.10 | Reliable |
7 | 15/15 | 3 | 2.49 | Reliable |
N2O mitigation is achieved by ensuring a sufficient oxygen supply in the aerated phase, reducing the autotrophic N2O formation. Due to the short aerated interval, less N2O accumulates in the biofilm, so the diffusion rate is reduced by a lower concentration gradient. The accumulated N2O is partly converted by heterotrophic bacteria in the anoxic phase. In this context, short aeration intervals are also advantageous since less nitrite accumulates. Thus, the concentration of inhibiting HNO2 is also lower. Similar operational strategies for mitigating N2O emissions were identified by Peng et al. (2017). The authors also achieved a reduction of N2O emissions with short intermittent aeration intervals.
The CO2e emissions that would result from applying the proposed control parameters are in all cases lower than the emissions recorded in the measurement campaign (carried out under the conditions of dataset 5, 3.06 kg CO2e over the investigated interval of 3 days). However, the N2O emissions of the non-optimized system were not measured for all datasets, so the total potential CO2e emission reduction cannot be quantified.
CO2e emissions calculated for dataset 1 with the mechanistic model for different control parameter combinations (checkered bars indicate a violation of at least one boundary condition; the minimum emission is shaded).
CO2e emissions calculated for dataset 1 with the mechanistic model for different control parameter combinations (checkered bars indicate a violation of at least one boundary condition; the minimum emission is shaded).
CO2e emissions before and after optimization as individual values (a) and sum curves (b), greyed-out values were classified as not reliable.
CO2e emissions before and after optimization as individual values (a) and sum curves (b), greyed-out values were classified as not reliable.
For dataset 1, the mechanistic modeling shows that with the ‘15/30’ aeration strategy, an alkalinity of 2 mmol/L is exceeded in the effluent regardless of the target O2 concentration (violation of boundary condition 2). This is also observed with the other aeration strategies if the O2 target concentration falls below 1.5 mg/L. In these cases, nitrogen conversion is no longer limited by the alkalinity but by the O2 supply. With the ‘15/15’ aeration strategy, the demanded suppression of nitrate formation cannot be achieved at higher O2 target concentrations (≥4 mg/L) (violation of boundary condition 3).
Both the optimization algorithm and the mechanistic model achieve the lowest emissions with the ‘15/15’ aeration strategy. The optimization algorithm proposes a target O2 concentration of 3 mg/L; the mechanistic model results in the lowest emissions with a target O2 concentration of 3.5 mg/L. This deviation is due to minor inaccuracies in the prediction of the NO3–N effluent concentration by the corresponding neural network, which leads to a violation of boundary condition 3. Thus, the optimization algorithm only finds the potentially second-best solution (depending on the accuracy of the mechanistic model); however, the corresponding CO2e emission only exceeds the CO2e emission at optimal operating settings by 4%.
The presented results confirm that the developed method for intelligent plant control can support the reduction/prevention of operational greenhouse gas emissions during wastewater treatment. The deviations between the solutions determined with the algorithm and the mechanistic model are considered to be negligible, as the mechanistic model is also associated with model uncertainties (e.g. regarding the integration of influencing parameters on N2O formation). Instead, it can be emphasized that similar control parameters were identified with both methods, which confirms the practical applicability of the proposed approach. It also has to be stressed that the optimization algorithm produces a result much faster and works independently. While the intelligent optimization method determines optimal operational settings within a few minutes (<2 min), the application of the mechanistic model needs much more time (approximately 15 min), since all possible combinations have to be investigated. In addition, it must be manually checked for which control parameter combinations boundary conditions are violated.
Large-scale application case
The presented approach was employed to exemplarily determine the potential for emission reduction for the large-scale WWTP Kralingseveer (data from Daelman et al. 2015). The developed methodology was applied as described before (setup and calibration of a mechanistic model using the biological model ASM3/1_N2OISAH, training of neural networks, preparation of the algorithm for optimization, and result evaluation). Due to the complexity of the investigated plant, not only measured parameters but also parameters that were calculated with a digital twin during operation were employed to set up the neural networks for prediction and result evaluation. Altogether, 94 network inputs were used, including wastewater composition, operational parameters, and biomass concentrations at different positions of the biological treatment stage (performance of trained prediction networks and result evaluation algorithm in Supplementary material). Maximum values for NH4–N (4 mg N/L), NO2–N (0.6 mg N/L), and inorganic N (11 mg N/L) effluent concentrations were defined as boundary conditions for optimization.
The total potential emission reduction was determined by comparing the emissions that occurred during operation (measurement data available) with those of the optimized system. During the optimization process, the target oxygen concentrations in all aerated zones as well as the recirculation rates of both stages were varied. It has to be emphasized that the plant was not operated with the aim of minimizing N2O emissions.
Figure 6 show the measured emissions as well as the emissions predicted by the algorithm and calculated by the mechanistic model (control of the algorithm). Using intelligent plant control, a potential emission reduction of 43% or 1,588 t CO2e/a seems possible. The modeled N2O emissions decreased by more than 50% (N2O emission factor: 3.9% of oxidized nitrogen before optimization and 1.9% after optimization). The reduction was mainly achieved by establishing low oxygen concentrations in the aerated reactor zones. The oxygen supply was limited to the amount required for full nitrification. So, additional simultaneous denitrification capacities could be activated. Nevertheless, the achieved nitrogen elimination was comparable to the performance of the non-optimized system.
CONCLUSIONS
The work presented here confirms the high potential of intelligent plant optimization for solving complex control tasks in biological wastewater treatment, like reducing the operational CO2e emissions. Intelligent algorithms find highly effective control strategies in a very short time for the majority of operating situations. However, this requires the availability of accurate prediction tools. The key findings are as follows:
An accurate prediction of N2O emissions and other target parameters during biological wastewater treatment was achieved by transferring a calibrated mechanistic model to several neural networks (one network for each parameter to be predicted).
The use of neural networks significantly increased the simulation speed compared to the mechanistic model. The prediction quality of the mechanistic model and the neural networks was shown to be comparable (R2 > 0.90).
Neural networks are reliable in their predictions if the operating situations for which the networks are to be used are represented with sufficient frequency in the training datasets. With the method presented here, it is possible to identify the majority of operating situations for which reliable emission prediction is not possible.
The exemplary application of the optimization algorithm showed the high impact of the thoughtful definition of the boundary conditions (e.g. achieving a certain effluent quality) on the practical suitability of the recommended operating settings. If an operational target is not defined, it is not taken into account during optimization.
By applying the proposed control strategies, a potential reduction in N2O emissions of more than 50% was achieved in the large-scale example investigated.
Overall, it was proven that the proposed method enables a new type of operational support for wastewater treatment based on neural networks. In the future, intelligent algorithms will enable even further automation of wastewater treatment plant operations and will contribute to more sustainable, lower-emission operations.
ACKNOWLEDGEMENTS
The content presented in this publication is part of a PhD thesis submitted and accepted at the Leibniz University Hannover (Freyschmidt, Arne: ‘N2O-Emissionsreduzierung durch KI-unterstützte Regelung der biologischen Abwasserreinigung’ – ‘N2O emission reduction by AI-supported control of biological wastewater treatment’, 2024).
FUNDING
We thank the Ministry for Science and Culture of Lower Saxony and the VolkswagenStiftung for the funding within the framework of the 'Zukunftslabor Wasser', the German Federal Ministry of Education and Research for the funding within the framework of the MiNzE project (`Minimization of the CO2 footprint by adapted process development in process water treatment - testing of the MiNzE process in an immersed fixed bed', FKZ: 02WQ1482B), and we gratefully acknowledge the financial support of the German Research Foundation (DFG) in procuring the experimental and measurement set-up for the in-depth measurements of biotechnological processes. The publication of this article was funded by the Open Access Fund of Leibniz University Hannover.
AUTHOR CONTRIBUTIONS
A. F. conceptualized the work, developed the methodology, contributed in programming and modeling, writing, editing. S. K. conceptualized the work and reviewed the article.
DATA AVAILABILITY STATEMENT
All relevant data are available from an online repository or repositories: https://data.uni-hannover.de/de/dataset/data-freyschmidt-et-al-2025.
CONFLICT OF INTEREST
The authors declare there is no conflict.