원시데이터 수집 시스템
선정목록으로

Fault detection and diagnosis of the wastewater nitrate and nitrite sensors using PCA and FDA combined with assessment of the economic and environmental impact of the faults

관련 수소연료전지 · (5) 연료전지용 수분제어장치(가습기)

기본 정보

저자
  1. Alexandra-Veronica Luca — Department of Chemical Engineering, Faculty of Chemistry and Chemical Engineering, Babes-Bolyai University of Cluj-Napoca, 11 Arany János Street, 400028, Cluj-Napoca, Romania
  2. Melinda Simon-Várhelyi — Department of Chemical Engineering, Faculty of Chemistry and Chemical Engineering, Babes-Bolyai University of Cluj-Napoca, 11 Arany János Street, 400028, Cluj-Napoca, Romania
  3. Norbert-Botond Mihály — Department of Chemical Engineering, Faculty of Chemistry and Chemical Engineering, Babes-Bolyai University of Cluj-Napoca, 11 Arany János Street, 400028, Cluj-Napoca, Romania
  4. Mircea Vasile Cristea — Department of Chemical Engineering, Faculty of Chemistry and Chemical Engineering, Babes-Bolyai University of Cluj-Napoca, 11 Arany János Street, 400028, Cluj-Napoca, Romania. mircea.cristea@ubbcluj.ro|||Department of Chemical Engineering, Faculty of Chemistry and Chemical Engineering, Babes-Bolyai University of Cluj-Napoca, 11 Arany János Street, 400028, Cluj-Napoca, Romania
DOI
10.1007/s10661-024-13593-z
저널
Environmental Monitoring and Assessment
발행년도
2025
발행기관
Springer Science+Business Media
피인용수
3
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1007/s10661-024-13593-z
토픽
Analytical Chemistry and Sensors
OpenAlex ID
W4405986579

평가 내용

관련도
관련
사업분야
수소연료전지 · (5) 연료전지용 수분제어장치(가습기)
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '수소연료전지 > 연료전지용 수분제어장치(가습기)' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

One of the leading challenges in Water Resource Recovery Facility monitoring and control is the poor data quality and sensor consistency due to the tough and complex circumstances of the process operation. This paper presents a new principal component analysis fault detection approach for the nitrate and nitrite concentration sensor based on Water Resource Recovery Facility measurements, together with the Fisher Discriminant Analysis identification of fault types. Five malfunction cases were considered: constant additive error, ramp changing error in time, incorrect amplification error, random additive error, and unchanging sensor value error. The faults' implementation, fault detection, and identification methods are presented and evaluated in terms of accuracy and promptitude. The models are originating from a municipal plant. The amount of required electrical energy and greenhouse gas released during the Water Resource Recovery Facility operation were assessed for the cases of nitrates and nitrites NO sensor normal and malfunctioning regimes. The environmental and economic evaluations show the benefits of detecting and identifying nitrates and nitrites NO sensor defects aimed at providing efficient and environmentally friendly operation of the Water Resource Recovery Facility. The fault-affected operation cases showed increased values, up to 10% for the total energy demand and 4% for the total greenhouse gas emissions, when they are compared to the normal operation case.

본문 53,389자

