Optimal-Setpoint-Based Control Strategy of a Wastewater Treatment Process

This paper presents an optimal-setpoint-based control strategy of a wastewater treatment process (WWTP). The treatment plant serves the city of Galati, located in Eastern Romania, a city with a population of 250,000 inhabitants. As the treatment plant includes several control loops (based upon PI controllers), an efficient operation means the establishing of an optimal operating point regardless of the pluviometric regime (DRY, RAIN and STORM) or transitions between regimes. This optimal operating point is given by the optimal setpoint set (setpoints of the dissolved oxygen concentration in the aerated tanks, setpoint of the nitrate concentration, external recirculation flow, sludge flow extracted from the primary clarifier and excess sludge flow from the secondary clarifier) of the treatment plant control loops. The control algorithm has two distinct parts: the first part consists of computing the optimal aforementioned setpoints, based on the mathematical model of the treatment plant developed in SIMBA. For optimization (performed with genetic algorithms) an aggregate performance criterion that takes into consideration the quality of the effluent, the cost of the wastewater treatment as well as the percentage exceeding of the main parameters of the treated water was used; the second part consists of computing the optimal setpoint set which will be further applied directly in the process based on the membership to the current operating regime. The computation of the membership degrees to the current operating regime was performed with a fuzzification block, based on the information about the inflow rate in the biological treatment plant. For simulations, three data files of the influent were created, aiming at determining the optimal setpoints in each operating regime, and a fourth one containing an influent scenario able to globally test the system operation. The obtained results showed the efficiency of the biological treatment, the effluent quality index being about ten times lower than that of the influent. Furthermore, the genetic algorithm used in optimization determines accurately enough the minimum value of the performance criterion in the case of each pluviometric regime, the lowest value of the performance criterion being obtained in DRY operating regime and the highest values in RAIN and STORM regimes. This is mainly due to the increase of the treatment cost and to small exceeding of the limits of several quality parameters such as chemical oxygen demand and ammonium concentration in the two regimes mentioned above. The fuzzification block aims to achieve a smooth transition from one operating regime to another, thus determining easier operating regimes of the treatment plant actuators and contributing to the increase of their life cycle.


