Next Article in Journal
Crosstalk Noise of Octagonal TSV Array Arrangement Based on Different Input Signal
Next Article in Special Issue
Optimal Darwinian Selection of Microorganisms with Internal Storage
Previous Article in Journal
Design of Experiment (DoE) for Optimization of HPLC Conditions for the Simultaneous Fractionation of Seven α-Amylase/Trypsin Inhibitors from Wheat (Triticum aestivum L.)
Previous Article in Special Issue
Application of Optimization and Modeling for the Composting Process Enhancement
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Best Operating Conditions for Biogas Production in Some Simple Anaerobic Digestion Models

ITAP, INRAE, Institut Agro, University of Montpellier, 34196 Montpellier, France
Processes 2022, 10(2), 258; https://doi.org/10.3390/pr10020258
Submission received: 22 December 2021 / Revised: 20 January 2022 / Accepted: 24 January 2022 / Published: 28 January 2022
(This article belongs to the Special Issue Mathematical Modeling and Control of Bioprocesses)

Abstract

:
We consider one-step and two-step simple models of anaerobic digestion that are able to adequately capture the main dynamical behaviour of the full anaerobic digestion model ADM1. We do not consider specific growth functions. We only require them to satisfy certain qualitative assumptions. These assumptions are satisfied for concave growth functions, but they are also satisfied for a large class of growth functions found in many applications. We consider the maximisation of the biogas production with respect to the operating parameters of the model, which are the dilution rate and the substrate input concentration. We give the best operating conditions and we describe them as a subset of the set of operating parameters. Our models incorporate biomass decay terms, corresponding to maintenance. Numerical plots with specified growth functions and biological parameters illustrate the obtained results.

1. Introduction

Anaerobic digestion (AD) is a well known and established technology for treating waste in the methanisation of sewage sludge from wastewater treatment plants. AD enables the water industry to treat waste water as a resource for generating energy and recovering valuable by-products. In the context of renewable energy, it has now become an attractive alternative to fossil carbon [1]. AD is a complex biological process in which organic material is converted into biogas (methane) in an environment without oxygen [2,3,4,5,6]. One of its main disadvantages is its sensitivity to disturbances, which can lead to instability problems, in addition to a decrease in the biogas production rate [7]. Indeed, the conditions and technological parameters characterising the methane fermentation process include many parameters: hydraulic retention time, organic loading rate, anaerobic sludge concentration in the bioreactor, substrate dewatering, organic matter content, substrate dosage, mixing method and frequency, temperature, and many others.
When the experimenter does not have a mechanistic mathematical model of the process being studied, one method for selecting the best conditions for biogas production is to carry out multi-variant tests and select the most efficient variants and then optimise them and develop a mathematical model. This first approach is presented in [8,9,10]. On the other hand, when the experimenter has a model of the process being studied and knows or has identified its biological parameters, a good way to optimise biogas production is to look for the optimal flow rate of the bioreactor that produces the most biogas. This approach is presented in [11,12,13,14,15,16,17,18,19,20,21]. Therefore, mechanistic mathematical models are a good basis for monitoring and developing control strategies to optimise the operation of such processes. The present paper is a contribution to this second approach to the problem: we assume that we know a mechanistic mathematical model of the process and that we have already identified its biological parameters, and then we look to the best operating conditions for biogas production.
However, having a model of AD is not that easy. Indeed, the complexity of AD has motivated the development of mechanistic mathematical models, such as the widely used Anaerobic Digestion Model Model No. 1 (ADM1) [2]. This model has a large number of state variables and parameters. It is impossible to obtain an analytical characterization of the steady states and to describe the operating diagram (OD), that is to say, to identify the asymptotic behaviour of existing steady states as a function of the operating parameters (substrate inflow concentrations and dilution rate). To the author’s knowledge, only numerical investigations are available [3]. Therefore, although ADM1 is a complex model that is widely accepted as a common platform for AD process modelling and simulation, it has a large number of parameters and states that hinder its analytic study. Due to the analytic intractability of the full ADM1, progress has been made towards the construction of simpler models that preserve biological meaning. The simplest model of the chemostat with only one biological reaction, where one substrate is consumed by one microorganism, is well understood [22,23,24]. However a one-step model is too simple to encapsulate the essence of AD.
More realistic models of AD are two-step models. An important contribution to the modelling of AD as a two-step is the model presented in [25], hereafter denoted as the AM2 model and studied in [15,26]. It has been shown that under some circumstances, this very simple two-step model is able to adequately capture the main dynamical behaviour of the full ADM1 [27,28]. AM2 is a four-dimensional system of ordinary differential equations and takes acidogenesis and methanogenesis into consideration. In the first step, the organic substrate is consumed by the acidogenic bacteria and produces a substrate, the Volatile Fatty Acids (VFA), while in the second step, the methanogenic population consumes VFA and produces biogas.
Another interesting simple AD model, with eight state variables, was considered in [21,29,30]. This model takes into consideration acidogenesis, acetogenesis, and methanogenesis. We also mention the mathematical model considered in [31], which also added the hydrolysis step in the model. It is also worth mentioning the models of AD that include the evolution of biogas and hydrogen [32,33,34].
The problem of optimising biogas production for one-step AD models is studied in [13,14] and for the AM2 model in [11,15,16,17,18]. This problem is also analysed in [21,31,35], where models with more steps for AD are considered.
The OD of a model has operating parameters as its coordinates, and the various regions defined within it correspond to qualitatively different asymptotic behaviours. The operating parameters are the input concentrations of substrates and the flow rate. We call them operating parameters, although they are not always under the control of the experimenter. Indeed, in most practical cases, one can at best store material upstream and control the flow rate. The concentration of the input substrate is rarely a control parameter. However, this parameter is known to the experimenter and is not of the same nature as the biological parameters, on which the experimenter can only act with great difficulty. In most of the results, we will assume that the input concentration of substrate is fixed, and we want to determine the corresponding optimal flow rate. Apart from the operating parameters, which can vary, all other parameters have biological meaning and are fitted using experimental data from ecological and/or biological observations of organisms and substrates. When the biological parameters are determined, it is then easy to plot the operating diagram and thus have a prediction of the behaviour of the system as a function of the operating parameters.
The OD is then the bifurcation diagram that shows how the system behaves when we vary the operating (control) parameters. This diagram shows how extensive the parameter region is, where some asymptotic behaviours occur. This bifurcation diagram is very useful to understand the model from both the mathematical and biological points of view. Its importance for bioreactors was emphasized in [36]. This diagram is often constructed both in the biological literature [15,29,35,36,37,38] and the mathematical literature [3,21,30,39,40,41,42,43,44].
In the present work, we consider the one-step model and the AM2 model, and we give the best operating conditions for biogas production, that is to say, we give the subset of the OD corresponding to the maximal flow rate of the biogas. This set of the best operating conditions in the OD indicates to the experimenter how to choose the operating condition such that the system produces the maximum of biogas. The surprising result for AM2 is that the optimal steady state can involve the extinction of the acidogenic bacteria [11]. This property was also observed for more complex models [21,31]. We address this problem and fully describe the operating conditions under which this situation is encountered. Another very important phenomenon, which was observed in [35], is that the best biogas produced is sometimes obtained for operating parameters for which the system has bistability. This issue is also addressed, and the set of operating parameters for which the system may be in such a situation is fully described.
The paper is organized as follows. In Section 2, we describe the one-step and two-step models of AD that are studied in this paper. We give the steady states of the models and their biogas flow rate or productivity. We state the problems of optimisation that will be considered later. The results for one-step models are given in Section 3.1. The particular case when the biomass mortality is neglected is considered in Section 3.1.8, and applications to various growth functions that were considered in the literature are given in Appendix A.5. The results for two-step models are listed in Section 3.2, and the applications of our theory to the classical AM2 model are emphasized in Section 3.2.4. We discuss and compare our results with the results of the existing literature in Section 3.3. Finally, Section 4 and Section 5 draw some discussions, conclusions, and perspectives. The proofs and supplementary information are given in Appendix A and Appendix B.

2. Materials and Methods

We consider a continuous stirred-tank reactor (CSTR), also called a bioreactor or a chemostat, where a single population of micro-organisms is growing on a single limiting substrate. We also consider the more complex situation where this population produces a substrate which is itself consumed by a second population. The limiting substrate is fed into the culture vessel with a constant concentration at flow rate Q. The culture medium is withdrawn at the same flow rate Q so that the culture volume V in the vessel is kept constant.
The dilution rate D is defined as D = Q / V and is the inverse of the residence time. We will take into account that the residence time of the liquid (culture medium) in the bioreactor may be shorter than that of the solids (micro-organisms), which is common in bioreactors.
We also take maintenance into account. Consumption of energy for all processes other than growth is called maintenance. In situations where microbial cells are located in a favourable environment, maintenance can often be neglected. In other situations, however, a significant portion of the energy-yielding substrate that could be used for growth is consumed for maintenance [45]. In the ADM1 model and also in some simple models of AD, maintenance is taken into account as decay [2,37,38,43,44].
It is assumed that the other required substrates are provided in excess, that the culture medium is perfectly mixed and that the environmental conditions (temperature and pH) are regulated at appropriate constant values.

2.1. One-Step Models

Although the one-step model is too simple to encapsulate the essence of AD, it is useful for the understanding of some basic facts concerning optimization of biogas in bioreactors. Consider a one-step model of the form:
k S r X + k 1 CH 4
where one substrate S is consumed by one micro-organism X and produces biogas with reaction rate r = μ ( S ) X , where μ is the growth function and k and k 1 are pseudo-stoichiometric coefficients. Let D be the dilution rate and S i n the concentrations of input substrate. The dynamical equations of the model are [22,23,24,46,47]
S ˙ = D S i n S k μ S X X ˙ = μ S D 1 X
where D 1 , the removal rate of the micro-organisms, takes the form
D 1 = α D + a ,
where a is the decay term corresponding to maintenance effects and α ( 0 , 1 ] is a parameter allowing us to decouple the Hydraulic Retention Time, HRT = 1 / D and the Solid Retention Time SRT = 1 / ( α D ) . The stoichiometric coefficient k 1 in (1) appears in the mathematical equations of the model when we consider the biogas flow rate; see Section 2.1.2. The stoichiometric coefficient k can be reduced to 1; see Appendix A.1. However, since the stoichiometric coefficient has its own importance for the biologist, and since our aim is to give the biologist a useful tool for the best operating conditions of the chemostat model, we do not make this reduction and we present the results in the original model (2). The mathematical analysis of (2) is well-known [22,24]. For the convenience of the reader, we recall in this paper the main results and state them using the OD; see Appendix A.2.

2.1.1. Steady States

We assume that μ is not necessarily monotonic, i.e., that the inhibition by substrate S can be taken into account in the model. We make now the following hypothesis.
Hypothesis 1.
The function μ is C 1 and satisfies μ 0 = 0 , and there exists S m ( 0 , + ] , such that μ S > 0 for 0 < S < S m . If S m < + , then, in addition, μ S < 0 for S > S m .
The case S m = + corresponds to an increasing function. This case is called the Monod case, since it is satisfied by the usual Monod growth function
μ ( S ) = m S K + S .
The case S m < + corresponds to an increasing and then decreasing function and models the inhibition by the substrate at high concentrations. This case is called the Haldane case, since it is satisfied by the usual Haldane growth function
μ ( S ) = m S K + S + S 2 / K i .
We need to define the break-even concentrations:
Definition 1.
When S m = + , the break-even concentration λ ( D ) is the unique solution of equation μ ( S ) = D . It is defined for D < μ ( + ) . When S m < + , there can be two break-even concentrations λ ( D ) and λ ¯ ( D ) . They are the solutions of equation μ S = D , such that λ ( D ) < S m < λ ¯ ( D ) . The first one is defined for 0 < D < μ S m . The second one is defined for μ ( + ) < D < μ S m . They have the same limit value λ ( D m ) = λ ¯ ( D m ) for D m = μ S m . If D > μ S m , by convention we let λ ( D ) = + and λ ¯ ( D ) = + .
Besides the washout steady state F 0 = ( S i n , 0 ) , (2) has the positive steady states
F 1 = λ ( D 1 ) , D k D 1 S i n λ ( D 1 ) , F 2 = λ ¯ ( D 1 ) , D k D 1 S i n λ ¯ ( D 1 ) .
When S m = + , only F 1 exists. The conditions of existence an stability of the steady state, together with the OD of (2), are given in Appendix A.2. Note that F 1 is stable whenever its exists, while F 2 is unstable whenever its exists.

2.1.2. Steady State Optimization of Biogas Production

The biogas is simply a product of the biological reactions and it has no feedback on the dynamical Equation (2). The biogas flow rate, denoted by G CH 4 , is proportional to the microbial activity, as proposed in [46,48,49,50]:
G CH 4 = k 1 μ S * X *
where ( S * , X * ) is a steady state of (2). Let us denote by G i , the rate of production of biogas, defined by (7), and evaluated at steady state F i , i = 0 , 1 , 2 . One has G 0 = 0 , and using the components of the steady states F 1 and F 2 given in (6), G 1 and G 2 are given by
G 1 D , S i n = k 1 k D S i n λ ( α D + a ) for S i n λ ( α D + a ) , G 2 D , S i n = k 1 k D S i n λ ¯ ( α D + a ) for S i n λ ¯ ( α D + a ) .
Our aim is to determine the set of operating conditions for which the biogas production is maximal. We consider the biogas flow rate G 2 corresponding to the unstable equilibrium F 2 because we do not know if this flow rate is always lower than that of the stable equilibrium F 1 . If it was possible that, for some operating condition D and S i n , G 2 D , S i n > G 1 D , S i n , then the problem of the stabilization of the reactor at its unstable steady state F 2 by using some feedback control would have been an interesting challenge. However, this possibility is excluded, as stated in the following remark.
Remark 1.
Note that G 2 is defined if and only if S i n λ ¯ ( α D + a ) . Since λ ¯ ( α D + a ) > λ ( α D + a ) , G 1 is also defined and we have G 1 ( D , S i n ) > G 2 ( D , S i n ) .
Hence, the operating conditions D and S i n which produce the maximum of biogas are obtained by the maximization of G 1 D , S i n .
Problem 1.
Determine the set of operating conditions for which G 1 is maximal.

2.1.3. Steady State Optimization of Biomass Production

AD is used because it allows material to be degraded without producing too much biomass, which is a good thing because in the environmental field we do not really know what to do with the sludge produced. If we want to produce biomass, it is rather in biotechnologies such as pharmaceuticals or food processing that we should be looking. Let us forget about AD for a moment and assume that the industrial goal of the process is the production of micro-organisms. When a continuous culture system is viewed as a production process, its performance may be judged by the quantity of bacteria produced, which is called the productivity of biomass. The total output from a continuous culture unit in the steady state is equal to the product of flow rate and concentration of organisms. Therefore, the productivity of (2) at steady state ( S * , X * ) is given by [20,47]
P = Q X *
where Q = V D is the flow rate, and V is the volume of the CSTR. Let us denote by P i , the productivity evaluated at steady state F i , i = 0 , 1 , 2 . One has P 0 = 0 and using the components of the steady states F 1 and F 2 , given in (6), P 1 and P 2 are given by
P 1 D , S i n = V D 2 k ( α D + a ) S i n λ ( α D + a ) for S i n λ ( α D + a ) , P 2 D , S i n = V D 2 k ( α D + a ) S i n λ ¯ ( α D + a ) for S i n λ ¯ ( α D + a ) .
Our aim is to determine the set of operating conditions for which the productivity is maximal. Note that, as for the biogas flow rate, the productivity at F 1 is greater the the productivity at F 2 : P 1 ( D , S i n ) > P 2 ( D , S i n ) . Hence, the operating conditions D and S i n that maximize productivity are obtained by maximizing P 1 D , S i n .
Problem 2.
Determine the set of operating conditions for which P 1 is maximal.

2.1.4. The Case without Mortality

Note that when a = 0 , we have
G 1 D , S i n = k 1 k D S i n λ ( α D ) , G 2 D , S i n = k 1 k D S i n λ ¯ ( α D ) , P 1 D , S i n = V k α D S i n λ ( α D ) , P 2 D , S i n = V k α D S i n λ ¯ ( α D ) .
Therefore, G i and P i , i = 1 , 2 are proportional. Hence, we can make the following remark.
Remark 2.
When a = 0 , optimizing P 1 , given by (10), is the same as optimizing G 1 , given by (8); that is, Problems 1 and 2 have the same solution. However, this is no longer true when a > 0 .
For increasing functions (i.e., S m = + ), in the case a = 0 , the equivalent Problems 1 and 2 have been solved in [51]; in the case a > 0 , Problem 1 has been solved in [52] and Problem 2 in [53]. In Section 3.1.1 and Section 3.1.5, we will give the solutions to these problems in the more general case where the growth function μ satisfies the Hypothesis 1 and is not necessarily monotonic.

2.2. Two-Step Models

