Research Article | DOI: https://doi.org/10.31579/2692-9406/224
*Corresponding Author: Lakshmi. N. Sridhar, Chemical Engineering Department, University of Puerto Rico, Mayaguez, PR 00681.
Citation: Lakshmi. N. Sridhar, (2025), Analysis and Control of the Activated Sludge Model (ASM1), J. Biomedical Research and Clinical Reviews, 11(1); DOI: 10.31579/2692-9406/224
Copyright: © 2025, Lakshmi. N. Sridhar. This is an open-access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.
Received: 04 July 2025 | Accepted: 11 July 2025 | Published: 18 July 2025
Keywords: water pollution; bifurcation; optimization; control
Water pollution poses a considerable threat to public health, and it is important to understand water pollution transmission dynamics. This paper presents a mathematical framework involving bifurcation analysis and multiobjective nonlinear model predictive control (MNLMPC) for two models involving water pollution. Bifurcation analysis is a powerful mathematical tool used to address the nonlinear dynamics of any process. The MATLAB program MATCONT was utilized to conduct the bifurcation analysis of the water pollution models. Several factors must be taken into account, and multiple objectives must be achieved simultaneously. The MNLMPC calculations for the water pollution models were performed using the optimization language PYOMO in conjunction with the advanced global optimization solvers IPOPT and BARON. The bifurcation analysis revealed the presence of branch points in the two models. These branch points are advantageous as they allow the multiobjective nonlinear model predictive control calculations to converge to the Utopia point, which represents the most beneficial solution. The combination of bifurcation analysis and multiobjective nonlinear model predictive control for models involving water pollution is the main contribution of this paper.
To minimize effluent contamination concentrations, wastewater treatment plants use the activated sludge process. This process should be conducted efficiently, keeping all unnecessary expenses to a minimum. To achieve this goal, there has been a lot of modelling work to understand the various chemical reactions involved in this process. Henze et al (1987) [1] developed a general model for single-sludge wastewater treatment systems. Henze et al (1995) [2] extended and improved this earlier model.
Henze (1999) [3] performed modelling work on the aerobic wastewater treatment processes taking into account environmental impacts. Gujer et al (1995) [4] further improved upon the models of Henze. Fikar et al (2005) [5] developed strategies to ensure the optimal operation of alternating activated sludge processes. Yoon et al (2005) [6], Critical operational parameters for zero sludge production in biological wastewater treatment processes combined with sludge disintegration. Nelson et al (2009) [7] used continuation methods to determine the steady-state behaviour of the activated sludge model (ASM1).
The activated sludge models are highly nonlinear, and many factors must be taken into account to ensure that the process is conducted most efficiently. In this article, a combination of bifurcation analysis and multiobjective nonlinear model predictive control (MNLMPC) for the activated sludge model (ASM1) (Nelson et al, 2009) [7] is performed. The bifurcation analysis reveals the presence of branch points, which are very beneficial because they enable the MNLMPC calculations to converge to the Utopia point, which is the best possible solution.
This paper is organized as follows. First, the ASM1 model equations) (Nelson et al, 2009) [7] are presented. The numerical procedures (bifurcation analysis and multiobjective nonlinear model predictive control (MNLMPC) are then described. This is followed by the results and discussion and conclusions.
ASM1 model equations
Were.,
The parameter values are
The variables
represent the concentrations of readily biodegradable soluble substrate, slowly biodegradable particulate substrate, active heterotrophic particulate mass, active autotrophic particulate mass, soluble oxygen, soluble nitrate and nitrite nitrogen, soluble ammonium nitrogen, soluble biodegradable organic material, and particulate biodegradable organic nitrogen.
Bifurcation analysis
The MATLAB software MATCONT is used to perform the bifurcation calculations. Bifurcation analysis deals with multiple steady-states and limit cycles. Multiple steady states occur because of the existence of branch and limit points. Hopf bifurcation points cause limit cycles A commonly used MATLAB program that locates limit points, branch points, and Hopf bifurcation points is MATCONT (Dhooge Govearts, and Kuznetsov, 2003[8]; Dhooge Govearts, Kuznetsov, Mestrom and Riet, 2004[9]). This program detects Limit points (LP), branch points (BP), and Hopf bifurcation points(H) for an ODE system
Let the bifurcation parameter be
Since the gradient is orthogonal to the tangent vector,
The tangent plane at any point
must satisfy
Where A is
where
is the Jacobian matrix. For both limit and branch points, the matrix
must be singular. The n+1 th component of the tangent vector
for a limit point (LP)and for a branch point (BP) the matrix
must be singular. At a Hopf bifurcation point,
@ Indicates the bialternate product while
is the n-square identity matrix. Hopf bifurcations cause limit cycles and should be eliminated because limit cycles make optimization and control tasks very difficult. More details can be found in Kuznetsov (1998 [10]; 2009[11]) and Govaerts [2000] [12]
Multiobjective Nonlinear Model Predictive Control (MNLMPC)
Flores Tlacuahuaz et al (2012) [13] developed a multiobjective nonlinear model predictive control (MNLMPC) method that is rigorous and does not involve weighting functions or additional constraints. This procedure is used for performing the MNLMPC calculations Here
represents the variables that need to be minimized/maximized simultaneously for a problem involving a set of ODE
being the final time value, and n the total number of objective variables and. u the control parameter. This MNLMPC procedure first solves the single objective optimal control problem independently optimizing each of the variables
individually. The minimization/maximization of
will lead to the values
. Then the optimization problem that will be solved is
This will provide the values of u at various times. The first obtained control value of u is implemented and the rest are discarded. This procedure is repeated until the implemented and the first obtained control values are the same or if the Utopia point where (
for all j) is obtained.
Pyomo (Hart et al, 2017) [14] is used for these calculations. Here, the differential equations are converted to a Nonlinear Program (NLP) using the orthogonal collocation method The NLP is solved using IPOPT (Wächter And Biegler, 2006) [15]and confirmed as a global solution with BARON (Tawarmalani, M. and N. V. Sahinidis 2005) [16].
The steps of the algorithm are as follows
and obtain
at various time intervals ti. The subscript i is the index for each time step.
and get the control values for various times.
for all j. Sridhar (2024) [17] proved that the MNLMPC calculations to converge to the Utopia solution when the bifurcation analysis revealed the presence of limit and branch points. This was done by imposing the singularity condition on the co-state equation (Upreti, 2013) [18]. If the minimization of
lead to the value
and the minimization of
lead to the value
The MNLPMC calculations will minimize the function
. The multiobjective optimal control problem is
Differentiating the objective function results in
The Utopia point requires that both
are zero. Hence

the optimal control co-state equation (Upreti; 2013) is
is the Lagrangian multiplier.
is the final time. The first term in this equation is 0 and hence
At a limit or a branch point, for the set of ODE
is singular. Hence there are two different vectors-values for
where
. In between there is a vector
where
. This coupled with the boundary condition
will lead to
This makes the problem an unconstrained optimization problem, and the only solution is the Utopia solution.
The bifurcation analysis on the ASM1 model revealed the existence of two branch points at

Figure 1: Branch points for ASM1 model
values of (200, 56.179, 0, 0,9.65, 1, 15, 9, 0, 0.179) and (200.000000 56.179, 0, 0,9.36, 1, 15, 9, 0,0.343). These branch points are indicated in Fig. 1. The presence of the branch points is beneficial because they allow the MNLMPC calculations to attain the Utopia solution for several objective functions.
Three MNLMPC calculations were performed. In the first case, the particulate variables (active heterotrophic particulate mass, active autotrophic particulate mass, and particulate biodegradable organic nitrogen) were minimized. In this case, was minimized individually and each of them led to a value of 0 . The overall optimal control problem will involve the minimization of was minimized subject to the equations governing the model. This led to a value of zero (the Utopia solution.
The various concentration profiles for this MNLMPC calculation are shown in Figures. 2a-2d.
The obtained control profile of s exhibited noise (Figure. 2e). This was remedied using the Savitzky-Golay Filter. The smoothed-out version of this profile is shown in Figure.2f.

Figure 2a: SNO profile MNLMPC particulate concentration minimization

Figure 2b: SNH profile MNLMPC particulate concentration minimization

Figure2c: SNO profile MNLMPC particulate concentration minimization

Figure 2d: XBH, XBA, XND profile MNLMPC particulate concentration minimization

Figure 2e: dilution rate MNLMPC particulate concentration minimization

Figure 2f: dilution rate (with Savitzky Golay filter) MNLMPC particulate concentration minimization
In the second case, the variables representing the soluble materials (soluble nitrate and nitrite nitrogen, soluble ammonium nitrogen, and soluble biodegradable organic material) were minimized. In this case, was minimized individually, leading to values of 0.4121, 4.722, and 0.019971. The overall optimal control problem will involve the minimization of was minimized subject to the equations governing the model. This led to a value of zero (the Utopia solution.
The various concentration profiles for this MNLMPC calculation are shown in Figs. 3a-3d.
The obtained control profile of s exhibited noise (Fig. 3e). This was remedied using the Savitzky-Golay Filter. The smoothed-out version of this profile is shown in Fig.3f.

Figure 3a: SNO profile MNLMPC soluble material concentration minimization

Figure 3b: SNH profile MNLMPC soluble material concentration minimization

Figure 3c: SND profile MNLMPC soluble material concentration minimization

Figure 3d: XBH, XBA, XND profile MNLMPC soluble material concentration minimization

Figure 3e: dilution rate MNLMPC soluble material concentration minimization

Figure 3f: dilution rate (with Savitzky Golay filter) MNLMPC soluble material concentration minimization
In the third case, In the second case, the variables representing the soluble materials (soluble nitrate and nitrite nitrogen, soluble ammonium nitrogen, and soluble biodegradable organic material) and the particulate variables (active heterotrophic particulate mass, active autotrophic particulate mass,
and particulate biodegradable organic nitrogen) were clubbed together as and . In this case, was minimized individually, leading to values of 10.8079 and 0.01647. The overall optimal control problem will involve the minimization of was minimized subject to the equations governing the model. This led to a value of zero (the Utopia solution). The various concentration profiles for this MNLMPC calculation are shown in Figs. 4a-4d. The obtained control profile of s exhibited noise (Fig. 4e). This was remedied using the Savitzky-Golay Filter. The smoothed-out version of this profile is shown in Fig.4f.
In all the cases, the MNLMPC calculations converged to the Utopia solution, validating the analysis of Sridhar (2024), which showed that the presence of a limit or branch point enables the MNLMPC calculations to reach the best possible (Utopia) solution.

Figure 4a: SNO profile MNLMPC X and S concentration minimization

Figure 4b: SNH profile MNLMPC X and S concentration minimization

Figure 4c: SND profile MNLMPC X and S concentration minimization

Figure 4d: XBH, XBA, XND profile MNLMPC X and S concentration minimization

Figure 4e: dilution rate MNLMPC X and S concentration minimization

Figure 4f: dilution rate (with Savitzky Golay filter) MNLMPC X and S concentration minimization
Bifurcation analysis and Multiobjective nonlinear model predictive control calculations were performed on the activated sludge model (ASM1). The bifurcation analysis revealed the existence of branch points. The branch points (which produced multiple steady-state solutions originating from a singular point) are very beneficial as they caused the multiojective nonlinear model predictive calculations to converge to the Utopia point (the best possible solution) in both models. A combination of bifurcation analysis and multiobjective nonlinear model predictive control for the activated sludge model (ASM1) is the main contribution of this paper.
All data used is presented in the paper.
The author, Dr. Lakshmi N Sridhar has no conflict of interest.
Dr. Sridhar thanks Dr. Carlos Ramirez and Dr. Suleiman for encouraging him to write single-author papers.
Dear Editorial Team, Clinical Medical Reviews and Reports. My experience with the journal was highly positive. The peer-review process was rigorous, constructive, and completed in a timely manner. The reviewers provided valuable comments that helped improve the quality and clarity of our manuscript. The editorial office was professional, responsive, and supportive throughout all stages of the publication process. Communication was clear and efficient, and any questions were addressed promptly. Overall, I found the journal to maintain high scientific standards and an excellent publication workflow. I would be pleased to consider submitting future work to this journal. Best wishes from, Elena Popa.
It was my pleasure to submit my testimonial concerning the Reviewer Board of our Scientific Journal “Brain and Neurological Disorders”. The Reviewers focused on some modifications and their contribution was helpful. The ladies of our Editorial Office were also supported my efforts. It was my honor to have such a co-operation and I am looking forward for more collaboration.
Dear Grace Pierce, Editorial Coordinator of Journal of Clinical Research and Reports, Thank you for the speedy and efficient peer review process. I appreciate the fact that your peer reviewers do not take months to respond like with some other journals. I would also like to thank the editorial office for responding quickly to my questions. It is an excellent journal. I plan to submit more manuscripts in the future. Best wishes from, Robert W. McGee
Dear Grace Pierce, Editorial Coordinator of Journal of Clinical Research and Reports, Working with you and your team on our recent publication in JCRR has been a truly wonderful and enjoyable experience. The responses were prompt, and the reviewers were patient, constructive, and highly professional. One reviewer in particular gave me the feeling that a professor was carefully reading and commenting on my coursework, which was deeply touching. The entire process was straightforward and hassle‑free, with no tedious online forms to complete. I highly recommend this journal. Best wishes from, DR Aibing Rao, Head of R&D
I Appreciate the Opportunity to Share my Experience with the Journal of Clinical Research and Reports. The peer review process was timely and constructive, and the feedback provided helped improve the quality of our manuscript. The editorial office was professional, responsive, and supportive throughout the process, ensuring smooth communication and efficient handling of the submission. Overall, it was a positive experience collaborating with your team.
Dear Mercy Grace, Editorial Coordinator of Obstetrics Gynecology and Reproductive Sciences, We would like to express our gratitude for your help at all stages of publishing and editing the article. The editors of the magazine answer all the necessary questions and help at every stage. We will definitely continue to cooperate and publish other works in the Obstetrics Gynecology and Reproductive Sciences! Best wishes from, Alla Konstantinovna Politova,