본문 펼치기
One of the leading challenges in WaterResource Recovery Facility monitoring and control is the poor data quality and sensor consistency due to the tough and complex circumstances of the process operation.This paper presents a new principal component analysis fault detection approach for the nitrate and nitrite concentration sensor based on Water Resource Recovery Facility measurements, together with the Fisher Discriminant Analysis identification of fault types.Five malfunction cases were considered: constant additive error, ramp changing error in time, incorrect amplification error, random additive error, and unchanging sensor value error.The faults' implementation, fault detection, and identification methods are presented and evaluated in terms of accuracy and promptitude.The models are originating from a municipal plant.The amount of required electrical energy and greenhouse gas released during the Water Resource Recovery Facility operation were assessed for the cases of nitrates and nitrites NO sensor normal and malfunctioning regimes.The environmental and economic evaluations show the benefits of detecting and identifying nitrates and nitrites NO sensor defects aimed at providing efficient and environmentally friendly operation of the Water Resource Recovery Facility.The fault-affected operation cases showed increased values, up to 10% for the total energy demand and 4% for the total greenhouse gas emissions, when they are compared to the normal operation case. Introduction Mathematical modelling has become a worthful tool for finding potential improvements to be achieved by advanced control strategies of the Water Resource Recovery Facility (WRRF) (Makinia & Zaborowska, 2010;Nair et al., 2018).The family of activated sludge models (ASMs) No. 1, 2, 2d and 3 (Henze et al., 2000) and the benchmark simulation models (BSMs) No. 1 (Alex et al., 2008) and 2 (Jeppsson et al., 2007) succeed to provide a first principle-based explanation of the WRRF processes.The ASMs define the frame of the biochemical transformations, while the BSMs implement them in benchmark WRRF configurations of typical design, capacity and operation, including complementary units to the bioreactors.The BSM1 may also comprise two control loops, one for the dissolved oxygen (DO) control in aerobic reactors and another one for the nitrate ( NO − Introduction 3 ) and nitrite (NO − Introduction 2 ) concentration control in the anoxic reactors (Haimi et al., 2010).The first guarantees efficient nitrification, while the later assures appropriate denitrification performed by bacteria.Both of them are important for water quality but the denitrification step is crucial since nitrate and nitrite (NO) can be harmful for human health (Parvizishad et al., 2017), toxic to aquatic life (Cristea, 2013), can lead to chlorination problems (Curtin et al., 2011) and eutrophication (Soares et al., 2011). Introduction WRRF operation has to deal with multiple constrains, included in dedicated regulations.Some of them are imposed at national levels.Others, such as the European Directive 91/271/EEC of 1991, are set for community of countries.These requirements emerge in the objective of efficient process operation, attainable by the implementation control strategies (Olsson et al., 2005).There are many studies on effluent quality (Santin et al., 2016;Ma et al., 2019), reduced energy consumption (Di Fraia et al., 2018;Simon-Varhelyi et al., 2020) and WRR processes optimization (Borzooei et al., 2019;Zhou et al., 2021).Sensors represent a prerequisite for achieving these objectives in real-time performance monitoring (Corona et al., 2013). Introduction Despite the current trend aims to achieve energy neutrality (IWA, 2018) and leads the process to the most efficient reduction of emissions, this has only been accomplished in rare real-life WRRFs (EUDP, 2017).Recent studies on WRRF GHGs emissions used fault tree analysis as potential failure detector (Bourouni, 2013;Ba-Alawi et al., 2020).Different works have addressed indirect emissions related to energy consumption (Parravicini et al., 2016;Marinelli et al., 2021) and direct WRRF emissions (Campos et al., 2016;Parravicini et al., 2022).Other studies have focused on diverse control strategies to reduce the emissions (Santin et al., 2017;Qandil, et al., 2021) or the energy demand (Budych-Gorzna et al., 2021).Several publications investigated economic evaluation of GHG emissions and electrical consumption (Gemar et al., 2018;Yapicioglu & Yesilnacar, 2022;Jimenez-Benitez et al., 2023), but none addressed the topic of combined environmental and economic impact of faulty sensors. Introduction Intelligent sensors proved to be valuable for obtaining quantitative and qualitative assessments of variables when traditional measurements are not available, expensive or unreliable (Haimi et al., 2015).Soft-sensors aim to solve two other major problems: recognition and isolation of hardware sensor faults (Haimi et al., 2013;Yan et al., 2020).Faulty operation of concentration sensors of WRRFs can significantly reduce control system setpoint tracking performance, affect its disturbance rejection potential, raise operational costs and lead to poor quality of the effluent.Inaccurate nitrogen compounds monitoring and treatment can lead to elevated on-site and off-site CO 2 and N 2 O emissions, along with a decline in satisfying environmental standards and overall treatment effectiveness.Taking this into consideration, fault detection is crucial for maintaining optimal process operation.Early failure detection helps avoid plant inefficiency, increased costs and breakdowns.Process monitoring ensures accurate plant performance by achieving four distinct tasks: (1) fault detection reveals if an aspect in the process needs correction; (2) fault diagnosis or error identification reveals the source of the issue; (3) fault estimation evaluates the fault magnitude; and (4) fault reconstruction computes the fault-free process variable values aimed at performing reliable process operation in the presence of defects (Qin, 2003). Introduction Multivariate statistical process control (MSPC) methods proved to be efficient in fault detection (Qin, 2009;Corominas et al., 2011).Among them are the principal component analysis (PCA) (Tao et al., 2013;Dong & Qin, 2018;Luca et al., 2021), partial least squares (PLS) (Chen et al., 2016, Liu et al., 2021), independent component analysis (ICA) (Villegas et al., 2010;Yu, 2012) and support vector machine (SVM) (Kazemi et al., 2021).MSPC is ideal in fault detection because it relates on the latent variables.In contrast, simple statistical process control tools, as are control charts, directly use measured variables (Garcia-Alvarez, 2009). Introduction Data-driven models are based on the measured data, they describe the factual behaviour, providing a good description of the process conditions (Haimi et al., 2015;Mamandipoor et al., 2020) but do not necessitate a detailed explanation of the intrinsic phenomena, mechanisms or fundamental system knowledge (Ma et al., 2021).Data-driven fault detection unveils the existence of a faulty situation (Schneider et al., 2019), especially in complex, large-scale, illdefined, non-linear and time-varying systems (Li & Yan, 2019).Fault detection algorithms are not easily applicable to wastewater systems due to the uncertainty of multiple combinations of complex factors (Liu et al., 2023).The WRRF advanced or plantwide control is even more difficult to achieve because a large plant may involve up to 30,000 measured signals (Olsson et al., 2014).The most frequently used data-driven MSPC methods is PCA because it offers an essential representation of process variables (Amin et al., 2018).Additionally, PCA is suitable for detecting sensor faults by reducing dimensionality and enhancing interpretability while minimizing information loss.It achieves this by generating new uncorrelated variables that maximize variance and reflect hidden correlations between variables. Introduction When considering a large number of studies considering out-of-range values of the WRRF NO concentration signal (Rieger et al., 2008;Britschgi et al., 2020;Juncal et al., 2020), only few inspected the fault detection and diagnosis.Some used the ICA (Yu, 2012) or the PCA methods to detect the malfunctions.One of the PCA focused papers developed a structured residual approach with maximum sensitivity method to detect sensor faults, such as bias, drift, complete failure and precision degradation (Yoo et al., 2006).Another showed that soft-sensor values estimation is preferred when hardware instrumentation measurements are faulty.In this case a reflectionbased PCA algorithm was used (Haimi et al., 2015).A different study proposed the hybrid methodology built on PCA with T 2 statistics and the Bayesian network (BN) (Amin et al., 2018). Introduction FDA is a popular pattern classification technique (He et al., 2005;Fuente et al., 2008).The application of FDA to malfunctioning sensors in air handling systems was thoroughly investigated (Du & Jin, 2008).FDA was also investigated for the diagnosis of DO sensors (Luca et al., 2023).FDA delivers the optimal lower dimensionality illustration for fault identification on the basis of a distinguishing factor between categories of data, upon which every class represents data gathered over a definite and known error type. Introduction In contrast with PCA, that seeks directions which are effective in terms of representation, FDA seeks directions that are effective in terms of discriminatory information in sensor data.As a result, FDA has theoretical benefits for fault detection and diagnosis (Chiang et al., 2000). Introduction This work focuses on the detection and identification of five faults that affect the NO concentration sensor, as this is the main component of the NO − 3 and NO − 2 control loop typically present in activated sludge processes.The implemented faults are: constant additive error, ramp changing error in time, incorrect amplification error, random additive error and unchanging sensor value.Considering the advantages of the PCA and FDA for the detection and diagnosis of sensors faults, the present paper proposes the PCA model for fault detection, along with the FDA model for fault identification of defective functioning scenarios associated to NO concentration sensor in the dynamic operation of WRRF.The models are based on normal operation sets of data obtained and reconciled from a Romanian WRRF.The dynamic simulations for normal and sensor fault-affected process were built using Simulink™, the graphical extension of MATLAB.The novelty of this work consists in its comprehensive approaches to detect and identify a specific set of faults affecting the NO concentration sensor belonging to the NO control loop, working in association with the DO control loop of a municipal WRRF.The work innovatively combines PCA for fault detection and FDA for fault identification, aiming the sustainable and automated WRRF operation.Additionally, the study evaluates the fault detection and identification capabilities of the model using precision, recall, accuracy, MAR (Missed Alarm Rate) and the F1 score along with the economic and environmental impacts of sensor faults, providing insights for optimizing WRRF performance.The electricity expenses and environmental effects on WRRF performance were evaluated using specific metrics for the urban WRRF case under study and for each of the NO sensor failure types. Introduction The paper is organized to present (i) the WRRF model employed for dynamic simulations, (ii) the theoretical bases of the PCA fault detection and FDA fault diagnosis approach for the five different types of investigated NO sensor errors, (iii) the overview of the metrics employed to calculate the amount of GHG released by the sensor induced faulty process, and (iv) the findings of the WRRF performance gained by analysing the sensor faults affected operation, the economic and environmental assessments, ending the study with (v) the conclusions of the investigations for enhancing the operation of the WRRF considered as case study. Methods Municipal WRRF and process model into nitrites and nitrates by autotrophic aerobic bacteria (Gerardi, 2002).The formed nitrites and nitrates (NO) are returned to the anoxic basin for denitrification by the mixed-liquid recycle stream.The gravitation-based separation between sludge and treated water occurs in the secondary clarifier.The clean effluent is discharged into the receiving river and the activated sludge waste leaving the secondary settler is sent to the anaerobic digestion unit to be used for biogas production.The rest is returned to the anaerobic zone to sustain biomass development by the return activated sludge stream.Details on the municipal WRRF equipment design parameters are presented in Table S1 of the Supplementary Information (SI).The plant serves approximately 414,000 inhabitants and has a maximum influent flow rate of about 150,000 m 3 /day.The average values of influent, effluent components and operating variables can be found in Table S2 of the Supplementary Information (SI). Methods The dynamic simulator of the A 2 O municipal WRRF was built using the mathematical models of the Otterpohl primary settler (Otterpohl & Freund, 1992), the biological reactors described according to ASM1 (Henze et al., 2000;Rieger et al., 2012) and the Takacs secondary settler model (Takacs et al., 1991).Although ASM1 does not explicitly model phosphorus removal, the anaerobic zone was simulated without the presence of dissolved oxygen, nitrates or nitrites, capturing the essential biological processes within the framework of ASM1.The anoxic and aerobic zones were directly modelled using ASM1, with a focus on nitrogen removal processes.The calibration of the WRRF dynamic simulator was performed The Romanian municipal WRRF considered as case study is located in Someseni, Cluj County.The layout of the plant is an anaerobic-anoxic-oxic (A 2 O) one, according to the design and operation of the bioreactors, working in association with the primary and secondary clarifiers. Methods The layout representation of the investigated municipal WRRF is shown in Fig. 1. Methods In the primary treatment step, upstream from the primary clarifier, the large objects, sand and grease are first removed.After this separation, downstream from the first settler, the wastewater reaches the anaerobic reactor where phosphate-accumulating bacteria sustain the process of phosphorous removal.In the anoxic reactor heterotrophic bacteria facilitate denitrification (Cappuccino & Sherman, 2014).The biochemical transformations in the anoxic reactor enable the nitrites and nitrates reduction, leading to nitrous oxide and dinitrogen gas release (Wanner & Grau, 1988).In the aerobic reactors of the nitrification stage, influent ammonia (NH 3 ) is transformed in a previous work (Varhelyi et al., 2019) using both design, operational and measured data, collected from the municipal Someseni WRRF.This confirmed that ASM1 could reliably represent the carbon and nitrogen dynamics of the plant, adapted for its A 2 O configuration.Details on the WRRF model calibration approach based on different optimization approaches and results of the model fit to the measured data are presented in (Varhelyi et al., 2019) and (Nair et al., 2018). Methods The matrix of operation data used for the construction of the PCA model was collected from the previously calibrated model of the municipal WRRF.The influent of the WRRF corresponds to dry weather conditions.This ASM1 model, implemented for the A 2 O plant layout, considers the oxidation of influent carbonaceous biological matter, in association with the nitrification and denitrification processes for ammonia removal.The WRRF performance indices and control strategies proposed in BSM1 were used for the evaluation of the effluent quality, pumping and aeration energy, while a set of additional equations were used for assessing the GHG emissions. Methods The control system implemented in the dynamic simulator regulates the nitrification and denitrification processes and has the typical configuration for large and continuously operating WRRFs.Specifically, two feedback control loops with proportionalintegral (PI) controllers were implemented, as also shown in Fig. 1.The first one includes a dissolved oxygen controller aimed to keep the DO concentration in the fifth reactor to the set-point value of 2 mg O 2 /L.The manipulated variable of this DO control loop is the air flow rate supplied to the aerated bioreactors.The nitrates and nitrites concentration in the anoxic reactor is the controlled variable of the second (NO) control loop.Its set-point value is 0.01 mg N/L.Despite the challenges associated with controlling both parameters, the effectiveness of this control strategy is well-supported by the literature, demonstrating its capability to maintain robust control performance (Aparna et al., 2024;Sheik et al., 2021;Tejaswini et al., 2020).The mixed-liquid recycle flowrate is the manipulated variable for this control loop. Sensors faults and their implementation The types of the NO sensor faults considered in the present study are constant additive error (bias), ramp changing error in time (drift), incorrect amplification (wrong gain), random additive error (loss of accuracy) and unchanging sensor value (fixed value). Sensors faults and their implementation These sensor faults were implemented in the WRRF simulator following the following scenario.The first 139 days of the simulation consisted in a fault-free operation.Then, starting from the 140 th day of the simulation, each of the type faults was individually introduced and maintained for the next 20 days.Data containing the effect of each faulty sensor operation on the WRRF variables were collected for this last period of time and used to perform the PCA fault detection and FDA fault diagnosis.The mathematical description of the fault types is presented in Table S3 of the Supplementary Information. Sensors faults and their implementation Constant additive error is caused by the miscalibration of the sensor.It is also known as the shift or bias fault because the delivered value is shifted with a constant value, in comparison with the true one (Teh et al., 2020).The fault was implemented in the simulation by summing up a negative constant value of − 0.0098 mg N/L to the true NO concentration value. Sensors faults and their implementation The time continuously (decreasing) deviation from true value of the NO faulty variable is called ramp changing error in time.It is characterized by a ramp error signal (Teh et al. 2020).The fault was implemented by integrating in time the constant value of − 0.0075 mg N/L and adding the integrated signal to the actual NO process value. Sensors faults and their implementation When the sensor's effectiveness deteriorates, a gain calibration failure occurs.This fault, called incorrect amplification, appears as a poor correlation between the input and output variables when the sensor's calibration slope is inexactly set during its calibration process (Rosen et al., 2008).A wrong gain of 0.3 was considered in the study.To gradually introduce in time the sensor's incorrect gain of 0.3 mg N/L, a first order filter with a time constant of 0.1 days was used for simulating this fault. Sensors faults and their implementation Random additive error is an irregular degradation of the sensor performance.Because the value of the sensor's signal is randomly fluctuating around the true value, this fault type is difficult to identify (Teh et al., 2020).An additional value that fluctuates between − 0.06 mg N/L and + 0.06 mg N/L was randomly generated and added to the true NO process value.The output signal of the faulty sensor was limited to a minimum positive value of 10-15 mg N/L.Each of the random added value lasted for a period of time of 0.1 day. Sensors faults and their implementation Unchanging sensor value type of fault was simulated by locking the sensor signal to a constant value (Rosen et al., 2008).In the present study, the constant value of 0.01 mg N/L was chosen. Sensors faults and their implementation The calibrated simulator for the municipal WRRF and the associated software modules for including the faults were implemented in SimulinkTM software environment.All S-functions in the dynamic simulator were written as C-files and compiled to executable forms in order to considerably reduce the simulation time. Principal component analysis algorithm for fault detection PCA is a data-mining methodology of dimensionality-reduction based on a process model constructed with conventional process originated data.PCA converts a large set of variables into a smaller one that captures the relationship between them.Using PCA, the original data space is divided in two subspacesa principal component subspace (PCS) and a residual subspace (RS).Where the measurements number is higher than the states number, PCA simplifies monitoring and fault detection (Wise et al., 1990).PCA is often used with Hotelling's T 2 and square prediction error (SPE) metrics.These are described in SI.The multivariate Hotelling's T 2 is the correspondence of the univariate t-test and offers a complete measure of the variations in PCS (Jackson, 2003).The T 2 method is generally used to identify fluctuations in the operating environment (Yoo et al., 2004).SPE measures the variations in the RS as a sum of squares of residuals.A higher value of T 2 or SPE than the corresponding threshold indicates an abnormal operation. Principal component analysis algorithm for fault detection PCA model construction requires choosing the correct number of principal components to describe the system.If fewer principal components are chosen than required, an insufficient representation of the process will be obtained.Otherwise, the model will be overparametrized.The cumulative percent variance (CPV) offers reliability for finding the representative principal components number (Valle et al., 1999). Principal component analysis algorithm for fault detection In the present study, the standard PCA was used as it was found to provide good detection results, reducing complexity and sparing computation resources implied by the dynamic PCA fault detection approach for the real-time application. Fisher discriminant analysis algorithm Fisher discriminant analysis (FDA) is a pattern classification method with a high categorization potential.FDA seeks the discriminant vector that performs the greatest separation between classes in the projected data space.Fisher's linear discriminant maximizes the distance between projected means of classes and minimizes variance projected within-class.The FDA algorithm is thoroughly presented in SI, associated with a summarized flow diagram. Assessment metrics for fault detection and identification The confusion matrix was computed and utilized for each individual case to rigorously assess the performance of the fault detection and identification methods across both normal and abnormal conditions.This approach enabled the calculation of various performance metrics, including precision, recall, accuracy, FDR and MAR.Additionally, the F1 score was employed to offer a balanced assessment by integrating precision and recall into a single metric.These values were derived directly from the confusion matrix, allowing for an in-depth analysis of the system's proficiency in accurately identifying defects and minimizing false detections. Assessment metrics for fault detection and identification The rows of the confusion matrix represent the predicted classes (Output Class), while the columns represent the actual classes (Target Class).Correctly classified observations are located in the diagonal cells, whereas misclassified observations appear in the off-diagonal cells.Each cell displays both the count of observations and the corresponding percentage of the total observations.The rightmost column of the matrix indicates the percentage of instances predicted for each class that were classified correctly or incorrectly, corresponding to metrics known as precision (or positive predicted value) and the false discovery rate or FDR, respectively.Similarly, the bottom row shows the percentage of actual instances of each class that were classified correctly or incorrectly, corresponding to recall (or true positive rate) and the false negative rate or MAR, respectively.The overall accuracy of the classification is presented in the bottom-right cell of the matrix.The calculations and subsequent analysis were carried out using MATLAB, which facilitated data processing and evaluation through its built-in statistical analysis functions. Assessment of the GHG impact WRRFs contribute to GHGs release due to the inherent energy demand and gaseous emissions from wastewater processing.This paper highlights the variations in plant performance, in terms of environmental impact, effluent quality and energy costs, when it is operated regularly, versus the improper operation due to the faulty NO sensor.General impact assessment on dysfunctional plant operation performance was conducted using the following performance indices: aeration energy (AE), pumping energy (PE) and effluent quality (EQ) in association to the GHG emissions assessment.As indicated in Eq. ( 1), the AE index is calculated using the oxygen mass transfer coefficient of aerobic bioreactors (K L a), which is directly related to the air flowrate: Assessment of the GHG impact where the used parameters are explained in Alex et al., 2008.The pumping energy index is determined by three different flow rates: Assessment of the GHG impact where thorough explanations of the utilized parameters can be consulted in Alex et al. (2008). Assessment of the GHG impact Total suspended solids (TSS), chemical oxygen demand (COD), biochemical oxygen demand (BOD), total Kjeldahl nitrogen (TKN) and NO concentrations in the effluent flow stream are used to calculate the EQ, as shown in Eq. ( 3).This index is measured in kilograms of pollutant units/day: Assessment of the GHG impact (1) Assessment of the GHG impact (2) Assessment of the GHG impact where detailed explanations of the used parameters can be consulted in Alex et al. (2008).GHGs from the first step of water processing include on-site and off-site emissions of CO 2 and N 2 O gases.Aside from CO 2 , N 2 O is regarded as a substantial contributor to GHGs due to its global warming potential (GWP) of approximately 265-298 times higher factor than the CO 2 gas, considering a mean residence time of 100 years (Vallero, 2019). Assessment of the GHG impact Off-site CO 2 emissions (kg CO 2 /day) comprise indirect CO 2 generated by the power plant supplying WRRF operation.They are defined by: (4) P CO 2 , off −site = k PG ⋅ e D with the explained parameters in Listowski et al. (2011) and Mannina et al. (2016). Assessment of the GHG impact Off-site N 2 O emissions include N 2 O gas produced by biological degradation taking place in the effluent (Prendez & Lara-Gonzales, 2008;Mannina et al., 2016): Assessment of the GHG impact where N effluent is the nitrogen load in the effluent and EF effluent = 0.005•44/28 kg N 2 O/kg N (IPCC, 2006) is the emission factor for N 2 O emissions from the discharged wastewater. Assessment of the GHG impact The following expression is used to calculate the resource-removal section CO 2 emissions: Assessment of the GHG impact (5) Assessment of the GHG impact where explanations of the main used parameters can be consulted in Alex et al. (2008) and MCRT is the mean cell retention time, that is 15 days for this case study (Gori et al., 2011;Mannina et al., 2016). Assessment of the GHG impact The following relationship was used to estimate the on-site N 2 O emissions from the resource-removal section: Assessment of the GHG impact where TN in represents the total nitrogen from the influ- ent (kg N/m 3 ), TN out is the total nitrogen in the effluent (kg N/m 3 ) (Huang & Shen, 2019), r N 2 O is the emission rate of N 2 O (kg N 2 O/kg N) (Baresel et al., 2016). Results and discussion Normal and faulty operation data sets Six simulations were run to generate the data further used for PCA and FDA models development, one for fault-free functioning and five for faulty NO sensor.The plant model was simulated for 168 days.The quasi-steady state was achieved during the first 100 days of regular operation.Under the same operating conditions, data for normal operation was collected during the next 40 days.The malfunction cases were generated starting with the 140 th day of the simulations. Results and discussion Data collected via simulation during the period of 40 days (i.e., days 100 to 139) of regular operation were recorded at every 15 min and used to generate the data matrix X of the PCA model of faultfree operation.Data generated during the period of 21 days (i.e., days 140 to 160) of NO sensor faulty operation were used to test the PCA model-based methodology for fault detection performance. Results and discussion The data subsets used for training and testing the fault discrimination FDA model were also extracted from these sets.Data generated during the 141 st and 145 th days of fault-free and faulty NO sensor operation were utilized to train the model.The observation training matrix was formed of six classes (normal or (7) Results and discussion fault-affected operation).The trained model was tested using data from the initial day of abnormal NO sensor operation, namely the 140 th day.This testing strategy was built to explore the FDA ability to diagnose the sensor malfunction within the first few hours following its starting action (i.e., the beginning of the day no.140). Results and discussion Twenty process variables were considered for the PCA model and twenty-one for the FDA model.They consist of secondary settler concentrations (3 variables), anoxic bioreactor (8 variables), aerated bioreactors (6 for PCA or 7 for FDA variables in total), mixed-liquor recycle flow rate (1 variable), aeration flow rate (1 variable) and one flow rate variable of the clean water effluent (1 variable).The variables considered were nitrate and nitrite nitrogen (S NO ), free and saline ammonia (S NH ), soluble biodegradable organic nitrogen (S ND ), particulate biodegradable organic nitrogen (X ND ), dissolved oxygen concentration (S O ), readily biodegradable substrate (S S ), slowly biodegradable substrate (X S ), alkalinity (S alk ), reactors flow rate (Q), mixed-liquid recycle flow rate (Q NR ) and aeration flow rate (Q air ).These variables were chosen based on the relative standard deviation values computed for the faulty time of operation. PCA model construction and fault detection results The PCA model was built using 3840 observations, corresponding to the considered 40 days of regular operation for the 21 variables mentioned before.After scaling the training data matrix, matrices T and P, of scores and loadings were generated.A CPV k threshold of 98.98% was selected.The number of principal components k was determined to be 8, taking into account the CPV k values shown in Table S4 of SI.The scree test (Ledesma et al., 2015) confirmed the number of selected principal components, as can be observed in Fig. S3 of SI. Fault detection results According to the PCA algorithm presented in Fig. S1 of SI, when a vector x of measured variables has a T 2 or SPE value greater than the two corresponding thresholds, the presence of a NO sensor fault is detected. Fault detection results The five different testing data matrices were formed using the vectors of faulty operation-measured variables.For every testing data matrix, a total of 2016 samples correspond to the simulated period from day 140 to day 160.For every sample vector of the testing matrices, the corresponding value of indices T 2 and SPE was determined.They were compared with the threshold values for detecting the abnormal sensor activity.T 2 and SPE values for the fault detection testing vectors were graphically presented together with T 2 and SPE α thresholds.They were able to reveal the presence of the NO sensor faults.The fault detection results of the investigated faults are presented in Figs.S4 to S9 of SI. Fault detection results The detection of the NO sensor fault, based on the PCA model, proved to be efficient for the early detection of the NO sensor defects.The SPE fault detection methodology proved to have the best performance, when compared to the T 2 one.However, they may be used simultaneously used to provide the consolidated assessment of fault occurrence and persistence. Fault detection results The emerged confusion matrix for the detection of the faults is presented in Fig. 2. Fault detection results The confusion matrix for fault detection shows the evaluation of two classes: abnormal (with defect) and normal (no defect).The abnormal class appears in the first column (target), while the normal class is represented in the second column (target).The precision is 100% for the normal class prediction indicating no false positives and is 90.5% for the abnormal class.Only 202 observations were misclassified in the abnormal class, accounting for 1.8% of the total observations.The recall for abnormal class observations is 97.9%, meaning most true positives were detected, and recall for the normal class is 100%.FAR is null.Overall, the model achieved 98.2% accuracy, indicating strong performance in detecting correctly the observations.The F1 score value for the abnormal class is 0.989, while F1 score for the normal class is 0.950.These scores reflect a strong balance between precision and recall for both classes, with the normal class performing particularly very well. FDA model construction and fault identification results For each scenario, six distinct data classes were created: one for normal operation mode and five for the faulty NO sensor cases.These categories were built with data from days 141 to 145 and they served to train the FDA model.Each class was composed of a set of 480 observations.The observation training matrix for all classes had 2880 lines (observations) and 20 columns (variables).Data collected in the initial day of abnormal sensor operation, i.e. day 140, was used to test the trained FDA model's fault diagnosis performance.Each fault had 96 measurements in the testing data set.This testing strategy was devised to investigate the FDA model diagnosis ability to determine a specific kind of fault within a few hours of its appearance. Fault diagnosis results The discriminant function values generated for every class were used to identify the sensor fault type.The highest value of the discriminant function revealed the corresponding fault class, and, diagnosed the fault type.The values of the discriminant functions g i presented in SI were calculated for each of the 15-min time-sampled vector of measurements from the testing day, i.e. day 140, which were affected by the various types of faults (5 classes), as well as . 2, 3, 4, 5, 6 and 7.In these figures, all the discriminant functions g i values of the investigated errors are represented using coloured curves.In each of these figures, the type of fault is identified by the curve (i.e. its associated fault type) that shows higher values than all other curves.This curve becomes dominant at a certain time point and remains dominant later on in the further time period.The point in time at which this curve becomes dominant over the others is considered the moment of the respective fault identification.On each figure, a subplot was added to present a detailed zoom for the ordinate axis, The confusion matrix was also built for the FDA identification method.In this matrix the normal class (fault-free operation, target 1) is presented in the first column.It is followed by the faulty classes (targets) in the next columns, with the order: constant additive error (target 2), Ramp changing error in time (target 3), incorrect amplification (target 4), random additive error (target 5) and unchanging sensor value (target 6). Fault diagnosis results As it can be observed in Fig. 3, the overall accuracy is of 97.7%. Fault diagnosis results As shown in Fig. 4, the g i values that correspond to the normal operation curve, represented with red colour on the graph, identified the fault-free normal operation.From the beginning of the 24 h of observation and except for one single value, at time 5.5 h, all points of the red curve had the largest values during the testing day, recognizing the normal operation.In this scenario, the long-term precision was 96.8%, with a recall value of 99.9%.The F1 score was calculated to be 0.983, providing a balanced measure of precision and recall.The MAR value is low in this case, with the value of 0.1%. Fault diagnosis results Figure 5 shows that constant additive error is effectively diagnosed for the time periods: 1-1.5 h, 5-5.25 h, 5.75 h, 8.75-13.75h.Then, from 17 h until the end of the day and for next period of time, the black curve becomes dominant, indicating the correct identification of the constant additive class of error with a long-term precision of 98.7%. Fault diagnosis results At earlier time points and between the specified intervals, the constant additive error FDA model indicated normal operation or misclassified the error as a random additive error in 25 measurements, resulting in a MAR of 2%.The F1 score for this classification scenario was 0.983, reflecting a good detection of the error type. Fault diagnosis results Ramp changing error in time diagnosis is confirmed at time point 5.5 h, then between 7.25-8.25 h, 9-9.5 h, 11.75-14.75h and finally from 18 h until end of the day.As shown in Fig. 6, the yellow curve becomes dominant in comparison with the other curves after 18 h.Ramp changing error in time has the magnitude increasing over time and its effects follow this trend due to the intrinsic nature of this error.During the initial moments following the fault's appearance and for brief intervals, this error is interpreted as either constant additive error or random additive error.In this case, the long-term precision is 95.3%, while the recall stands at 97.6%.The F1 score is 0.964 and MAR has a value of 2.4%, indicating a good detection performance for the ramp changing error in time. Fault diagnosis results The incorrect amplification fault diagnosis is presented in Fig. 7.This type of fault is properly and firmly diagnosed after 17.75 h, but it is also correctly diagnosed three times before that time moment, i.e. in the 9.75-11-h and 12.25-12.75-htime intervals and at the time moment of 14.75 h.The green curve that represents the incorrect amplification discriminant values becomes and remains dominant after the time moment of 17.75 h.This results in a long-term precision of 100%, with a value of the recall of 97.0% and a MAR of 3%.The F1 score is 0.985, reflecting a very good capacity for identifying the fault.Random additive error is correctly diagnosed between 12 and 13.75 h, as presented in Fig. 8.During the first day, the fault was temporarily misdiagnosed either as an unchanging sensor value error or as a ramp-changing error.The long-term precision for this fault is 98.9% and the recall value is 95.4%, indicating a good proportion of correct identifications.The F1 score is 0.971 and MAR is 1.1%, reflecting a good ability to accurately detect the random additive error. Fault diagnosis results The unchanging sensor value fault type is diagnosed and evaluated, and results are presented in Fig. 9.It is correctly diagnosed between 2-5.25 h, 10.75-12.75h, 14.75-15 h and then, is persistently and rightly diagnosed after the time moment of 15.5 h.As shown in Fig. 9, the purple curve representing this fault type becomes dominant after 15.5 h, indicating successful identification.For the instances where this fault was misdiagnosed, the MAR is 1.9%.The F1 score of 0.973 and the long-term precision of 96.5% reflect a strong ability to correctly identify the unchanging sensor value fault. Fault diagnosis results Some of the discriminant function values are similar due to the extremely close values of the process measured variables, caused by comparable values of the NO sensor signals emerged from the considered fault scenarios.This contributes to misdiagnosis of some faults for the very close moments or period after the fault occurrence and for longer or shorter time periods afterwards. Fault diagnosis results Despite these misclassifications, the faults are persistently and firmly identified during the very first day (one group before 5-6 h and one group before 11-12 h).The evaluation of fault detection and identification methods showed good performance across all fault types and normal operation.This is a valuable result, as the failures identification is very difficult to be unveiled by the operator but can be systematically and efficiently assessed in a period of several hours, before their induced effects aggravate the performance operation.Coupled with the PCA procedure, the FDA methodology may become an opportune support tool for maintaining efficiency in the management of the WRRF. Fault diagnosis results Performance evaluation of the fault-affected WRRF Performance indices AE, PE and EQ were computed and averaged over the 28 days of normal and faulty operation cases.Table 1 presents the AE, PE and EQ mean values for regular and sensor failure operation. Fault diagnosis results In terms of AE, PE and total energy demand, all faults have a negative impact and contribution to the higher energy consumption.A faulty value of the NO sensor signal determines an incorrect mixed-liquor recycle flow that needs to be pumped.This circumstance is followed by disturbed concentrations of NO and DO in the aerobic reactor.As a result, the DO controller drives the aeration in the aerated reactors to inefficient values of the air flow rate, with direct consequences on the increase of the AE.Incorrect amplification, random additive, and unchanging sensor value errors induce the deterioration of the EQ.Constant additive error and ramp changing error in time have positive impacts on the EQ index, but with the expense of higher total energy demand and potential undesired long-term effects.The dominant increase in the total energy demand is aggravated by the negative influence of the GHGs emitted by the combustion of conventional fuels requested for the production of the WRRF externally originating electrical energy. Fault diagnosis results When positive values for the c constant were considered to the constant additive and to the ramp changing error types of faults, both the aeration energy and pumping energy decreased due to the intervention of the NO concentration control loop, but the quality of the clean effluent deteriorated.It is, for example, the case of the biomass that shows the decrease of both heterotrophic and autotrophic species concentration.They furthermore induced the depreciation of the clean effluent quality.A similar negative impact was noted on GHG emissions. Energy costs assessment for faulty operation cases The WRRF necessitates a substantial energy supply, as well as significant economic costs.Geopolitics, the regional specific power mix, supply chain expenses, environmental protection taxes, extreme weather, excise or taxation rates have a direct impact on energy prices.The type of energy source also influences the cost of energy.A comparison of the energy prices, depending on the source or technology used to produce it, is presented in Table S5 of SI. Energy costs assessment for faulty operation cases According to Table S5, prices of energy range from 4.8 to 12.10 eurocents.These figures originate from an International Energy Agency (IEA) report on average energy costs.This report included data on 243 plants from 24 European, African and Asian countries (IEA, 2023). Energy costs assessment for faulty operation cases The daily cost for normal and for each type of fault affected operation was determined.The daily costs of various potential electricity sources or energy-generating technologies were specifically assessed.The findings are summarized in Table S6 of SI. Energy costs assessment for faulty operation cases Analysing the expenses of energy spent in various fault cases it is clear that unchanging sensor value fault implies the highest energy costs and the constant additive error implies the smallest energy cost. Energy costs assessment for faulty operation cases As expected, the daily energy costs values shown in Table S6 disclose that onshore wind, solar PV commercial, and hydro run of rivers are the most cost-effective sources of power to use, while solar PV residential, solar thermal (CSP) and biomass are the costliest.The costs of lignite (CSS) and coal (CSS) energy sources may also be considered as high costs. Energy costs assessment for faulty operation cases Switching to lower priced energy sources and integrating a system tailored to use a combination of energy sources in cases of the occurrence of a sensor failure may lower the implied electrical energy expenses. Environmental assessment of CO 2 and N 2 O emissions The on-site and off-site CO 2 and N 2 O emissions were calculated for both, normal and faulty NO sensor operation.Table 2 shows the daily mean values obtained for the investigated cases. Environmental assessment of CO 2 and N 2 O emissions The data presented in Table 2 shows that on-site emissions, P CO 2 ,on−site and P N 2 O,on−site , are the most significant, accounting for about 75-80% of the total emission.P CO 2 ,total prevails over P N 2 O,total values, for faulty and normal operation.Computed overall equivalent CO 2 emissions P CO 2 ,overall showed increased values for all cases of NO sensor faults.The unchanging sensor value type of fault resulted in the highest overall equivalent CO 2 emissions.The constant additive error had the lowest emission values.Incorrect amplification had the next higher overall equivalent CO 2 emissions. Environmental assessment of CO 2 and N 2 O emissions The N 2 O emissions showed reduced variations.The assessment of total N 2 O emissions for the constant additive error and incorrect amplification fault showed marginally increased values for total N 2 O emissions.For other faults, these values are slightly lower than the normal case values due to the very small reduction of the effluent nitrogen load. Environmental assessment of CO 2 and N 2 O emissions The assessment of CO 2 and N 2 O emissions caused by various defects of the NO sensor provides useful quantitative assessment data regarding the most disadvantageous faults.This evaluation serves as the groundwork for the design of control and safety solutions aimed at ensuring the process sustainability goal. Conclusions In this paper, the PCA-based sensor fault detection methodology along with FDA-based sensor fault identification approach were investigated for the NO sensor of the urban WRRF.Constant additive error, ramp changing error in time, incorrect amplification error, random additive error and unchanging sensor value error were the examined faults.The data sets associated with regular and defective operation were generated using a calibrated WRRF model.This study was performed in the configuration that used two main control loops.The first control system aims to control NO concentration in the anoxic reactor, while the second one controls the concentration of DO in the aeration bioreactors.The considered NO sensor is an essential component of the control loop responsible for the WRRF denitrification step.Its performance is both directly and indirectly determining the total amount of energy spent by the WRRF and influences the economic costs.Furthermore, the efficiency of the denitrification process has a significant impact on the quality of effluent water and GHG emissions.The conclusions are presented on three categories of results.First, the PCA detection algorithm performance was investigated, and main drawn conclusions are: Conclusions • The detection of faults was very good, as the detection accuracy reached the value of 98.2%, and the detection was prompt, as it was typically achieved in less than 3.75 h; • The constant additive error and unchanging sensor value type of faults were detected in 1.5 h, demonstrating the fastest detection capability; • The ramp changing error was identified the latest, i.e. after 19.25 h, performance attributed to its gradually increasing nature which hinders rapid detection; • The SPE method proved to be more efficient and accurate than Hotelling's T 2 detection approach. Conclusions Second, the FDA fault diagnosis methodology was used for the identification of five types of faults, and the obtained results derived the following main findings: Conclusions • The overall diagnosis accuracy was of 97.7% and the diagnosing precision was higher than 95.3% for all investigated types of fault; • The short-time diagnosis of fault types ranged from 1 to 12 h, and the long-time consolidated identification varied between 5.5 and 18 h, revealing differences among the fault types; • The constant additive error was the most rapidly diagnosed, i.e. within 1 h, being followed by the unchanging senor value, incorrect amplification, ramp changing and random additive types of error. Conclusions Third, the study proposed and assessed the performance of the WRRF, i.e. effluent quality EQ, aeration AE and pumping PE spent energy, and greenhouse gas GHG emissions, for the operation of the plant in the presence of the different NO sensor types of fault.This investigation led to the following conclusions: Conclusions • When compared to the normal operation, the EQ index value depreciated to varying degrees during operation with incorrect amplification and random additive error, revealing that unchanging sensor value error was the most detrimental fault to the EQ index, and that constant additive error and ramp changing error in time determined a reduction of the EQ value; Conclusions • The sum of the AE and PE index showed an increased spent energy value of up to 10.5% during operation with all sensor types of fault, revealing the highest percentual increase for the PE, a result which may be attributed to the direct effect of the NO sensor faults on the WRRF internal recycle flowrate; • The environmental impact of the NO sensor faults on both on-site and off-site CO2 and N2O emissions, disclosed that the primary source of GHGs is the on-site emissions, accounting for roughly 75% of total GHG emissions.While all faulty cases showed a negative effect on the GHG emissions, the case with the greatest unfavourable effect, of about 4 % increase, was the unchanging sensor value type of fault. Conclusions The results obtained by the investigations performed on the NO sensor faults detection and diagnosis also revealed some efficiency limitations of the proposed methodologies to the cases when insufficient, inappropriate or imprecise data sets are used to build the PCA-based models for faults detection and identification.Future direction of study is envisioned for investigating the detection and diagnosis methodologies and performance of the WRRF operation in the presence of the simultaneous faults affecting the Dissolved Oxygen and NO sensors. Conclusions The current research results are significant on different levels of the potential users, beyond the WRRF application.At the instrumentation level, the implemented detection and diagnosis presented algorithms may be used in the instrumentation maintenance tasks for promptly indicating sensors affected by incipient or fully developed malfunctioning state.The proposed methodology can be extended to other instrumentation equipment, such as control valves, controllers and software components of the soft controllers.At the same level, the sensor manufacturers can extend the software modules of their products with self-diagnosing components based on the faults' detection and identification methods.Coupled with adaptive learning capabilities, the intelligent sensors may be further extended.At the application level, the safe and efficient operation of the plant may benefit from the early detection of the sensor faults, highlighting the quantitative impact of the sensor fault type on the spent energy and product quality, consequently improving plant management.At the sustainable development level, the quantitative evaluation of the defective sensor's influence on the environment will offer important information both for taking decisions to limit or prevent accidental pollution of water, air and soil, and for the comprehensive integrated plant and control system design. Fig. 1 Fig. 1 Layout of the municipal WRRF and its main DO and NO control loops Fig. 2 Fig. 2 Confusion matrix of the fault detection Fig. 3 Fig. 4 Fig. 3 Confusion matrix of the fault identification Fig. 8 Fig. 8 Random additive error diagnosis Table 1 Assessment of the performance indices for the regular and faulty process cases Table 2 Emissions due to the NO sensor defects