We consider the general two-step model with a cascade of two biological reactions, where one substrate S 1 is consumed by one microorganism X 1 (acidogenic bacteria, in the AM2 model), to produce a product S 2 that serves as the main limiting substrate for a second microorganism X 2 (methanogenic bacteria in the AM2 model) as schematically represented by the following reaction scheme (see [25]):
k 1 S 1 r 1 X 1 + k 2 S 2 , k 3 S 2 r 2 X 2 + k 4 CH 4
where r 1 = μ 1 ( S 1 ) X 1 and r 2 = μ 2 ( S 2 ) X 2 are the kinetics of the reactions and k i , i = 1 , , 4 are pseudo-stoichiometric coefficients. In fact, biological reactions also produce CO 2 ; see Equations (1) and (2) in [25]. However, since in this section we are only interested in the biogas production, we do not focus on the CO 2 production. Let D be the dilution rate and S 1 i n and S 2 i n the concentrations of input substrates S 1 and S 2 , respectively. The dynamical equations of the model take the form:
S ˙ 1 = D S 1 i n S 1 k 1 μ 1 S 1 X 1 , X ˙ 1 = μ 1 S 1 D 1 X 1 , S ˙ 2 = D S 2 i n S 2 + k 2 μ 1 S 1 X 1 k 3 μ 2 S 2 X 2 , X ˙ 2 = μ 2 S 2 D 2 X 2 ,
where, as in (3), the removal rates of the micro-organisms D 1 and D 2 take the form
D i = α i D + a i , i = 1 , 2 ,
where α i ( 0 , 1 ] , i = 1 , 2 , is a parameter allowing us to decouple the HRT and the SRT. This decoupling is necessary when considering technology such as systems where biomass is fixed onto supports (as in fixed or fluidized bed reactors) or still retained in the system by membranes such as in MBRs (Membrane Bioreactors); see [54,55]. The model (12) is an extension of the AM2 model presented in [25], with α 1 = α 2 , a 1 = a 2 = 0 , and kinetics μ 1 and μ 2 of Monod and Haldane types, respectively.
The pseudo-stoichiometric coefficients k i in (12) can be reduced to 1; see Appendix B.1. However, since these coefficients have their own importance for the biologist and since our aim is to discuss the best operating conditions, we do not make this reduction and we present the results in the original model (12). The model has a cascade structure which renders its analysis easy. We give in Appendix B.3 the main results on the existence and stability of the steady states of (12), and we express them using the OD.

2.2.1. Steady States

We consider (12) with general kinetics functions μ 1 and μ 2 , satisfying the following qualitative properties:
Hypothesis 2.
The function μ 1 is C 1 , μ 1 ( 0 ) = 0 , μ 1 S 1 > 0 for S 1 > 0 . Let m 1 = μ 1 ( + ) .
Hypothesis 3.
The function μ 2 is C 1 , μ 2 0 = 0 , μ 2 ( + ) = 0 , and there exists S 2 m > 0 such that μ 2 S 2 > 0 for 0 < S 2 < S 2 m , and μ 2 S 2 < 0 for S 2 > S 2 m .
We consider the break-even concentrations as stated in Definition 1. The growth function μ 1 admits only one break-even concentration, denoted λ 1 , while the growth function μ 2 admits two break-even concentrations, which will be denoted λ 2 and λ ¯ 2 . We summarize in Table 1 the definitions of these break-even concentrations, together with two auxiliary functions that are used in the description of the biogas flow-rates at steady states of (12).
The system (12) can have up to six steady states, denoted E i j , where i = 0 , 1 and j = 0 , 1 , 2 . The components of the steady states are given in Table A3. The existence and stability conditions of the steady states of (12) are given in Appendix B.3. Note that E 11 is stable whenever it exists, while E 01 is stable if and only if it exists and E 11 does not exist. Moreover the steady states E 02 and E 12 are unstable whenever they exist.

2.2.2. Steady State Optimization of Biogas Production

As in the one-step model, the biogas is simply a product of the biological reactions and it has no feedback on the dynamical Equation (12). As we noticed in (7), the mass flow of the methane production, denoted by G CH 4 , is proportional to the microbial activity (see Equation (12) in [25]):
G CH 4 = k 4 μ 2 S 2 X 2 .
Let us denote by G i j the production of biogas at steady states E i j for i = 0 , 1 and j = 0 , 1 , 2 . Using the components of the steady states given in Table A3, it is seen that G 00 = G 10 = 0 and G i j for i = 0 , 1 and j = 1 , 2 are defined as in Table 2.
Our aim is to find set of operating conditions for which the flow rate of biogas is maximal.
Remark 3.
We always have G 01 > G 02 and G 11 > G 12 ; see Section 3.2.1.
Hence, the operating conditions D, S 1 i n , and S 2 i n , which produce the maximum of biogas, are obtained by the maximization of G 01 D , S 2 i n or G 11 D , S 1 i n , S 2 i n . The main problem is then to compare the maximum of biogas production G 11 at E 11 , where both species are present, with the maximum of biogas production G 01 at E 01 where species X 1 is extinct and species X 2 is present. Surprisingly, the optimal biogas production does not always occur at E 11 , as was noticed by [11,21,31]. Therefore we have to solve the following problem.
Problem 3.
Determine the sets of operating conditions, for which G 01 and G 11 are maximal. Compare the maximum of G 01 to that of G 11 .

3. Results

3.1. One-Step Models

The OD of the one-step model (2) is described in Appendix A.2.

3.1.1. Best Operating Conditions for Biogas Production

Let G 1 defined by (8) and S i n fixed. Our aim is to maximize the function D G 1 ( D , S i n ) . Note that this function is proportional to the function G defined by
G ( D ) = D ( S i n λ ( α D + a ) ) .
The function G is depending on the parameter S i n . It is defined for D I ( S i n ) , where the interval I ( S i n ) is given by
I ( S i n ) = 0 , δ ( S i n ) if S i n < S m 0 , δ ( S m ) if S i n S m with δ ( S ) = μ ( S ) a α
The function G 1 has an absolute maximum if G has one and this maximum is reached at the same point where G reaches its maximum. By the Extreme Value Theorem, since G is continuous on the closed interval I ( S i n ) , it must attain a maximum. Let us consider the set of arguments of the maximum of G, denoted by g ( S i n ) and defined by
g ( S i n ) = argmax D I ( S i n ) G : = D * I ( S i n ) : G ( D ) G ( D * ) for   all D I ( S i n ) .
To obtain the maximum value of G ( D ) , we differentiate (14) with respect to D, and we solve the equation G ( D ) = 0 . The derivative of G is given by
G ( D ) = S i n γ ( D )
where γ is defined by
γ ( D ) = λ ( α D + a ) + α D λ ( α D + a ) .
Remark 4.
Since μ ( λ ( D ) ) = D , we have λ ( D ) = 1 / μ ( λ ( D ) ) . Therefore the function γ is written
γ ( D ) = λ ( α D + a ) + α D μ ( λ ( α D + a ) ) .
We have the following result
Proposition 1.
Let D * g ( S i n ) . We have S i n = γ ( D * ) , where γ is defined by (17).
Proof. 
The proof is given in Appendix A.3.1. □
Therefore, the curve
Γ = ( D , S i n ) : S i n = γ ( D )
of SOP contains the operating conditions for which G 1 is maximal.
In Figure 1, we plot the Γ curve in the OD of (2). We have shown a curve Γ , which is the graph of an increasing function. However, this does not always happen; see Appendix A.5.5. When Γ is not increasing, there may be several maxima of the biogas flow. In Section 3.1.3, we give sufficient conditions for the maximum to be unique. Since λ ( D ) > 0 , we deduce that γ ( D ) > λ ( α D + a ) for D > 0 . On the other hand,
γ ( 0 ) = λ ( a ) , and lim D δ ( S m ) γ ( D ) = + .
From these properties we deduce the following remark.
Remark 5.
If S m = + , the curve Γ is contained in the region J 1 (the green region) of the OD, see Figure 1a. If S m < + , Γ is contained in J 1 J 2 (the green and pink regions), and, since μ ( S m ) = 0 , the vertical line Λ 1 is an asymptote of Γ, see Figure 1b. Note that in the Haldane case ( S m < ), the curve Γ enters in the bistability region J 2 at point ( D c , S c ) .

3.1.2. How to Determine the Maximum of Biogas Production

From Proposition 1, to obtain g ( S i n ) , we must solve the equation S i n = γ ( D ) . However, this equation can be complicated to solve because γ ( D ) is itself defined by λ ( D ) , which is the solution of the equation μ ( S ) = D . We have at our disposal another description of g ( S i n ) . Indeed, we can write
G ( D ) = 1 α H ( λ ( α D + a ) ) ,
where H is defined by
H ( S ) = ( μ ( S ) a ) ( S i n S ) , for λ ( a ) S S i n
From (19), it is deduced that the absolute maximum of G corresponds to the absolute maximum of H and vice versa. To obtain the maximum value of H ( S ) , we differentiate H with respect to S and we solve the equation H ( S ) = 0 . The derivative of H is given by
H ( S ) = μ ( S ) ( S i n S ) μ ( S ) + a .
Hence, H ( S ) = 0 if and only if S i n = η ( S ) , where η ( S ) is defined by
η ( S ) = S + μ ( S ) a μ ( S ) for S λ ( a ) .
We have the following result.
Proposition 2.
Let S * be the maximum of H on ( λ ( a ) , S i n ) . Let D * = μ ( S * ) a α . Then D * g ( S i n ) . Moreover, we have S i n = η ( S * ) , where η is defined by (21).
Proof. 
The proof is given in Appendix A.3.2. □
Remark 6.
With the first method, we must first solve the equation μ ( S ) = D to obtain λ ( D ) and then solve the equation γ ( D ) = S i n to obtain the optimal D * g ( S i n ) . With the second method, we simply solve the equation η ( S ) = S i n to get the maximum S * and then take D * = μ ( S * ) a α g ( S i n ) .

3.1.3. Uniqueness of the Maximum

Hypothesis 1 is not enough to guarantee that the biogas flow rate admits a unique global maximum; see Appendix A.5.5. We make the following hypothesis.
Hypothesis 4.
For all S i n > 0 , g ( S i n ) , defined by (16), has a unique element, which is denoted by D G * ( S i n ) .
From Proposition 1 we deduce then the answer to Problem 1: assume that Hypotheses 1 and 4 are satisfied. Then, the set of best operating conditions for biogas production of (2) is the curve Γ of SOP defined by:
Γ = ( D , S i n ) : S i n = γ ( D ) = ( D , S i n ) : D = D G * ( S i n ) .
From Propositions 1 and 2, it is deduced that Hypothesis 4 is satisfied when the equations
S i n = γ ( D ) or S i n = η ( S )
have a unique solution. A sufficient condition for this is that the functions γ ( D ) and η ( S ) are increasing. The following result gives sufficient conditions for Hypothesis 4 to be valid.
Lemma 1.
Assume that Hypothesis 1 is satisfied and, in addition, μ is C 2 . The following conditions are equivalent
1. 
γ > 0 on 0 , μ ( S m ) a α .
2. 
( μ a ) μ < 2 μ 2 on λ ( a ) , S m .
3. 
1 μ a > 0 on λ ( a ) , S m .
4. 
η > 0 on λ ( a ) , S m .
If these equivalent conditions are satisfied, then Hypothesis 4 is satisfied. If μ < 0 on λ ( a ) , S m , then the conditions are satisfied.
Proof. 
The proof is given in Appendix A.3.3. □

3.1.4. Best Operating Conditions

We first analyse the Monod case ( S m = ). We show in Figure 2 the set Γ of best operating conditions and we describe how to use this set to obtain practically the maximum of biogas production. Let S i n be fixed. The intersections of Γ and Λ with the horizontal line where S i n is kept constant define the values D G * ( S i n ) , defined in Hypothesis 4, and δ ( S i n ) = μ ( S i n ) a α , defined by (15), see Figure 2a. The function D G 1 D , S i n is defined on [ 0 , δ ( S i n ) ] and attains its maximum G * ( S i n ) for D = D G * ( S i n ) ; see Figure 2b.
In the Haldane case ( S m < ), the description is a little more complicated. If S i n is fixed, the function D G 1 D , S i n attains its maximum G 1 * ( S i n ) for D = D G * ( S i n ) , obtained by taking the intersection of Γ with the horizontal line where S i n is kept constant, as it is seen in Figure 3. However, there exist two threshold values S c and S m , depicted in Figure 1b. If S i n S m , only G 1 is defined (see Figure 3a) while G 1 and G 2 are both defined when S i n > S m (see Figure 3b,c). On the other hand, if S i n > S c , then the dilution rate D G * S i n , which maximises biogas production, corresponds to the bistability mode of the chemostat; see Figure 3c. More precisely, we make the following remark.
Remark 7.
Assume that Hypotheses 1 and 4 hold. Let D = D c be the unique solution to equation γ ( D ) = λ ¯ ( α D + a ) . Let S c = γ ( D c ) .
  • If S i n < S c then for the operating parameters S i n and D = D G * ( S i n ) , F 1 is GAS.
  • If S i n > S c then for the operating parameters S i n and D = D G * ( S i n ) , F 0 and F 1 are both stable.
Indeed, since γ is increasing and λ ¯ is decreasing, curves Γ and Λ 2 have a unique intersection point D c , S c ; see Figure 1b. The OD shows that if S i n < S c then D G * ( S i n ) , S i n J 1 , that is to say, the best operating conditions are in the green region J 1 , where F 1 is GAS and if S i n > S c , then D G * ( S i n ) , S i n J 2 ; that is to say, the best operating conditions are in the pink region J 2 of bistability of F 0 and F 1 .
Figure 3 shows three typical values of S i n and the corresponding optimal dilution rates D G * ( S i n ) . The corresponding biogas productions are depicted in the same figure. The main results are summarized as follows:
  • If S i n < S m , the biogas production G 1 ( D , S i n ) is defined for D 0 , δ ( S i n ) ; see Figure 3a.
  • If S i n > S m , the biogas production G 1 ( D , S i n ) is defined for D 0 , δ ( S m ) , and the biogas production G 2 ( D , S i n ) is defined for D δ ( S i n ) , δ ( S m ) ; see Figure 3b,c.
  • If S i n < S c , and the chemostat is operated at the optimal dilution rate D G * S i n , then the system converges towards the positive steady state F 1 giving the maximum of biogas; see Figure 3a,b.
  • If S i n > S c and the chemostat is operated at the optimal dilution rate D G * S i n , then, according to the initial condition, the system converges either to the positive steady state F 1 , giving maximum biogas, or the washout steady state F 0 , with no biogas production; see Figure 3c.

3.1.5. Best Operating Conditions for Biomass Production

Let P 1 be defined by (10) and S i n fixed. Our aim is to maximise the function D P 1 ( D , S i n ) . Note that this function is proportional to the function P : D p ( D ) defined by
P ( D ) = D 2 α D + a S i n λ ( α D + a ) , for D I ( S i n )
where I ( S i n ) is defined by (15). Therefore P 1 has an absolute maximum if P has one and this maximum is reached at the same point where P reaches its maximum. As in the case of the biogas flow rate, we consider the arguments of the maximum of P
p ( S i n ) = argmax D I ( S i n ) p : = D * I ( S i n ) : P ( D ) P ( D * ) for   all D I ( S i n ) .
To obtain the maximum value of P ( D ) , we differentiate (23) with respect to D, and we solve the equation P ( D ) = 0 . The derivative of P is given by
P ( D ) = D ( α D + 2 a ) ( α D + a ) 2 S i n π ( D )
where π is defined by
π ( D ) = λ ( α D + a ) + α D ( α D + a ) α D + 2 a λ ( α D + a ) .
Remark 8.
Using λ ( D ) = 1 / μ ( λ ( D ) ) , the function π can be written
π ( D ) = λ ( α D + a ) + α D ( α D + a ) ( α D + 2 a ) μ ( λ ( α D + a ) ) .
We have the following result
Proposition 3.
Let D * p ( S i n ) . We have S i n = π ( D * ) , where π is defined by (25).
Proof. 
The proof is given in Appendix A.4.1. □
Therefore, the curve
Π = ( D , S i n ) : S i n = π ( D )
of SOP contains the operating conditions for which P 1 is maximal. In Figure 4, this set is shown in the OD depicted in Figure 1, together with the set Γ . Note that if a > 0 , then
λ ( α D + a ) < π ( D ) < γ ( D ) .
Therefore, curve Π is above curve Λ and below curve Γ ; see Figure 4.

3.1.6. How to Determine the Maximum of Biomass Production?

From Proposition 3, to obtain p ( S i n ) we must solve the equation S i n = π ( D ) , which can be difficult to solve. We have at our disposal another description of p ( S i n ) . We can write
P ( D ) = 1 α 2 Q ( λ ( α D + a ) ) ,
where Q is defined by
Q ( S ) = ( μ ( S ) a ) 2 μ ( S ) ( S i n S ) , for λ ( a ) S S i n
From (28), it is deduced that the absolute maximum of P corresponds to the absolute maximum of Q and vice versa. To obtain the maximum value of Q ( S ) , we differentiate Q with respect to S, and we solve the equation Q ( S ) = 0 . The derivative of Q is given by
Q ( S ) = ( μ ( S ) a ) ( μ ( S ) + a ) μ ( S ) ( μ ( S ) ) 2 S i n S ( μ ( S ) a ) 2 μ ( S ) .
Hence, Q ( S ) = 0 if and only if S i n = ρ ( S ) , where ρ ( S ) is defined by
ρ ( S ) = S + ( μ ( S ) a ) μ ( S ) ( μ ( S ) + a ) μ ( S ) , for S λ ( a ) .
More precisely, we have the following result.
Proposition 4.
Let S * be the maximum of p on ( λ ( a ) , S i n ) . Then D * = μ ( S * ) a α . We have D * p ( S i n ) . Moreover, we have S i n = ρ ( S * ) , where ρ is defined by (30).
Proof. 
The proof is given in Appendix A.4.2. □
Remark 9.
With the first method we must first solve the equation μ ( S ) = D to obtain λ ( D ) , and then solve the equation π ( D ) = S i n to obtain the optimal D * p ( S i n ) . With the second method, we simply solve the equation ρ ( S ) = S i n to get the maximum S * and then take D * = μ ( S * ) a α p ( S i n ) .

3.1.7. Uniqueness of the Maximum