Introduction
Environmental protection is a priority of the economic and social development that aims at obtaining a clean and healthy environment that does not affect the development possibilities of future generations. It is, therefore, imperative to ensure the protection of the environment and the conservation of natural resources, especially water, according to the requirements of the sustainable economic and social development. Deterioration of the environment involves alteration of the physico-chemical and structural characteristics of the natural components of the environment, reduction of diversity or biological productivity of natural ecosystems, damage of the natural environment with effects on the quality of life, mainly caused by water, atmosphere and soil pollution, over-exploitation of the resources and their poor management and valorization.
The water is an essential natural resource for today's society. Therefore, one of the great problems facing humanity is the provision of water resources for urban and rural communities, for various industrial and/or agricultural activities, given that the world's population is constantly growing, and the industry is constantly evolving. In these conditions, this intensive use of water inevitably leads to its pollution, and by discharging polluted water into groundwater or surface water, to environmental pollution. In this regard, the issue of environmental protection and water resources management has become very pressing and in the permanent attention of the European Union (EU). The European Commission (EC) developed numerous directives [1,2] that show the concern of this European forum to prevent the degradation of the environment and the quality of water resources. This set of normative acts has materialized in a program for the protection of Europe's water resources. A number of quality standards have been imposed with clear objectives for the protection of human health and the environment, including surface water, domestic water, fishery, shellfish (waters for growing various species of mollusks), groundwater and drinking water. One of these legislative directives imposed certain standards relating to the discharge of substances into surface waters. Other directives refer to the urban wastewater treatment (UWWT), to the prevention of pollution in the industrial and agricultural environment, to the water management in the natural hydrographic basins, etc.
Given the importance of the wastewater treatment field, research in this field has evolved in two directions: 1.
modernization of wastewater collecting and treatment infrastructure in urban areas in parallel with the development of new wastewater treatment technologies; 2.
development and use of new automation methods (mathematical modeling [3,4], control and state and parameter estimation [5][6][7][8]) in order to increase the efficiency of the wastewater treatment processes.
Thus, it can be stated that the wastewater treatment field has become an area addressed by numerous interdisciplinary research teams consisting of specialists in microbiology and biochemistry and last but not least, in automation and computer science. Given that these processes are nonlinear, very complex and strongly affected by uncertainties (parameter and model uncertainties), these processes have become a real challenge for specialists in modeling, identification and control in order to develop advanced methods for increasing the efficiency of the wastewater treatment processes.
Among the most well-known mathematical models reported by the literature and accepted by the international scientific community can be mentioned ASM models (Activated Sludge Models). These were developed within International Association on Water Quality (IAWQ), which became later International Water Association (IWA), by a working group led by Prof. Henze, which aimed at developing and applying mathematical models of biological treatment processes in the design and operation of treatment plants. The first activated sludge treatment model (ASM1) [9] describes the biological oxidation of carbon, the nitrification and denitrification and is, therefore, used to model the removal of carbon and nitrogen in the activated sludge treatment systems. It considers four processes: (1) the growth of autotrophic and heterotrophic bacteria, (2) their degradation, (3) the hydrolysis of the organic particles and (4) ammonification of soluble organic nitrogen. The reaction rate of each process is expressed as a series of Monod-type smooth switching functions, corresponding to certain conditions (for example aerobic, anoxic, anaerobic processes). The ASM2 model [10] is an extension of ASM1 and includes the biological and chemical removal of phosphorus, in addition to the removal of carbon and nitrogen from the ASM1 model. Subsequently, the ASM2 model was extended to the ASM2d and ASM3 models [11]. The ADM1 model (Anaerobic Digestion Model) should also be mentioned [12,13]. It includes the disintegration from homogeneous particulates to carbohydrates, proteins and lipids; extracellular hydrolysis of these particulate substrates to sugars, amino acids and long chain fatty acids (LCFA), respectively; acidogenesis from sugars and amino acids to volatile fatty acids (VFAs) and hydrogen; acetogenesis of LCFA and VFAs to acetate; and separate methanogenesis steps from acetate and hydrogen/CO 2 . In addition to the ASM models, simplified models (Nejjari model) [14] with four state variables or of black-box type (neural networks [15]) for designing and testing control structures have been developed. Furthermore, the benchmark models (BSM1, BSM1-LT, BSM2) [16][17][18] were developed within IWA. BSM1 is dedicated to the biological removal of nitrogen and organic matter from urban wastewater. BSM1-LT (Long Term) allowed for the evaluation of the control strategies for longer periods due to the proposed influent profile from 7 to 364 days. Finally, BSM2 represents a significant development of the BSM1 model at the level of the treatment plant, taking into account both the water line and the sludge line. In the field of wastewater treatment process control, the specialists have approached various control algorithms ranging from conventional control structures (PI, PID) to advanced ones (robust [19][20][21][22], predictive [23,24], adaptive [25], sliding-mode, optimal [26,27] etc.) and artificial-intelligence-based ones (fuzzy, neural, expert systems) [28][29][30][31][32]. The purpose of these control structures was to increase the efficiency of wastewater treatment processes. Thus, in [32] the authors propose the control of the dissolved oxygen concentration by fuzzy techniques. The output of the DO fuzzy controller (the airflow) controls the aeration system through its inverse model. In [24] a predictive control structure of DMC (Dynamic Matrix Control) type for controlling the nitrogen concentrations at the end of the biological treatment is proposed. What also has to be mentioned, is the use of hierarchical structures to control wastewater treatment processes. Thus, in [33] a control cascade nonlinear adaptive control structure extended by the anti-windup filter is proposed. An IMC (Internal Model Control) algorithm is used in the internal control loop and a DMRAC (Direct Model References Adaptive Control) structure in the external loop. In [34] the authors propose a hierarchical control structure for a Sequencing Batch Reactor (SBR) in a biological Wastewater Treatment Plant. On the upper level is used an optimizer that provides the optimal operating parameters of the SBR reactor (sequence and durations of individual phases), the optimal desired trajectory of dissolved oxygen concentration and the optimal parameters of the adaptive controller. The second control level contains an adaptive controller and the low level an IMC structure. For optimization, the authors used Artificial Bee Colony and Direct Search Algorithm algorithms. A similar approach can be found in [35]. Another hierarchical control structure is proposed in [36]. At the low level an IMC control structure is also used and at the second level, dissolved oxygen concentration is controlled. On the upper control level there is a supervisor with the following functions: management of reactor work cycle, determines the phase length, controls sludge age, calculates setpoint of dissolved oxygen and adapts parameters of the lower control layer.
The paper deals with the optimal-setpoint-based control of a wastewater treatment plant. The wastewater treatment efficiency refers to the removal of organic substances and nitrogen and its components, not phosphorus. This control strategy consists of determining an optimum operating point in relation to a performance criterion that takes into account the quality of effluent, the cost of the wastewater treatment and possible exceeding (expressed as a percentage) of the concentration of pollutants beyond admissible limits. At the same time, the control algorithm must take into account the membership to the operating regime (DRY, RAIN and STORM) by means of a fuzzification block.
The paper has the following structure: the second section presents the structure of the wastewater treatment plant together with the automation equipment, description of the influent used in simulations, definition of the performance criterion for the optimization and the description of the control method; the third section presents and analyzes the results obtained in the paper and the last section is dedicated to the conclusions. Figure 1 shows a global view of the treatment plant of Galati city. It contains the following three systems: 1. mechanical treatment, 2. biological treatment and 3. sludge treatment. The biological treatment subsystem consists of four identical treatment lines, as it can be seen in Figure 1.  Figure 1 shows a global view of the treatment plant of Galati city. It contains the following three systems: 1. mechanical treatment, 2. biological treatment and 3. sludge treatment. The biological treatment subsystem consists of four identical treatment lines, as it can be seen in Figure 1.      Figure 1 shows a global view of the treatment plant of Galati city. It contains the following three systems: 1. mechanical treatment, 2. biological treatment and 3. sludge treatment. The biological treatment subsystem consists of four identical treatment lines, as it can be seen in Figure 1.     Regarding the anaerobic digestion system, it was considered a single anaerobic digester with a capacity equal to half that of a real one. The treatment plant was modeled in SIMBA by the ASM1 model and for the anaerobic digester the model ADM1 was used.