섹션 본문 99문단 · 50,655자

(제목 없음)

1One of the leading challenges in WaterResource Recovery Facility monitoring and control is the poor data quality and sensor consistency due to the tough and complex circumstances of the process operation.This paper presents a new principal component analysis fault detection approach for the nitrate and nitrite concentration sensor based on Water Resource Recovery Facility measurements, together with the Fisher Discriminant Analysis identification of fault types.Five malfunction cases were considered: constant additive error, ramp changing error in time, incorrect amplification error, random additive error, and unchanging sensor value error.The faults' implementation, fault detection, and identification methods are presented and evaluated in terms of accuracy and promptitude.The models are originating from a municipal plant.The amount of required electrical energy and greenhouse gas released during the Water Resource Recovery Facility operation were assessed for the cases of nitrates and nitrites NO sensor normal and malfunctioning regimes.The environmental and economic evaluations show the benefits of detecting and identifying nitrates and nitrites NO sensor defects aimed at providing efficient and environmentally friendly operation of the Water Resource Recovery Facility.The fault-affected operation cases showed increased values, up to 10% for the total energy demand and 4% for the total greenhouse gas emissions, when they are compared to the normal operation case.

Introduction

2Mathematical modelling has become a worthful tool for finding potential improvements to be achieved by advanced control strategies of the Water Resource Recovery Facility (WRRF) (Makinia & Zaborowska, 2010;Nair et al., 2018).The family of activated sludge models (ASMs) No. 1, 2, 2d and 3 (Henze et al., 2000) and the benchmark simulation models (BSMs) No. 1 (Alex et al., 2008) and 2 (Jeppsson et al., 2007) succeed to provide a first principle-based explanation of the WRRF processes.The ASMs define the frame of the biochemical transformations, while the BSMs implement them in benchmark WRRF configurations of typical design, capacity and operation, including complementary units to the bioreactors.The BSM1 may also comprise two control loops, one for the dissolved oxygen (DO) control in aerobic reactors and another one for the nitrate ( NO −

33 ) and nitrite (NO −

42 ) concentration control in the anoxic reactors (Haimi et al., 2010).The first guarantees efficient nitrification, while the later assures appropriate denitrification performed by bacteria.Both of them are important for water quality but the denitrification step is crucial since nitrate and nitrite (NO) can be harmful for human health (Parvizishad et al., 2017), toxic to aquatic life (Cristea, 2013), can lead to chlorination problems (Curtin et al., 2011) and eutrophication (Soares et al., 2011).