Hypothesis 1 is not enough to guarantee that the biomass productivity admits a unique global maximum; see Appendix A.5.5. We make the following hypothesis.
Hypothesis 5.
For all S i n > 0 , p ( S i n ) , defined by (24), has a unique element, which is denoted by D P * ( S i n ) .
From Proposition 3, we obtain the answer to Problem 2: Assume that Hypotheses 1 and 5 hold. Then, the set of best operating conditions for the productivity of (2) is the curve Π of SOP defined by:
Π = ( D , S i n ) : S i n = π ( D ) = ( D , S i n ) : D = D P * ( S i n ) .
From (27), we deduce that if a > 0 , then D G * ( S i n ) < D P * ( S i n ) ; see Figure 4.
From Propositions 3 and 4, it is deduced that the uniqueness of D P * ( S i n ) is guaranteed when the equations
S i n = π ( D ) or S i n = ρ ( S )
have a unique solution. A sufficient condition for this is that the functions π ( D ) and ρ ( S ) are increasing. The following result gives sufficient conditions for Hypothesis 5 to be valid.
Lemma 2.
Assume that Hypothesis 1 is satisfied and, in addition, μ is C 2 . The following conditions are equivalent
1. 
π > 0 on 0 , μ ( S m ) a α .
2. 
( μ a ) ( μ + a ) μ + 2 a μ < 2 μ 2 on ( λ ( a ) , S m ) .
3. 
ρ > 0 on ( λ ( a ) , S m ) .
If these equivalent conditions are satisfied, then Hypothesis 5 is satisfied. If μ < 0 on ( λ ( a ) , S m ) or 1 μ a > 0 on ( λ ( a ) , S m ) , then the conditions are satisfied.
Proof. 
The proof is given in Appendix A.4.3. □

3.1.8. The Case without Mortality

The functions γ , H, and η , defined by (17), (20), and (21), respectively, that were used for the optimization of the biogas flow rate G are summarized in Table 3. Note that the functions G and H are related by formula (19). Similarly, the functions π , Q, and ρ , defined by (25), (29) and (30), respectively, which were used for the optimization of the productivity P, are summarized in Table 3. Note that the functions P and Q are related by formula (28).
Table 3 shows that in the case without mortality, one has G = α P , γ = π , H = Q , and η = ρ . Hence, if a = 0 , we have D G * ( S i n ) = D P * ( S i n ) . In the following, this value is referred to as D * ( S i n ) . Therefore, for the optimization of the biogas flow rate or the productivity of the biomass, a first method consists in solving the equation
λ ( α D ) + α D λ ( α D ) = S i n .
to obtain the optimal value of the dilution rate D * ( S i n ) . The second method consists in solving the equation
η ( S ) = S i n , where η ( S ) : = S + μ ( S ) μ ( S )
to get the maximum S * ( S i n ) and then take D * ( S i n ) = 1 α μ S * ( S i n ) . Hence, without loss of generality, one can put α = 1 and solve Equation (32) or equation
γ ( D ) = S i n , where γ ( D ) : = λ ( D ) + D λ ( D ) .
The results of Lemmas 1 and 2 become the same in the case that a = 0 . We summarize them below, in this special case.
Lemma 3.
Assume that Hypothesis 1 is satisfied and, in addition μ is C 2 . The following conditions are equivalent
1. 
γ > 0 on 0 , μ ( S m ) , where γ is defined in (33).
2. 
μ μ < 2 μ 2 on 0 , S m .
3. 
1 μ > 0 on 0 , S m .
4. 
η > 0 on 0 , S m , where η is defined in (32).
If these equivalent conditions are satisfied, then each of Equations (32) and (33) has a unique solution; i.e., Hypothesis 4 is satisfied. If μ < 0 on 0 , S m , then the conditions are satisfied.
In Appendix A.5, we apply the preceding results to various growth functions that were considered in the literature.

3.2. Two-Step Models

The steady state and their stability of the two-step model (12) are given in Appendix B.2, and the OD is described in Appendix B.3.

3.2.1. Comparison of Biogas Flow Rates

Recall that E 11 is stable whenever it exists; E 01 can be stable but is unstable whenever E 11 exists, and E 02 and E 12 are unstable whenever they exist. Is it possible that for some operating condition D, S 1 i n , and S 2 i n , the biogas production at an unstable steady state is greater than at a stable one? This possibility is excluded, as is stated in the following result.
Proposition 5.
 
  • For all operating conditions D and S 2 i n where G 02 is defined, then G 01 is also defined, and G 01 D , S 2 i n > G 02 D , S 2 i n .
  • For all operating conditions D, S 1 i n and S 2 i n where G 12 is defined, then G 11 is also defined, and G 11 D , S 1 i n , S 2 i n > G 12 D , S 1 i n , S 2 i n .
  • For all operating conditions D, S 1 i n and S 2 i n where G 01 and G 11 are both defined, we have G 11 D , S 1 i n , S 2 i n > G 01 D , S 2 i n .
Proof. 
The proof is given in Appendix B.5.1. □
This result shows that G 01 > G 02 and G 11 > G 12 , which justifies Remark 3. Therefore, in Problem 3, we can restrict our attention to the maximisation of G 01 and G 11 . The result also shows that when E 11 and E 01 are both defined, then we have G 11 > G 01 . Table A6 shows that both E 11 and E 01 exist simultaneously only in regions I 6 , I 7 , and I 8 , and that in this case E 11 is stable while E 01 is unstable. However, it is possible for one to be defined without the other being defined, as shown in Table A6. Indeed, in the regions I 1 and I 2 , E 01 exists and is stable, while E 11 does not exist and in the regions I 4 and I 5 , E 11 exists and is stable, while E 01 does not exist. Therefore, the maximum of G 11 and G 01 can be obtained for different values of the dilution rate D, and the last part of Problem 3 is to fix S 1 i n and S 2 i n and compare
max D G 01 ( D , S 2 i n ) and max D G 11 ( D , S 1 i n , S 2 i n ) .

3.2.2. Best Operating Conditions for G 01 and G 11

Let us fix the operating parameters S 1 i n and S 2 i n . We restrict our attention to the case a 1 = a 2 = 0 and α 1 = α 2 = α , which was considered in [11]. The general case can be considered without added difficulty. Our aim is to compute the values of D for which the functions
D G 01 D , S 2 i n and D G 11 D , S 1 i n , S 2 i n
reach their maxima. These functions are proportional to the functions
G 0 D = D S 2 i n λ 2 ( α D )
G 1 D = D S 2 i n + k 2 k 1 S 1 i n λ 2 ( α D ) k 2 k 1 λ 1 ( α D )
respectively, where λ 1 and λ 2 are defined in Table 1. Therefore, G 01 has an absolute maximum if G 0 has one, and this maximum is reached at the same point where G 0 reaches its maximum. Similarly, G 11 has an absolute maximum if G 1 has one, and this maximum is reached at the same point where G 1 reaches its maximum. To obtain the maximum of G 0 , we differentiate G 0 with respect to D. The derivative is given by
G 0 ( D ) = S 2 i n γ 2 ( α D )
where γ 2 is defined by
γ 2 ( D ) = λ 2 ( D ) + D λ 2 ( D ) .
Similarly, the derivative of G 1 is given by
G 1 ( D ) = S 2 i n γ 2 ( α D ) + k 2 k 1 S 1 i n γ 1 ( α D )
where γ 1 is defined by
γ 1 ( D ) = λ 1 ( D ) + D λ 1 ( D ) .
Remark 10.
Using λ 1 ( D ) = 1 / μ 1 ( λ 1 ( D ) ) and λ 2 ( D ) = 1 / μ 2 ( λ 2 ( D ) ) , the functions γ 2 and γ 1 can be written
γ 2 ( D ) = λ 2 ( D ) + D μ 2 ( λ 2 ( D ) ) , γ 1 ( D ) = λ 1 ( D ) + D μ 1 ( λ 1 ( D ) ) .
We make the following assumptions:
Hypothesis 6.
The function γ 2 : I 2 ( 0 + ) , defined on I 2 = ( 0 , μ 2 ( S 2 m ) ) by (36), is C 1 , and for all D I 2 we have γ 2 ( D ) > 0 .
Hypothesis 7.
The function μ 1 : I 1 ( 0 + ) , defined on I 1 = ( 0 , m 1 ) by (37), is C 1 and for all D I 1 we have γ 1 ( D ) > 0 .
If Hypothesis 6 is satisfied, then the function γ 2 is invertible, and for each S 2 i n , the equation
S 2 i n = γ 2 ( α D )
has a unique solution, denoted
D 0 * S 2 i n = 1 α γ 2 1 ( S 2 i n ) ,
where γ 2 1 is the inverse function of γ 2 . On the other hand, if Hypotheses 6 and 7 are satisfied, the function γ 2 + k 2 k 1 γ 1 is C 1 and increasing, since it is the sum of two increasing functions. Therefore, for each S 1 i n and S 2 i n , the equation
S 2 i n + k 2 k 1 S 1 i n = γ 2 ( α D ) + k 2 k 1 γ 1 ( α D )
has a unique solution, denoted
D 1 * S 1 i n , S 2 i n = 1 α γ 1 S 2 i n + k 2 k 1 S 1 i n ,
where γ 1 is the inverse function of γ : = γ 2 + k 2 k 1 γ 1 .
The following result gives the answer to the first part of Problem 3.
Proposition 6.
Assume that Hypotheses 2, 3, 6, and 7 are satisfied. Then G 01 D , S 2 i n reaches its maximum at D 0 * S 2 i n , defined by (39) and G 11 D , S 2 i n , S 2 i n reaches its maximum at the right-hand end of its defining interval, or at D 1 * S 1 i n , S 2 i n , defined by (41).
Proof. 
The proof is given in Appendix B.5.2. □
The set of best operating conditions for biogas production at E 01 is the surface Γ 0 of SOP, defined by:
Γ 0 = ( D , S 1 i n , S 2 i n ) : S 2 i n = γ 2 ( α D ) = ( D , S 1 i n , S 2 i n ) : D = D 0 * S 2 i n
It is the set of operating conditions that produce the maximum of G 01 . The set of best operating conditions for biogas production at E 11 is the surface Γ 1 of SOP, defined by:
Γ 1 = ( D , S 1 i n , S 2 i n ) : S 2 i n + k 2 k 1 S 1 i n = γ ( α D ) = ( D , S 1 i n , S 2 i n ) : D = D 1 * S 1 i n , S 2 i n
This is the set of operating conditions which produce the maximum of G 11 .
We plot the sets Γ 0 and Γ 1 in the 2-dimensional ODs in the ( D , S 1 i n ) -plane shown in Figure 5. Since S 2 i n is fixed, the set Γ 0 , in blue in the figures, is the vertical line D = D 0 * ( S 2 i n ) , while Γ 1 , in red in the figures, is the curve of equation S 1 i n = k 1 k 2 γ ( α D ) S 2 i n . Let S 1 i n and S 2 i n be fixed. Consider the OD for which S 2 i n is equal to the fixed value considered and look for the intersections of Γ 0 and Γ 1 with the horizontal line where S 1 i n is kept constant at the fixed value considered. The abscissas of these intersections are the optimal dilution rates D 0 * S 2 i n and D 1 * S 2 i n defined by (39) and (41), respectively.
Remark 11.
As for the one-step model with a Haldane type growth function, shown in Figure 1b, there exists a threshold value S 1 c corresponding to the intersection point ( D c , S 1 c ) of curves Γ 1 and Λ 5 , such that, if S 1 i n > S 1 c , then the best operating point lies in the bistability pink region; see Figure 6a. The value D = D c is the solution of equation
λ ¯ 2 ( α D ) = λ 2 ( α D ) + α D λ 2 ( α D ) + k 2 k 1 α D λ 1 ( α D ) ,
which gives the abscissa of the point of intersection of Γ 1 and Λ 5 , and S 1 c is given by
S 1 c = λ 1 ( α D c ) + k 1 k 2 λ ¯ 2 ( α D c ) S 2 i n .

3.2.3. The Maximum of G 01 Can Be Larger than the Maximum of G 11

In addition to the threshold S 1 c , Figure 5 and Figure 6 show two other thresholds obtained by considering the intersection of the Γ 0 and Γ 1 curves with the Λ 1 curve. We depict in Figure 6 a typical situation and show in a zoom the points of intersection. Let P 0 = ( D 0 , S 1 0 ) be the point of intersection of Γ 0 with Λ 1 ; see Figure 6b. If S 1 i n = S 1 0 , then the productivity G 11 is defined for 0 D D 0 and reaches its maximum for some D 1 * ( S 1 0 , S 2 i n ) < D 0 . Moreover, we have
max D G 01 ( D , S 2 i n ) = G 01 ( D 0 , S 2 i n ) = G 11 ( D 0 , S 1 0 , S 2 i n ) .
Therefore, see Figure 6c, we have
max D G 11 ( D , S 1 0 , S 2 i n ) > max D G 01 ( D , S 2 i n ) .
Since the function S 1 i n G 11 ( D , S 1 i n , S 2 i n ) is increasing, the same result is true for any S 1 i n > S 1 0 . Note that S 1 0 depends on S 2 i n and is a solution of the set of equations
S 1 i n = λ 1 ( α D ) , S 2 i n = γ 2 ( α D )
which give the point of intersection of Λ 1 and Γ 0 . Therefore, ( S 1 0 , S 2 i n ) belongs to the curve
Σ 0 = ( S 1 i n , S 2 i n ) : S 2 i n = γ 2 μ 1 S 1 i n .
Similarly, let P 1 = ( D 1 , S 1 1 ) be the point of intersection of the curves Γ 1 and Λ 1 ; see Figure 6b. If S 1 i n = S 1 1 then the productivity G 11 is defined for 0 D D 1 and reaches its maximum for D = D 1 . Since D 1 < D 0 , we have (see Figure 6c),
G 11 ( D 1 , S 1 1 , S 2 i n ) = G 01 ( D 1 , S 2 i n ) < G 01 ( D 0 , S 2 i n ) .
Therefore,
max D G 11 ( D , S 1 1 , S 2 i n ) < max D G 01 ( D , S 2 i n ) .
The same result is true for any S 1 i n < S 1 1 , because the function S 1 i n G 11 ( D , S 1 i n , S 2 i n ) is increasing. Note that S 1 1 depends on S 2 i n and is a solution to the set of equations
S 1 i n = λ 1 ( α D ) , S 2 i n + k 2 k 1 S 1 i n = γ 2 ( α D ) + k 2 k 1 γ 1 ( α D ) ,
which give the point of intersection of Λ 1 and Γ 1 . Therefore ( S 1 1 , S 2 i n ) belongs to the curve
Σ 1 = ( S 1 i n , S 2 i n ) : S 2 i n = σ 1 ( S 1 i n ) , where σ 1 ( S 1 i n ) = γ 2 μ 1 S 1 i n + k 2 k 1 μ 1 S 1 i n μ 1 S 1 i n .
The curves Σ 0 and Σ 1 are illustrated in Figure 7b. We have the following result.
Proposition 7.
Let Σ 0 and Σ 1 be the curves of the ( S 1 i n , S 2 i n ) plane defined by (45) and (46), respectively. If ( S 1 i n , S 2 i n ) is at the right of Σ 0 , then we have
max D G 11 ( D , S 1 1 , S 2 i n ) > max D G 01 ( D , S 2 i n ) .
If the function μ 1 / μ 1 is increasing and ( S 1 i n , S 2 i n ) is at the left of Σ 1 , then we have
max D G 11 ( D , S 1 1 , S 2 i n ) < max D G 01 ( D , S 2 i n ) .
Proof. 
The proof is given is Appendix B.5.3. □
Now, we give the curve Σ lying between the Σ 0 and Σ 1 curves, such that the maximum of biogas flow rate is obtained for E 01 at the left of Σ and for E 11 at the right of Σ ; see Figure 7a. We need the following hypothesis.
Hypothesis 8.
We assume that the function ϕ defined by ϕ ( D ) = D 2 λ 2 ( D ) is increasing.
Therefore, ϕ has an inverse function ϕ 1 defined by D = ϕ 1 ( B ) if and only if D is the solution to equation ϕ ( D ) = B . Consider the curve Σ defined by the parametric equations
S 2 i n = γ 2 ( Δ ( D ) ) , S 1 i n = γ 1 ( α D ) + k 1 k 2 γ 2 ( α D ) γ 2 ( Δ ( D ) )
where Δ ( D ) is defined by
Δ ( D ) : = ϕ 1 α 2 D 2 λ 2 ( α D ) + k 2 k 1 λ 1 ( α D ) .
The following result gives the answer to the second part of Problem 3.
Proposition 8.
Assume that Hypothesis 8 is satisfied and, in addition, the curve C defined by the parametric Equation (47) is the graph of an increasing function S 2 i n S 1 i n . Then it is the subset of the ( S 1 i n , S 2 i n ) plane, where
max D G 01 ( D , S 2 i n ) = max D G 11 ( D , S 1 i n , S 2 i n ) .
To the left of C , we have max D G 01 > max D G 11 and to its right, we have max D G 01 < max D G 11 .
Proof. 
The proof is given in Appendix B.5.4. □
Remark 12.
By combining the result of Remark 11 with that of Proposition 8, we deduce that the curve Σ and the straight line C defined by
C : = ( S 1 i n , S 2 i n ) : S 2 i n + k 2 k 1 S 1 i n < γ 2 ( α D c ) + k 2 k 1 γ 1 ( α D c ) ,
where D = D c is the solution of Equation (44), divide the plane ( S 1 i n , S 2 i n ) into three regions:
R 0 : = ( S 1 i n , S 2 i n )   l i e s   t o   t h e   l e f t   o f   Σ R 1 : = ( S 1 i n , S 2 i n )   l i e s   t o   t h e   r i g h t   o f   Σ   a n d   t o   t h e   l e f t   o f   C R 2 : = ( S 1 i n , S 2 i n )   l i e s   t o   t h e   r i g h t   o f   Σ   a n d   C .
In the region R 0 , we have max D G 10 > max D G 11 . In the region R 1 , we have max D G 10 < max D G 11 , and the optimal dilution rate corresponds to the global asymptotic stability of E 11 . In the region R 2 , we also have max D G 10 < max D G 11 , but the optimal dilution rate corresponds to the bistability of E 11 and E 10 .
Since the steady state E 10 does not produce biogas, if the bioreactor is operated in the R 2 region, care should be taken to initialise it in the basin of attraction of E 11 and not in the basin of E 10 . The regions are illustrated in Figure 8a, obtained with the parameter values given in Table A8. Let us illustrate the behaviour of G 01 ( D , S 2 i n ) and G 11 ( D , S 1 i n , S 2 i n ) , as functions of D, for the operating points o k R k , k = 0 , 1 , 2 , shown in Figure 8a. Figure 8b shows the OD in the ( D , S 1 i n ) plane and S 2 i n = 15 . The horizontal lines S 1 i n = 1.5 , 10, and 50, corresponding to the points o 0 = ( 1.5 , 15 ) , o 1 = ( 10 , 15 ) , and o 2 = ( 50 , 15 ) , respectively, give the optimal dilution rates. For o 0 , the maximum of the biogas flow is obtained for E 01 ; see Figure 8c. For o 1 , the maximum of the biogas flow is obtained for E 11 , and E 11 is GAS; see Figure 8d. For o 2 , the maximum of the biogas flow is obtained for E 11 , but E 11 is only LAS; see Figure 8e.