Structure of the Wastewater Treatment Plant
The tank capacities of the wastewater treatment plant are given in Table 1:

Automation Equipment
The main automation equipment of the wastewater treatment process can be seen in Figure 2. It consists in the following elements: There are several solutions regarding the aeration system in the literature [37]. In this case, the air is supplied in the aeration tanks by means of four blowers powered by frequency converters. The pressure in the output collector of the blowers is maintained at a value imposed by the variation of their speed and the number of blowers in operation. The air is released in tanks using fine bubble membrane diffusers, located at the bottom of the aerated tanks. The dissolved oxygen concentration is controlled using control valves mounted on the distribution network for each tank separately.
Dissolved oxygen concentration control loops in the tanks B 4 , B 5 and B 6 and the nitrate concentration control loop are based upon PI controllers. All these control loops include anti-windup sequences aiming at limiting the effect of the integrator component of the controller when technological operating limitations of the actuators are imposed. Controllers' parameters are tuned similarly with those used in BSM2, according to the methodology presented in [31].

The Influent Used in Simulations
The influent was obtained based on the one from BSM1 benchmark. It was calibrated to the loads specific to Galati city treatment plant by linear transformations for each operating regime. The influent takes into account the diurnal variations, as well as the week-end ones, of the flow and loads specific to Galati city. Table 2 presents the plant design values and the measured average values over 2017. It should be mentioned that three measurements per day are made in the laboratory, then from these measurements monthly and then annual averages are calculated: The inflow average values corresponding to the three operating regimes are as follows: Q in,DRY = 16, 601 m 3 /day, Q in,RAIN = 19, 188 m 3 /day and Q in,STORM = 17, 771 m 3 /day.
Thus, three files of influent were created in order to determine the optimal setpoint for each operating regime. Figure 3 presents the inflow variations in the three operating regimes over a period of 112 days (16 weeks) of which in 12 weeks the entire system reaches the steady state regime and the last 4 are used to evaluate the process performance. Cyclical data over a longer period of time with RAIN and STORM events are disturbances that seriously stress the system and show its limitations and the context in which the parameter values exceed the legal limits.  Thus, three files of influent were created in order to determine the optimal setpoint for each operating regime. Figure 3 presents the inflow variations in the three operating regimes over a period of 112 days (16 weeks) of which in 12 weeks the entire system reaches the steady state regime and the last 4 are used to evaluate the process performance. Cyclical data over a longer period of time with RAIN and STORM events are disturbances that seriously stress the system and show its limitations and the context in which the parameter values exceed the legal limits.  In order to test global operation of the wastewater treatment plant, a fourth file of influent was created by suitably aggregating sequences corresponding to the three operating regimes. It was created over the same period of 16 weeks and includes a succession of regimes DRY, RAIN and STORM regimes. Figure 4 presents the aggregated influent. The membership to the current operating regime is determined through a fuzzification block. In order to test global operation of the wastewater treatment plant, a fourth file of influent was created by suitably aggregating sequences corresponding to the three operating regimes. It was created over the same period of 16 weeks and includes a succession of regimes DRY, RAIN and STORM regimes. Figure 4 presents the aggregated influent. The membership to the current operating regime is determined through a fuzzification block.