5WRRF operation has to deal with multiple constrains, included in dedicated regulations.Some of them are imposed at national levels.Others, such as the European Directive 91/271/EEC of 1991, are set for community of countries.These requirements emerge in the objective of efficient process operation, attainable by the implementation control strategies (Olsson et al., 2005).There are many studies on effluent quality (Santin et al., 2016;Ma et al., 2019), reduced energy consumption (Di Fraia et al., 2018;Simon-Varhelyi et al., 2020) and WRR processes optimization (Borzooei et al., 2019;Zhou et al., 2021).Sensors represent a prerequisite for achieving these objectives in real-time performance monitoring (Corona et al., 2013).

6Despite the current trend aims to achieve energy neutrality (IWA, 2018) and leads the process to the most efficient reduction of emissions, this has only been accomplished in rare real-life WRRFs (EUDP, 2017).Recent studies on WRRF GHGs emissions used fault tree analysis as potential failure detector (Bourouni, 2013;Ba-Alawi et al., 2020).Different works have addressed indirect emissions related to energy consumption (Parravicini et al., 2016;Marinelli et al., 2021) and direct WRRF emissions (Campos et al., 2016;Parravicini et al., 2022).Other studies have focused on diverse control strategies to reduce the emissions (Santin et al., 2017;Qandil, et al., 2021) or the energy demand (Budych-Gorzna et al., 2021).Several publications investigated economic evaluation of GHG emissions and electrical consumption (Gemar et al., 2018;Yapicioglu & Yesilnacar, 2022;Jimenez-Benitez et al., 2023), but none addressed the topic of combined environmental and economic impact of faulty sensors.

7Intelligent sensors proved to be valuable for obtaining quantitative and qualitative assessments of variables when traditional measurements are not available, expensive or unreliable (Haimi et al., 2015).Soft-sensors aim to solve two other major problems: recognition and isolation of hardware sensor faults (Haimi et al., 2013;Yan et al., 2020).Faulty operation of concentration sensors of WRRFs can significantly reduce control system setpoint tracking performance, affect its disturbance rejection potential, raise operational costs and lead to poor quality of the effluent.Inaccurate nitrogen compounds monitoring and treatment can lead to elevated on-site and off-site CO 2 and N 2 O emissions, along with a decline in satisfying environmental standards and overall treatment effectiveness.Taking this into consideration, fault detection is crucial for maintaining optimal process operation.Early failure detection helps avoid plant inefficiency, increased costs and breakdowns.Process monitoring ensures accurate plant performance by achieving four distinct tasks: (1) fault detection reveals if an aspect in the process needs correction; (2) fault diagnosis or error identification reveals the source of the issue; (3) fault estimation evaluates the fault magnitude; and (4) fault reconstruction computes the fault-free process variable values aimed at performing reliable process operation in the presence of defects (Qin, 2003).

8Multivariate statistical process control (MSPC) methods proved to be efficient in fault detection (Qin, 2009;Corominas et al., 2011).Among them are the principal component analysis (PCA) (Tao et al., 2013;Dong & Qin, 2018;Luca et al., 2021), partial least squares (PLS) (Chen et al., 2016, Liu et al., 2021), independent component analysis (ICA) (Villegas et al., 2010;Yu, 2012) and support vector machine (SVM) (Kazemi et al., 2021).MSPC is ideal in fault detection because it relates on the latent variables.In contrast, simple statistical process control tools, as are control charts, directly use measured variables (Garcia-Alvarez, 2009).

9Data-driven models are based on the measured data, they describe the factual behaviour, providing a good description of the process conditions (Haimi et al., 2015;Mamandipoor et al., 2020) but do not necessitate a detailed explanation of the intrinsic phenomena, mechanisms or fundamental system knowledge (Ma et al., 2021).Data-driven fault detection unveils the existence of a faulty situation (Schneider et al., 2019), especially in complex, large-scale, illdefined, non-linear and time-varying systems (Li & Yan, 2019).Fault detection algorithms are not easily applicable to wastewater systems due to the uncertainty of multiple combinations of complex factors (Liu et al., 2023).The WRRF advanced or plantwide control is even more difficult to achieve because a large plant may involve up to 30,000 measured signals (Olsson et al., 2014).The most frequently used data-driven MSPC methods is PCA because it offers an essential representation of process variables (Amin et al., 2018).Additionally, PCA is suitable for detecting sensor faults by reducing dimensionality and enhancing interpretability while minimizing information loss.It achieves this by generating new uncorrelated variables that maximize variance and reflect hidden correlations between variables.

10When considering a large number of studies considering out-of-range values of the WRRF NO concentration signal (Rieger et al., 2008;Britschgi et al., 2020;Juncal et al., 2020), only few inspected the fault detection and diagnosis.Some used the ICA (Yu, 2012) or the PCA methods to detect the malfunctions.One of the PCA focused papers developed a structured residual approach with maximum sensitivity method to detect sensor faults, such as bias, drift, complete failure and precision degradation (Yoo et al., 2006).Another showed that soft-sensor values estimation is preferred when hardware instrumentation measurements are faulty.In this case a reflectionbased PCA algorithm was used (Haimi et al., 2015).A different study proposed the hybrid methodology built on PCA with T 2 statistics and the Bayesian network (BN) (Amin et al., 2018).

11FDA is a popular pattern classification technique (He et al., 2005;Fuente et al., 2008).The application of FDA to malfunctioning sensors in air handling systems was thoroughly investigated (Du & Jin, 2008).FDA was also investigated for the diagnosis of DO sensors (Luca et al., 2023).FDA delivers the optimal lower dimensionality illustration for fault identification on the basis of a distinguishing factor between categories of data, upon which every class represents data gathered over a definite and known error type.

12In contrast with PCA, that seeks directions which are effective in terms of representation, FDA seeks directions that are effective in terms of discriminatory information in sensor data.As a result, FDA has theoretical benefits for fault detection and diagnosis (Chiang et al., 2000).

13This work focuses on the detection and identification of five faults that affect the NO concentration sensor, as this is the main component of the NO − 3 and NO − 2 control loop typically present in activated sludge processes.The implemented faults are: constant additive error, ramp changing error in time, incorrect amplification error, random additive error and unchanging sensor value.Considering the advantages of the PCA and FDA for the detection and diagnosis of sensors faults, the present paper proposes the PCA model for fault detection, along with the FDA model for fault identification of defective functioning scenarios associated to NO concentration sensor in the dynamic operation of WRRF.The models are based on normal operation sets of data obtained and reconciled from a Romanian WRRF.The dynamic simulations for normal and sensor fault-affected process were built using Simulink™, the graphical extension of MATLAB.The novelty of this work consists in its comprehensive approaches to detect and identify a specific set of faults affecting the NO concentration sensor belonging to the NO control loop, working in association with the DO control loop of a municipal WRRF.The work innovatively combines PCA for fault detection and FDA for fault identification, aiming the sustainable and automated WRRF operation.Additionally, the study evaluates the fault detection and identification capabilities of the model using precision, recall, accuracy, MAR (Missed Alarm Rate) and the F1 score along with the economic and environmental impacts of sensor faults, providing insights for optimizing WRRF performance.The electricity expenses and environmental effects on WRRF performance were evaluated using specific metrics for the urban WRRF case under study and for each of the NO sensor failure types.

14The paper is organized to present (i) the WRRF model employed for dynamic simulations, (ii) the theoretical bases of the PCA fault detection and FDA fault diagnosis approach for the five different types of investigated NO sensor errors, (iii) the overview of the metrics employed to calculate the amount of GHG released by the sensor induced faulty process, and (iv) the findings of the WRRF performance gained by analysing the sensor faults affected operation, the economic and environmental assessments, ending the study with (v) the conclusions of the investigations for enhancing the operation of the WRRF considered as case study.

Methods

15Municipal WRRF and process model into nitrites and nitrates by autotrophic aerobic bacteria (Gerardi, 2002).The formed nitrites and nitrates (NO) are returned to the anoxic basin for denitrification by the mixed-liquid recycle stream.The gravitation-based separation between sludge and treated water occurs in the secondary clarifier.The clean effluent is discharged into the receiving river and the activated sludge waste leaving the secondary settler is sent to the anaerobic digestion unit to be used for biogas production.The rest is returned to the anaerobic zone to sustain biomass development by the return activated sludge stream.Details on the municipal WRRF equipment design parameters are presented in Table S1 of the Supplementary Information (SI).The plant serves approximately 414,000 inhabitants and has a maximum influent flow rate of about 150,000 m 3 /day.The average values of influent, effluent components and operating variables can be found in Table S2 of the Supplementary Information (SI).

16The dynamic simulator of the A 2 O municipal WRRF was built using the mathematical models of the Otterpohl primary settler (Otterpohl & Freund, 1992), the biological reactors described according to ASM1 (Henze et al., 2000;Rieger et al., 2012) and the Takacs secondary settler model (Takacs et al., 1991).Although ASM1 does not explicitly model phosphorus removal, the anaerobic zone was simulated without the presence of dissolved oxygen, nitrates or nitrites, capturing the essential biological processes within the framework of ASM1.The anoxic and aerobic zones were directly modelled using ASM1, with a focus on nitrogen removal processes.The calibration of the WRRF dynamic simulator was performed The Romanian municipal WRRF considered as case study is located in Someseni, Cluj County.The layout of the plant is an anaerobic-anoxic-oxic (A 2 O) one, according to the design and operation of the bioreactors, working in association with the primary and secondary clarifiers.

17The layout representation of the investigated municipal WRRF is shown in Fig. 1.

18In the primary treatment step, upstream from the primary clarifier, the large objects, sand and grease are first removed.After this separation, downstream from the first settler, the wastewater reaches the anaerobic reactor where phosphate-accumulating bacteria sustain the process of phosphorous removal.In the anoxic reactor heterotrophic bacteria facilitate denitrification (Cappuccino & Sherman, 2014).The biochemical transformations in the anoxic reactor enable the nitrites and nitrates reduction, leading to nitrous oxide and dinitrogen gas release (Wanner & Grau, 1988).In the aerobic reactors of the nitrification stage, influent ammonia (NH 3 ) is transformed in a previous work (Varhelyi et al., 2019) using both design, operational and measured data, collected from the municipal Someseni WRRF.This confirmed that ASM1 could reliably represent the carbon and nitrogen dynamics of the plant, adapted for its A 2 O configuration.Details on the WRRF model calibration approach based on different optimization approaches and results of the model fit to the measured data are presented in (Varhelyi et al., 2019) and (Nair et al., 2018).

19The matrix of operation data used for the construction of the PCA model was collected from the previously calibrated model of the municipal WRRF.The influent of the WRRF corresponds to dry weather conditions.This ASM1 model, implemented for the A 2 O plant layout, considers the oxidation of influent carbonaceous biological matter, in association with the nitrification and denitrification processes for ammonia removal.The WRRF performance indices and control strategies proposed in BSM1 were used for the evaluation of the effluent quality, pumping and aeration energy, while a set of additional equations were used for assessing the GHG emissions.

20The control system implemented in the dynamic simulator regulates the nitrification and denitrification processes and has the typical configuration for large and continuously operating WRRFs.Specifically, two feedback control loops with proportionalintegral (PI) controllers were implemented, as also shown in Fig. 1.The first one includes a dissolved oxygen controller aimed to keep the DO concentration in the fifth reactor to the set-point value of 2 mg O 2 /L.The manipulated variable of this DO control loop is the air flow rate supplied to the aerated bioreactors.The nitrates and nitrites concentration in the anoxic reactor is the controlled variable of the second (NO) control loop.Its set-point value is 0.01 mg N/L.Despite the challenges associated with controlling both parameters, the effectiveness of this control strategy is well-supported by the literature, demonstrating its capability to maintain robust control performance (Aparna et al., 2024;Sheik et al., 2021;Tejaswini et al., 2020).The mixed-liquid recycle flowrate is the manipulated variable for this control loop.

Sensors faults and their implementation

21The types of the NO sensor faults considered in the present study are constant additive error (bias), ramp changing error in time (drift), incorrect amplification (wrong gain), random additive error (loss of accuracy) and unchanging sensor value (fixed value).

22These sensor faults were implemented in the WRRF simulator following the following scenario.The first 139 days of the simulation consisted in a fault-free operation.Then, starting from the 140 th day of the simulation, each of the type faults was individually introduced and maintained for the next 20 days.Data containing the effect of each faulty sensor operation on the WRRF variables were collected for this last period of time and used to perform the PCA fault detection and FDA fault diagnosis.The mathematical description of the fault types is presented in Table S3 of the Supplementary Information.

23Constant additive error is caused by the miscalibration of the sensor.It is also known as the shift or bias fault because the delivered value is shifted with a constant value, in comparison with the true one (Teh et al., 2020).The fault was implemented in the simulation by summing up a negative constant value of − 0.0098 mg N/L to the true NO concentration value.

24The time continuously (decreasing) deviation from true value of the NO faulty variable is called ramp changing error in time.It is characterized by a ramp error signal (Teh et al. 2020).The fault was implemented by integrating in time the constant value of − 0.0075 mg N/L and adding the integrated signal to the actual NO process value.

25When the sensor's effectiveness deteriorates, a gain calibration failure occurs.This fault, called incorrect amplification, appears as a poor correlation between the input and output variables when the sensor's calibration slope is inexactly set during its calibration process (Rosen et al., 2008).A wrong gain of 0.3 was considered in the study.To gradually introduce in time the sensor's incorrect gain of 0.3 mg N/L, a first order filter with a time constant of 0.1 days was used for simulating this fault.

26Random additive error is an irregular degradation of the sensor performance.Because the value of the sensor's signal is randomly fluctuating around the true value, this fault type is difficult to identify (Teh et al., 2020).An additional value that fluctuates between − 0.06 mg N/L and + 0.06 mg N/L was randomly generated and added to the true NO process value.The output signal of the faulty sensor was limited to a minimum positive value of 10-15 mg N/L.Each of the random added value lasted for a period of time of 0.1 day.

27Unchanging sensor value type of fault was simulated by locking the sensor signal to a constant value (Rosen et al., 2008).In the present study, the constant value of 0.01 mg N/L was chosen.

28The calibrated simulator for the municipal WRRF and the associated software modules for including the faults were implemented in SimulinkTM software environment.All S-functions in the dynamic simulator were written as C-files and compiled to executable forms in order to considerably reduce the simulation time.

Principal component analysis algorithm for fault detection

29PCA is a data-mining methodology of dimensionality-reduction based on a process model constructed with conventional process originated data.PCA converts a large set of variables into a smaller one that captures the relationship between them.Using PCA, the original data space is divided in two subspacesa principal component subspace (PCS) and a residual subspace (RS).Where the measurements number is higher than the states number, PCA simplifies monitoring and fault detection (Wise et al., 1990).PCA is often used with Hotelling's T 2 and square prediction error (SPE) metrics.These are described in SI.The multivariate Hotelling's T 2 is the correspondence of the univariate t-test and offers a complete measure of the variations in PCS (Jackson, 2003).The T 2 method is generally used to identify fluctuations in the operating environment (Yoo et al., 2004).SPE measures the variations in the RS as a sum of squares of residuals.A higher value of T 2 or SPE than the corresponding threshold indicates an abnormal operation.

30PCA model construction requires choosing the correct number of principal components to describe the system.If fewer principal components are chosen than required, an insufficient representation of the process will be obtained.Otherwise, the model will be overparametrized.The cumulative percent variance (CPV) offers reliability for finding the representative principal components number (Valle et al., 1999).

31In the present study, the standard PCA was used as it was found to provide good detection results, reducing complexity and sparing computation resources implied by the dynamic PCA fault detection approach for the real-time application.

Fisher discriminant analysis algorithm