3.2.4. Applications to the Classical AM2 Model

The dynamical equations of the model are
S ˙ 1 = D S 1 i n S 1 k 1 μ 1 S 1 X 1 , X ˙ 1 = μ 1 S 1 α D X 1 , S ˙ 2 = D S 2 i n S 2 + k 2 μ 1 S 1 X 1 k 3 μ 2 S 2 X 2 , X ˙ 2 = μ 2 S 2 α D X 2 ,
where the kinetics μ 1 and μ 2 are given by
μ 1 S 1 = m 1 S 1 K 1 + S 1 , μ 2 S 2 = m 2 S 2 K 2 + S 2 + S 2 2 / K i ,
For the Monod and Haldane functions, Hypotheses 2 and 3 are satisfied and the break-even concentrations can be calculated explicitly. For the convenience of the reader we summarize in Table 4 the expressions of the break even concentrations and the auxiliary functions that are needed in the description of the results. The OD in the three dimensional SOP, corresponding to the biological value parameters given in Table A8 is shown in Figure A6 of the Appendix. The two-dimensional diagrams in the ( D , S 1 i n ) plane, where S 2 i n is kept constant, are depicted in Figure A7. The two-dimensional diagrams in the ( S 1 i n , S 2 i n ) plane, where D is kept constant, are depicted in Figure A8.
Since μ 1 < 0 and μ 2 < 0 on ( 0 , S 2 m ) , from Lemma 3 we deduce that γ 1 > 0 and γ 2 > 0 . Therefore Hypotheses 6 and 7 are satisfied. From Proposition 6, we deduce that the curves Γ 0 and Γ 1 , defined by (42) and (43) are the sets of best operating conditions for G 01 and G 11 , respectively. These sets are shown in Figure 5, for some of the ODs depicted in Figure A7.
On the other hand, since λ 2 > 0 , we deduce that ϕ > 0 , where ϕ ( D ) = D 2 λ 2 ( D ) . Hence Hypothesis 8 is satisfied. The inverse function of ϕ can be computed explicitly. We have
ϕ 1 ( B ) = m 2 ( m 2 K i + 2 B ) B K 2 K i ( m 2 K i + B ) ( m 2 K i + B ) K i B K 2 m 2 2 K i 2 + ( 4 K 2 K i ) ( m 2 K i + B ) B
Note that the function μ 1 / μ 1 is increasing. Therefore, the result of Proposition 7 is true. Straightforward computation shows that the curve Σ is increasing. Hence, the result of Proposition 8 is true. The curve Σ of the ( S 1 i n , S 2 i n ) -plane,
max D G 01 ( D , S 2 i n ) = max D G 11 ( D , S 1 i n , S 2 i n ) ,
and the curves Σ 0 and Σ 1 are shown in Figure 7. Finally the regions R 0 , R 1 , and R 2 and the behaviour of the biogas flow rates D G 01 ( D , S 2 i n ) and D G 11 ( D , S 1 i n , S 2 i n ) are depicted in Figure 8 for three operating points o j R j , j = 0 , 1 , 2 .

3.3. Relationship with Previous Results

The OD of the one-step model is well known in the existing literature [22,36]. In these references, the dilution rate is shown on the vertical axis, and the input substrate concentration is shown on the horizontal axis. In this paper, we have reversed the axes, because, as we then consider the biogas flow rate, or productivity, as a function of the dilution rate, it is interesting to have the dilution rate on the horizontal axis in all graphs.
In practical applications, when maximising biogas or biomass production, the substrate concentration S i n is given and the optimal dilution rate D * ( S i n ) , depending on S i n , that maximises biogas or biomass production must be determined. For the Monod function, the formula giving the optimal dilution appears in several reference books; see for example Formula (13.70) in [12] or Formula (6.83) in [19]. For the Monod and Haldane functions, it appears in [20,21] and were used for the optimization of bioreactors by extremum seeking. The approach used here is to try to directly exploit the equation of which the optimal D is a solution and to represent its solutions in the OD. To the best of our knowledge, the set of best operating conditions for biogas or bimass production have only recently been drawn in the OD [51,52,53]. In these papers the main problem is to consider the optimisation of biogas flow rate or biomass productivity in the serial chemostat and to compare the performances of the serial chemostat with a single chemostat of the same total volume.
In the case without biomass mortality, the mathematical analysis of the two-step model was given in [15], in the case α = 1 , and in [26] in the case α 1 . The OD was given in [42]. Here we have extended these results to the case including mortality. The maximization of biogas flow for this model has been well studied in [11]. For example, the curves Σ 0 and Σ 1 were described( see Figure 4 in [11]), where the curves are called C 2 and C 3 , respectively. The existence of the curve Σ was predicted; see Remark 7 in [11]. However, neither its analytical equation nor its numerical representation was given in [11]. Note that the curves Σ 0 and Σ 1 have vertical asymptotes; see Figure 7. We deduce that the curve Σ also has one. Therefore, the region R 0 is not wide. That is to say, for an S 2 i n as large as one wants, it is enough that S 1 i n exceeds a certain threshold, corresponding to the vertical asymptote, for the system to be in the R 1 or R 2 region.
The representation of the set of optimal operating conditions in the OD, as well as its use to deduce the various properties of biogas production, is not found in the existing literature. In particular, the identification of the threshold at which the system will operate in a bistability regime is new and answers practical questions of great interest for bioreactors and their management. These questions are related to the so-called stability criteria named “overloading tolerance” or “destabilization risk index” [26,56]. This index alerts the experimenter as soon as the system approaches a regime of bistability. Bistability in the model occurs when the unstable steady states E 02 or E 12 exist. For example, although the steady state E 12 is unstable, if it exists, its existence completely changes the functioning of the system. Indeed, in this case, the steady state E 10 , of washout of the methanogenic bacteria (without biogas production), becomes stable, and the positive steady state E 11 loses its global stability. This important issue is not addressed in [11], where the authors do not consider the steady states E 02 and E 12 . They justify their disregard by the fact that these steady states are unstable, that their biogas flow rate is lower than the biogas flow rate of the associated steady states E 01 and E 11 , and also because according to them their conditions of existence are the same as those of the steady states E 01 and E 11 ; see Section 3 in [11]. The first two reasons are of course correct, but the third is not. Indeed, E 11 can exist without E 12 existing. On the other hand, when E 12 exists, E 11 must also exist, and we have the phenomenon of bistability of E 10 and E 11 . In this paper, we considered all steady states, which allowed us to highlight the important region of bistability (coloured in pink in the figures) and thus to provide a valuable tool for the experimenter to avoid monitoring the system in this region, or at least to be very careful if he should do so.

4. Discussion

In this paper, we have determined the set of operating parameters that optimise the biogas flow in simple AD models. We have represented these sets in the OD of the model. This representation allowed us to obtain a simple graphic visualisation of the optimal operating conditions. It also allows direct discovery of the properties of these optimal conditions.
To illustrate the simplicity with which the properties appear in the OD, let us consider the case with inhibition by the substrate when its concentration is high (Haldane function). It is well known that when the inflowing substrate concentration of the bioreactor is high, the system presents bistability, with a risk of convergence towards the washout steady state. It is natural then to ask whether operating conditions that maximise the biogas flow can lead to this bistability situation. This phenomenon was already observed, using the OD, in a more complex system [35]. The main result of this paper is to address this problem and to give a complete answer in one-step and two-steps models. Although we have an explicit formula for the optimal dilution rate as a function of the substrate input concentration, this formula does not allow us to easily determine whether or not the system is in the instability zone. On the other hand, drawing the set of optimal conditions in the OD immediately shows that this set enters the bistability zone and allows to find the critical threshold of the substrate input concentration at which the system will operate in the instability zone; see the threshold S c in Figure 1b. This shows the value of the OD in understanding the model.
The contribution of the OD to the understanding of the system’s behaviour is even more spectacular in the case of the AM2 model. In this case, there are three operating parameters, and the OD must be represented in the plane formed by two of them by fixing the third. The role of this third parameter is described by a series of diagrams. The sets of optimal operating conditions are surfaces in the space of the three operating parameters, whose traces in the two dimensional ODs are curves. It is immediately apparent whether these curves fall within the areas where the system behaviour may be at risk and the thresholds can be easily found. Three regions can then be determined in the plane of the concentrations of the two input substrates. In one of the regions, the maximum biogas flow rate of the steady state where both acidogenic and methanogenic bacteria are present is reached for a value of the dilution ratio for which the acidogenic bacteria are washed out. In a second region, the maximum is reached for a value of the dilution rate for which the positive steady state is GAS. In a third region, the maximum is reached for a value of the dilution rate for which the system presents à bistability behaviour; see Figure 8. These regions have not been identified in the existing literature.
Some figures in this paper (see Figure 1, Figure 2, Figure 3 and Figure 4, Figure 6, Figure A4 and Figure A5) are made without graduations on the axes because they represent generic situations where the growth functions verify our general hypothesis and the biological parameters are not specified. However, in practice, to construct an OD, one fixes the growth functions and biological parameters and then draws the curves separating the regions of the OD. Indeed, the OD is a tool for the experimenter who knows the biological parameter values of the model he is considering, and then plots its OD. We do that in Appendix A.5 for some classical growth functions; see Figure A1, Figure A2 and Figure A3. See also Figure 5, Figure 7 and Figure 8 in Section 3.2, for the AM2 model, whose biological parameters are given in Table A8. See also Figure A6, Figure A7 and Figure A8 in the Appendix B.
Another result obtained with the help of the OD of a two-step model is worth mentioning here. It was shown in [42,57] that under certain circumstances, increasing the dilution rate can globally stabilize two-step biological systems. This kind of surprising and unexpected result was obtained also for a two-step model where the first reaction has a Contois kinetics instead of a Monod one [58]. These studies have shown how unexpected properties can be discovered and studied by analysing the OD of the model. Our findings in this paper are a further illustration of the relevance of the OD in the study of one-step and two-step models.
The two-step models of the form (12) present a commensalistic relationship between microorganisms. For definitions and complementary information on commensalism, the reader may consult [59]. Methanogenic bacteria use for their growth the product of the acidogenic bacteria, but acidogenic bacteria are not affected by the growth of the methanogenic bacteria. More complex models are those studied in [38,39,40,43], which present a syntrophic relationship between the micro organisms: the first population is affected by the growth of the second population. For more details and information on commensalism and syntrophy, the reader is referred to [40,43,59,60,61,62,63,64] and the references therein. The ODs of some of these models are well understood; see [38,39,40,43]. Studying the biogas or biomass production for these more complex and more realistic models of AD is a challenging question. It is the subject for future research directions. The determination of the OD and the optimal productivity of synthetic microbial communities considered in [65] is also an interesting question that deserves further attention.

5. Conclusions

In this work, we considered one-step and two-step simple models of AD which are able to adequately capture the main dynamical behaviour of the full ADM1 and have the advantage that a complete analysis for the existence and local stability of their steady states is available. These models have been validated on real data. We considered that the biological parameters of the models have been calibrated on the data. Therefore, the OD of the model can be constructed, and the results can be illustrated in the OD. The best operating conditions for biogas production or biomass production are obtained as subsets of the OD.
For a one-step model, the set Γ of best operating conditions for biogas production is described as a curve of equation S i n = γ ( D ) ; see Figure 2 for the Monod case and Figure 3 for the Haldane case. These curves permit the optimal dilution D G * ( S i n ) for which the biogas production is maximal to be obtained graphically and easily. The explicit expression for D G * ( S i n ) is not always available, and even when it is known, see Appendix A.5. On the other hand, the graphical visualisation of D G * ( S i n ) in the OD allows us to predict the behaviour of the system when it is operated at this optimal dilution rate, as illustrated in Figure 2 and Figure 3 and Figure A1, Figure A2 and Figure A3.
When there are no maintenance terms included in the model, it is known that biogas production and biomass production are given by the same expressions. Therefore, the maximum of these quantities is obtained for the same operating conditions. However, when maintenance is included in the model, the subsets of best operating conditions for biogas production and biomass production are not the same; see Figure 4.
For a two-step model, we obtain two subsets, Γ 0 and Γ 1 , of maximal biogas production, corresponding to the steady states E 01 and E 11 , respectively; see Figure 5. The steady state E 01 corresponds to the washout of the first biomass, while E 11 corresponds to the persistence of the two populations. For certain operating conditions, the biogas production of E 01 can be higher than that of E 11 . We have determined the set of values for the input substrate concentrations for which this occurs; see Figure 7. We have identified two other subsets of operating conditions in which the system behaves in different ways; see Figure 8. In one set the optimal dilution rate corresponds to an operating regime where the system is functioning at a GAS steady state, while, in the second, there is bistability. It may be in the experimenter’s interest to run the system with operating parameters that give rise to bistability, since the biogas flow rate is then greater. However, they must be careful to initialise it in the basin of attraction of the steady state E 11 , because otherwise it may converge towards the steady state E 10 , which does not produce biogas.
Our findings illustrate how the OD is a useful tool for the understanding of the behaviour of one-step and two-step models. The OD can be constructed once the biological parameters of the model are fixed. It can also be constructed qualitatively, without specifying the values of the biological parameters. It is therefore a powerful tool for the mathematical analysis of a model when the growth functions are not specified. It is also a tool that allows us to answer important and natural questions that we might not have asked ourselves without this tool. Therefore, the OD allows new interesting questions to be asked and answered about the model. When studying any problem concerning the chemostat, it is useful to represent the results obtained in the OD. This gives a very clear overview of the system and its operating modes. In this paper, we have illustrated the effectiveness of this approach in the study of the maximisation of the biogas flow rate and the productivity of the biomass.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Data sharing is not applicable to this article as no datasets were generated or analysed during the current study.

Acknowledgments