Performance Criterion regarding the Efficiency of the Wastewater Treatment Plant
The performance evaluation of the control strategy was performed using the indicators defined in BSM2, because it includes the model of the anaerobic digester, similar to the model considered in this paper [16]. The performance criterion used to optimize the operation of the wastewater treatment plant has three components: 1. Effluent quality (EQI)-J1 where T = t2 − t1 represents the total evaluation period, in our case 28 days, between days t1 = 84 and t2 = 112. The weighting coefficients , , , , and are used to convert the effluent loads into pollution units. The values of these coefficients were taken from [16], having the following values: = 2, = 1, = 30, , = 10, and = 2.
3. "Failure" index-J3 4. where Ex-percentage exceeding of the legal limits over the last 28 days. 5. In this paper an aggregated performance criterion was considered: where α1, α2, α3 are weighting coefficients. They have the following values: α1 = 0.5, α2 = 1 and α3 = 100. They were chosen taking into account the size orders of the indexes J1-J3 so as to ensure a balanced contribution in the global indicator J.

Control Strategy
The control strategy has two stages: 1. computation of the optimal setpoint set for operating regimes; 2. obtaining the current optimal setpoint set for the current operating regime or, in the case of transitions between regimes, taking into account the membership to the operating regime through a fuzzification block.

Performance Criterion Regarding the Efficiency of the Wastewater Treatment Plant
The performance evaluation of the control strategy was performed using the indicators defined in BSM2, because it includes the model of the anaerobic digester, similar to the model considered in this paper [16]. The performance criterion used to optimize the operation of the wastewater treatment plant has three components: 1.
Effluent quality (EQI)-J 1 where T = t 2 − t 1 represents the total evaluation period, in our case 28 days, between days t 1 = 84 and t 2 = 112. The weighting coefficients B SS , B COD , B NK j , B NO,e and B BOD5 are used to convert the effluent loads into pollution units. The values of these coefficients were taken from [16], having the following values: B SS = 2, B COD = 1, B NK j = 30, B NO,e = 10, and B BOD5 = 2.

2.
Overall cost index (OCI)-J 2 where AE represents the Aeration Energy, PE-the Pumping Energy, SP-Total Sludge Production, ME-Mixing Energy and MET prod -Methane production [16,31]

4.
where Ex-percentage exceeding of the legal limits over the last 28 days. 5.
In this paper an aggregated performance criterion was considered: where α 1 , α 2 , α 3 are weighting coefficients. They have the following values: α 1 = 0.5, α 2 = 1 and α 3 = 100. They were chosen taking into account the size orders of the indexes J 1 -J 3 so as to ensure a balanced contribution in the global indicator J.

Control Strategy
The control strategy has two stages: 1. computation of the optimal setpoint set for operating regimes; 2. obtaining the current optimal setpoint set for the current operating regime or, in the case of transitions between regimes, taking into account the membership to the operating regime through a fuzzification block.

Computation of the Optimal Setpoints for Operating Regimes
For each operating regime, the vector of the optimal setpoints is calculated: where S * OD4,i -setpoint of the dissolved oxygen concentration in the tank B4, S * OD5,i -setpoint of the dissolved oxygen concentration in the tank B5, S * OD6,i -setpoint of the dissolved oxygen concentration in the tank B5, S * NO4,i -setpoint of the nitrate concentration, Q * RE,i -external recirculation flow, Q * PC,i -the sludge flow extracted from the primary clarifier and Q * EXC,i -the excess sludge flow from the secondary clarifier.
It is considered that the recirculation flow depends proportionally on the inflow Q in : The optimal setpoint vector becomes: Further on the optimal setpoint vector is determined by minimizing the performance criterion J, defined by the Equation (4): A genetic algorithm was used for the minimization of the performance criterion J. Within genetic algorithm the chromosomes contain 7 genes, these being exactly the searched setpoints, which are the components of the vector V*, given by Equation (5). The genetic algorithm was implemented in Matlab and its main characteristics are given in Appendix A. Figure 5 presents the control strategy of the wastewater treatment plant. It derives from Figure 2 to which two additional blocks were added: 1. a fuzzification block for determining the Q in membership to the current operating regime and 2. a computation block of the current setpoints.