32Fisher discriminant analysis (FDA) is a pattern classification method with a high categorization potential.FDA seeks the discriminant vector that performs the greatest separation between classes in the projected data space.Fisher's linear discriminant maximizes the distance between projected means of classes and minimizes variance projected within-class.The FDA algorithm is thoroughly presented in SI, associated with a summarized flow diagram.

Assessment metrics for fault detection and identification

33The confusion matrix was computed and utilized for each individual case to rigorously assess the performance of the fault detection and identification methods across both normal and abnormal conditions.This approach enabled the calculation of various performance metrics, including precision, recall, accuracy, FDR and MAR.Additionally, the F1 score was employed to offer a balanced assessment by integrating precision and recall into a single metric.These values were derived directly from the confusion matrix, allowing for an in-depth analysis of the system's proficiency in accurately identifying defects and minimizing false detections.

34The rows of the confusion matrix represent the predicted classes (Output Class), while the columns represent the actual classes (Target Class).Correctly classified observations are located in the diagonal cells, whereas misclassified observations appear in the off-diagonal cells.Each cell displays both the count of observations and the corresponding percentage of the total observations.The rightmost column of the matrix indicates the percentage of instances predicted for each class that were classified correctly or incorrectly, corresponding to metrics known as precision (or positive predicted value) and the false discovery rate or FDR, respectively.Similarly, the bottom row shows the percentage of actual instances of each class that were classified correctly or incorrectly, corresponding to recall (or true positive rate) and the false negative rate or MAR, respectively.The overall accuracy of the classification is presented in the bottom-right cell of the matrix.The calculations and subsequent analysis were carried out using MATLAB, which facilitated data processing and evaluation through its built-in statistical analysis functions.

Assessment of the GHG impact

35WRRFs contribute to GHGs release due to the inherent energy demand and gaseous emissions from wastewater processing.This paper highlights the variations in plant performance, in terms of environmental impact, effluent quality and energy costs, when it is operated regularly, versus the improper operation due to the faulty NO sensor.General impact assessment on dysfunctional plant operation performance was conducted using the following performance indices: aeration energy (AE), pumping energy (PE) and effluent quality (EQ) in association to the GHG emissions assessment.As indicated in Eq. ( 1), the AE index is calculated using the oxygen mass transfer coefficient of aerobic bioreactors (K L a), which is directly related to the air flowrate:

36where the used parameters are explained in Alex et al., 2008.The pumping energy index is determined by three different flow rates:

37where thorough explanations of the utilized parameters can be consulted in Alex et al. (2008).

38Total suspended solids (TSS), chemical oxygen demand (COD), biochemical oxygen demand (BOD), total Kjeldahl nitrogen (TKN) and NO concentrations in the effluent flow stream are used to calculate the EQ, as shown in Eq. ( 3).This index is measured in kilograms of pollutant units/day:

39(1)

40(2)

41where detailed explanations of the used parameters can be consulted in Alex et al. (2008).GHGs from the first step of water processing include on-site and off-site emissions of CO 2 and N 2 O gases.Aside from CO 2 , N 2 O is regarded as a substantial contributor to GHGs due to its global warming potential (GWP) of approximately 265-298 times higher factor than the CO 2 gas, considering a mean residence time of 100 years (Vallero, 2019).

42Off-site CO 2 emissions (kg CO 2 /day) comprise indirect CO 2 generated by the power plant supplying WRRF operation.They are defined by: (4) P CO 2 , off −site = k PG ⋅ e D with the explained parameters in Listowski et al. (2011) and Mannina et al. (2016).

43Off-site N 2 O emissions include N 2 O gas produced by biological degradation taking place in the effluent (Prendez & Lara-Gonzales, 2008;Mannina et al., 2016):

44where N effluent is the nitrogen load in the effluent and EF effluent = 0.005•44/28 kg N 2 O/kg N (IPCC, 2006) is the emission factor for N 2 O emissions from the discharged wastewater.

45The following expression is used to calculate the resource-removal section CO 2 emissions:

46(5)

47where explanations of the main used parameters can be consulted in Alex et al. (2008) and MCRT is the mean cell retention time, that is 15 days for this case study (Gori et al., 2011;Mannina et al., 2016).

48The following relationship was used to estimate the on-site N 2 O emissions from the resource-removal section:

49where TN in represents the total nitrogen from the influ- ent (kg N/m 3 ), TN out is the total nitrogen in the effluent (kg N/m 3 ) (Huang & Shen, 2019), r N 2 O is the emission rate of N 2 O (kg N 2 O/kg N) (Baresel et al., 2016).

Results and discussion

50Normal and faulty operation data sets Six simulations were run to generate the data further used for PCA and FDA models development, one for fault-free functioning and five for faulty NO sensor.The plant model was simulated for 168 days.The quasi-steady state was achieved during the first 100 days of regular operation.Under the same operating conditions, data for normal operation was collected during the next 40 days.The malfunction cases were generated starting with the 140 th day of the simulations.

51Data collected via simulation during the period of 40 days (i.e., days 100 to 139) of regular operation were recorded at every 15 min and used to generate the data matrix X of the PCA model of faultfree operation.Data generated during the period of 21 days (i.e., days 140 to 160) of NO sensor faulty operation were used to test the PCA model-based methodology for fault detection performance.

52The data subsets used for training and testing the fault discrimination FDA model were also extracted from these sets.Data generated during the 141 st and 145 th days of fault-free and faulty NO sensor operation were utilized to train the model.The observation training matrix was formed of six classes (normal or (7)

53fault-affected operation).The trained model was tested using data from the initial day of abnormal NO sensor operation, namely the 140 th day.This testing strategy was built to explore the FDA ability to diagnose the sensor malfunction within the first few hours following its starting action (i.e., the beginning of the day no.140).

54Twenty process variables were considered for the PCA model and twenty-one for the FDA model.They consist of secondary settler concentrations (3 variables), anoxic bioreactor (8 variables), aerated bioreactors (6 for PCA or 7 for FDA variables in total), mixed-liquor recycle flow rate (1 variable), aeration flow rate (1 variable) and one flow rate variable of the clean water effluent (1 variable).The variables considered were nitrate and nitrite nitrogen (S NO ), free and saline ammonia (S NH ), soluble biodegradable organic nitrogen (S ND ), particulate biodegradable organic nitrogen (X ND ), dissolved oxygen concentration (S O ), readily biodegradable substrate (S S ), slowly biodegradable substrate (X S ), alkalinity (S alk ), reactors flow rate (Q), mixed-liquid recycle flow rate (Q NR ) and aeration flow rate (Q air ).These variables were chosen based on the relative standard deviation values computed for the faulty time of operation.

PCA model construction and fault detection results

55The PCA model was built using 3840 observations, corresponding to the considered 40 days of regular operation for the 21 variables mentioned before.After scaling the training data matrix, matrices T and P, of scores and loadings were generated.A CPV k threshold of 98.98% was selected.The number of principal components k was determined to be 8, taking into account the CPV k values shown in Table S4 of SI.The scree test (Ledesma et al., 2015) confirmed the number of selected principal components, as can be observed in Fig. S3 of SI.

Fault detection results

56According to the PCA algorithm presented in Fig. S1 of SI, when a vector x of measured variables has a T 2 or SPE value greater than the two corresponding thresholds, the presence of a NO sensor fault is detected.

57The five different testing data matrices were formed using the vectors of faulty operation-measured variables.For every testing data matrix, a total of 2016 samples correspond to the simulated period from day 140 to day 160.For every sample vector of the testing matrices, the corresponding value of indices T 2 and SPE was determined.They were compared with the threshold values for detecting the abnormal sensor activity.T 2 and SPE values for the fault detection testing vectors were graphically presented together with T 2 and SPE α thresholds.They were able to reveal the presence of the NO sensor faults.The fault detection results of the investigated faults are presented in Figs.S4 to S9 of SI.

58The detection of the NO sensor fault, based on the PCA model, proved to be efficient for the early detection of the NO sensor defects.The SPE fault detection methodology proved to have the best performance, when compared to the T 2 one.However, they may be used simultaneously used to provide the consolidated assessment of fault occurrence and persistence.

59The emerged confusion matrix for the detection of the faults is presented in Fig. 2.

60The confusion matrix for fault detection shows the evaluation of two classes: abnormal (with defect) and normal (no defect).The abnormal class appears in the first column (target), while the normal class is represented in the second column (target).The precision is 100% for the normal class prediction indicating no false positives and is 90.5% for the abnormal class.Only 202 observations were misclassified in the abnormal class, accounting for 1.8% of the total observations.The recall for abnormal class observations is 97.9%, meaning most true positives were detected, and recall for the normal class is 100%.FAR is null.Overall, the model achieved 98.2% accuracy, indicating strong performance in detecting correctly the observations.The F1 score value for the abnormal class is 0.989, while F1 score for the normal class is 0.950.These scores reflect a strong balance between precision and recall for both classes, with the normal class performing particularly very well.

FDA model construction and fault identification results

61For each scenario, six distinct data classes were created: one for normal operation mode and five for the faulty NO sensor cases.These categories were built with data from days 141 to 145 and they served to train the FDA model.Each class was composed of a set of 480 observations.The observation training matrix for all classes had 2880 lines (observations) and 20 columns (variables).Data collected in the initial day of abnormal sensor operation, i.e. day 140, was used to test the trained FDA model's fault diagnosis performance.Each fault had 96 measurements in the testing data set.This testing strategy was devised to investigate the FDA model diagnosis ability to determine a specific kind of fault within a few hours of its appearance.

Fault diagnosis results

62The discriminant function values generated for every class were used to identify the sensor fault type.The highest value of the discriminant function revealed the corresponding fault class, and, diagnosed the fault type.The values of the discriminant functions g i presented in SI were calculated for each of the 15-min time-sampled vector of measurements from the testing day, i.e. day 140, which were affected by the various types of faults (5 classes), as well as . 2, 3, 4, 5, 6 and 7.In these figures, all the discriminant functions g i values of the investigated errors are represented using coloured curves.In each of these figures, the type of fault is identified by the curve (i.e. its associated fault type) that shows higher values than all other curves.This curve becomes dominant at a certain time point and remains dominant later on in the further time period.The point in time at which this curve becomes dominant over the others is considered the moment of the respective fault identification.On each figure, a subplot was added to present a detailed zoom for the ordinate axis, The confusion matrix was also built for the FDA identification method.In this matrix the normal class (fault-free operation, target 1) is presented in the first column.It is followed by the faulty classes (targets) in the next columns, with the order: constant additive error (target 2), Ramp changing error in time (target 3), incorrect amplification (target 4), random additive error (target 5) and unchanging sensor value (target 6).

63As it can be observed in Fig. 3, the overall accuracy is of 97.7%.

64As shown in Fig. 4, the g i values that correspond to the normal operation curve, represented with red colour on the graph, identified the fault-free normal operation.From the beginning of the 24 h of observation and except for one single value, at time 5.5 h, all points of the red curve had the largest values during the testing day, recognizing the normal operation.In this scenario, the long-term precision was 96.8%, with a recall value of 99.9%.The F1 score was calculated to be 0.983, providing a balanced measure of precision and recall.The MAR value is low in this case, with the value of 0.1%.

65Figure 5 shows that constant additive error is effectively diagnosed for the time periods: 1-1.5 h, 5-5.25 h, 5.75 h, 8.75-13.75h.Then, from 17 h until the end of the day and for next period of time, the black curve becomes dominant, indicating the correct identification of the constant additive class of error with a long-term precision of 98.7%.

66At earlier time points and between the specified intervals, the constant additive error FDA model indicated normal operation or misclassified the error as a random additive error in 25 measurements, resulting in a MAR of 2%.The F1 score for this classification scenario was 0.983, reflecting a good detection of the error type.

67Ramp changing error in time diagnosis is confirmed at time point 5.5 h, then between 7.25-8.25 h, 9-9.5 h, 11.75-14.75h and finally from 18 h until end of the day.As shown in Fig. 6, the yellow curve becomes dominant in comparison with the other curves after 18 h.Ramp changing error in time has the magnitude increasing over time and its effects follow this trend due to the intrinsic nature of this error.During the initial moments following the fault's appearance and for brief intervals, this error is interpreted as either constant additive error or random additive error.In this case, the long-term precision is 95.3%, while the recall stands at 97.6%.The F1 score is 0.964 and MAR has a value of 2.4%, indicating a good detection performance for the ramp changing error in time.

68The incorrect amplification fault diagnosis is presented in Fig. 7.This type of fault is properly and firmly diagnosed after 17.75 h, but it is also correctly diagnosed three times before that time moment, i.e. in the 9.75-11-h and 12.25-12.75-htime intervals and at the time moment of 14.75 h.The green curve that represents the incorrect amplification discriminant values becomes and remains dominant after the time moment of 17.75 h.This results in a long-term precision of 100%, with a value of the recall of 97.0% and a MAR of 3%.The F1 score is 0.985, reflecting a very good capacity for identifying the fault.Random additive error is correctly diagnosed between 12 and 13.75 h, as presented in Fig. 8.During the first day, the fault was temporarily misdiagnosed either as an unchanging sensor value error or as a ramp-changing error.The long-term precision for this fault is 98.9% and the recall value is 95.4%, indicating a good proportion of correct identifications.The F1 score is 0.971 and MAR is 1.1%, reflecting a good ability to accurately detect the random additive error.

69The unchanging sensor value fault type is diagnosed and evaluated, and results are presented in Fig. 9.It is correctly diagnosed between 2-5.25 h, 10.75-12.75h, 14.75-15 h and then, is persistently and rightly diagnosed after the time moment of 15.5 h.As shown in Fig. 9, the purple curve representing this fault type becomes dominant after 15.5 h, indicating successful identification.For the instances where this fault was misdiagnosed, the MAR is 1.9%.The F1 score of 0.973 and the long-term precision of 96.5% reflect a strong ability to correctly identify the unchanging sensor value fault.

70Some of the discriminant function values are similar due to the extremely close values of the process measured variables, caused by comparable values of the NO sensor signals emerged from the considered fault scenarios.This contributes to misdiagnosis of some faults for the very close moments or period after the fault occurrence and for longer or shorter time periods afterwards.

71Despite these misclassifications, the faults are persistently and firmly identified during the very first day (one group before 5-6 h and one group before 11-12 h).The evaluation of fault detection and identification methods showed good performance across all fault types and normal operation.This is a valuable result, as the failures identification is very difficult to be unveiled by the operator but can be systematically and efficiently assessed in a period of several hours, before their induced effects aggravate the performance operation.Coupled with the PCA procedure, the FDA methodology may become an opportune support tool for maintaining efficiency in the management of the WRRF.

72Performance evaluation of the fault-affected WRRF Performance indices AE, PE and EQ were computed and averaged over the 28 days of normal and faulty operation cases.Table 1 presents the AE, PE and EQ mean values for regular and sensor failure operation.

73In terms of AE, PE and total energy demand, all faults have a negative impact and contribution to the higher energy consumption.A faulty value of the NO sensor signal determines an incorrect mixed-liquor recycle flow that needs to be pumped.This circumstance is followed by disturbed concentrations of NO and DO in the aerobic reactor.As a result, the DO controller drives the aeration in the aerated reactors to inefficient values of the air flow rate, with direct consequences on the increase of the AE.Incorrect amplification, random additive, and unchanging sensor value errors induce the deterioration of the EQ.Constant additive error and ramp changing error in time have positive impacts on the EQ index, but with the expense of higher total energy demand and potential undesired long-term effects.The dominant increase in the total energy demand is aggravated by the negative influence of the GHGs emitted by the combustion of conventional fuels requested for the production of the WRRF externally originating electrical energy.

74When positive values for the c constant were considered to the constant additive and to the ramp changing error types of faults, both the aeration energy and pumping energy decreased due to the intervention of the NO concentration control loop, but the quality of the clean effluent deteriorated.It is, for example, the case of the biomass that shows the decrease of both heterotrophic and autotrophic species concentration.They furthermore induced the depreciation of the clean effluent quality.A similar negative impact was noted on GHG emissions.

Energy costs assessment for faulty operation cases

75The WRRF necessitates a substantial energy supply, as well as significant economic costs.Geopolitics, the regional specific power mix, supply chain expenses, environmental protection taxes, extreme weather, excise or taxation rates have a direct impact on energy prices.The type of energy source also influences the cost of energy.A comparison of the energy prices, depending on the source or technology used to produce it, is presented in Table S5 of SI.

76According to Table S5, prices of energy range from 4.8 to 12.10 eurocents.These figures originate from an International Energy Agency (IEA) report on average energy costs.This report included data on 243 plants from 24 European, African and Asian countries (IEA, 2023).

77The daily cost for normal and for each type of fault affected operation was determined.The daily costs of various potential electricity sources or energy-generating technologies were specifically assessed.The findings are summarized in Table S6 of SI.

78Analysing the expenses of energy spent in various fault cases it is clear that unchanging sensor value fault implies the highest energy costs and the constant additive error implies the smallest energy cost.

79As expected, the daily energy costs values shown in Table S6 disclose that onshore wind, solar PV commercial, and hydro run of rivers are the most cost-effective sources of power to use, while solar PV residential, solar thermal (CSP) and biomass are the costliest.The costs of lignite (CSS) and coal (CSS) energy sources may also be considered as high costs.

80Switching to lower priced energy sources and integrating a system tailored to use a combination of energy sources in cases of the occurrence of a sensor failure may lower the implied electrical energy expenses.

Environmental assessment of CO 2 and N 2 O emissions

81The on-site and off-site CO 2 and N 2 O emissions were calculated for both, normal and faulty NO sensor operation.Table 2 shows the daily mean values obtained for the investigated cases.

82The data presented in Table 2 shows that on-site emissions, P CO 2 ,on−site and P N 2 O,on−site , are the most significant, accounting for about 75-80% of the total emission.P CO 2 ,total prevails over P N 2 O,total values, for faulty and normal operation.Computed overall equivalent CO 2 emissions P CO 2 ,overall showed increased values for all cases of NO sensor faults.The unchanging sensor value type of fault resulted in the highest overall equivalent CO 2 emissions.The constant additive error had the lowest emission values.Incorrect amplification had the next higher overall equivalent CO 2 emissions.

83The N 2 O emissions showed reduced variations.The assessment of total N 2 O emissions for the constant additive error and incorrect amplification fault showed marginally increased values for total N 2 O emissions.For other faults, these values are slightly lower than the normal case values due to the very small reduction of the effluent nitrogen load.

84The assessment of CO 2 and N 2 O emissions caused by various defects of the NO sensor provides useful quantitative assessment data regarding the most disadvantageous faults.This evaluation serves as the groundwork for the design of control and safety solutions aimed at ensuring the process sustainability goal.

Conclusions

85In this paper, the PCA-based sensor fault detection methodology along with FDA-based sensor fault identification approach were investigated for the NO sensor of the urban WRRF.Constant additive error, ramp changing error in time, incorrect amplification error, random additive error and unchanging sensor value error were the examined faults.The data sets associated with regular and defective operation were generated using a calibrated WRRF model.This study was performed in the configuration that used two main control loops.The first control system aims to control NO concentration in the anoxic reactor, while the second one controls the concentration of DO in the aeration bioreactors.The considered NO sensor is an essential component of the control loop responsible for the WRRF denitrification step.Its performance is both directly and indirectly determining the total amount of energy spent by the WRRF and influences the economic costs.Furthermore, the efficiency of the denitrification process has a significant impact on the quality of effluent water and GHG emissions.The conclusions are presented on three categories of results.First, the PCA detection algorithm performance was investigated, and main drawn conclusions are:

86• The detection of faults was very good, as the detection accuracy reached the value of 98.2%, and the detection was prompt, as it was typically achieved in less than 3.75 h; • The constant additive error and unchanging sensor value type of faults were detected in 1.5 h, demonstrating the fastest detection capability; • The ramp changing error was identified the latest, i.e. after 19.25 h, performance attributed to its gradually increasing nature which hinders rapid detection; • The SPE method proved to be more efficient and accurate than Hotelling's T 2 detection approach.

87Second, the FDA fault diagnosis methodology was used for the identification of five types of faults, and the obtained results derived the following main findings:

88• The overall diagnosis accuracy was of 97.7% and the diagnosing precision was higher than 95.3% for all investigated types of fault; • The short-time diagnosis of fault types ranged from 1 to 12 h, and the long-time consolidated identification varied between 5.5 and 18 h, revealing differences among the fault types; • The constant additive error was the most rapidly diagnosed, i.e. within 1 h, being followed by the unchanging senor value, incorrect amplification, ramp changing and random additive types of error.

89Third, the study proposed and assessed the performance of the WRRF, i.e. effluent quality EQ, aeration AE and pumping PE spent energy, and greenhouse gas GHG emissions, for the operation of the plant in the presence of the different NO sensor types of fault.This investigation led to the following conclusions:

90• When compared to the normal operation, the EQ index value depreciated to varying degrees during operation with incorrect amplification and random additive error, revealing that unchanging sensor value error was the most detrimental fault to the EQ index, and that constant additive error and ramp changing error in time determined a reduction of the EQ value;

91• The sum of the AE and PE index showed an increased spent energy value of up to 10.5% during operation with all sensor types of fault, revealing the highest percentual increase for the PE, a result which may be attributed to the direct effect of the NO sensor faults on the WRRF internal recycle flowrate; • The environmental impact of the NO sensor faults on both on-site and off-site CO2 and N2O emissions, disclosed that the primary source of GHGs is the on-site emissions, accounting for roughly 75% of total GHG emissions.While all faulty cases showed a negative effect on the GHG emissions, the case with the greatest unfavourable effect, of about 4 % increase, was the unchanging sensor value type of fault.

92The results obtained by the investigations performed on the NO sensor faults detection and diagnosis also revealed some efficiency limitations of the proposed methodologies to the cases when insufficient, inappropriate or imprecise data sets are used to build the PCA-based models for faults detection and identification.Future direction of study is envisioned for investigating the detection and diagnosis methodologies and performance of the WRRF operation in the presence of the simultaneous faults affecting the Dissolved Oxygen and NO sensors.

93The current research results are significant on different levels of the potential users, beyond the WRRF application.At the instrumentation level, the implemented detection and diagnosis presented algorithms may be used in the instrumentation maintenance tasks for promptly indicating sensors affected by incipient or fully developed malfunctioning state.The proposed methodology can be extended to other instrumentation equipment, such as control valves, controllers and software components of the soft controllers.At the same level, the sensor manufacturers can extend the software modules of their products with self-diagnosing components based on the faults' detection and identification methods.Coupled with adaptive learning capabilities, the intelligent sensors may be further extended.At the application level, the safe and efficient operation of the plant may benefit from the early detection of the sensor faults, highlighting the quantitative impact of the sensor fault type on the spent energy and product quality, consequently improving plant management.At the sustainable development level, the quantitative evaluation of the defective sensor's influence on the environment will offer important information both for taking decisions to limit or prevent accidental pollution of water, air and soil, and for the comprehensive integrated plant and control system design.

Fig. 1

94Fig. 1 Layout of the municipal WRRF and its main DO and NO control loops

Fig. 2

95Fig. 2 Confusion matrix of the fault detection

Fig. 3 Fig. 4

96Fig. 3 Confusion matrix of the fault identification

Fig. 8

97Fig. 8 Random additive error diagnosis

Table 1

98Assessment of the performance indices for the regular and faulty process cases

Table 2

99Emissions due to the NO sensor defects