The author is grateful to Radhouane Fekih-Salem and Jérôme Harmand for insightful comments on this work. The author is also grateful to two anonymous reviewers for comments that greatly improved this manuscript. The author thanks the UNESCO ICIREWARD project ANUMAB and the Euro-Mediterranean research network Treasure (http://www.inrae.fr/treasure) (accessed on 20 January 2022).

Conflicts of Interest

The author declares no conflict of interest.

Abbreviations

The following abbreviations are used in this manuscript:
ADAnaerobic Digestion
ADM1The IWA Anaerobic Digestion Model No 1, see [2]
AM2Anaerobic Digestion Model of [25]
CSTRContinuous Stirred Tank Reactor or Bioreactor, or Chemostat
GASGlobally Asymptotically Stable
HRTHydraulic Retention Time
LASLocally Asymptotically Stable
MBRMembrane Bioreactor
ODOperating Diagram
SOPSet of Operating Parameters
SRTSolid Retention Time
UUnstable
VFAVolatile Fatty Acids

Appendix A. One-Step Model

Appendix A.1. Model Reduction

We consider the chemostat model (2). It is usual in mathematical theory [22,24] to make the change of variable x = k X , which transforms (2) into
S ˙ = D S i n S μ S x x ˙ = μ S D 1 x
Therefore, the stoichiometric coefficient k can be reduced to 1 in (2).

Appendix A.2. The Operating Diagram of the One-Step Model

In order to construct the OD of (2), one needs to determine and compute the boundaries of the regions of the diagram, i.e., to compute the parameter values at which a qualitative change in the dynamic behaviour of (2) occurs. For (2), these boundaries are the curves
Λ = D , S i n : S i n = λ ( α D + a ) , Λ 2 = D , S i n : S i n = λ ¯ ( α D + a ) , Λ 1 = D , S i n : α D + a = μ ( S m ) and S i n S m
These curves separate the Set of Operating Parameters (SOP)
SOP = ( D , S i n ) : D 0   and   S i n 0 ,
in three regions, denoted J 0 , J 1 , and J 2 , corresponding to different behaviours of (2), as depicted in Table A1.
Table A1. Existence and stability of steady states of (2) in the three regions of the operating space. The last column shows the color in which the region is depicted in the OD shown in Figure 1, Figure 2, Figure 3 and Figure 4 and Figure A1, Figure A2 and Figure A3.
Table A1. Existence and stability of steady states of (2) in the three regions of the operating space. The last column shows the color in which the region is depicted in the OD shown in Figure 1, Figure 2, Figure 3 and Figure 4 and Figure A1, Figure A2 and Figure A3.
Region F 0 F 1 F 2 Color
J 0 = D , S i n : S i n λ ( α D + a ) GAS Yellow
J 1 = D , S i n : λ ( α D + a ) < S i n λ ¯ ( α D + a ) UGAS Green
J 2 = D , S i n : S i n > λ ¯ ( α D + a ) LASLASUPink
GAS, LAS, and U mean that the steady state is Globally Asymptotically Stable, Locally Asymptotically Stable, or Unstable, respectively. No letter means that the steady state does not exist in the region. Note that
Λ Λ 2 = D , S i n : D = μ ( S i n ) a α .
We plot in Figure 1 the curves Λ , Λ 1 , and Λ 2 in SOP and the regions delimited by these curves. This figure, together with Table A1, is the OD of (2). This diagram is well known in the literature [22,36]. When S m = + , then only Λ exists ( Λ 1 = Λ 2 = ). In this case, the OD contains only the regions J 0 and J 1 . The main difference between Figure 1a, obtained for the Monod case ( S m = + ), and Figure 1b, obtained for the Haldane case ( S m < + ), is the appearance of the region of bistability J 2 . In this region, both steady states F 0 and F 1 are LAS and the asymptotic behaviour of a solution depends on its initial condition. If the initial condition belongs to the basin of attraction of F 0 , then the species X is washed out from the chemostat. If the initial condition belongs to the basin of attraction of F 1 , then, when t + , the concentration X ( t ) of the species tends to X * = D k D 1 S i n λ ( D 1 ) . The green region J 1 is the “target” operating regions, as it corresponds to the global stability of the steady state, where the species survive. The pink region J 2 corresponds to the bistability of F 0 (no biogas production) and F 1 (with biogas production). If the chemostat is operated in the region J 2 , then, for a good operation of the system, its state at start up should correspond to the convergence toward F 1 rather than F 0 .

Appendix A.3. Maximization of Biogas Production

Appendix A.3.1. Proof of Proposition 1

The function G defined by (14) is C 1 on the interior of I ( S i n ) and its derivative is given by
G ( D ) = S i n γ ( D ) ,
where γ is defined by (17). Therefore, if g ( S i n ) is in the interior of I ( S i n ) , by Fermat’s theorem, any point D * g ( S i n ) is a critical point of G; i.e., G ( D * ) = 0 , which is equivalent to S i n = γ ( D * ) . The proof of the proposition is complete if we prove that the set g ( S i n ) is in the interior of I ( S i n ) . If S i n < S m , then G is defined for 0 D δ , where δ = μ ( S i n ) a α , is positive if 0 < D < δ and satisfies G ( 0 ) = 0 and
G ( δ ) = δ ( S i n λ ( α δ + a ) ) = δ ( S i n λ ( μ ( S i n ) ) ) = δ ( S i n S i n ) = 0 .
Therefore, the maximum cannot be attained in 0 or δ . Similarly if S m < + and S i n S m , then G is defined for 0 D δ , where δ = μ ( S m ) a α , is positive if 0 < D < δ and satisfies G ( 0 ) = 0 and
G ( δ ) = δ ( S i n λ ( α δ + a ) ) = δ ( S i n λ ( μ ( S m ) ) ) = δ ( S i n S m ) 0 .
Moreover, if S i n > S m , we have
lim D μ S m λ ( D ) = + .
Hence,
lim D δ G ( D ) = .
Therefore, the maximum cannot be attained in 0 or δ and g ( S i n ) is in the interior of I ( S i n ) .

Appendix A.3.2. Proof of Proposition 2

Since H ( λ ( a ) ) = H ( S i n ) = 0 and H ( S ) > 0 for λ ( a ) < S < S i n , the maximum of H is attained at a point S * ( λ ( a ) , S i n ) . By Fermat’s theorem, S * is a critical point of H; i.e., H ( S * ) = 0 . We have
G ( D ) = H ( λ ( α D + a ) ) λ ( α D + a ) .
Hence, H has a maximum at S * if and only if G has a maximum at D * = μ ( S * ) a α . The derivative of H is given by
H ( S ) = μ ( S ) ( S i n S ) μ ( S ) + a .
Hence, H ( S ) = 0 if and only if S i n = η ( S ) , where η is defined by (21). From H ( S * ) = 0 , it is deduced that S i n = η ( S * ) .

Appendix A.3.3. Proof of Lemma 1

If μ is C 2 , so is λ and the derivative of γ is given by
γ ( D ) = 2 α λ ( α D + a ) + α 2 D λ ( α D + a ) .
Using μ ( λ ( D ) ) = D , we have
λ ( D ) = 1 μ ( λ ( D ) ) a n d λ ( D ) = μ ( λ ( D ) ) λ ( D ) μ ( λ ( D ) ) 2 .
Hence,
γ ( D ) = α λ ( α D + a ) 2 α D μ ( λ ( α D + a ) ) μ ( λ ( α D + a ) ) 2 .
Since λ > 0 it is deduced that γ ( D ) > 0 if and only if for all D ( 0 , δ ( S m ) ) ,
α D μ ( λ ( α D + a ) ) < 2 μ ( λ ( α D + a ) ) 2 .
Using the change of variable S = λ ( α D + a ) , this condition is equivalent to: for all S ( λ ( a ) , S m ) ,
( μ ( S ) a ) μ ( S ) < 2 μ ( S ) 2 .
Therefore ( 1 ) ( 2 ) . Moreover, we have
1 μ a = μ ( μ a ) 2 , 1 μ a = 2 ( μ ) 2 ( μ a ) μ ( μ a ) 3 .
Hence, ( 1 / ( μ a ) ) > 0 if and only if ( μ a ) μ < 2 ( μ ) 2 . Therefore ( 2 ) ( 3 ) . The derivative of η is given by
η ( S ) = 2 ( μ ( S ) a ) μ ( S ) μ ( S ) 2 .
Therefore ( 2 ) ( 4 ) . If μ < 0 on ( 0 , S m ) , then since μ > 0 on ( λ ( a ) , S m ) , the condition ( μ ( S ) a ) μ ( S ) < μ ( S ) 2 is obviously satisfied.

Appendix A.4. Maximization of Biomass Production

Appendix A.4.1. Proof of Proposition 3

The function P defined by (23) is C 1 on the interior of I ( S i n ) , and its derivative is given by
P ( D ) = D ( α D + 2 a ) ( α D + a ) 2 S i n π ( D ) ,
where π is defined by (25). Therefore, if the set p ( S i n ) is in the interior of I ( S i n ) , by Fermat’s theorem, any point D * p ( S i n ) is a critical point of P; i.e., P ( D * ) = 0 , which is equivalent to S i n = π ( D * ) . The proof that p ( S i n ) is in the interior of I ( S i n ) is the same as the proof that g ( S i n ) is in the interior of I ( S i n ) given in Appendix A.3.1.

Appendix A.4.2. Proof of Proposition 4

Since Q ( λ ( a ) ) = Q ( S i n ) = 0 and Q ( S ) > 0 for λ ( a ) < S < S i n , the maximum of Q is attained at a point S * ( λ ( a ) , S i n ) . By Fermat’s theorem, S * is a critical point of Q, i.e., Q ( S * ) = 0 . We have
P ( D ) = 1 α Q ( λ ( α D + a ) ) λ ( α D + a )
Hence, Q has a maximum at S * if and only if P has a maximum at D * = μ ( S * ) a α . Moreover, Q ( S ) = 0 if and only if S i n = ρ ( S ) , where η is defined by (30). From Q ( S * ) = 0 , it is deduced that S i n = ρ ( S * ) .

Appendix A.4.3. Proof of Lemma 2

If μ is C 2 , so is λ , and the derivative of π is given by
π ( D ) = α α D + a α D + 2 a 2 ( α D + 3 a ) α D + 2 a λ ( α D + a ) + α D λ ( α D + a ) .
Using (A2), we have
π ( D ) = α α D + a α D + 2 a λ ( α D + a ) 2 ( α D + 3 a ) α D + 2 a α D μ ( λ ( α D + a ) ) μ ( λ ( α D + a ) ) 2 .
Since λ > 0 it is deduced that π ( D ) > 0 if and only if for all D ( 0 , δ ( S m ) ) ,
α D α D + 2 a α D + 3 a μ ( λ ( α D + a ) ) < 2 μ ( λ ( α D + a ) ) 2 .
Using the change of variable S = λ ( α D + a ) , this condition is equivalent to the following: for all S λ ( a ) 0 , S m ) ,
( μ ( S ) a ) ( μ ( S ) + a ) μ ( S ) + 2 a μ ( S ) < 2 μ ( S ) 2 .
Therefore, ( 1 ) ( 2 ) . The derivative of ρ is given by
ρ ( S ) = μ ( S ) ( μ ( S ) + a ) 2 ( μ ( S ) ) 2 2 ( μ ( S ) + 2 a ) ( μ ( S ) ) 2 ( μ ( S ) a ) ( μ ( S ) + a ) μ ( S ) .
Therefore ( 2 ) ( 3 ) . If μ < 0 on ( λ ( a ) , S m ) , then, since μ > 0 on ( λ ( a ) , S m ) , the condition ( μ ( S ) a ) μ ( S ) < μ ( S ) 2 is obviously satisfied. Moreover, we have seen in Lemma 1 that if the condition 1 μ a ( S ) > 0 holds, then we have
( μ ( S ) a ) μ ( S ) < 2 ( μ ( S ) ) 2 .
Therefore, we have
( μ ( S ) a ) ( μ ( S ) + a ) μ ( S ) + 2 a μ ( S ) < ( μ ( S ) a ) μ ( S ) < 2 μ ( S ) 2 ,
which is the condition 2 in the lemma.

Appendix A.5. Applications to Some Usual Growth Functions

For simplicity, we restrict our attention to the case where α = 1 and a = 0 . In this case, D * ( S i n ) is obtained by solving Equation (33). One can also solve Equation (32), to get the maximum S * ( S i n ) , and then take
D * ( S i n ) = μ ( S * ( S i n ) ) .

Appendix A.5.1. Monod Growth Rate

This growth function is given by (4). This function satisfies Hypothesis 1 with S m = + . Since μ < 0 , using Lemma 3, we obtain that Hypothesis 4 is satisfied. Straightforward computations show that
λ ( D ) = D K m D , γ ( D ) = D K ( 2 m D ) ( m D ) 2 , η ( S ) = S 2 / K + 2 S .
Hence, S * ( S i n ) , the (unique) solution of equation S i n = η ( S ) , and D * ( S i n ) are given by
S * ( S i n ) = K 2 + K S i n K , D * ( S i n ) = μ ( S * ( S i n ) ) = m 1 K K + S i n .
This formula for D * ( S i n ) is well known in the literature; see for example [12,19,20]. In Figure A1a, we show the OD, together with the set of best operating conditions Γ and the biogas flow rate G ( D , S i n ) , with S i n = 10 , for the Monod growth function (4), with m = 1 and K = 5 . This figure shows how the optimal dilution rate D * ( S i n ) can be graphically determined. Although we have an explicit formula for D * ( S i n ) , this graphical construction can be very useful as it allows the dilution rate that the experimenter should choose to optimise the biogas flow rate to be visualised in the OD.

Appendix A.5.2. Hill Growth Rate

This growth function is given by
μ ( S ) = m S p K p + S p , p 1 .
This function satisfies Hypothesis 1 with S m = + . Moreover, we have
1 μ ( S ) = p ( p + 1 ) K p m S p + 2 .
Hence, ( 1 / μ ) > 0 , and using Lemma 3, we obtain that Hypothesis 4 is satisfied. Notice that for p > 1 , the Hill function (A4) is not concave on ( 0 , + ) . Straightforward computations show that
λ ( D ) = D m D 1 p K , γ ( D ) = D m D 1 / p ( p + 1 ) m p D p ( m D ) K , η ( S ) = K p S p + 1 + ( p + 1 ) S p .
Hence, S * ( S i n ) , the (unique) solution of equation S i n = η ( S ) is the positive solution of equation
K p S p + 1 + ( p + 1 ) S p S i n = 0 .
One has explicit formulas for S * ( S i n ) when p = 1 (the Monod case) and p = 2
S * ( S i n ) = K 2 S i n + K 6 + K 4 ( S i n ) 2 1 / 3 K 2 K 2 S i n + K 6 + K 4 ( S i n ) 2 1 / 3 i f p = 2 .
We can deduce also the explicit expression of D * ( S i n ) , the (unique) solution to equation S i n = γ ( D ) by using (A3). This example illustrates the fact that the second method is much more practicable than the first one, since the direct resolution of equation S i n = γ ( D ) is not easy.
In Figure A1b, we show the OD, together with the set of best operating conditions Γ and the biogas flow rate G ( D , S i n ) , with S i n = 10 , for the Hill growth function (A4), with p = 2 , m = 1 and K = 5 . This figure shows how the optimal dilution rate D * ( S i n ) can be graphically determined. This graphical construction is very useful as it allows the dilution rate that the experimenter should choose to optimise the biogas flow rate to be visualised in the OD. Indeed, the above explicit formula for S * ( S i n ) , and hence for D * ( S i n ) , is not very informative. Moreover, for p > 2 , we do not have an explicit formula for D * ( S i n ) , whereas the graphical construction can be done for any p.
Figure A1. The set of best operating conditions Γ (in Red) shows the optimal dilution rate D * ( S i n ) for three increasing growth functions and S i n = 10 , a = 0 , α = 1 .
Figure A1. The set of best operating conditions Γ (in Red) shows the optimal dilution rate D * ( S i n ) for three increasing growth functions and S i n = 10 , a = 0 , α = 1 .
Processes 10 00258 g0a1

Appendix A.5.3. Desmond–Le Quéméner and Bouchez Growth Rate

This growth function is given by [66]
μ ( S ) = m e k / S .
This function satisfies Hypothesis 1 with S m = + . Moreover, we have
1 μ ( S ) = k m S 3 2 + k S e k / S .
Hence, ( 1 / μ ) > 0 , and using Lemma 3, we obtain that Hypothesis 4 is satisfied. Notice that the function (A5) is not concave on ( 0 , + ) . Straightforward computations show that
λ ( D ) = k ln ( m / D ) , γ ( D ) = k ln ( m / D ) 1 + 1 ln ( m / D ) , η ( S ) = S + S 2 k .
Therefore
S * ( S i n ) = k 2 + 4 k S i n k 2 and D * ( S i n ) = μ S * ( S i n ) = m e k 2 + 4 k S i n + k 2 S i n .
In Figure A1c, we show the OD, together with the set of best operating conditions Γ and the biogas flow rate G ( D , S i n ) , with S i n = 10 , for the growth function (A5), with m = 1 and k = 5 . This figure shows how the optimal dilution rate D * ( S i n ) can be graphically determined. Although we have an explicit formula for D * ( S i n ) , this graphical construction can be very useful as it allows visualising in the OD the dilution rate that the experimenter chooses to optimise the biogas flow rate.

Appendix A.5.4. Haldane Growth Rate

This growth function is given by (5). It satisfies Hypothesis 1, with
S m = K K i and max S 0 μ ( S ) = μ ( S m ) = m 1 + 2 K / K i .
Since μ ( S ) < 0 on ( 0 , S m ) , using Lemma 3, we obtain that Hypothesis 4 is satisfied. We have
λ ( D ) = m D Δ 2 D K i = 2 D m D + Δ K , λ ¯ ( D ) = m D + Δ 2 D K i ,
where Δ = ( m D ) 2 4 D 2 K / K i , defined for 0 D μ ( S m ) . Note that Δ tends toward ( m D ) 2 when K i + . Hence λ ( D ) D K m D and λ ¯ ( D ) + . We find the case of Monod. Straightforward calculations show that
γ ( D ) = 2 D K ( 2 m D + 4 D K / K i ) Δ + ( m D + 4 D K / K i ) Δ , η ( S ) = ( 2 K + S ) K i S K K i S 2 .
The solution of S i n = η ( S ) is given by
S * ( S i n ) = K K i ( K + S i n ) K i + ( S i n ) 2 K K i K i + S i n .
Hence, D * ( S i n ) , the solution of S i n = γ ( D ) , is given by (A3), i.e.,
D * ( S i n ) = μ ( S * ( S i n ) ) = m ( K i + S i n ) ( K K i ( ( K + S i n ) K i + ( S i n ) 2 ) K K i ) 2 K ( K + S i n ) K i + ( S i n ) 2 + ( K i + S i n 2 K ) K K i ( ( K + S i n ) K i + ( S i n ) 2 ) .
These formulas for S * ( S i n ) and D * ( S i n ) are known in the literature [20]. Note that the equation S i n = γ ( D ) is equivalent to an algebraic quadratic equation of degree two which can be solved explicitly. We obtain the formula
D * ( S i n ) = m K i K i 4 K K i + 2 S i n K i 4 K K K i ( K + S i n ) K i + ( S i n ) 2 if K i 4 K , m S i n ( 4 K + S i n ) 2 ( 2 K + S i n ) 2 if K i = 4 K .
Note that when K i + , then D * ( S i n ) m 1 K K + S i n . We find the case of Monod.
On the other hand, equation γ ( D ) = λ ¯ ( D ) is equivalent to the third-degree polynomial equation:
( 4 K K i ) 2 D 3 + 3 m K i ( 4 K K i ) D 2 + 3 m 2 K i ( K i K ) D m 3 K i 2 = 0 .
Therefore D c , considered in Remark 7, is the unique positive solution of this equation and can be computed explicitly. Let us illustrate the results of Section 3.1.4 in the particular case of the Haldane function given by m = 1 , K = 5 , and K i = 5 . The OD and the set Γ of best operating conditions are depicted in Figure A2. The biogas flow is shown for five values of S i n . The curves Γ and Λ 2 intersect at ( D c , S c ) = ( 0.293 , 9.397 ) . If S i n > S c , then the optimal dilution rate D * S i n corresponds to the bistability region (pink region) J 2 . Depending on the initial condition, the system can go to the washout of the species with no biogas production, or its persistence, with maximal biogas production.
Figure A2. The set of optimal biogas production for the Haldane function (5), with m = 1 , K = 5 , K i = 5 . We have S m = 5 , D c = 0.293 , and S c = 9.397 .
Figure A2. The set of optimal biogas production for the Haldane function (5), with m = 1 , K = 5 , K i = 5 . We have S m = 5 , D c = 0.293 , and S c = 9.397 .
Processes 10 00258 g0a2

Appendix A.5.5. An Example with Two Maxima

It is known that Hypothesis 1 is not enough to guarantee that the biogas flow rate admits a unique global maximum (Hypothesis 4); see Figure 5.1 in [14]. Even if the function f is increasing, it is possible that the biogas flow rates have two maxima. For example, consider the function
μ ( S ) = m S 6 + S K 6 + S 6 + S , w i t h m = 2 , K 6 = 0.1 ,
which is obtained from the Hill function (A4) (with p = 6 ) by adding S to the numerator and denominator. This function is increasing; see Figure A3a. However, for some values of S i n , the biogas flow rate has three local extrema; see Figure A3d. Numerical exploration shows that the the set of arguments of the maximum of G is as follows
g ( S i n ) = 0.705 if S i n = 1 { 0.786 , 1.277 } if S i n = 1.7625 1.475 if S i n = 2.1
This behaviour is consistent with the plot of the curve Γ ; see Figure A3c. The function η is given by:
η ( S ) = S + μ ( S ) μ ( S ) = S + ( S + m S 6 ) ( K 6 + S + S 6 ) K 6 + 5 ( m 1 ) S 6 + 6 K 6 m S 5 .
The plot of this function shows that it is not increasing; see Figure A3b. Therefore, from Lemma 3, we can easily predict that the function γ is not increasing, as depicted in Figure A3c. Hence, Hypothesis 4 is not satisfied.
Figure A3. An increasing growth function with two maxima of the biogas flow rate.
Figure A3. An increasing growth function with two maxima of the biogas flow rate.
Processes 10 00258 g0a3