Computation of the Current Optimal Setpoint Set for the Current Operating Regime or in the Case of Transitions between Regimes
The role of the fuzzification block is to achieve a smooth transition between the operating regimes of the wastewater treatment plant. Figure 6 presents the membership functions regarding the membership to the current operating regime (the maximum limit of the considered inflow is 55,000 m 3 /day-see Figure 4). The main idea of using the fuzzification block is to provide the membership degrees of Q in to the current operating regime. This membership degree further serves at computing the setpoints that will actually be applied in the wastewater treatment process.
2.5.2. Computation of the Current Optimal Setpoint Set for the Current Operating Regime or in the Case of Transitions between Regimes Figure 5 presents the control strategy of the wastewater treatment plant. It derives from Figure 2 to which two additional blocks were added: 1. a fuzzification block for determining the Qin membership to the current operating regime and 2. a computation block of the current setpoints.  The role of the fuzzification block is to achieve a smooth transition between the operating regimes of the wastewater treatment plant. Figure 6 presents the membership functions regarding the membership to the current operating regime (the maximum limit of the considered inflow is 55,000 m 3 /day-see Figure 4). The main idea of using the fuzzification block is to provide the membership degrees of Qin to the current operating regime. This membership degree further serves at computing the setpoints that will actually be applied in the wastewater treatment process. Finally, the optimal setpoint vector-V-which results from the computing block (on the seven components) is given by the following equation: where represents the membership degree at the operating regime i, ∈ , , . Finally, the optimal setpoint vector-V-which results from the computing block (on the seven components) is given by the following equation:

Results and Discussions
That means where µ i represents the membership degree at the operating regime i, i ∈ {DRY, RAIN, STORM}.

Computation of the Optimal Setpoints for Each of the Three Operating Regimes
As mentioned in the previous section, a genetic algorithm was used for the computation of the optimal setpoints in the three operating regimes. For technological reasons, the initial population for starting the genetic algorithm was chosen in the intervals indicated in Table 3.  Table 4 presents the optimal setpoints obtained with the genetic algorithm. The influent files from Figure 3 (a: DRY, b: RAIN and c: STORM) were used to calculate the optimal setpoints. Simulation was performed on a 112-day time horizon and the performance criteria were evaluated on the last 28 days. The results can be seen in Table 5: In Table 5, IQI represents the influent quality. It is calculated similarly to EQI using influence loads and the weighting coefficients are identical to those used in EQI. Ex indicates the percentage exceeding of the main quality parameters of the influent, whereas J 1 , J 2 , J 3 and J were defined in Section 2.4. The efficiency of the treatment plant is expressed by the quality index of the effluent being approximately 10 times lower than that of the influent. It can also be noticed that there are a series of exceeding RAIN and STORM regimes of the variables' total nitrogen, ammonium and COD, whose amounts are sufficiently low. The highest value of criterion J is obtained in the case of the RAIN operating regime. All the three criteria contribute to this fact, as expected, due to the increased flow of the influent that characterizes the RAIN operating regime. Figure 7 shows screenshots from the genetic algorithm running program, where the evolution of the fitness functions in the case of the three operating regimes can be noticed.

Computation of the Current Optimal Setpoint Set for the Current Pluviometric Regime or in the Case of Transitions between Regimes
In this case, the influent file from Figure 4 was considered to validate the control strategy. In reality, the transition from one operating regime to another is not net but gradual. This is the reason why it is reasonable to take into account these transitions by weighting the optimal setpoints in each operating regime by the membership to the operating regimes.
To this end, the simulation scheme includes a fuzzification block and a computing one of the setpoints taking into account the membership to the current operating regime of the treatment plant (see Figure 5). The simulation time horizon was identical to the one in the previous section. The results are presented in Table 6.

Computation of the Current Optimal Setpoint Set for the Current Pluviometric Regime or in the Case of Transitions between Regimes
In this case, the influent file from Figure 4 was considered to validate the control strategy. In reality, the transition from one operating regime to another is not net but gradual. This is the reason why it is reasonable to take into account these transitions by weighting the optimal setpoints in each operating regime by the membership to the operating regimes.
To this end, the simulation scheme includes a fuzzification block and a computing one of the setpoints taking into account the membership to the current operating regime of the treatment plant (see Figure 5). The simulation time horizon was identical to the one in the previous section. The results are presented in Table 6.   Table 6 (1.75%-COD and respectively 1.29%-ammonium concentration). The moments of exceeding coincide with those when the influent flow reaches maximum values in RAIN and STORM regimes.  Table 6 (1.75%-COD and respectively 1.29%-ammonium concentration). The moments of exceeding coincide with those when the influent flow reaches maximum values in RAIN and STORM regimes.

Conclusions
In this paper, a control strategy for a wastewater treatment plant is proposed, which is based on the optimization of the control loops' setpoints, so that it operates in an optimal operating point. The objective of the control system is the decrease of nitrogen concentration and its components in the effluent in conditions of minimum energy consumption. This strategy was validated in numerical simulation on an activated sludge mathematical model, built in SIMBA and calibrated on the dimensions of a real treatment plant. The results were obtained considering an influent similar to that from BSM 1 at the plant input and calibrated to the specific values of the real treatment plant. The search of the optimal setpoints for each pluviometric regime was performed with a genetic algorithm that provides seven variables (three setpoints of the dissolved oxygen concentration in the aerated tanks, the setpoint of the nitrate concentration, the external recirculation flow, the sludge flow extracted from the primary clarifier and the excess sludge flow from the secondary clarifier). For the calculation of the setpoints that are applied directly in the process, a fuzzification block was used, which takes into account the membership to the current pluviometric regime.
The obtained results showed an improvement of the treatment plant performances. Thus, the pollutant loading of the effluent was reduced about 10 times compared to that of the influent (the effluent quality index-EQI is about ten times lower than that of the influent-IQI). Furthermore, the

Conclusions
In this paper, a control strategy for a wastewater treatment plant is proposed, which is based on the optimization of the control loops' setpoints, so that it operates in an optimal operating point. The objective of the control system is the decrease of nitrogen concentration and its components in the effluent in conditions of minimum energy consumption. This strategy was validated in numerical simulation on an activated sludge mathematical model, built in SIMBA and calibrated on the dimensions of a real treatment plant. The results were obtained considering an influent similar to that from BSM 1 at the plant input and calibrated to the specific values of the real treatment plant. The search of the optimal setpoints for each pluviometric regime was performed with a genetic algorithm that provides seven variables (three setpoints of the dissolved oxygen concentration in the aerated tanks, the setpoint of the nitrate concentration, the external recirculation flow, the sludge flow extracted from the primary clarifier and the excess sludge flow from the secondary clarifier). For the calculation of the setpoints that are applied directly in the process, a fuzzification block was used, which takes into account the membership to the current pluviometric regime.
The obtained results showed an improvement of the treatment plant performances. Thus, the pollutant loading of the effluent was reduced about 10 times compared to that of the influent (the effluent quality index-EQI is about ten times lower than that of the influent-IQI). Furthermore, the genetic algorithm proves to be efficient in the sense that it finds the minimum of criterion J accurately enough. The lowest value of the performance criterion J is obtained in the case of the DRY operating regime. Higher values of J are obtained in STORM and RAIN operating regimes, this being due to the increased values of the influent flow, Q in . In the case of the aggregate influent, an intermediate value of the performance criterion J is obtained, which was to be expected, because the influent used for the validation method contains sequences of all the three operating regimes. In the DRY operating regime, none of the effluent main quality parameters exceeds the admissible limits and, therefore, criterion J 3 is zero. On the other hand, there are a number of limits exceeding COD and ammonium concentration in RAIN and STORM operating regimes at the moments when a number of peaks are observed in the evolution of Q in . This exceeding causes, in the RAIN and STORM regimes, the criterion J 3 to be different from zero, contributing to the worsening of the aggregate criterion J. Last but not least, the actuators of the treatment plant have an easier operating regime due to the use of the fuzzification block which makes a smooth transition from one operating regime to another.
Further on the authors intend to apply the control strategy presented in the paper within the real wastewater treatment plant. It is also intended to continue research considering other basic control loop configurations within a wastewater treatment process (for example, extending the treatment process by including the phosphorus removal).

Conflicts of Interest:
The authors declare no conflict of interest.