참고문헌 80건

  1. Mathematical Modelling and Computer Simulation of Activated Sludge Systems Water Intelligence Online · UWA Publishing · 2010 10.2166/9781780401683
  2. Shall we use hardware sensor measurements or soft-sensor estimates? Case study in a full-scale WWTP Environmental Modelling & Software · Elsevier BV · 2015 10.1016/j.envsoft.2015.07.013
  3. Guidelines for Using Activated Sludge Models Water Intelligence Online · UWA Publishing · 2012 10.2166/9781780401164
  4. A dynamic model of the clarification-thickening process Water Research · Elsevier BV · 1991 10.1016/0043-1354(91)90066-y
  5. Counteracting the accidental pollutant propagation in a section of the River Someş by automatic control Journal of Environmental Management · Elsevier BV · 2013 10.1016/j.jenvman.2013.06.016
  6. Performance evaluation of fault detection methods for wastewater treatment processes Biotechnology and Bioengineering · Wiley · 2010 10.1002/bit.22953
  7. Fault diagnosis in chemical processes using Fisher discriminant analysis, discriminant partial least squares, and principal component analysis Chemometrics and Intelligent Laboratory Systems · Elsevier BV · 2000 10.1016/s0169-7439(99)00061-1
  8. A new fault diagnosis method using fault directions in Fisher discriminant analysis AIChE Journal · Wiley · 2005 10.1002/aic.10325
  9. Instrumentation, control and automation in wastewater – from London 1973 to Narbonne 2013 Water Science & Technology · Pergamon Press · 2014 10.2166/wst.2014.057
  10. Long-term evaluation of a spectral sensor for nitrite and nitrate Water Science & Technology · Pergamon Press · 2008 10.2166/wst.2008.146
  11. Multiple faults diagnosis for sensors in air handling unit using Fisher discriminant analysis Energy Conversion and Management · Elsevier BV · 2008 10.1016/j.enconman.2008.06.032
  12. A nonlinear kernel Gaussian mixture model based inferential monitoring approach for fault detection and diagnosis of chemical processes Chemical Engineering Science · Elsevier BV · 2011 10.1016/j.ces.2011.10.011
  13. Adding realism to simulated sensors and actuators Water Science & Technology · Pergamon Press · 2008 10.2166/wst.2008.130
  14. Monitoring nitrate concentrations in the denitrifying post-filtration unit of a municipal wastewater treatment plant Journal of Process Control · Elsevier BV · 2012 10.1016/j.jprocont.2012.09.011
  15. Application of multiway ICA for on-line process monitoring of a sequencing batch reactor Water Research · Elsevier BV · 2004 10.1016/j.watres.2004.01.006
  16. Effects of soluble and particulate substrate on the carbon and energy footprint of wastewater treatment processes Water Research · Elsevier BV · 2011 10.1016/j.watres.2011.08.036
  17. Application of strategies for sanitation management in wastewater treatment plants in order to control/reduce greenhouse gas emissions Journal of Environmental Management · Elsevier BV · 2007 10.1016/j.jenvman.2007.03.041
  18. Availability assessment of a reverse osmosis plant: Comparison between Reliability Block Diagram and Fault Tree Analysis Methods Desalination · Elsevier BV · 2013 10.1016/j.desal.2012.11.025
  19. Benchmark simulation model no 2: general protocol and exploratory case studies Water Science & Technology · Pergamon Press · 2007 10.2166/wst.2007.604
  20. Sensor validation and reconciliation for a partial nitrification process Water Science & Technology · Pergamon Press · 2006 10.2166/wst.2006.155
  21. Selection of the Number of Principal Components: The Variance of the Reconstruction Error Criterion with a Comparison to Other Methods Industrial & Engineering Chemistry Research · American Chemical Society · 1999 10.1021/ie990110i
  22. Fault diagnosis in a wastewater treatment plant using dynamic Independent Component Analysis 2022 30th Mediterranean Conference on Control and Automation (MED) · 2010 10.1109/med.2010.5547760
  23. Fault diagnosis based on PCA for sensors of laboratorial wastewater treatment process Chemometrics and Intelligent Laboratory Systems · Elsevier BV · 2013 10.1016/j.chemolab.2013.07.012
  24. Instrumentation, Control and Automation in Wastewater Systems Water Intelligence Online · UWA Publishing · 2015 10.2166/9781780402680
  25. Fault diagnosis in a plant using Fisher discriminant analysis 2006 14th Mediterranean Conference on Control and Automation · 2008 10.1109/med.2008.4602082
  26. The Scree Test and the Number of Factors: a Dynamic Graphics Approach The Spanish Journal of Psychology · Cambridge University Press · 2015 10.1017/sjp.2015.13
  27. Data-driven Fault Detection and Diagnosis for Complex Industrial Processes IFAC Proceedings Volumes · Elsevier BV · 2009 10.3182/20090630-4-es-2003.00184
  28. Effects of nitrate reduction on the eutrophication of an urban man‐made lake (Palácio de Cristal, Porto, Portugal) Environmental Technology · Taylor & Francis · 2011 10.1080/09593330.2010.523437
  29. Statistical process monitoring: basics and beyond Journal of Chemometrics · Wiley · 2003 10.1002/cem.800
  30. Greenhouse Gas (GHG) Emissions from Urban Wastewater System: Future Assessment Framework and Methodology 2011
  31. Greenhouse gases from wastewater treatment — A review of modelling tools The Science of The Total Environment · Elsevier BV · 2016 10.1016/j.scitotenv.2016.01.163
  32. Advanced decision control system for effluent violations removal in wastewater treatment plants Control Engineering Practice · Elsevier BV · 2016 10.1016/j.conengprac.2016.01.005
  33. Greenhouse Gases Emissions from Wastewater Treatment Plants: Minimization, Treatment, and Prevention Journal of Chemistry · Hindawi Publishing Corporation · 2016 10.1155/2016/3796352
  34. Dynamic Models for Clarifiers of Activated Sludge Plants with Dry and Wet Weather Flows Water Science & Technology · Pergamon Press · 1992 10.2166/wst.1992.0582
  35. Comparison of nitrous oxide (N 2 O) emissions calculations at a Swedish wastewater treatment plant based on water concentrations versus off-gas concentrations Advances in Climate Change Research · KeAi · 2016 10.1016/j.accre.2016.09.001
  36. Filamentous Bulking in Nutrient Removal Activated Sludge Systems Water Science & Technology · Pergamon Press · 1988 10.2166/wst.1988.0149
  37. PCA and PLS monitoring approaches for fault detection of wastewater treatment process 2016 10.1109/isie.2016.7745032
  38. Greenhouse Gas Emissions from Wastewater Treatment Plants Energy Procedia · Elsevier BV · 2016 10.1016/j.egypro.2016.10.067
  39. Process Control and Quality Journal of Electroanalytical Chemistry · Elsevier BV · 1991 10.1016/0022-0728(91)85560-c
  40. A Review of Adverse Effects and Benefits of Nitrate and Nitrite in Drinking Water and Food on Human Health Health Scope · Kowsar Medical Institute · 2017 10.5812/jhealthscope.14164
  41. Soft-sensors in wastewater treatment: The benefits of the data-driven approach 2013
  42. A novel dynamic PCA algorithm for dynamic data modeling and process monitoring Journal of Process Control · Elsevier BV · 2017 10.1016/j.jprocont.2017.05.002
  43. Control strategies for nitrous oxide emissions reduction on wastewater treatment plants operation Water Research · Elsevier BV · 2017 10.1016/j.watres.2017.08.056
  44. Model calibration and feed‐forward control of the wastewater treatment plant – case study for CLUJ‐Napoca WWTP Water and Environment Journal · Wiley · 2017 10.1111/wej.12310
  45. Assessing changes in eco-productivity of wastewater treatment plants: The role of costs, pollutant removal efficiency, and greenhouse gas emissions Environmental Impact Assessment Review · Elsevier BV · 2017 10.1016/j.eiar.2017.11.007
  46. A novel energy assessment of urban wastewater treatment plants Energy Conversion and Management · Elsevier BV · 2018 10.1016/j.enconman.2018.02.058
  47. Projected Costs of Generating Electricity 2010 Projected costs of generating electricity · Organization for Economic Cooperation and Development · 2010 10.1787/9789264084315-en
  48. Process system fault detection and diagnosis using a hybrid technique Chemical Engineering Science · Elsevier BV · 2018 10.1016/j.ces.2018.05.045
  49. The treatability of trace organic pollutants in WWTP effluent and associated biotoxicity reduction by advanced treatment processes for effluent quality improvement Water Research · Elsevier BV · 2019 10.1016/j.watres.2019.05.011
  50. Air pollution risk calculations Elsevier eBooks · Elsevier BV · 2019 10.1016/b978-0-12-814934-8.00012-0
  51. Ensemble model of wastewater treatment plant based on rich diversity of principal component determining by genetic algorithm for status monitoring Control Engineering Practice · Elsevier BV · 2019 10.1016/j.conengprac.2019.04.008
  52. Calculation of N<sub>2</sub>O Emission in the Wastewater Treatment Process of Paper Mill 2019 10.2991/seeie-19.2019.29
  53. Beyond signal quality: The value of unmaintained pH, dissolved oxygen, and oxidation-reduction potential sensors for remote performance monitoring of on-site sequencing batch reactors Water Research · Elsevier BV · 2019 10.1016/j.watres.2019.06.007
  54. Optimization of the wastewater treatment plant: From energy saving to environmental impact mitigation The Science of The Total Environment · Elsevier BV · 2019 10.1016/j.scitotenv.2019.07.241
  55. WWTP MODEL CALIBRATION BASED ON DIFFERENT OPTIMIZATION APPROACHES Environmental Engineering and Management Journal · Polytechnic Institute of Iasi · 2019 10.30638/eemj.2019.156
  56. Nitrification and Denitrification in the Activated Sludge Process 2002 10.1002/0471216682
  57. Process assessment of a full-scale wastewater treatment plant using reliability, resilience, and econo-socio-environmental analyses (R2ESE) Process Safety and Environmental Protection · Elsevier BV · 2019 10.1016/j.psep.2019.11.018
  58. Monitoring and detecting faults in wastewater treatment plants using deep learning Environmental Monitoring and Assessment · Springer Science+Business Media · 2020 10.1007/s10661-020-8064-1
  59. Soft Sensor Modeling Method Based on Semisupervised Deep Learning and Its Application to Wastewater Treatment Plant Industrial & Engineering Chemistry Research · American Chemical Society · 2020 10.1021/acs.iecr.9b05087
  60. Reducing energy costs of the wastewater treatment plant by improved scheduling of the periodic influent load Journal of Environmental Management · Elsevier BV · 2020 10.1016/j.jenvman.2020.110294
  61. Sensor data quality: a systematic review Journal Of Big Data · Springer Science+Business Media · 2020 10.1186/s40537-020-0285-1
  62. Electrochemical nitrite sensing for urine nitrification Water Research X · Elsevier BV · 2020 10.1016/j.wroa.2020.100055
  63. Design of hierarchical control strategies for biological wastewater treatment plants to reduce operational costs Process Safety and Environmental Protection · Elsevier BV · 2020 10.1016/j.cherd.2020.07.003
  64. Development of a Real-Time, Mobile Nitrate Monitoring Station for High-Frequency Data Collection Sustainability · Multidisciplinary Digital Publishing Institute · 2020 10.3390/su12145780
  65. Monitoring of wastewater treatment processes using dynamic concurrent kernel partial least squares Process Safety and Environmental Protection · Elsevier BV · 2020 10.1016/j.psep.2020.09.034
  66. ENERGY ANALYSIS: WAYS TO SAVE ENERGY AND REDUCE THE EMISSIONS IN WASTEWATER TREATMENT PLANTS International Journal of Energy for a Clean Environment · Begell House · 2020 10.1615/interjenercleanenv.2020035138
  67. Optimization of thermal hydrolysis process for enhancing anaerobic digestion in a wastewater treatment plant with existing primary sludge fermentation Bioresource Technology · Elsevier BV · 2020 10.1016/j.biortech.2020.124498
  68. Data-driven techniques for fault detection in anaerobic digestion process Process Safety and Environmental Protection · Elsevier BV · 2020 10.1016/j.psep.2020.12.016
  69. Improved energy balance at a municipal wastewater treatment plant through waste activated sludge low-temperature alkaline pretreatment Journal of environmental chemical engineering · Elsevier BV · 2021 10.1016/j.jece.2021.106366
  70. Data Driven Detection of Different Dissolved Oxygen Sensor Faults for Improving Operation of the WWTP Control System Processes · Multidisciplinary Digital Publishing Institute · 2021 10.3390/pr9091633
  71. Monitoring of papermaking wastewater treatment processes using t-distributed stochastic neighbor embedding Journal of environmental chemical engineering · Elsevier BV · 2021 10.1016/j.jece.2021.106559
  72. Design of Feedback Control Strategies in a Plant-Wide Wastewater Treatment Plant for Simultaneous Evaluation of Economics, Energy Usage, and Removal of Nutrients Energies · Multidisciplinary Digital Publishing Institute · 2021 10.3390/en14196386
  73. Validation of an evidence-based methodology to support regional carbon footprint assessment and decarbonisation of wastewater treatment service in Italy Water Research · Elsevier BV · 2021 10.1016/j.watres.2021.117831
  74. Activated Sludge Model No.2d, ASM2D Water Science & Technology · Pergamon Press · 1999 10.2166/wst.1999.0036
  75. Evaluation of greenhouse gas emissions from the European urban wastewater sector, and options for their reduction The Science of The Total Environment · Elsevier BV · 2022 10.1016/j.scitotenv.2022.156322
  76. Economic performance index assessment of an industrial wastewater treatment plant in terms of the European Green Deal: effect of greenhouse gas emissions Journal of Water and Climate Change · IWA Publishing · 2022 10.2166/wcc.2022.146
  77. A semi-industrial AnMBR plant for urban wastewater treatment at ambient temperature: Analysis of the filtration process, energy balance and quantification of GHG emissions Journal of environmental chemical engineering · Elsevier BV · 2023 10.1016/j.jece.2023.109454
  78. Fault Type Diagnosis of the WWTP Dissolved Oxygen Sensor Based on Fisher Discriminant Analysis and Assessment of Associated Environmental and Economic Impact Applied Sciences · Multidisciplinary Digital Publishing Institute · 2023 10.3390/app13042554
  79. Transforming data into actionable knowledge for fault detection, diagnosis and prognosis in urban wastewater systems with AI techniques: A mini-review Process Safety and Environmental Protection · Elsevier BV · 2023 10.1016/j.psep.2023.02.043
  80. Optimizing Wastewater Treatment Plant Operational Efficiency Through Integrating Machine Learning Predictive Models and Advanced Control Strategies Process Safety and Environmental Protection · Elsevier BV · 2024 10.1016/j.psep.2024.05.148