Appendix B. Two-Step Models

Appendix B.1. Model Reduction

The linear change of variables
s 1 = k 2 k 1 S 1 , x 1 = k 2 X 1 , s 2 = S 2 , x 2 = k 3 X 2
transforms (12) into
s ˙ 1 = D s 1 i n s 1 f 1 s 1 x 1 , x ˙ 1 = f 1 s 1 D 1 x 1 , s ˙ 2 = D s 2 i n s 2 + f 1 s 1 x 1 f 2 s 2 x 2 , x ˙ 2 = f 2 s 2 D 2 x 2 ,
where
s 1 i n = k 2 k 1 S 1 i n , s 2 i n = S 1 i n , f 1 ( s 1 ) = μ 1 k 1 k 2 s 1 , f 2 ( s 2 ) = μ 2 ( s 2 )
Therefore, the stoichiometric coefficients k i , i = 1 , 2 , 3 are reduced to 1. However, as explained in Section 2.2, we do not work with the reduced model (A6) and we present the results in the original model (12).

Appendix B.2. The Steady States of a Two-Step Model

The model (12) has a cascade structure, which renders its mathematical analysis easy. There is no additional difficulty compared to the case considered in [26] in which α 1 = α 2 = α and a 1 = a 2 = 0 . We recall that the break-even concentrations were defined in Table 1. We summarize in Table A2 the definitions of some additional auxiliary functions that are used in the description of the steady states of (12).
Table A2. Auxiliary functions. The functions λ 1 , λ 2 , and λ ¯ 2 and H i , i = 1 , 2 are defined in Table 1.
Table A2. Auxiliary functions. The functions λ 1 , λ 2 , and λ ¯ 2 and H i , i = 1 , 2 are defined in Table 1.
S 2 i n * D , S 1 i n , S 2 i n = S 2 i n + k 2 k 1 S 1 i n λ 1 ( D 1 )
X 1 * D , S 1 i n = D k 1 D 1 S 1 i n λ 1 ( α D )
X 21 D , S 2 i n = D k 3 D 2 S 2 i n λ 2 ( D 2 )
X 22 D , S 2 i n = D k 3 D 2 S 2 i n λ ¯ 2 ( D 2 )
X 2 i * D , S 1 i n , S 2 i n = D k 3 D 2 S 2 i n + k 2 k 1 S 1 i n H i ( D ) , i = 1 , 2
The system (12) can have up to six steady states, denoted E i j , where i = 0 , 1 and j = 0 , 1 , 2 . The convention used is as follows: if i = 0 , it means that X 1 = 0 and if i = 1 , then X 1 > 0 . Similarly, if j = 0 , it means that X 2 = 0 and if j = 1 , 2 , then X 2 > 0 . It should be noticed that E 00 , where X 1 = 0 and X 2 = 0 , is the washout steady state where acidogenic and methanogenic bacteria are extinct; E 0 i , i = 1 , 2 , where X 1 = 0 and X 2 > 0 , is the steady state of washout of acidogenic bacteria, while methanogenic bacteria are maintained; E 10 , where X 1 > 0 and X 2 = 0 is the steady state of washout of methanogenic bacteria, while acidogenic bacteria are maintained; E 1 i , i = 1 , 2 , where X 1 > 0 and X 2 > 0 is the steady state of coexistence of acidogenic and methanogenic bacteria. The components of the steady states are given in Table A3.
Table A3. The steady states of (12). The functions λ 1 , λ 2 , and λ ¯ 2 are defined in Table 1. The functions S 2 i n * , X 1 * , X 2 i and X 2 i * , i = 1 , 2 are defined in Table A2.
Table A3. The steady states of (12). The functions λ 1 , λ 2 , and λ ¯ 2 are defined in Table 1. The functions S 2 i n * , X 1 * , X 2 i and X 2 i * , i = 1 , 2 are defined in Table A2.
S 1 S 2 X 1 X 2
E 00 S 1 i n S 2 i n 00
E 01 S 1 i n λ 2 ( D 2 ) 0 X 21 D , S 2 i n
E 02 S 1 i n λ ¯ 2 ( D 2 ) 0 X 22 D , S 2 i n
E 10 λ 1 ( D 1 ) S 2 i n * D , S 1 i n , S 2 i n X 1 * D , S 1 i n 0
E 11 λ 1 ( D 1 ) λ 2 ( D 2 ) X 1 * D , S 1 i n X 21 * D , S 1 i n , S 2 i n
E 12 λ 1 ( D 1 ) λ ¯ 2 ( D 2 ) X 1 * D , S 1 i n X 22 * D , S 1 i n , S 2 i n
Table A4. Necessary and sufficient conditions for the existence and stability of steady states of (12). The functions λ 1 , λ 2 , λ ¯ 2 , and H i , i = 1 , 2 are defined in Table 1.
Table A4. Necessary and sufficient conditions for the existence and stability of steady states of (12). The functions λ 1 , λ 2 , λ ¯ 2 , and H i , i = 1 , 2 are defined in Table 1.
Existence ConditionsStability Conditions
E 00 Always exists S 1 i n < λ 1 ( D 1 ) and S 2 i n λ 2 ( D 2 ) , λ ¯ 2 ( D 2 )
E 01 S 2 i n > λ 2 ( D 2 ) S 1 i n < λ 1 ( D 1 )
E 02 S 2 i n > λ ¯ 2 ( D 2 ) Unstable if it exists
E 10 S 1 i n > λ 1 ( D 1 ) S 2 i n + k 2 k 1 S 1 i n H 1 ( D ) , H 2 ( D )
E 11 S 1 i n > λ 1 ( D 1 ) and S 2 i n + k 2 k 1 S 1 i n > H 1 ( D ) Stable if it exists
E 12 S 1 i n > λ 1 ( α D ) and S 2 i n + k 2 k 1 S 1 i n > H 2 ( D ) Unstable if it exists
Table A5. The surfaces Λ i , i = 1 6 and the regions I k , k = 0 8 .
Table A5. The surfaces Λ i , i = 1 6 and the regions I k , k = 0 8 .
Λ 1 = ( D , S 1 i n , S 2 i n ) : S 1 i n = λ 1 ( D 1 ) : = λ 1 ( α 1 D + a 1 )
Λ 2 = ( D , S 1 i n , S 2 i n ) : S 2 i n = λ 2 ( D 2 ) : = λ 2 ( α 2 D + a 2 )
Λ 3 = ( D , S 1 i n , S 2 i n ) : S 2 i n = λ ¯ 2 ( D 2 ) : = λ ¯ 2 ( α 2 D + a 2 )
Λ 4 = ( D , S 1 i n , S 2 i n ) : S 2 i n + k 2 k 1 S 1 i n = H 1 ( D )
Λ 5 = ( D , S 1 i n , S 2 i n ) : S 2 i n + k 2 k 1 S 1 i n = H 2 ( D )
Λ 6 = ( D , S 1 i n , S 2 i n ) : D = δ 2 : = μ 2 ( S 2 m ) a 2 α 2 ,
I 0 = ( D , S 1 i n , S 2 i n : S 1 i n < λ 1 ( D 1 )   and   S 2 i n < λ 2 ( D 2 )
I 1 = ( D , S 1 i n , S 2 i n : S 1 i n < λ 1 ( D 1 )   and   λ 2 ( D 2 ) < S 2 i n λ ¯ 2 ( D 2 )
I 2 = ( D , S 1 i n , S 2 i n : S 1 i n < λ 1 ( D 2 )   and   S 2 i n > λ ¯ 2 ( D 2 )
I 3 = ( D , S 1 i n , S 2 i n : S 1 i n > λ 1 ( D 1 )   and   S 2 i n + k 2 k 1 S 1 i n < H 1 ( D )
I 4 = ( D , S 1 i n , S 2 i n : S 1 i n > λ 1 ( D 1 ) , S 2 i n λ 2 ( D 2 )   and   H 1 ( D ) < S 2 i n + k 2 k 1 S 1 i n H 2 ( D )
I 5 = ( D , S 1 i n , S 2 i n : S 1 i n > λ 1 ( D 1 ) , S 2 i n λ 2 ( D 2 )   and   S 2 i n + k 2 k 1 S 1 i n > H 2 ( D )
I 6 = ( D , S 1 i n , S 2 i n : S 1 i n > λ 1 ( D 1 ) , S 2 i n > λ 2 ( D 2 )   and   S 2 i n + k 2 k 1 S 1 i n H 2 ( D )
I 7 = ( D , S 1 i n , S 2 i n : S 1 i n > λ 1 ( D 1 ) , λ 2 ( D 2 ) < S 2 i n λ ¯ 2 ( D 2 )   and   S 2 i n + k 2 k 1 S 1 i n > H 2 ( D )
I 8 = ( D , S 1 i n , S 2 i n : S 1 i n > λ 1 ( D 1 )   and   S 2 i n > λ ¯ 2 ( D 2 )

Appendix B.3. Operating Diagram

In order to construct the OD of (12), one needs to determine and compute the boundaries of the regions of the diagram, i.e., to compute the parameter values at which a qualitative change in the dynamic behaviour of (12) occurs. These boundaries are six surfaces, denoted Λ i , k = 1 6 , in the Set of Operating Parameters (SOP)
SOP = ( D , S 1 i n , S 2 i n ) : D 0 , S 1 i n 0   and   S 2 i n 0 .
These surfaces separate SOP in nine regions, denoted I k , k = 0 , , 8 . These regions correspond to the system behaviour shown in Table A6.
Table A6. Existence and stability of steady states of (12) in the nine regions of the operating space. The last column shows the color in which the region is depicted in Figure 5, Figure 6, Figure 8, Figure A4, Figure A5, Figure A7 and Figure A8.
Table A6. Existence and stability of steady states of (12) in the nine regions of the operating space. The last column shows the color in which the region is depicted in Figure 5, Figure 6, Figure 8, Figure A4, Figure A5, Figure A7 and Figure A8.
Region E 00 E 01 E 02 E 10 E 11 E 12 Color
I 0 GAS Red
I 1 UGAS Blue
I 2 LASLASU Cyan
I 3 U GAS Yellow
I 4 U UGAS Green
I 5 U LASLASUPink
I 6 UU UGAS Green
I 7 UU LASLASUPink
I 8 UUULASLASUPink
The definitions of the surfaces Λ i and the regions I k are given in Table A5. We plot in Figure A6 these surfaces with the biological parameters fixed as in Table A8. Since it is not easy to visualize regions in the three-dimensional operating parameters space, D and S 1 i n are used as coordinates of the OD, while S 2 i n is kept constant. The effects of S 2 i n are shown in a series of operating diagrams; see Figure 5 and Figure A7.
Remark A1.
In Figure 5, Figure 6, Figure 8, Figure A4, Figure A5, Figure A7, and Figure A8, presenting ODs, a region is coloured according to the colour in Table A6. Each colour corresponds to different asymptotic behaviour:
  • Red for the washout of both species; that is, the steady state E 00 is globally asymptotically stable (GAS), which occurs in region I 0 .
  • Blue for the washout of acidogenic bacteria while methanogenic bacteria are maintained; that is, the steady state E 01 is GAS, which occurs in region I 1 .
  • Cyan for the bistability of E 00 and E 01 , which are both (locally) stable. This behaviour occurs in region I 1 . Depending on the initial condition, the system can go to the washout of both species or the washout of only the acidogenic bacteria.
  • Yellow for the washout of methanogenic bacteria while acidogenic bacteria are maintained; that is the steady state E 10 is GAS, which occurs in region I 3 .
  • Green for the global asymptotic stability of the positive steady state E 11 ; which occurs in I 4 and I 6 . These regions differ only by the existence, in the second region, of the unstable boundary steady state E 01 .
  • Pink for the bistability of E 10 and E 11 , which are both locally asymptotically stable. This behaviour occurs in regions I 5 , I 7 , and I 8 . These regions differ only by the possible existence of the unstable boundary steady states E 01 or E 02 . Depending on the initial condition, the system can go to the washout of methanogenic bacteria or the coexistence of both species.

Appendix B.3.1. Operating Diagram in ( S 1 i n , S 2 i n ) Where D Is Kept Constant

The fact that there are nine regions is easily seen when considering the sections of SOP through a plane ( S 1 i n , S 2 i n ) where D is kept constant. Let us denote
δ 1 = m 1 a 1 α 1 , δ 2 = μ 2 ( S 2 m ) a 2 α 2
The surface Λ 1 is defined for D < δ 1 , the surfaces Λ 2 and Λ 3 are defined for D < δ 2 , and the surfaces Λ 4 and Λ 5 are defined for D < min ( δ 1 , δ 2 ) , where δ 1 and δ 2 are given by (A7). The intersections of the surfaces Λ i , i = 1 5 , with a plane where D is kept constant are straight lines: vertical line for Λ 1 , horizontal lines for Λ 2 and Λ 3 , and oblique lines for Λ 4 and Λ 5 ; see Figure A4. We consider in this figure the case δ 1 > δ 2 . This case corresponds to the situation where α 1 = α 2 , a 1 = a 2 , and
μ 2 ( S m ) = max S 2 0 μ 2 ( S 2 ) < max S 1 0 μ 1 ( S 1 ) = μ 1 ( + ) ,
which is most likely to occur in a real model. The case δ 1 δ 2 is similar; see [42]. Since the curves are straight lines, the nine regions of the OD are easy to picture. The regions are coloured according to the colours in Table A6. This table gives the system behaviour in the nine regions.
Figure A4 shows the following features. For 0 < D < δ 2 , all regions exist; see Figure A4a. For increasing D, the vertical line Λ 1 moves to the right and tends towards the vertical line defined by S 1 i n = λ 1 ( α δ 2 + a 1 ) . At the same time, the horizontal lines Λ 2 and Λ 3 move towards each other and tend toward the horizontal line defined by S 2 i n = S 2 m , so that the regions I 1 , I 4 , I 6 , and I 7 shrink and disappear; see Figure A4b. For D = δ 2 , the OD changes dramatically, since regions I 1 , I 4 , I 6 , and I 7 shrink and disappear; see Figure A4b, obtained for D < δ 2 and D δ 2 . For D > δ 2 and D δ 2 , regions I 0 , I 3 invade the whole operating plane, so that regions I 2 , I 5 , and I 8 also disappear; see Figure A4c. For δ 2 < D < δ 1 , only regions I 0 and I 3 appear; see Figure A4d. For increasing D, the vertical line Λ 1 moves to the right and tends towards infinity, so that, for D δ 1 , only region I 0 appears.
In Figure A4, the axes are not graduated, because the figure corresponds to a general case where the growth functions μ 1 and μ 2 verify Hypotheses 2 and 3 and the biological parameters are not specified. The intersections of the OD with planes where D is constant provide an easy way to see that the OD contains nine regions. However, as we are interested in this paper in the biogas flow rate as a function of D, it is preferable to have ODs that include D as a coordinate and in which, for example, S 2 i n is fixed. We describe these diagrams in the following section.
Figure A4. The 2-dimensional OD in S 1 i n , S 2 i n , obtained by cuts at the D constant of the 3-dimensional OD of (12), where δ 1 and δ 2 are given by (A7). If D δ 1 , the region I 0 invades the whole plane.
Figure A4. The 2-dimensional OD in S 1 i n , S 2 i n , obtained by cuts at the D constant of the 3-dimensional OD of (12), where δ 1 and δ 2 are given by (A7). If D δ 1 , the region I 0 invades the whole plane.
Processes 10 00258 g0a4

Appendix B.3.2. Operating Diagram in ( D , S 1 i n ) Where S 2 i n in Is Kept Constant

Since we want to plot the intersections of the regions J k with a D , S 1 i n -plane, where S 2 i n is kept constant, we must determine the intersections of the surfaces Λ i with this plane. These intersections are the curves whose equations are given in Table A7.
Table A7. Intersections of Λ k with a D , S 1 i n -plane, where S 2 i n is kept constant.
Table A7. Intersections of Λ k with a D , S 1 i n -plane, where S 2 i n is kept constant.
Λ 1 Curve of function S 1 i n = λ 1 ( α 1 D + a 1 ) or D = μ 1 ( S 1 i n ) a 1 α 1
Λ 2 Vertical line D = μ 2 S 2 i n a 2 α 2 or S 2 i n = λ 2 ( α 2 D + a 2 ) , if S 2 i n S 2 m
Λ 3 Vertical line D = μ 2 S 2 i n a 2 α 2 or S 2 i n = λ ¯ 2 ( α 2 D + a 2 ) , if S 2 i n S 2 m
Λ 4 Curve of function S 1 i n = k 1 k 2 H 1 ( D ) S 2 i n restricted to S 1 i n > λ 1 ( α 1 D + a 1 )
Λ 5 Curve of function S 1 i n = k 1 k 2 H 2 ( D ) S 2 i n restricted to S 1 i n > λ 1 ( α 1 D + a 1 )
Λ 6 Vertical line D = μ 2 ( S 2 m ) a 2 α 2 or S 2 m = λ 2 ( α 2 D + a 2 ) = λ ¯ 2 ( α 2 D + a 2 )
From the equations of curves Λ 4 and Λ 4 and using the λ 2 < λ ¯ 2 , we see that the curve Λ 5 is above the curve Λ 4 , which is itself above the curve Λ 1 . Note that Λ 1 and Λ 4 are increasing, while Λ 5 is not necessarily increasing, since H 2 ( D ) is the sum of the increasing function k 2 k 1 λ 1 ( α 1 D + a 1 ) and the decreasing function λ ¯ 2 ( α 2 D + a 2 ) . In Figure A5, we have depicted the curves in the particular case where the curve Λ 5 is decreasing. The general case is left to the reader. It is similar to the case (B) and (C) considered in [42].
Figure A5. The 2-dimensional OD in D , S 1 i n obtained by cuts at the S 2 i n constant of the 3-dimensional OD of (12).
Figure A5. The 2-dimensional OD in D , S 1 i n obtained by cuts at the S 2 i n constant of the 3-dimensional OD of (12).
Processes 10 00258 g0a5
From the equations of the curves given in Table A7, we deduce that if 0 S 2 i n S 2 m , then curves Λ 4 , Λ 5 and Λ 6 intersect at point
Λ 4 Λ 5 Λ 6 = δ 2 , k 1 k 2 ( S 2 m S 2 i n ) + λ 1 ( α 1 δ 2 + a 1 ) ,
while curves Λ 1 , Λ 2 and Λ 4 intersect at point
Λ 1 Λ 2 Λ 4 = δ ( S 2 i n ) , λ 1 ( α 1 δ ( S 2 i n ) + a 1 , w h e r e δ ( S 2 i n ) = μ 2 ( S 2 i n ) a 2 α 2 ;
see Figure A5a,b. Similarly, if S 2 i n = S 2 m , then
Λ 2 = Λ 3 = Λ 6 and Λ 1 Λ 5 Λ 6 = δ 2 , λ 1 ( α 1 δ 2 + a 1 ) ;
see Figure A5c, and if S 2 i n > S 2 m , then
Λ 1 Λ 3 Λ 5 = δ ( S 2 i n ) , λ 1 ( α 1 δ ( S 2 i n ) + a 1 , Λ 1 Λ 6 = δ 2 , λ 1 ( α 1 δ 2 + a 1 ) ;
see Figure A5d. Therefore, the curves intersect as depicted in Figure A5, where the regions are coloured according to the colours in Table A6. This figure shows the following features: For S 2 i n = 0 , only the regions I 0 , I 3 , I 4 , and I 5 exist; see Figure A5a. For 0 < S 2 i n < S 2 m , the curve Λ 2 appears, giving birth to I 1 , I 6 , and I 7 regions; see Figure A5b. For increasing S 2 i n , Λ 4 , and Λ 5 curves are translated downwards, while the vertical line Λ 2 moves to the right and tends towards the vertical line Λ 6 , as S 2 i n tends to S 2 m . For S 2 i n = S 2 M , the curve Λ 4 disappears, while Λ 2 becomes equal to Λ 6 , so that I 4 and I 5 regions have disappeared; see Figure A5c. For S 2 i n > S 2 m , the curve Λ 3 appears, giving birth to I 2 and I 8 regions; see Figure A5d. For increasing S 2 i n , the vertical line Λ 3 moves to the left, while the Λ 5 curve is translated downwards.

Appendix B.4. The Operating Diagram to the AM2 Model

In this section, we show the ODs of the model (50,51), with the biological parameter values given in Table A8. These parameter values can be found in Tables III and V of [25]. These values have been also used by [11]. The OD in the three-dimensional SOP is shown in Figure A6. The two-dimensional diagrams in the ( D , S 1 i n ) planes where S 2 i n is kept constant are depicted in Figure A7. The two-dimensional diagrams in the ( S 1 i n , S 2 i n ) planes where D is kept constant are depicted in Figure A8.
Figure A6. The surfaces Λ 1 (in Blue), Λ 2 and Λ 3 (in Green), Λ 4 and Λ 5 (in Red), and Λ 6 (in Yellow), defined in Table A5 separate the 3-dimensional operating space D , S 1 i n , S 2 i n in 9 regions I k , k = 0 , , 8 . Front (a), rear (b), left (c), and right (d) view of the surfaces Λ i . The biological parameter values are given in Table A8.
Figure A6. The surfaces Λ 1 (in Blue), Λ 2 and Λ 3 (in Green), Λ 4 and Λ 5 (in Red), and Λ 6 (in Yellow), defined in Table A5 separate the 3-dimensional operating space D , S 1 i n , S 2 i n in 9 regions I k , k = 0 , , 8 . Front (a), rear (b), left (c), and right (d) view of the surfaces Λ i . The biological parameter values are given in Table A8.
Processes 10 00258 g0a6
Figure A7. The 2-dimensional OD in D , S 1 i n , obtained by cuts at S 2 i n constant of the 3-dimensional OD shown in Figure A6.
Figure A7. The 2-dimensional OD in D , S 1 i n , obtained by cuts at S 2 i n constant of the 3-dimensional OD shown in Figure A6.
Processes 10 00258 g0a7
Figure A8. The 2-dimensional OD in S 1 i n , S 2 i n , obtained by cuts at D constant of the 3-dimensional OD shown in Figure A6.
Figure A8. The 2-dimensional OD in S 1 i n , S 2 i n , obtained by cuts at D constant of the 3-dimensional OD shown in Figure A6.
Processes 10 00258 g0a8
Table A8. Nominal parameters values, and α = 0 , used in Figure 5, Figure 7, Figure 8, Figure A6, Figure A7 and Figure A8.
Table A8. Nominal parameters values, and α = 0 , used in Figure 5, Figure 7, Figure 8, Figure A6, Figure A7 and Figure A8.
Parameter m 1 K 1 m 2 K 2 K I k 1 k 2 k 3
Unit d 1 g/L d 1 mmol/Lmmol/L mmol/gmmol/g
Value1.27.10.749.2825642.14116.5268

Appendix B.5. Maximization of Biogas Production

Appendix B.5.1. Proof of Proposition 5

From Table 2, it is seen that G 02 is defined if and only if λ ¯ 2 ( D 2 ) < S 2 i n . Since λ ¯ 2 ( D 2 ) > λ 2 ( D 2 ) , the results show that G 01 is also defined and G 01 D , S 2 i n > G 02 D , S 2 i n . This proves the first item of the proposition.
From Table 2, it is seen that G 12 is defined if and only if H 2 ( D ) < S 2 i n + k 2 k 1 S 1 i n . Since H 2 ( D ) > H 1 ( D ) , the results show that G 11 is also defined and G 11 D , S 1 i n , S 2 i n > G 12 D , S 1 i n , S 2 i n . This proves the second item of the proposition.
If G 11 is defined, then S 1 i n > λ 1 ( D 1 ) . Hence,
S 2 i n + k 2 k 1 S 1 i n H 1 ( D ) = S 2 i n λ 2 ( D 2 ) + k 2 k 1 S 1 i n λ 1 ( D 1 ) > S 2 i n λ 2 ( D 2 ) .
Therefore, if G 01 is defined, we have G 11 D , S 1 i n , S 2 i n > G 01 D , S 2 i n . This proves the third item of the proposition.

Appendix B.5.2. Proof of Proposition 6

The proof follows the same ideas and computations as the proof of Proposition 1. See Appendix A.3.1 for the details.

Appendix B.5.3. Proof of Proposition 7

Since the functions γ 2 and μ 1 are increasing, the function S 1 i n γ 2 μ 1 S 1 i n is increasing. Therefore, the condition S 1 i n > S 1 0 is equivalent to the fact that the point ( S 1 i n , S 2 i n ) lies to the right of the curve Σ 0 . Similarly, if the function μ i / μ 1 is increasing, then the function
S 1 i n γ 2 μ 1 S 1 i n + k 2 k 1 μ 1 ( S 1 i n ) μ 1 ( S 1 i n )
is increasing. Therefore the condition S 1 i n < S 1 1 is equivalent to the fact that the point ( S 1 i n , S 2 i n ) lies to the left of the curve Σ 1 .

Appendix B.5.4. Proof of Proposition 8

Equation (49) is equivalent to the equation
G 0 ( D 0 * ( S 2 i n ) ) = G 1 ( D 1 * ( S 1 i n , S 2 i n ) )
where D 0 * ( S 2 i n ) is the solution to (38) and D 1 * ( S 1 i n , S 2 i n ) is the solution to (40). Therefore, using (34) and (35), we deduce that we need to solve the following system of three equations with four unknowns S 1 i n , S 2 i n , D 0 , and D 1 .
D 0 S 2 i n λ 2 ( α D 0 ) = D 1 S 2 i n + k 2 k 1 S 1 i n λ 2 ( α D 1 ) k 2 k 1 λ 1 ( α D 1 ) ,
S 2 i n = γ 2 ( α D 0 ) ,
S 2 i n + k 2 k 1 S 1 i n = γ 2 ( α D 1 ) + k 2 k 1 γ 1 ( α D 1 ) .
Substituting (A9) and (A10) into (A8), we obtain
D 0 γ 2 ( α D 0 ) λ 2 ( α D 0 ) = D 1 γ 2 ( α D 1 ) + k 2 k 1 γ 1 ( α D 1 ) λ 2 ( α D 1 ) k 2 k 1 λ 1 ( α D 1 ) .
Replacing γ 2 and γ 1 by their expressions (36) and (37), respectively, we obtain
D 0 2 λ 2 ( α D 0 ) = D 1 2 λ 2 ( α D 1 ) + k 2 k 1 λ 1 ( α D 1 ) .
Therefore, α D 0 is a solution to equation
ϕ ( α D 0 ) = α 2 D 1 2 λ 2 ( α D 1 ) + k 2 k 1 λ 1 ( α D 1 ) ,
where ϕ is as in Hypothesis (8). Using this hypothesis, we obtain α D 0 = Δ ( D 1 ) , where Δ is given by (48). Substituting in (A9) and (A10), we obtain
S 2 i n = γ 2 ( Δ ( D 1 ) ) , γ 2 ( Δ ( D 1 ) ) + k 2 k 1 S 1 i n = γ 2 ( α D 1 ) + k 2 k 1 γ 1 ( α D 1 ) .
These equations show that the point ( S 1 i n , S 2 i n ) belongs to the curve C , defined by equations (47). The system formed by the three Equations (A8)–(A10) shows that the reciprocal is also true, i.e., any point on curve C is a point where max D G 0 = max D G 1 . Since the partial derivative of G 1 with respect to S 1 i n is positive, we see that we have max D G 1 > max D G 0 to the right of curve C .

References

  1. Kelessidis, A.; Stasinakis, A.S. Comparative study of the methods used for treatment and final disposal of sewage sludge in European countries. Waste Manag. 2012, 32, 1186–1195. [Google Scholar] [CrossRef] [PubMed]
  2. Batstone, D.J.; Keller, J.; Angelidaki, I.; Kalyuzhnyi, S.V.; Pavlostathis, S.G.; Rozzi, A.; Sanders, W.T.M.; Siegrist, H.; Vavilin, V.A. The IWA Anaerobic Digestion Model No 1 (ADM1). Water Sci. Technol. 2002, 45, 65–73. [Google Scholar] [CrossRef] [PubMed]
  3. Bornhöft, A.; Hanke-Rauschenbach, R.; Sundmacher, K. Steady-state analysis of the Anaerobic Digestion Model No. 1 (ADM1). Nonlinear Dyn. 2013, 73, 535–549. [Google Scholar] [CrossRef]
  4. Donoso-Bravo, A.; Mailier, J.; Martin, C.; Rodríguez, J.; Aceves-Lara, C.A.; Vande Wouwer, A. Model selection, identification and validation in anaerobic digestion: A review. Water Res. 2011, 45, 5347–5364. [Google Scholar] [CrossRef] [PubMed]
  5. Shen, S.; Premier, G.; Guwy, A.; Dinsdale, R. Bifurcation and stability analysis of an anaerobic digestion model. Nonlinear Dyn. 2007, 48, 465–489. [Google Scholar] [CrossRef]
  6. Wade, M.J. Not just numbers: Mathematical modelling and its contribution to anaerobic digestion processes. Processes 2020, 8, 888. [Google Scholar] [CrossRef]
  7. Kim, M.; Ahn, Y.H.; Speece, R. Comparative process stability and efficiency of anaerobic digestion; mesophilic vs. thermophilic. Water Res. 2002, 36, 4369–4385. [Google Scholar] [CrossRef]
  8. Abouelenien, F.; Miura, T.; Nakashimada, Y.; Elleboudy, N.S.; Al-Harbi, M.S.; Ali, E.F.; Shukry, M. Optimization of Biomethane Production via Fermentation of Chicken Manure Using Marine Sediment: A Modelling Approach Using Response Surface Methodology. Int. J. Environ. Res. Public Health 2021, 18, 1988. [Google Scholar] [CrossRef]
  9. Kazimierowicz, J.; Dzienis, L.; Dębowski, M.; Zieliński, M. Optimisation of methane fermentation as a valorisation method for food waste products. Biomass Bioenergy 2021, 144, 105913. [Google Scholar] [CrossRef]
  10. Lin, C.-Y.; Chai, W.S.; Lay, C.-H.; Chen, C.-C.; Lee, C.-Y.; Show, P.L. Optimization of Hydrolysis-Acidogenesis Phase of Swine Manure for Biogas Production Using Two-Stage Anaerobic Fermentation. Processes 2021, 9, 1324. [Google Scholar] [CrossRef]
  11. Bayen, T.; Gajardo, P. On the steady state optimization of the biogas production in a two-stage anaerobic digestion model. J. Math. Biol. 2019, 78, 1067–1087. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  12. Doran, P.M. Reactor Engineering, In Bioprocess Engineering Principles, 2nd ed.; Academic Press: Cambridge, MA, USA, 2013; pp. 761–852. [Google Scholar] [CrossRef]
  13. Ghouali, A.; Sari, T.; Harmand, J. Maximizing biogas production from the anaerobic digestion. J. Process Control. 2015, 36, 79–88. [Google Scholar] [CrossRef] [Green Version]
  14. Harmand, J.; Lobry, C.; Rapaport, A.; Sari, T. Optimal Control in Bioprocesses: Pontryagin’s Maximum Principle in Practice; Wiley ISTE, Ed.; Wiley: Hoboken, NJ, USA, 2019. [Google Scholar]
  15. Sbarciog, M.; Loccufier, M.; Noldus, E. Determination of appropriate operating strategies for anaerobic digestion systems. Biochem. Eng. J. 2010, 51, 180–188. [Google Scholar] [CrossRef]
  16. Sbarciog, M.; Loccufier, M.; Vande Wouwer, A. On the optimization of biogas production in anaerobic digestion systems. IFAC Proc. 2011, 44, 7150–7155. [Google Scholar] [CrossRef] [Green Version]
  17. Sbarciog, M.; Loccufier, M.; Vande Wouwer, A. An optimizing start-up strategy for a bio-methanator. Bioprocess Biosyst. Eng. 2012, 35, 565–578. [Google Scholar] [CrossRef]
  18. Sbarciog, M.; Moreno, J.A.; Vande Wouwer, A. A biogas-based switching control policy for anaerobic digestion systems. IFAC Proc. 2012, 45, 603–608. [Google Scholar]
  19. Shuler, M.L.; Fikret Kargi, F.; DeLisa, M. Bioprocess Engineering, Basic Concepts, 3rd ed.; Prentice Hall: Hoboken, NJ, USA, 2017. [Google Scholar]
  20. Wang, H.H.; Krstic, M.; Bastin, G. Optimizing Bioreactors by Extremum Seeking. Int. J. Adapt. Control. Signal Process. 1999, 13, 651–669. [Google Scholar] [CrossRef]
  21. Weedermann, M.; Wolkowicz, G.; Sasara, J. Optimal biogas production in a model for anaerobic digestion. Nonlinear Dyn. 2015, 81, 1097–1112. [Google Scholar] [CrossRef]
  22. Harmand, J.; Lobry, C.; Rapaport, A.; Sari, T. The Chemostat: Mathematical Theory of Micro-organism Cultures; Wiley ISTE, Ed.; Wiley: Hoboken, NJ, USA, 2017. [Google Scholar]
  23. Monod, J. La technique de culture continue: Théorie et applications. Ann. L’Institut. Pasteur. 1950, 79, 390–410. [Google Scholar] [CrossRef]
  24. Smith, H.L.; Waltman, P. The Theory of the Chemostat: Dynamics of Microbial Competition; Cambridge University Press: Cambridge, UK, 1995. [Google Scholar]
  25. Bernard, O.; Hadj-Sadock, Z.; Dochain, D.; Genovesi, A.; Steyer, J.P. Dynamical model development and parameter identification for an anaerobic waste water treatment process. Biotechnol Bioeng. 2001, 75, 424–438. [Google Scholar] [CrossRef]
  26. Benyahia, B.; Sari, T.; Cherki, C.; Harmand, J. Bifurcation and stability analysis of a two step model for monitoring anaerobic digestion processes. J. Process Control 2012, 22, 1008–1019. [Google Scholar] [CrossRef] [Green Version]
  27. Arzate, J.A.; Kirstein, M.; Ertem, F.C.; Kielhorn, E.; Ramirez, M.H.; Neubauer, P.; Cruz-Bournazou, M.N.; Junne, S. Anaerobic digestion model (AM2) for the description of biogas processes at dynamic feedstock loading rates. Chem. Ing. Tech. 2017, 89, 686–695. [Google Scholar] [CrossRef]
  28. García-Dièguez, C.; Bernard, O.; Roca, E. Reducing the anaerobic digestion model no.1 for its application to an industrial waste water treatment plant treating winery efluent waste water. Bioresour. Technol. 2013, 132, 244–253. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  29. Sbarciog, M.; Vande Wouwer, A. A constructive approach to assess the stability of anaerobic digestion systems. Chem. Eng. Sci. 2020, 227, 115931. [Google Scholar] [CrossRef]
  30. Weedermann, M.; Seo, G.; Wolkowics, G. Mathematical Model of Anaerobic Digestion in a Chemostat: Effects of Syntrophy and Inhibition. J. Biol. Dyn. 2013, 7, 59–85. [Google Scholar] [CrossRef]
  31. Daoud, Y.; Abdellatif, A.; Harmand, J. Modèles mathématiques de digestion anaérobie: Effet de l’hydrolyse sur la production du biogaz. ARIMA J. 2019, 28, 35–59. [Google Scholar] [CrossRef]
  32. Borisov, M.; Dimitrova, N.; Simeonov, I. Mathematical Modelling and Stability Analysis of a Two-Phase Biosystem. Processes 2020, 8, 791. [Google Scholar] [CrossRef]
  33. Chorukova, E.; Simeonov, I. Mathematical modelling of the anaerobic digestion in two-stage system with production of hydrogen and methane including three intermediate products. Int. J. Hydrog. Energy 2020, 45, 11550–11558. [Google Scholar] [CrossRef]
  34. Giovannini, G.; Sbarciog, M.; Steyer, J.P.; Chamy, C.; Vande Wouwer, A. On the derivation of a simple dynamic model of anaerobic digestion including the evolution of hydrogen. Water Res. 2018, 134, 209–225. [Google Scholar] [CrossRef]
  35. Khedim, K.; Benyahia, B.; Cherki, B.; Sari, T.; Harmand, J. Effect of control parameters on biogas production during the anaerobic digestion of protein-rich substrates. Appl. Math. Model. 2018, 61, 351–376. [Google Scholar] [CrossRef] [Green Version]
  36. Pavlou, S. Computing operating diagrams of bioreactors. J. Biotechnol. 1999, 71, 7–16. [Google Scholar] [CrossRef]
  37. Wade, M.; Pattinson, R.; Parker, N.; Dolfing, J. Emergent behaviour in a chlorophenol-mineralising three tiered microbial ‘food web’. J. Theor. Biol. 2016, 389, 171–186. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  38. Xu, A.; Dolfing, J.; Curtis, T.; Montague, G.; Martin, E. Maintenance affects the stability of a two-tiered microbial ‘food chain’? J. Theor. Biol. 2011, 276, 35–41. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  39. Daoud, Y.; Abdellatif, A.; Sari, T.; Harmand, J. Steady state analysis of a syntrophic model: The effect of a new input substrate concentration. Math. Model. Nat. Phenom. 2018, 13, 31. [Google Scholar] [CrossRef]
  40. Fekih-Salem, R.; Daoud, Y.; Abdellatif, N.; Sari, T. A mathematical model of anaerobic digestion with syntrophic relationship, substrate inhibition and distinct removal rates. SIAM J. Appl. Dyn. Syst. 2021, 20, 621–1654. [Google Scholar] [CrossRef]
  41. Mtar, T.; Fekih-Salem, R.; Sari, T. Interspecific density-dependent model of predator-prey relationship in the chemostat. Int. J. Biomath. 2021, 14, 2050086. [Google Scholar] [CrossRef]
  42. Sari, T.; Benyahia, B. The operating diagram for a two-step anaerobic digestion model. Nonlinear Dyn. 2021, 105, 2711–2737. [Google Scholar] [CrossRef]
  43. Sari, T.; Harmand, J. A model of a syntrophic relationship between two microbial species in a chemostat including maintenance. Math. Biosci. 2016, 275, 1–9. [Google Scholar] [CrossRef] [Green Version]
  44. Sari, T.; Wade, M. Generalised approach to modelling a three-tiered microbial food-web. Math. Biosci. 2017, 291, 21–37. [Google Scholar] [CrossRef]
  45. Fredrickson, A.G.; Tsuchiya, H.M. Microbial kinetics and dynamics. In Chemical Reactor Theory, A Review; Lapidus, L., Amundson, N.R., Eds.; Prentice-Hall: Englewood Cliffs, NJ, USA, 1977; pp. 405–483. [Google Scholar]
  46. Bastin, G.; Dochain, D. On-Line Estimation and Adaptative Control of Bioreactors; Elsevier Science Publishers: Amsterdam, The Netherlands, 1990. [Google Scholar]
  47. Herbert, D.R.; Elsworth, R.; Telling, R.C. The continuous culture of bacteria: A theoretical 686 and experimental study. J. Gen. Microbiol. 1956, 14, 601–622. [Google Scholar] [CrossRef] [Green Version]
  48. Dochain, D.; Bastin, G. Adaptive identification and control algorithms for nonlinear bacteria1 growth systems. Automatica 1984, 20, 621–634. [Google Scholar] [CrossRef]
  49. Polihronakis, M.; Petrou, L.; Deligiannis, A. Parameter adaptive control techniques for anaerobic digesters; real-life experiments. Comput. Chem. Eng. 1993, 17, 1167–1179. [Google Scholar] [CrossRef]
  50. Renard, P.; Dochain, D.; Bastin, G.; Naveau, H.; Nyns, E.J. Adaptive control of anaerobic digestion processes—A pilot-Scale application. Biotechnol. Bioeng. 1988, 31, 287–294. [Google Scholar] [CrossRef] [PubMed]
  51. Dali-Youcef, M.; Rapaport, A.; Sari, T. Study of performance criteria of serial configuration of two chemostats. Math. Biosci. Eng. 2020, 17, 6278–6309. [Google Scholar] [CrossRef] [PubMed]
  52. Dali-Youcef, M.; Rapaport, A.; Sari, T. Performances Study Criteria of Two Interconnected Chemostats with Mortality. 2021. Available online: https://hal.inrae.fr/hal-03318978 (accessed on 20 January 2022).
  53. Dali-Youcef, M.; Sari, T. The Productivity of Two Serial Chemostats. 2021. Available online: https://hal.inrae.fr/hal-03445797 (accessed on 20 January 2022).
  54. Benyahia, B.; Sari, T. Effect of a new variable integration on steady states of a two-step Anaerobic Digestion Model. Math. Biosci. Eng. 2020, 17, 5504–5533. [Google Scholar] [CrossRef]
  55. Benyahia, B.; Sari, T.; Cherki, C.; Harmand, J. Anaerobic membrane bioreactor modelling in the presence of Soluble Microbial Products (SMP)—The Anaerobic Model AM2b. Chem. Eng. J. 2013, 228, 1011–1022. [Google Scholar] [CrossRef] [Green Version]
  56. Hess, J.; Bernard, O. Design and Study of a risk management criterion for an unstable anaerobic waste water treatment process. J. Process Control 2008, 18, 71–79. [Google Scholar] [CrossRef]
  57. Harmand, J.; Rapaport, A.; Dochain, D. Increasing the dilution rate can globally stabilize two-step biological systems. J. Process Control. 2020, 95, 67–74. [Google Scholar] [CrossRef]
  58. Hanaki, M.; Harmand, J.; Mghazli, Z.; Rapaport, A.; Sari, T.; Ugalde, P. Mathematical study of a two-stage anaerobic model when the hydrolysis is the limiting step. Processes 2021, 9, 2050. [Google Scholar] [CrossRef]
  59. Stephanopoulos, G. The dynamics of commensalism. Biotechnol. Bioeng. 1981, 23, 2243–2255. [Google Scholar] [CrossRef]
  60. Burchard, A. Substrate degradation by a mutualistic association of two species in the chemostat. J. Math. Biol. 1994, 32, 465–489. [Google Scholar] [CrossRef]
  61. El-Hajji, M.; Mazenc, F.; Harmand, J. A mathematical study of a syntrophic relationship of a model of anaerobic digestion process. Math. Biosci. Eng. 2010, 7, 641–656. [Google Scholar] [PubMed]
  62. Sari, T.; El-Hajji, M.; Harmand, J. The mathematical analysis of a syntrophic relationship between two microbial species in a chemostat. Math. Biosci. Eng. 2012, 9, 627–645. [Google Scholar] [PubMed]
  63. Reilly, P.J. Stability of commensalistic systems. Biotechnol. Bioeng. 1974, 16, 1373–1392. [Google Scholar] [CrossRef]
  64. Wade, M.J.; Harmand, J.; Benyahia, B.; Bouchez, T.; Chaillou, S.; Cloez, B.; Godon, J.J.; Moussa-Boudjemaa, B.; Rapaport, A.; Sari, T.; et al. Perspectives in mathematical modelling for microbial ecology. Ecol. Model. 2016, 321, 64–74. [Google Scholar] [CrossRef]
  65. Di, S.; Yang, A. Analysis of productivity and stability of synthetic microbial communities. J. R. Soc. Interface 2019, 16, 20180859. [Google Scholar] [CrossRef] [Green Version]
  66. Desmond-Le Quéméner, E.; Bouchez, T. A thermodynamic theory of microbial growth. ISME J. 2014, 8, 1747–1751. [Google Scholar] [CrossRef]
Figure 1. The OD of (2). The curve Γ is the set of best operating conditions.
Figure 1. The OD of (2). The curve Γ is the set of best operating conditions.
Processes 10 00258 g001
Figure 2. The best operating conditions of biogas flow rate for the Monod case. (a): The curve Γ in SOP shows the optimal value D G * ( S i n ) . (b): The function D G 1 ( D , S i n ) is defined on [ 0 , δ ( S i n ) ] , and attains its maximum, G * ( S i n ) , for D = D G * ( S i n ) .
Figure 2. The best operating conditions of biogas flow rate for the Monod case. (a): The curve Γ in SOP shows the optimal value D G * ( S i n ) . (b): The function D G 1 ( D , S i n ) is defined on [ 0 , δ ( S i n ) ] , and attains its maximum, G * ( S i n ) , for D = D G * ( S i n ) .
Processes 10 00258 g002
Figure 3. The set of best operating conditions Γ (in red) shows the optimal dilution rate D G * ( S i n ) corresponding to three typical values of S i n .
Figure 3. The set of best operating conditions Γ (in red) shows the optimal dilution rate D G * ( S i n ) corresponding to three typical values of S i n .
Processes 10 00258 g003
Figure 4. The curves Γ (in red) and Π (in blue).
Figure 4. The curves Γ (in red) and Π (in blue).
Processes 10 00258 g004
Figure 5. The 2-dimensional OD in D , S 1 i n , obtained by cuts at S 2 i n constant of the 3-dimensional OD shown in Figure A6. The curve Γ 1 , in red, is the set of maximisation of G 11 . The vertical line Γ 0 , in blue, is the set of maximisation of G 01 .
Figure 5. The 2-dimensional OD in D , S 1 i n , obtained by cuts at S 2 i n constant of the 3-dimensional OD shown in Figure A6. The curve Γ 1 , in red, is the set of maximisation of G 11 . The vertical line Γ 0 , in blue, is the set of maximisation of G 01 .
Processes 10 00258 g005
Figure 6. (a): The point ( D c , S 1 c ) = Γ 1 Λ 5 . (b): A zoom showing the points P 0 = Γ 0 Λ 1 and P 1 = Γ 1 Λ 1 . (c): The function D G 01 ( D , S 2 i n ) in blue and the functions D G 11 ( D , S 1 i n , S 2 i n ) , in red, for S 1 i n = S 1 0 and S 1 i n = S 1 1 .
Figure 6. (a): The point ( D c , S 1 c ) = Γ 1 Λ 5 . (b): A zoom showing the points P 0 = Γ 0 Λ 1 and P 1 = Γ 1 Λ 1 . (c): The function D G 01 ( D , S 2 i n ) in blue and the functions D G 11 ( D , S 1 i n , S 2 i n ) , in red, for S 1 i n = S 1 0 and S 1 i n = S 1 1 .
Processes 10 00258 g006
Figure 7. To the left of the curve Σ we have max D G 01 > max D G 11 and to its right we have max D G 01 < max D G 11 .
Figure 7. To the left of the curve Σ we have max D G 01 > max D G 11 and to its right we have max D G 01 < max D G 11 .
Processes 10 00258 g007
Figure 8. The biogas flow rates D G 01 ( D , S 2 i n ) in blue, D G 11 ( D , S 1 i n , S 2 i n ) in red, and D G 12 ( D , S 1 i n , S 2 i n ) in dashed red, corresponding to the operating points (c) o 0 = ( 1.5 , 15 ) , (d) o 1 = ( 10 , 15 ) and (e) o 2 = ( 50 , 15 ) . The flow rate biogas of a stable steady state is drawn in bold, while it is drawn in dashed line when the steady state is unstable.
Figure 8. The biogas flow rates D G 01 ( D , S 2 i n ) in blue, D G 11 ( D , S 1 i n , S 2 i n ) in red, and D G 12 ( D , S 1 i n , S 2 i n ) in dashed red, corresponding to the operating points (c) o 0 = ( 1.5 , 15 ) , (d) o 1 = ( 10 , 15 ) and (e) o 2 = ( 50 , 15 ) . The flow rate biogas of a stable steady state is drawn in bold, while it is drawn in dashed line when the steady state is unstable.
Processes 10 00258 g008
Table 1. Break-even concentrations and auxiliary functions.
Table 1. Break-even concentrations and auxiliary functions.
λ 1 ( D ) is the unique solution of equation μ 1 S 1 = D , for  D < m 1
λ 2 ( D ) < λ ¯ 2 ( D ) are the solutions of equation μ 2 S 2 = D , for  D < μ 2 ( S 2 m )
λ ( 0 ) = 0 , λ ¯ 2 ( 0 ) = + and λ ( D ) = λ ¯ 2 ( D ) for D = μ 2 ( S 2 m )
H 1 ( D ) = λ 2 ( D 2 ) + k 2 k 1 λ 1 ( D 1 ) ,
H 2 ( D ) = λ ¯ 2 ( D 2 ) + k 2 k 1 λ 1 ( D 1 )
Table 2. The biogas production at steady state E i j , i = 0 , 1 , j = 1 , 2 ; λ 2 ( D ) , λ ¯ 2 ( D ) and H j ( D ) , j = 1 , 2 , are defined in Table 1.
Table 2. The biogas production at steady state E i j , i = 0 , 1 , j = 1 , 2 ; λ 2 ( D ) , λ ¯ 2 ( D ) and H j ( D ) , j = 1 , 2 , are defined in Table 1.
Biogas ProductionDomain of Definition
G 01 D , S 2 i n = k 4 k 3 D S 2 i n λ 2 ( D 2 ) λ 2 ( D 2 ) S 2 i n
G 02 D , S 2 i n = k 4 k 3 D S 2 i n λ ¯ 2 ( D 2 ) λ ¯ 2 ( D 2 ) S 2 i n
G 11 D , S 1 i n , S 2 i n = k 4 k 3 D S 2 i n + k 2 k 1 S 1 i n H 1 ( D ) λ 1 ( D 1 ) S 1 i n , H 1 ( D ) S 2 i n + k 2 k 1 S 1 i n
G 12 D , S 1 i n , S 2 i n = k 4 k 3 D S 2 i n + k 2 k 1 S 1 i n H 2 ( D ) λ 1 ( D 1 ) S 1 i n , H 2 ( D ) S 2 i n + k 2 k 1 S 1 i n
Table 3. The functions γ , H and η used for the optimization of the biogas flow rate G. The functions π , Q and ρ used for the optimization of the productivity P. Note that G ( D ) = 1 α H ( λ ( α D + a ) ) and P ( D ) = 1 α Q ( λ ( α D + a ) ) .
Table 3. The functions γ , H and η used for the optimization of the biogas flow rate G. The functions π , Q and ρ used for the optimization of the productivity P. Note that G ( D ) = 1 α H ( λ ( α D + a ) ) and P ( D ) = 1 α Q ( λ ( α D + a ) ) .
Biogas ProductionBiomass Productivity
G ( D ) = D ( S i n λ ( α D + a ) ) P ( D ) = D 2 α D + a ( S i n λ ( α D + a ) )
γ ( D ) = λ ( α D + a ) + α D λ ( α D + a ) π ( D ) = λ ( α D + a ) + α D ( α D + a ) α D + 2 a λ ( α D + a )
H ( S ) = ( μ ( S ) a ) ( S i n S ) Q ( S ) = ( μ ( S ) a ) 2 μ ( S ) ( S i n S )
η ( S ) = S + μ ( S ) a μ ( S ) ρ ( S ) = S + ( μ ( S ) a ) μ ( S ) ( μ ( S ) + a ) μ ( S )
Biogas Production = Biomass Productivity ( a = 0 )
G ( D ) = α P ( D ) = D ( S i n λ ( α D ) )
γ ( D ) = π ( D ) = λ ( α D ) + α D λ ( α D )
H ( S ) = Q ( S ) = μ ( S ) ( S i n S )
η ( S ) = ρ ( S ) = S + μ ( S ) μ ( S )
Table 4. Auxiliary function in the classical AM2 model.
Table 4. Auxiliary function in the classical AM2 model.
μ 1 S 1 = m 1 S 1 K 1 + S 1
λ 1 ( D ) = D K 1 m 1 D , Defined for 0 D < m 1 = μ 1 ( + )
μ 2 S 2 = m 2 S 2 K 2 + S 2 + S 2 2 / K i , S 2 m = K 2 K i , μ 2 S 2 m = m 2 1 + 2 K 2 / K i
λ 2 ( D ) = ( m 2 D ) ( m 2 D ) 4 D 2 K 2 / K i 2 D K i , Defined for 0 < D μ 2 ( S 2 m )
λ ¯ 2 ( D ) = ( m 2 D ) + ( m 2 D ) 2 4 D 2 K 2 / K i 2 D K i Defined for 0 < D μ 2 ( S 2 m )
γ 1 ( D ) = λ 1 ( D ) + D λ 1 ( D ) , Defined for D < m 1
γ 2 ( D ) = λ 2 ( D ) + D λ 2 ( D ) , Defined for D < μ 2 ( S 2 m )
γ ( D ) = γ 2 ( D ) + k 2 k 1 γ 1 ( D ) Defined for D < min ( m 1 , μ 2 ( S 2 m ) )
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Sari, T. Best Operating Conditions for Biogas Production in Some Simple Anaerobic Digestion Models. Processes 2022, 10, 258. https://doi.org/10.3390/pr10020258

AMA Style

Sari T. Best Operating Conditions for Biogas Production in Some Simple Anaerobic Digestion Models. Processes. 2022; 10(2):258. https://doi.org/10.3390/pr10020258

Chicago/Turabian Style

Sari, Tewfik. 2022. "Best Operating Conditions for Biogas Production in Some Simple Anaerobic Digestion Models" Processes 10, no. 2: 258. https://doi.org/10.3390/pr10020258

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop