Next Article in Journal
Variation of Passive Biomechanical Properties of the Small Intestine along Its Length: Microstructure-Based Characterization
Previous Article in Journal
High-Throughput Screening Platforms in the Discovery of Novel Drugs for Neurodegenerative Diseases
Previous Article in Special Issue
Automated Conditional Screening of Multiple Escherichia coli Strains in Parallel Adaptive Fed-Batch Cultivations
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Microbial Interactions as Drivers of a Nitrification Process in a Chemostat

by
Pablo Ugalde-Salas
1,*,
Héctor Ramírez C.
2,
Jérôme Harmand
1 and
Elie Desmond-Le Quéméner
1
1
LBE, INRAE, Université de Montpellier, 11100 Narbonne, France
2
Departamento de Ingeniería Matemática, Centro de Modelamiento Matemático (CNRS UMI 2807), Universidad de Chile, Santiago, Chile
*
Author to whom correspondence should be addressed.
Bioengineering 2021, 8(3), 31; https://doi.org/10.3390/bioengineering8030031
Submission received: 20 November 2020 / Revised: 8 February 2021 / Accepted: 9 February 2021 / Published: 25 February 2021

Abstract

:
This article deals with the inclusion of microbial ecology measurements such as abundances of operational taxonomic units in bioprocess modelling. The first part presents the mathematical analysis of a model that may be framed within the class of Lotka–Volterra models fitted to experimental data in a chemostat setting where a nitrification process was operated for over 500 days. The limitations and the insights of such an approach are discussed. In the second part, the use of an optimal tracking technique (developed within the framework of control theory) for the integration of data from genetic sequencing in chemostat models is presented. The optimal tracking revisits the data used in the aforementioned chemostat setting. The resulting model is an explanatory model, not a predictive one, it is able to reconstruct the different forms of nitrogen in the reactor by using the abundances of the operational taxonomic units, providing some insights into the growth rate of microbes in a complex community.

Graphical Abstract

1. Introduction

Microbial communities and their interactions play a central role in the understanding of microbial ecosystems [1], and a current challenge is integrating genetic sequencing data in a deterministic modelling framework [2,3]. Using the terminology from the thorough review in current methodologies on the deterministic modelling approaches of microbial community dynamics presented by Song et al. [4], this articles deals with population-based approaches where species are taken as the interacting units.
The classical ecological concept of species and niche in the microbial world is an elusive one: in the macro world one can clearly differentiate one species from another for reproductive reasons and their ability to give birth to offspring. In the case of bacteria and archea, reproduction goes simply by binary fission and exchange of some functional genes (e.g., the ability to synthesize or metabolize substances) can be acquired in evolutionary scale through lateral gene transfer [5]. Therefore as an ecological problem is hard to define precisely the ‘niche’ of ‘microbial species’. These obstacles can be circumvented by considering the microbiologist concept of operational taxonomic unit (OTU) based on the clustering of organisms sharing similar sequences of the 16S rDNA marker gene. In the past years considerable efforts have been made to measure the bacterial community composition. Tests such as fluorescence in situ hybridization (FISH), polymerase chain reaction (PCR) dependent techniques, and PCR independent techniques for the analysis of DNA have become a standard tool for studying microbial diversity [6]. The contribution of this article is a new method to integrate the microbial community measurements in chemostat models, based on any sequencing or fingerprinting technique that can quantify the species abundances over time. In other words, while most models used in bioengineering are functional—in the sense they consider only one species per biological reaction considered—this work is an attempt to merge classical population-based models used in ecology and those used by engineers in biotechnology.
Interactions lie at the heart of ecology. Lotka [7] and Volterra [8], independently, presented a 2 dimensional dynamical system to model prey-predator relationships, now known as the Lotka–Volterra (LV) equations. The model is very rich from a mathematical standpoint, and is also a classic equation to study in Mathematical Ecology [9]. Extensions of the Lotka–Volterra model have derived what is now known as generalized Lotka–Volterra (gLV) models [10] shown in Equation (1):
x i ˙ = μ i 1 + j = 1 n a i j x j x i i { 1 , , n }
where x i represents the species abundance, μ i the intrinsic growth rate of the species, and the terms a i j reflect the effect of OTU j on the growth of OTU i. The equation states that the growth rate of x i is proportional to x i , but this proportionality constant depends on its intrinsic growth rate multiplied by the sum of all interactions affecting it. Note that if there are no type of interactions ( a i j = 0 ), one recovers n uncoupled linear differential equations, and thus the solution becomes x i ( t ) = x i ( 0 ) exp ( μ i t ) , that is exponential growth on time.
The diagonal terms a i i are known as intraspecies interaction, while the off diagonal terms are known as the pairwise interspecies interactions. Noting the signs of pairs ( a i j , a j i ) , the classical ecological relationships of mutualism or cooperation ( + , + ) , commensalism ( + , 0 ) , predation or parasitism ( + , ) , competition ( , ) , and ammensalism ( , 0 ) can be recovered [11]. Model (1) has been thoroughly analysed, even when the coefficients μ i and a i j are time dependent and exhibit periodicity (which models seasonal traits) [12,13]. The gLV model has been used in microbial ecology to some degree of success to study the gut microbiome of mice infected with C. difficile [14]. However, the quadratically growing number of parameters to describe interactions naturally entails problems of identifiability if the data set is not large enough, or the system has not been sufficiently perturbed. On a more conceptual ground, the interaction coefficients of a gLV model do not represent mechanistically anything, so even if a model correctly predicts the microbial community dynamics, it might not add to the understanding of what could be physically or biologically taking place. These observations led us to develop what can be considered the core contribution of this article, which is to study the growth rate of each species in a mixed culture: we reconstruct the shape of their growth rate, instead of trying to fit a particular function (such as the gLV equations). As Monod himself commented when developing the growth law that bears their name is that any function with the same shape (monotone, concave, and bounded on the substrate) would have served [15], in this spirit we formulate the question: what is the shape of the growth functions of multiple species developing together?
As a departing point, the work of Dumont et al. [16] is presented in Section 2. They modelled a chemostat experiment where nitrification takes place by considering a glV model coupled with a substrate limited growth expression ( μ i is no longer a constant, but the classic Monod expression) and fitted their model using absolute abundances of the major OTU identified by molecular fingerprints obtained by single-strand conformation polymorphism (SSCP). Section 3 inspects the model through a mathematical analysis. Some interesting outputs of this analysis are that the number of possible equilibrium points grows exponentially with the number of species, coexistence can be achieved within the same functional group, and bi-stability may arise. In Section 4, the concept of interaction function is developed such that it generalizes the gLV model. For approximating the interaction function a method of optimal control theory was adapted: The growth rate of each species is modulated by a constrained regular control of the system, thus the growth rate of each OTU is corrected in order to fit the experimental data. The regular control is composed of a feedback part on the species state variable, and a feed forward part, or tracking, on the measurement of abundances of each species; the method involves solving state-dependent Ricatti equations [17]. In Section 5, the methodology from Section 4 is applied to the data from the experiments performed by Dumont et al. [18] and not just to the most abundant species as it was the case of the model analysed in Section 3 [16]. This approach explicitly assumes that dynamics of complex ecosystems are driven by interactions, that are the results of feedback loops of each species on the growth rate of others. The method shows that by following the community dynamics one can propose a growth rate that reconstructs the substrates dynamics, however this cannot be considered a predictive model, but rather a explicatory model. The article ends with a discussion on the scope of applicability and perspectives of the method.

2. Model Definition

Notations used throughout the article:
  • n: the number of OTU considered.
  • n i , i { 1 , 2 } : the number of OTU in functional group G i . In the example G 1 corresponds to ammonia oxidizing bacteria (AOB) and G 2 corresponds to nitrite oxidizing bacteria (NOB).
  • Let m be an interger then [ m ] : = { 1 , , n } .
  • x i : is the concentration of OTU i measured in [ g / l ] . i [ n ] .
  • x: vector ( x 1 , , x n ) .
  • s 1 : concentration of substrate 1 in [ g / l ] . In the example s 1 represents ammonium.
  • s 2 : concentration of substrate 2 in [ g / l ] . In the example s 2 represents nitrite.
  • s 3 : concentration of substrate 3 in [ g / l ] . In the example s 3 represents nitrate.
  • s i n : entry concentration of substrate 1 in [ g / l ] . May depend on time s i n = s i n ( t ) .
  • s: vector ( s 1 , s 2 , s 3 ) . Referred to as metabolites.
  • I i ( t , x ) : Interaction function of OTU i { 1 , , n } .
  • μ i ( s , x ) : growth function of OTU i { 1 , , n } .
  • μ = ( μ 1 ( s , x ) , , μ n ( s , x ) ) vector containing the growth function of every OTU.
  • D: dilution rate of the continuous reactor in [ 1 / d a y ] . May depend on time D = D ( t ) .
  • y i : yield of grams of OTU i formed per gram of substrate consumed.
  • y s i / x j : yield of grams of substrate s i consumed/produced per gram of OTU j formed. If negative it represents consumption, if positive it represents production.
  • Y: matrix containing all yields such that Y i j = y s i / x j .
  • For integers m 1 and m 2 and a R , a m 1 × m 2 represents a matrix of m 1 rows and m 2 columns with a in every entry.
  • Let m be an integer then I m is the identity matrix of size m.
  • Let M be a matrix, then M i represents the i-th row of matrix M.
  • Let S be a finite set with m N elements. Then | S | : = m .
  • Given a vector v = ( v 1 , , v n ) R n , the function diag ( v ) stands for:
    diag : R n M n × n ( R ) v v 1 0 0 0 v 2 0 0 0 v n

2.1. Stoichiometric Equations

A cascade (bio)reaction process is considered. Suppose n different OTU are present in the chemostat. A two step cascade reaction refers to the situation where a group of microorganisms ( G 1 [ n ] ) consumes a substrate s 1 and produces s 2 and biomass, while another group of microorganisms ( G 2 [ n ] ) consumes s 2 and produces s 3 and biomass. G 1 and G 2 are called functional groups. The number of organisms in each functional will be denoted n 1 and n 2 , respectively, that is | G 1 | = n 1 and | G 2 | = n 2 . This work treats the case when G 1 and G 2 are disjoint sets:
Hypothesis 1 (H1).
Sets G 1 and G 2 satisfy: G 1 G 2 = and G 1 G 2 = [ n ] .
The situation is described as simplified Reactions (R1) and (R2). The reactions are simplified in the sense that they do not attempt to represent a balanced chemical reaction, rather they represent the direction of the bioprocess and the proportions of different consumed and formed compounds of interest. The terms y i are known as yields, they represent the quantity of g of biomass produced per g of substrate consumed by OTU i. For example, in the case of reaction (R1), one gram of s 1 is consumed, one gram of s 2 and y x i / s 1 grams of dry biomass of OTU i are produced.
s 1 μ i ( s , x ) s 2 + y i x i i G 1
s 2 μ i ( s , x ) s 3 + y i x i i G 2
However for expressing the system of differential equations further below, the terms y s i / x j are used. They express the grams of substrate s i consumed (negative sign) or produced (positive sign) per gram of OTU j formed. They are related to y i as seen in Table 1. This defines the stoichiometry matrix Y R 3 × n , such that Y i j = y s i / x j .
Furthermore, for each i [ n ] , OTU i is characterized by its process rate (also known as growth function) μ i ( s , x ) . Notice that for being as generic as possible, the growth rate may be a function of the whole state in order to model the influence of all OTU on the growth rates of others.
An example of this process is the nitrification process where group G 1 is known as Ammonia oxidizing Bacteria (AOB), and group G 2 is known as Nitrite oxidizing Bacteria (NOB) [19].

2.2. Mass Balance Equations

Consider the scenario of a continuous and homogeneous reactor: the input flow is the same as the output flow, with a dilution rate D. The input flow contains a concentration s i n of substrate s 1 . Each OTU grows at a rate μ i ( s , x ) . System (3) represents this situation. A specific case of μ i ( s , x ) is given in the next subsection.
x i ˙ = μ i ( s , x ) D x i i [ n ] s 1 ˙ = ( s i n s 1 ) D i G 1 1 y i μ i ( s , x ) x i s 2 ˙ = s 2 D + i G 1 1 y i μ i ( s , x ) x i i G 2 1 y i μ i ( s , x ) x i s 3 ˙ = s 3 D + i G 2 1 y i μ i ( s , x ) x i
System (3) can also be written in a more compact form using the stoichiometric matrix Y and the diag operator.
x ˙ = diag ( μ ( x , s ) D n × 1 ) x
s ˙ = s i n 0 0 s D + Y diag ( μ ( x , s ) ) x

2.3. Kinetic Equations

In the work of Dumont et al. [16], the growth rates seen in Equation (6) were calibrated against experimental data for the two most abundant OTU of each functional group.
μ i ( s , x ) = μ ¯ i s 1 K i + s 1 1 + j [ n ] a i j x j i G 1 μ i ( s , x ) = μ ¯ i s 2 K i + s 2 1 + j [ n ] a i j x j i G 2
The term 1 + j [ n ] a i j x j accounts for pairwise interactions affecting the growth rate of each OTU, while the term μ ¯ i s j K i + s j is a Monod growth expression, where μ ¯ i represents the maximum growth rate, and K i the half saturation constant [15]. Note that if every a i j = 0 , then one recovers a classic substrate limited growth. Let A denote the matrix with entries a i j hereafter referred to as the interaction matrix. Dumont et al. did not analyse their model but simply provided several simulations using parameter values identified from experimental data. The following section of this article deals with the mathematical analysis of model (3) with growth rates given by (6).

3. Mathematical Analysis

The system of Equation (3) is defined in the region
Ω : = { ( x 1 , , x n , s 1 , s 2 , s 3 ) R n + 3 | x 1 , , x n , s 1 , s 2 , s 3 0 }
First, sufficient conditions on the interaction matrix for the system to be well posed are established: meaning that solutions remain bounded and non-negative in time, this ultimately implies that the solution exists for every t 0 [20].
Second, the equilibria of the system are derived. Possible equilibrium points for this system grow exponentially with the number of OTU considered (n). Stability is not analytically addressed, a numerical scheme calculating every equilibrium point and the system’s Jacobian eigenvalues at the equilibrium point was implemented for studying the system.

3.1. Properties of the System

A bound on the norm of the interaction matrix that depends on the initial conditions and parameters one establishes that solutions will remain positive and bounded.
Lemma 1.
For initial conditions ( x 1 ( 0 ) , , x n ( 0 ) , s 1 ( 0 ) , s 2 ( 0 ) , s 3 ( 0 ) ) ) Ω , there exists positive scalars M 1 , M 2 , and M 3 such that solutions to (3) satisfy the following inequalities:
i G 1 1 y i x i + s 1 M 1
i G 2 1 y i x i + s 1 + s 2 M 2
s 1 + s 2 + s 2 M 3
The proof can be seen in Appendix A. A bound on the norm of A is found such that every matrix A respecting the bound, guaranties that Ω is a positively invariant set.
Lemma 2.
For initial conditions ( x 1 ( 0 ) , , x n ( 0 ) , s 1 ( 0 ) , s 2 ( 0 ) , s 3 ( 0 ) ) ) Ω , there exists a constant M > 0 such that for every matrix A satisfying A M , the solutions of system (3) with growth rates given by (6), remain in Ω and are bounded.
The proof can be seen in Appendix A.
The importance of Lemma 2 is that by restricting the norm of matrix A the system is well-posed, meaning that the solutions can have biological and physical sense (there is no such thing as negative concentrations). Particularly, one has that A = max 1 i m j = 1 n | a i j | , which in this context implies that a bound on the sum of the absolute value of the interaction terms that affects each species allows the system to be well-posed. Note, however, this is a sufficient condition, thus the range of values matrix A can sustain for the system to remain well-posed may be considerably larger.

3.2. Equilibrium Points

In this section, analytical expressions for equilibrium points are shown. However, no analytic expression concerning the stability of such points is presented. In the following pages the reader will appreciate that the expressions of the equilibrium points are not simple, consequently replacing them in a 5 × 5 block matrix and calculating eigenvalues resisted an algebraic treatment. To answer the question of stability a numeric scheme is used by evaluating the Jacobian at the equilibrium point. At the end of the section an algorithm is provided for exploring all the possible equilibria. All the computations for deriving the equations of this section can be found in Appendix B.
Let f ( s ) be such that,
f i ( s ) = μ ¯ i s 1 K i + s 1 i G 1 μ ¯ i s 2 K i + s 2 i G 2
Then μ ( x , s ) = diag ( f ( s ) ) ( 1 n × 1 + A x )
Thus, system (3) is rewritten as follows.
x ˙ = diag ( μ ( x , s ) D n × 1 ) x
s 1 ˙ = ( s i n s 1 ) D + Y 1 diag ( μ ( x , s ) ) x
s 2 ˙ = s 2 D + Y 2 diag ( μ ( x , s ) ) x
s 3 ˙ = s 3 D + Y 3 diag ( μ ( x , s ) ) x
Definition 1.
An equilibrium point (or steady state) is a point ( x e q , s e q ) Ω so that the right hand side of Equations (11)–(14) equals zero.
Observe that equilibrium points are by definition non-negative so the state variables can have physical meaning. For studying the cases where x e q contains zero valued entries, the set of non-active coordinates is defined as follows:
Definition 2.
Given an equilibrium point ( x e q , s e q ) of system (3), then the set of non-active coordinates J { 1 , , n } is defined as: J = { j 1 , , j m : x j i e q = 0 , i [ m ] } . n 1 a c t and n 2 a c t denote the number of positive entries of x e q of functional groups G 1 and G 2 , respectively. n a c t = n m denotes the total number of positive entries of x e q . The active point x a c t R n a c t is defined by the positive entries of x e q . Analogously, the functions f a c t ( s ) and μ a c t ( x , s ) are defined by the positive entries of x e q . The active interactions A a c t is defined as the matrix A without the J rows and columns. The active stoichiometry matrix Y a c t is the matrix Y without the J columns.
In order to derive the equilibrium points, it is desirable an invertible A a c t matrix. Therefore in what follows of the work it is assumed that matrix A and some of its submatrices have an inverse, this is stated properly in Hypothesis 2.
Hypothesis 2 (H2).
Let A be the interaction matrix of size n N and S be a proper subset of [ n ] with | S | = m . Then the matrix B R ( n m ) × ( n m ) defined by taking out the S rows and columns of matrix A is invertible.
Assuming Hypothesis 2 a formula for the active points is derived from Equation (11):
x a c t = ( A a c t ) 1 ( diag ( f a c t ( s ) ) 1 D n a c t × 1 1 n a c t × 1 )
Note as well that at the equilibrium, s 3 can be defined in terms of s 1 , s 2 and s i n . This is done by adding Equations (12)–(14) which gives:
s i n = s 1 + s 2 + s 3

3.2.1. Both Functional Groups Are Present

The case where in each functional group remains at least one OTU is represented by Hypothesis 3.
Hypothesis 3 (H3).
The set J satisfies G 1 J , G 2 J .
By replacing Equation (15) in Equation (12) s 2 can be written as a function of s 1 :
s 2 = s 1 b 1 s 1 2 + b 2 s 1 + b 3
Then by replacing (17) in Equation (13), one gets a fourth degree polynomial for s 1 .
a 4 s 1 4 + a 3 s 1 3 + a 2 s 1 2 + a 1 s 1 + a 0 = 0
Formulae for coefficients b 1 , b 2 , b 3 , a 0 , a 1 , a 2 , a 3 , a 4 can be found in Appendix B.
The equilibrium point can be calculated from the solutions of the system of Equations (15)–(18) with non negative coordinates. If the system only provides solutions with at least one negative entry then the set J cannot define an equilibrium point.

3.2.2. Washout of G 2

The washout of G 2 is equivalent to Hypothesis 4.
Hypothesis 4 (H4).
G 2 J and G 1 J .
Under this case note that f a c t ( s ) depends only on s 1 . Therefore when Equation (15) is replaced in (12), one obtains a quadratic equation for s 1 :
a 2 s 1 2 + a 1 s 1 + a 0 = 0
where a i can be found in Appendix B.
Since x i = 0 i G 2 then from Equation (14).
s 3 ˙ = 0 = s 3 D
s 3 = 0
In this case the equilibrium point can be calculated from the solutions of the system of Equations (15), (16), (A44) and (21) with non-negative coordinates. If the system only provides solutions with at least one negative entry then the set J cannot define an equilibrium point.

3.2.3. Washout of G 2

The washout equilibria means x i = 0 for every i { 1 , , n 1 } . This is equivalent to Hypothesis 5. Note that the structure of a cascade reaction implies that if G 1 gets washed out, then so is G 2 .
Hypothesis 5 (H5).
J = G 1 G 2 .
From Equation (12), one gets
s i n = s 1
then (16) implies
s 2 = s 3 = 0
The equilibrium is then given by 0 1 × n s i n 0 0 .
All the former discussion leads to a potential number of ( 2 n 1 1 ) · ( 4 · ( 2 n 2 1 ) + 2 ) + 1 different equilibria. Indeed:
( 2 n 1 1 ) nonempty subsets of G 1 ( 4 possible solutions of Equation ( 18 ) · ( 2 n 2 1 ) nonempty subsets of G 2 + 2 G 2 Washout ) + 1 Washout

3.3. Stability: Operating and Ecological Diagrams

In this subsection the stability of the equilibrium points is addressed. Operating and ecological diagrams are created from this stability analysis. Both are an illustrative way of representing the long term behaviour of a reactor depending on operating parameters, namely D and s i n : In a D s i n plane different zones representing the stability properties of system (3) are identified [21].
For checking local asymptotic stability of the equilibrium points, the Jacobian of the system is provided and evaluated at each of these points. The resulting matrix’s eigenvalues must have negative real part. A general formula for this Jacobian is presented in Appendix B (see (A70)).
Algorithm 1 summarizes this procedure.
Algorithm 1: Algorithm for Evaluating the Possible Equilibrium Points of System (3).
Bioengineering 08 00031 i001
Operating and ecological diagrams are created by running Algorithm 1 for different pairs ( s i n , D ) . In the case of operating diagrams [22] (OD) all the pairs ( s i n , D ) are regrouped such that the points of the set P represent when partial nitrification (PN), complete nitrification (CN), washout (WO), or a combination of them may arise [23]. PN refers to the state when nitrite ( s 2 ) accumulates because the OTU of G 2 are washed out and thus no conversion from s 2 to s 3 takes place. On the contrary CN is when nitrate ( s 3 ) accumulates because of the presence of OTU of G 2 .
In the case of ecological diagrams (ED) the pairs are regrouped such that the points in the set P have the same non-active coordinates. In other words, instead of representing areas where either CN, PN or WO take place, ranges of pairs ( s i n , D ) where species coexist are represented. ED provide more information than OD, in the sense that one can deduce the latter from the former.
A first example using operating diagrams is presented to illustrate how adding interactions in a model consisting of 1 OTU in G 1 and 1 OTU in G 2 may lead to very different outcomes.
The important question of the existence of limit cycles was not resolved in this work. In the numerical analysis of this model at least one stable equilibrium was found for any choice of parameters. This obviously does not exclude the existence of limit cycles, but to what concerns the authors’ intuitions there always seems to be at least one stable equilibrium point.

3.3.1. Case Study 1: 1 AOB and 1 NOB

Consider the case where n 1 = 1 and n 2 = 1 . The operating diagrams when no interactions take place ( A = 0 ) and a non-zero interaction matrix are presented. When A = 0 Algorithm 1 is no longer valid (A is not invertible), nevertheless the stability analysis is much simpler and is given in the Appendix B section. The interaction matrices are shown in Figure 1a,b, the rational behind the second choice was to force a very strong interaction of x 1 on x 2 and observe its effects. The biological reason behind a negative microbial interaction might be the release of a toxin by x 1 that affects x 2 [1], or in this case it might represent competition for oxygen; we stress the fact that gLV interactions do not explicitly account for mechanistically anything they just try to represent an ecological relationship taking place. The rest of parameters can be seen in Table 2.
The operating diagrams can be seen in Figure 2, note how partial nitrification (washout of G 2 ) of Figure 2b is much bigger when compared to Figure 2a. The shape of the PN region in Figure 2b is somewhat unintuitive, because at a constant dilution rate (0.24 day 1 for example) and an increasing s i n , one passes from a PN zone, to a CN zone, and then back again to a PN zone. The mathematical explanation lies in the fact that x 1 also increases with s i n , and the affine part ( 1 + a 21 x 1 + a 22 x 2 ) of the growth function of x 2 plays a bigger role than substrate limitation ( s 2 s 2 + K 2 ).

3.3.2. Case Study 2: 2 AOB and 2 NOB

Case study 2 is based on Dumont et al. [16] model parameters. They proposed a distribution of parameters obtained from a Bayesian estimation method. Their fit describes well the dynamics of the two most abundant OTU in each functional group, but it still fails to capture the measured substrates dynamics. Kinetic parameters of case study 2 can be seen in Table 3. The estimated interaction matrix is shown in Figure 3a. A second matrix is presented, which is obtained by the sign change of coefficient a 11 (Figure 3b), and finally a third one is obtained by using a positive value for a 12 (Figure 3c). The idea is to show that qualitatively different outcomes can be obtained by changing one interaction at a time.
The ecological diagrams are presented in Figure 4, where the legend indicates the species surviving in the zone of the respective colour. In Figure 4b, the system exhibits bi-stability (it is represented in numbering as (1) and (2) of the different possible equilibriums). Note how every zone in Figure 4b has two stable equilibria, meaning that the outcome of the system is determined by its initial conditions, particularly interesting is the green zone where either x 1 , x 3 coexist or only x 2 remains, because in operational terms this means that either PN or CN may take place. When compared to Figure 4a, one can see that this change in the interactions of the microbial community can dramatically change the outcome of the reactor in a large operating zone.
One can see that coexistence in the same functional group is never attained in Figure 4a,b, whereas in Figure 4c x 1 and x 2 , both AOB, coexist in either partial or complete nitrification. That means that the competitive exclusion principle [22] (CEP) does not hold. The CEP roughly states that if two species are growing on the same limiting resource, and their growth laws only depend non decreasingly on the resource, then only one of them will survive in the long run. This is interesting in light of reports on wastewater treatment plants where coexistence between species in nitrifying reactors has been shown [24], thus implying that a more complex growth law (as shown in here) or model structure involving other biological processes is required to include microbial diversity in mathematical models.

Remarks

Model (3) serves to illustrate that by considering a more complex growth rate that tries to model ecological interactions one might explain differences in reactors operating under similar conditions. It also shows a new mechanism by which the CEP no longer holds and which explains how multiple stable equilibria may appear. Since the gLV model discussed fails to completely capture the dynamics observed in the chemostat experiments [16], the next section proposes a new approach to study interactions.

4. Generalized Approach for Modelling Interactions

In the following an explanatory model (as opposed to a predictive model) is developed based on the hypothesis that interactions might be driving the nitrification process. In the previous sections interactions were modelled as an affine function of the OTU concentration that multiplies a substrate dependent growth equation. More generally the interaction function represents how the growth rate of species i is affected by the concentration of other species, x:
Given a vector ( v 1 , , v n ) the interaction function I is denoted as:
I : R + n R + n v I 1 ( v ) I 2 ( v ) I n ( v )
Let f i ( s ) be a bounded, positive, and continuous function of s (e.g., Monod, Haldane). The growth equation of OTU i becomes:
μ i ( s , x ) = f i ( s ) I i ( x )
Note f ( s ) : = ( f 1 ( s ) , , f n ( s ) ) .
Since the growth of a single strain in batch experiments is driven by the substrate concentration, when no interactions are present one should recover expression f i ( s ) . Therefore if there are no interactions then I i ( x ) = 1 . From this hypothesis, note that lim x 0 I i ( x ) = 1 since if there is minimal presence of OTU, interactions cannot exist. Furthermore for this study it is assumed that I i ( · ) is a continuously differentiable function on x. For making explicit all of the former:
Hypothesis 6 (H6).
The interaction function I previously defined satisfies:
  • I ( 0 , , 0 ) = ( 1 , , 1 )
  • There is an open set Ω R n such that I C 1 ( Ω ) .
Note J I ( x ) the Jacobian matrix of function I , then a first order approximation of I ( · ) centred at x ¯ gives: I ( x ) = I ( x ¯ ) + J I ( x ¯ ) ( x x ¯ ) + o ( x x ¯ ) . When x ¯ = 0 one recovers the growth expression from the previous section (Equation (6)) implying that J I ( 0 ¯ ) can be seen as the interaction matrix from model (3).

4.1. Unravelling the Interaction Function

Suppose that the functions f i ( s ) , and the yields y i are well-known. By using experimental measurements of x, represented by z ( t ) , the objective is to reconstruct function I ( x ) . For doing so, the terms I i ( x ) are replaced by controls u i ( t ) , thus I i ( x ( t ) ) = u i ( t ) . A control law is obtained by solving a nonlinear optimal tracking problem.
Consider the observable system (25), with y ( t ) = x ( t ) being the output, because we are observing measurements coming from genetic sequencing.
x i ˙ = f i ( s ) u i ( t ) D x i i G 1 x i ˙ = f i ( s ) u i ( t ) D x i i G 2 s 1 ˙ = ( s i n s 1 ) D + i G 1 y s 1 / x i f i ( s ) u i ( t ) x i s 2 ˙ = s 2 D + i G 1 G 2 y s 2 / x i f i ( s ) u i ( t ) x i s 3 ˙ = s 3 D + i G 2 y s 3 / x i f i ( s ) u i ( t ) x i y = x
Consider the weighted norms defined by positive definite matrices Q and R, represented by · Q and · R , respectively, and u ¯ > 0 . The optimal tracking problem is defined as:
min 0 T y z Q + ( u 1 ) R d t s . t . ( x , s 1 , s 2 , s 3 ) solution   of   ( 25 ) u i ( t ) [ 0 , u ¯ ]
The control u ( t ) is intended to drive the system to be near a desired output z ( t ) , which in this context are the measurements of the concentrations of OTU. The term ( u 1 ) R , was added for two reasons:
  • First, because the interest is testing the idea that interactions could be driving the system. Therefore adding a penalization in the objective function for each control to remain near 1 can be seen as an attempt to explain data without any interaction. In other words, if the control terms are found to drift from 1, it means that interactions are necessary to explain the system dynamics.
  • Second, to force a regularized control. Otherwise note that u is linear in (25), therefore if the integral cost does not have a non-linear expression of u the optimal control will be of a bang-bang type with possibly singular arcs [25]. Since the objective is to find a differentiable expression of I ( x ) the addition of the regularization term is deemed necessary.
The problem of approximating the solution of the system to a desired reference (z in this case) is called the optimal tracking problem. For solving such a problem the approach developed by Cimen et al. [17,26] was adapted to our problem. The method proposed involves the resolution of Approximating Sequences of Ricatti Equations (ASRE). It consists of iteratively calculating trajectories of System (25) with a certain control law to later feed a non-autonomous Ricatti differential equation with the resulting trajectory. Then, a new control law that uses the solution of the Ricatti equation is proposed and a new trajectory is calculated. The iteration is stopped when a convergence in the output or the control is observed.
The control term should remain positive for the system to be well posed (no negative states), and an upper bound was added to represent the fact that life cannot grow infinitely fast. The tracking problem does not consider a constrained control. Nevertheless, the methods of Cimen et al. [26] were directly used with an explicit constraint in the synthesis of the control. Even though this is probably suboptimal when the control reaches its bounds, one at least is certain about its optimality when the control never reaches its constraints.
Another departure from their method is that in their formulation an approximation of the dynamics for calculating the trajectories is used. They proved that such a linearisation converges to the original dynamics. In the case here presented the linearisation of the dynamics was not necessary.
The change of variable u i ( t ) = v i ( t ) + 1 is used for technical reasons explained in Appendix C.
This in turn implies v i ( t ) [ 1 , u ¯ 1 ] . The feedback control v ( t ) , will be of the form v ( t ) = R 1 B ˜ ( t ) P ˜ ( t ) x ( t ) s f ( t ) . Where matrix P ( t ) and vector s f ( t ) solve differential equations. In Appendix C it is proved that, thanks to the structure of the system, one only needs to calculate 2 n differential equations for the synthesis of the control, instead of ( n + 3 ) 2 + ( n + 3 ) that would imply the direct application of the method, which renders the method—at least theoretically—scalable for a growing number of OTU.

4.2. Proof of Concept

The approach was tested with data generated by simulating model (3) using the parameters of the case study 1 (Table 2) with interaction matrix given by (Figure 1b). In the operating diagram of the same case (Figure 2b) the red zone implies complete nitrification, while the green zone means partial nitrification. For integrating the former phenomena in the simulation, the system was simulated for 300 days, and perturbed at day 150 from the CN zone ( ( s i n , D ) = ( 1.25 , 0.24 ) ) to a PN zone ( ( s i n , D ) = ( 1.95 , 0.24 ) ). Simulations can be seen in Figure 5. Note how from day 150 the NOB population (OTU 2) represented in Figure 5b decreases, which in turn implies a decrease in s 3 , as seen in Figure 5c. In the case where no interactions take place, the OD seen in Figure 2a implies that s 3 would have accumulated all along the trajectory, since the perturbation still remains in the CN zone.
For the tracking procedure the functions f i ( s ) and the yields y i were the same as those used for simulating the synthetic data (parameters in Table 2) and the control is meant to account for the interaction term. The Q and R matrices were λ 1 I n 1 0 0 λ 2 I n 2 and I n , respectively, with λ 1 = 10 4 and λ 2 = 10 5 in order to better track the NOB trajectories, since they are less abundant. The values were obtained by trial and error, by using a single λ for both functional groups, beginning with λ = 1 , in which case one can see how the optimal control becomes u = 1 , thus no tracking is performed. Further diminishing the value from 10 5 adds too much noise to the control, without significant gains on the quality of the tracking.
The results of the procedure to identify interactions can be seen in Figure 6 and Figure 7. Figure 6a and Figure 7a,b show the total biomass concentration, and the trajectories for the OTU belonging to G 1 and G 2 , respectively. It can be seen that the method approaches well the trajectories of the OTU, with a better result for the AOB community, which can be explained by the one order of magnitude difference in their concentrations (which in turn is a consequence of the one order of magnitude difference in their yields). The metabolites concentration represented in Figure 6b are in accordance with the simulated: The method is able to reconstruct the metabolites trajectories from the community measurements.
Figure 8 and Figure 9 show the controls and the corrected growth rate for each functional group. The control for each functional group can be seen in Figure 8a and Figure 9a. Note that from the structure of a quadratic regulator, since there is no cost in the final state, the end value is always 1. Figure 8b and Figure 9b show the resulting growth rates for A O B and N O B , respectively, without the control u i ( t ) . Figure 8c and Figure 9c are the complete expression that determines growth rate, that is f i ( s ( t ) ) u i ( t ) x i ( t ) . Note how little the shape changes with respect to Figure 8b and Figure 9b, which might mislead the reader to conclude that the control had reduced effects in the dynamics. The way out of this conundrum is to remember that the control’s effects are already included in x i ( t ) and s i ( t ) , and thus in expression f i ( s ( t ) ) x i ( t ) .
A final comment on the identifiability of the interaction terms. Even though one might propose a growth rate with the tracking control u ( t ) that accurately replicates the OTU trajectory x ( t ) , retrieving the original interaction coefficients from the obtained control for this example was not possible. The former was tried by minimizing function f ( A ) = 0 T u ( t ) ( 1 + A x ( t ) ) d t with a non linear optimization solver for a 1000 initial random guesses for matrix A. If one also takes into account μ ¯ i and K i as parameters to fit this adds even more degrees of freedom, thus suggesting that the identifiability of growth functions (6) in model (3) might be very low.

5. Application

The tracking problem was applied to data coming from a nitrification process with experimental conditions described in [27]. For exploring the hypothesis of interactions as drivers of bioreactors performance environmental conditions should be kept as constant as possible. Therefore only data from day 183 onwards was used because a change in the operating temperature happened at that point, which is known to have an effect on kinetics. For choosing which species belong in which functional group, the procedure described of Ugalde-Salas et al. [28] was used. From day 183 to day 315, 31 OTU were identified in the G 1 group (AOB) and 5 in the G 2 functional group (NOB).
A first example of the procedure is performed when the classified OTU are regrouped in their assigned functional groups by adding their concentrations. A 5 dimensional dynamical system is obtained, thus there are only two interacting functional biomasses: this case is structurally the same as in the proof of concept, but here a real dataset is used. The same procedure is applied where no regrouping occurs and the system state grows to 39.
The knowledge of functions f i ( s ) was based on a study of nitrification’s kinetic parameters [29]. Particularly given the system’s ammonium and nitrite concentration a Monod function (Equation (27)) was used for G 1 and G 2 with parameters given in Table 4 calculated from the equation of Table 2 of the same article. The yields were fitted to match the nitrogen mass balances. The Q and R matrices were the same as in the proof of concept section, that is λ 1 I n 1 0 0 λ 2 I n 2 and I n , respectively, with λ 1 = 10 4 and λ 2 = 10 5 , because data lie in the same order of magnitude than synthetic data.
f i ( s ) = μ ¯ 2 s 1 K 1 + s 1 i G 1 f i ( s ) = μ ¯ 2 s 2 K 2 + s 2 i G 2
For the reader to gain understanding of the situation, a simulation of the system using the experiments operating parameters (D and s i n ) is presented without control (i.e., u ( t ) = 1 ) in Figure 10 nitrate ( s 3 ) accumulates all along the trajectory, but when compared to data it is clear that s 3 stops accumulating after a while.
When applying the tracking method one obtains the simulation that can be seen in Figure 11 and Figure 12. The method captures the tendencies of the measured substrates as seen in Figure 11b. The tracking of each functional group G 1 (AOB), and G 2 (NOB) can be seen in Figure 12a,b, respectively.
The growth rates of each functional group are shown in Figure 13. Note in the case of AOB (Figure 13a) the resulting growth rate shows a noisy curve formed by pulses. The behaviour of the NOB community (Figure 13b) is qualitatively very similar with somewhat stronger pulses and less noise. The former is to be expected since more OTU were regrouped to compose the AOB biomass, therefore more noise sources were added.
The same procedure is applied without regrouping. The results on total biomass and metabolites are shown in Figure 14a,b, respectively. Both patterns still fit the data, but to a lesser degree of precision when compared to Figure 11. This can be explained by inspecting Figure 15, Figure 16, Figure 17, Figure 18, Figure 19 and Figure 20. First note the absolute error of the tracking for each of the OTU in the AOB community (Figure 15b, Figure 16b, Figure 17b, Figure 18b and Figure 19b), almost every point lies below 0.015 [g/L], implying that the method might not be able to track below that threshold for the members of the AOB community. The former ultimately implies that the most abundant OTU are better tracked, thus the information contained in the least abundant species is not integrated in the model. Notice that the error for the NOB community is lower (Figure 20b), almost every point lies below 0.005 [g/L], this can be explained in the one order of difference in the entry of matrix Q for the AOB and the NOB community. It may be the case that using appropriate weight matrices that account for the difference between OTU abundances could help in this aspect; in that sense only one rational was tested (inverse of the mean abundance of each OTU in the diagonal entries of matrix Q) and did not improve the results. When looking at the growth rates (Figure 15c, Figure 16c, Figure 17c, Figure 18c, Figure 19c and Figure 20c) one again observes pulses for each OTU. Finally, note that most OTU were present only for a fraction of the experiment’s duration.
In both cases, the regrouped and individual tracking, the growth rate varies strongly, raising the question whether the observed pulses are emerging from interactions within the microbial community. When growth rates are compared to the proof of concept section it seems doubtful that a linear pairwise interaction model such as the gLV model could capture the complexity of the particular chemostat analysed. Perhaps these interactions are not constant through time (as opposed to the gLV model) or a different interaction function should be thought of. However the former questions cannot be fully clarified here, because the quality of the genetic sequencing from molecular fingerprints might not be the best when compared to more recent techniques, thus it is unclear if the pulses are due to noise of the measurements.
The interpretation of the correction term as interactions is not the only possible reading. In other contexts the correction term might also be interpreted as a non accounted phenomena ranging from environmental factors (e.g., temperature, pH) to other biological factors (viruses, flock formation, pathogens). Alternative hypotheses for explaining the observed patterns in the microbial community should be considered as well.

6. Conclusions and Perspectives

Over the last decades, advances in genetic sequencing and microbial ecology have opened a gap for modellers in biochemical processes to integrate this valuable information. Considering the success of mass balance models to predict and pilot bioreactors, new models should be built upon them, or at least be compared against them. This article exposed what can be gained from combining population-based models as used in ecology with functional group based approaches as used in bioengineering. The analysis of the gLV model proposed by Dumont et al. [16] already shows that such a combination can give way to models that include bi-stability, coexistence within a functional group, and unintuitive operational insights such as raising the input ammonium s i n to achieve partial nitrification. The increased number of parameters of this particular model obviously hinders its potential application, but it surely helps to illustrate what can be gained by joining both types of models. The mathematical analysis focused on the particular case of pairwise interactions, which can be seen as a first order approximation of the introduced concept of interaction function. This opens the question for a broader class of interaction functions that could well represent complex microbial ecosystems, particularly bioreactors.
With that line of reasoning, in order to understand what this interaction function should look like, a data-driven approach was presented. It can be simply described as correcting the growth rate expression of each individual species in a mass balance model by explicitly assuming a control loop on the growth rate depending on the species state variables and the measured abundances. The reconstructed growth rates seem to consist of pulses, suggesting that a form of a possible interaction function should reproduce this behaviour. However, the former questions cannot be fully clarified here, because the identification and quantification of OTU from single-strand conformation polymorphism (SSCP) as performed by Dumont et al. [18] might not be optimal. Indeed, the determination of OTU from SSCP profiles rely on the identification and quantification of peaks and miss many OTU that appear only as background noise [30]. This type of fingerprinting is thus less accurate than more recent methods such as the sequencing of the 16S ribosomal RNA. In spite of this, one is able to recover the substrates dynamics, implying that the hypothesis of microbial interactions as drivers of a bioprocess, in the form of feedback loops affecting each others growth rates, is not far-fetched.
The use of the tracking technique can be applied in a straightforward manner to already existing models in mixed homogeneous bioreactors, under the condition that the microbial species have already been identified with a particular functionality of the system. Even though the tracking model was proposed for a chemostat setting as a way to correct a substrate limited expression, the method could be used in contexts where less information on the growth function of microbes is known. If one supposes nothing on the growth expression but the fact that is bounded (life cannot grow infinitely fast) the model becomes a linear model and one recovers a classic quadratic regulator for linear systems. This was tested for the data presented in this article and, unfortunately, negative substrate appeared as an output, suggesting that the substrate limitation term is crucial for the model to be well-posed. Nevertheless, even in the former case, the synthesis of the optimal bounded control remains an open theoretical challenge. One might bypass this issue of the current control scheme by, for example, a very thorough use of the Pontryagin maximum principle for the synthesis of the control. In a more general view the reconstruction of the growth function in chemostat systems is already subject to problems of identifiability [31], integrating genetic sequencing could provide a path for more certainty in model calibration.

Author Contributions

Conceptualization J.H., P.U.-S. and E.D.-L.Q., Formal analysis P.U.-S. and H.R.C., Supervision J.H. and E.D.-L.Q. Writing—review & editing J.H., P.U.-S. and E.D.-L.Q. Software P.U.-S. All authors have read and agreed to the published version of the manuscript.

Funding

This work was financed by project Thermomic ANR-16-CE04-0003 (France) and FONDECYT grant 1200355 and Basal Program CMM-AFB 170001, both from ANID (Chile).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Data can be recovered from the following repository https://github.com/paus-5/Class-and-Track (accessed on 24 February 2021).

Acknowledgments

The authors would like to thank Alain Rapaport for the enriching exchanges and comments.

Conflicts of Interest

The authors declare no conflict of interest.

Abbreviations

The following abbreviations are used in this manuscript:
AOBAmmonia oxidizing bacteria
NOBNitrite oxidizing bacteria
OTUOperational Taxonomic Unit

Appendix A. Proofs of Properties of the System

Lemma A1.
For initial conditions ( x 1 ( 0 ) , , x n ( 0 ) , s 1 ( 0 ) , s 2 ( 0 ) , s 3 ( 0 ) ) ) Ω , there exists positive scalars M 1 , M 2 , and M 3 such that solutions to (3) satisfy the following inequalities:
i G 1 1 y i x i + s 1 M 1
i G 2 1 y i x i + s 1 + s 2 M 2
s 1 + s 2 + s 2 M 3
Proof. 
Define z 1 : = i G 1 1 y i x i + s 1 ; z 2 : = i G 2 1 y i x i + s 1 + s 2 ; z 3 : = s 1 + s 2 + s 3 . Computing z 1 ˙ one gets:
z 1 ˙ = i G 1 1 y i x i ˙ + s 1 ˙ = D i G 1 1 y i x i s 1 + s i n = D ( s i n z 1 )
Define s ¯ = max { s i n ( t ) | t 0 } and consider the differential equation:
w ˙ = D ( s ¯ w ) ; w ( 0 ) = i G 1 1 y i x i ( 0 ) + s 1 ( 0 )
If there is a time interval H such that t * H D ( t * ) = 0 , then z 1 is constant and therefore bounded by the value of the solution in z ( t * ) . If D ( t ) > 0 , then w = s ¯ is a stable asymptotic equilibrium. Define M 1 : = max { w ( 0 ) , s ¯ } . If w ( 0 ) > s ¯ then by the Picard-Lindeloff theorem t w ˙ ( t ) < 0 , otherwise it would cross the solution of the initial value problem (A4) with starting point s ¯ , therefore w ( t ) s ¯ . The same reasoning may be applied if w ( 0 ) < s ¯ . One concludes that w ( t ) M 1 .
Now consider
z 1 ˙ = D ( s i n z 1 ) ; z 1 ( 0 ) = i G 1 1 y i x i ( 0 ) + s 1 ( 0 )
From a comparison lemma (see chapter 3 [20]), the solution of (A5) is bounded by w and therefore z 1 ( t ) M 1 .
Define M 2 = max i = n 1 + 1 n 1 y i x i ( 0 ) + s 1 ( 0 ) + s 2 ( 0 ) , s ¯ , and M 3 = max { s 1 ( 0 ) + s 2 ( 0 ) + s 3 ( 0 ) , s ¯ } and noting that z 2 ( t ) and z 3 ( t ) satisfies the same differential equations as z 1 the above reasoning may be applied and one has the desired bounds. □
Lemma A2.
For initial conditions ( x 1 ( 0 ) , , x n ( 0 ) , s 1 ( 0 ) , s 2 ( 0 ) , s 3 ( 0 ) ) ) Ω , there exists a constant M > 0 such that for every matrix A satisfying A M , the solutions of system (3) with growth rates given by (6), remain in Ω and are bounded.
Proof. 
If any coordinate of the solution becomes zero, then it’s derivative is either zero, or positive. The bound will follow from Lemma 1.
Note that for any i [ n ] , if x i = 0 then x i ˙ = 0 , therefore all solutions of system (3) with initial condition x i ( t 0 ) = 0 remain in these planes. By the Picard Lindeloff theorem a solution starting in i n t ( Ω ) cannot cross these planes, therefore x i ( t ) 0 for t 0 . If s 1 = 0 , then s 1 ˙ = D s i n > 0 . Therefore s 1 ( t ) 0 . If s 2 = 0 , let k ¯ = min 1 y i : i [ n ] , by adding both inequalities from Lemma (1) and since s 1 0 one has k ¯ i = 1 n x i M 1 + M 2 , which in turn implies: k ¯ x M 1 + M 2 . Define M : = k ¯ M 1 + M 2 , and let A be a matrix such that A M . It follows that A x A x M 1 M = 1 , and therefore:
( 1 + A i x ) 0 i [ n ]
Computing s 2 ˙ = i G 1 1 y i μ i ¯ f i ( s ) ( 1 + A i x ) x i 0 , and thus s 2 ( t ) 0 . Note that since s 2 0 , bound (A6) is valid for any time, and not only when s 2 = 0 . If s 3 = 0 then s 3 ˙ = i G 2 n 1 y i μ i ( s 2 , x ) 0 . Therefore s 3 0 . For the boundedness it suffices to notice from Lemma 1 that the sum of positive elements is bounded, therefore each element is bounded. □

Appendix B. Deduction of Equilibrium Points

Recall that f i ( s ) = μ ¯ i s 1 K i + s 1 i G 1 μ ¯ i s 2 K i + s 2 i G 2 , then μ ( x , s ) = diag ( f ( s ) ) ( 1 n × 1 + A x ) thus, system (3) is rewritten as follows.
x ˙ = diag ( μ ( x , s ) D n × 1 ) x
s 1 ˙ = ( s i n s 1 ) D + Y 1 diag ( μ ( x , s ) ) x
s 2 ˙ = s 2 D + Y 2 diag ( μ ( x , s ) ) x
s 3 ˙ = s 3 D + Y 3 diag ( μ ( x , s ) ) x
Recall J the set of non-active coordinates. Let M be the matrix defined by taking out the J columns of the identity matrix of size n. When M multiplies from the left it adds rows of zeros to the multiplied matrix in the J coordinates. When matrix M multiplies from the right it takes out the J columns of the multiplied matrix. When M multiplies from the left it takes out the J rows of the multiplied matrix. When M multiplies from the right it adds columns of zeros to the multiplied matrix in the J coordinates. This gives the following relationships:
x e q = M x a c t ; f a c t ( s ) = M f ( s ) ; μ a c t ( x , s ) = M μ ( x , s ) ; Y a c t = Y M ; M M = I n a c t
From Equation (A7) equilibrium points satisfy:
x i = 0 ( diag ( f ( s ) ) ( 1 n × 1 + A x ) D n × 1 ) i = 0 i [ n ]
f i ( s ) ( 1 + A i x ) D = 0 i [ n ] \ J
note that j J , x j e q = 0 therefore the coefficients a i j play no role in Equation (A13) and one can rewrite Equation (A13) as
μ a c t ( x , s ) = diag ( f a c t ( s ) ) ( 1 n a c t × 1 + A a c t x a c t ) = D n a c t × 1
From Hypothesis 2 matrix A a c t has an inverse. This gives the following formula
x a c t = ( A a c t ) 1 ( diag ( f a c t ( s ) ) 1 D n a c t × 1 1 n a c t × 1 )
Note as well that at the equilibrium, s 3 can be defined in terms of s 1 , s 2 and s i n . This is done by adding Equations (A8)–(A10) which gives:
s i n = s 1 + s 2 + s 3

Appendix B.1. Both Functional Groups Are Present

The case where in each functional group remains at least one OTU is represented by Hypothesis 3. By replacing x e q = M x a c t in Equation (A8) yields
( s i n s 1 ) D + Y 1 a c t diag ( μ a c t ( x , s ) ) x a c t = 0
For notation and indexing purposes it is useful to define B : = Y 1 a c t ( A a c t ) 1 M (note B j = 0 j J ). Replacing (A15) in Equation (A8) reads as follows:
( s i n s 1 ) + Y 1 a c t ( A a c t ) 1 M M I n a c t ( diag ( f a c t ( s ) ) 1 D n a c t × 1 1 n a c t × 1 ) = 0
s i n s 1 + i G 1 B i K i + s 1 μ i ¯ s 1 D 1 + i G 2 B i K i + s 2 μ i ¯ s 2 D 1 = 0 / · s 1 s 2
s 2 s 1 2 + s 1 s i n + i G 1 G 2 B i D μ i ¯ 1 + i G 1 D B i K i μ i ¯ = s 1 i G 2 D B i K i μ i ¯
and so we get to formula (17) of the main text:
s 2 = s 1 b 1 s 1 2 + b 2 s 1 + b 3
where
b 1 = i G 2 D B i K i μ i ¯ 1
b 2 = s i n + i G 1 G 2 B i D μ i ¯ 1 i G 2 D B i K i μ i ¯ 1
b 3 = i G 1 D B i K i μ i ¯ i G 2 D B i K i μ i ¯ 1
The same computations must be done with Equation (A9), which is structurally very similar to (A8). By replacing x e q = M x a c t in Equation (A9) yields
s 2 + Y 2 a c t ( A a c t ) 1 ( diag ( f a c t ( s ) ) 1 D n a c t × 1 1 n a c t × 1 ) = 0
It is again useful to define:
C : = Y 2 a c t ( A a c t ) 1 M .
s 2 + Y 2 a c t ( A a c t ) 1 M M I n a c t ( diag ( f a c t ( s ) ) 1 D n a c t × 1 1 n a c t × 1 ) = 0
s 2 + i G 1 D C i K i + s 1 μ i ¯ s 1 + i G 2 D C i K i + s 2 μ i ¯ s 2 i G 1 G 2 C i = 0 / · s 1 s 2
s 1 s 2 2 + s 2 i G 1 G 2 C i D μ i ¯ 1 + i G 2 D C i K i μ i ¯ = s 2 i G 1 D C i K i μ i ¯
and one gets to expression:
s 1 = s 2 c 1 s 2 2 + c 2 s 2 + c 3
where
c 1 = i G 1 D C i K i μ i ¯ 1
c 2 = i G 1 G 2 C i D μ i ¯ 1 i G 1 D C i K i μ i ¯ 1
c 3 = i G 2 D C i K i μ i ¯ i G 1 D C i K i μ i ¯ 1
Then by replacing (A21) in Equation (A30), and after some reordering, one gets a fifth degree polynomial for s 1 .
s 1 c 1 s 1 b 1 s 1 2 + b 2 s 1 + b 3 2 + c 2 s 1 b 1 s 1 2 + b 2 s 1 + b 3 + c 3 = s 1 b 1 s 1 2 + b 2 s 1 + b 3 / · b 1 s 1 2 + b 2 s 1 + b 3 2
a 4 s 1 4 + a 3 s 1 3 + a 2 s 1 2 + a 1 s 1 + a 0 = 0 s 1 = 0
where
a 0 = b 3 + c 3 b 3 2
a 1 = c 2 b 3 + 2 c 3 b 3 b 2 b 2
a 2 = c 1 + c 2 b 2 + c 3 ( b 2 2 + 2 b 1 b 3 ) b 1
a 3 = c 2 b 1 + 2 c 3 b 1 b 2
a 4 = c 3 b 1 2

Appendix B.2. Washout of G2

The washout of G 2 is represented in Hypothesis 4.
Under this case note that f a c t ( s ) depends only on s 1 . By replacing again x e q = M x a c t in Equation (A7), one obtains the same computations as in the previous section, so retake Equation (A41)
s i n s 1 + i G 1 B i K i + s 1 μ i ¯ s 1 D 1 + i G 2 B i K i + s 2 μ i ¯ s 2 D 1 = 0
Since G 1 J then B i = 0 i G 2 thus (A41) becomes:
s i n s 1 + i G 1 B i K i + s 1 μ i ¯ s 1 D 1 = 0 / · s 1
s 1 s i n s 1 2 + i G 1 B i D B i K i μ i ¯ + s 1 i G 1 B i D μ i ¯ 1 = 0
Furthermore, so a quadratic equation for s 1 is obtained.
a 2 s 1 2 + a 1 s 1 + a 0 = 0
where
a 2 = 1
a 1 = s i n + i G 1 B i D μ i ¯ 1
a 0 = i G 1 B i D B i K i μ i ¯

Appendix B.3. Jacobian of the System

Recall that f : X Y is a function, then its derivative is f : X L ( X , Y ) where L ( X , Y ) denotes the set of continuous linear mappings from X to Y, such that f ( x ) f ( a ) f ( a ) [ x a ] = o ( x a ) , where the linear mapping f ( a ) is evaluated at [ x a ] [32]. In the case where X = R n and Y = R m , f ( x ) is the Jacobian matrix evaluated at point x, furthermore f ( x ) [ e j ] (where e j is the canonical j-th vector) is the j-th column of the Jacobian matrix evaluated at point x.
If f is linear then f ( a ) = f for any a X . In the case of the diag operator, we observe it is linear, therefore diag ( a ) [ x ] = diag ( x )
In the case of bilinear mappings another formula holds, let h : X 1 × X 2 Y be bilinear. Then h ( a 1 , a 2 ) [ x 1 , x 2 ] = h ( x 1 , a 2 ) + h ( a 1 , x 2 ) . In the case of the function h 1 : M n × n ( R ) × R n R n such that h 1 ( M , x ) = M x , one can see that h 1 ( A , x ) [ B , y ] = B x + A y .
The chain rule states that f : X Y and g : Y Z , if h : = g f then h ( a ) = g ( f ( a ) ) f ( a ) . Take the expression h : ( x , y ) R n × R n diag ( x ) y . It is clear that h = h 1 ( diag ( x ) , y ) . By the chain rule:
h ( x , y ) [ a , b ] = h 1 ( diag ( x ) , y ) ( diag ( x ) , I n ) [ a , b ]
= h 1 ( diag ( x ) , y ) [ diag ( a ) , b ]
= diag ( a ) y + diag ( x ) b
Note finally that function h is symmetric, i.e., h ( x , y ) = h ( y , x ) . Then going back to our system.
x ˙ = g 1 ( x , s ) = diag ( μ ( x , s ) D n × 1 ) x
s ˙ = g 2 ( x , s ) = s i n 0 0 s D + Y diag ( μ ( x , s ) ) x
where μ ( x , s ) = diag ( f ( s ) ) ( 1 n × 1 + A x ) For a fixed s, let μ s ( x ) : x diag ( f ( s ) ) ( 1 + A x ) then, μ s ( x ) = diag ( f ( s ) ) A . Let g 1 s ( x ) : = h ( μ s ( x ) D n × 1 , x ) = g 1 ( x , s ) , then compute g 1 s :
g 1 s ( x ) [ e j ] = h ( μ s ( x ) D n × 1 , x ) ( μ s ( x ) , I n ) [ e j , e j ]
= h ( μ s ( x ) D n × 1 , x ) [ diag ( f ( s ) ) A e j , e j ]
= diag ( f ( s ) ) diag ( x ) A j + diag ( μ s ( x ) D n × 1 ) e j
g 1 s ( x ) = diag ( f ( s ) ) diag ( x ) A + diag ( μ s ( x ) D n × 1 )
Again, for a fixed s, let g 2 s ( x ) : = s i n 0 0 s D + Y h ( μ s ( x ) , x ) = g 2 ( x , s ) , then compute g 2 s :
g 2 s ( x ) [ e j ] = Y h ( μ s ( x ) , x ) ( μ s ( x ) , I n ) [ e j , e j ]
= Y diag ( f ( s ) ) diag ( x ) A j + diag ( μ s ( x ) ) e j
g 2 s ( x ) = Y ( diag ( f ( s ) ) diag ( x ) A + diag ( μ s ( x ) ) )
Let f G 1 ( s 1 ) the function containing the first n 1 components of function f ( s ) and f G 2 ( s 2 ) the function containing the last n 2 components of function f ( s ) so one can write
f ( s ) = f G 1 ( s 1 ) f G 2 ( s 2 )
One can see then that:
f ( s ) = f G 1 ( s 1 ) 0 n 1 × 2 0 n 2 × 1 f G 2 ( s 2 ) 0 n 2 × 1
Now for a fixed x let μ x ( s ) : s diag ( f ( s ) ) ( 1 n × 1 + A x ) , therefore μ x ( s ) = diag ( 1 + A x ) f ( s ) . Let g 1 x ( s ) : = h ( μ x ( s ) D n × 1 , x ) = g 1 ( x , s ) , then compute g 1 x :
g 1 x ( s ) [ e j ] = h ( μ x ( s ) D n × 1 , x ) ( μ x ( s ) , 0 ) [ e j , e j ]
g 1 x ( s ) [ e j ] = h ( μ x ( s ) D n × 1 , x ) [ μ x ( s ) e j , 0 ]
g 1 x ( s ) [ e j ] = diag ( x ) μ x ( s ) e j
g 1 x = diag ( x ) diag ( 1 + A x ) f ( s )
Again, for a fixed x let g 2 x ( s ) : = s i n 0 0 s D + Y h ( μ s ( x ) , x ) = g 2 ( x , s ) , then compute g 1 x :
g 2 x ( s ) [ e j ] = D I n e j + Y h ( μ x ( s ) , x ) ( μ x ( s ) , 0 ) [ e j , e j ]
g 2 x ( s ) [ e j ] = D I n e j + Y h ( μ x ( s ) , x ) [ μ x ( s ) e j , 0 ]
g 2 x ( s ) [ e j ] = D I n e j + Y diag ( x ) μ x ( s ) e j
g 2 x ( s ) = D I n + Y diag ( x ) diag ( 1 + A x ) f ( s )
Finally note that:
f G 1 : = f 1 s 1 , , f n 1 s 1 = μ ¯ 1 K 1 ( K 1 + s 1 ) 2 , , μ ¯ n 1 K n 1 ( K n 1 + s 1 ) 2 R n 1 f G 2 : = f n 1 + 1 s 2 , , f n s 2 = μ ¯ n 1 + 1 K n 1 + 1 ( K n 1 + 1 + s 2 ) 2 , , μ ¯ n K n ( K n + s 2 ) 2 R n 2
Then the Jacobian of the system may be expressed as:
J ( x , s ) = g 1 s ( x ) g 1 x ( s ) g 2 s ( x ) g 2 x ( s )

Appendix B.4. Stability Analysis with no Interactions

In this case the growth functions are
μ 1 ( s , x ) = μ ¯ 1 s 1 K 1 + s 1 ; μ 2 ( s , x ) = μ ¯ 2 s 2 K 1 + s 2
Coexistence:
s 1 e q = K 1 D μ ¯ 1 D ; x 1 e q = s i n s 1 e q k 1 ; s 2 e q = K 2 D μ ¯ 2 D ; x 2 e q = s i n s 1 e q s 2 e q k 2 ; s 3 e q = s i n s 1 e q s 2 e q
Washout of x 2
s 1 e q = K 1 D μ ¯ 1 D ; x 1 e q = s i n K 1 D μ ¯ 1 D k 1 ; s 2 e q = s i n s 1 e q ; x 2 e q = 0 ; s 3 e q = 0
Washout
s 1 e q = s i n ; x 1 e q = 0 ; s 2 e q = 0 ; x 2 e q = 0 ; s 3 e q = 0
Jacobian of the system:
μ ¯ 1 s 1 K 1 + s 1 D 0 μ ¯ 1 K 1 ( K 1 + s 1 ) 2 x 1 0 0 0 μ ¯ 1 s 2 K 2 + s 2 D 0 μ ¯ 2 K 1 ( K 1 + s 2 ) 2 x 2 0 k 1 μ ¯ 1 s 1 K 1 + s 1 0 D k 1 μ ¯ 1 K 1 ( K 1 + s 1 ) 2 x 1 0 0 k 1 μ ¯ 1 s 1 K 1 + s 1 k 2 μ ¯ 2 s 2 K 2 + s 2 k 1 μ ¯ 1 K 1 ( K 1 + s 1 ) 2 x 1 D k 2 μ ¯ 2 K 2 ( K 2 + s 2 ) 2 x 2 0 0 0 0 0 D

Appendix C. Tracking Problem Reformulation and Details

For applying the methods developed in [26]. Define the system state X = ( x , s ) . Make the change of variables v i = u i 1 with v = ( v 1 , , v n ) are applied to system (25). The system may be rewritten then as:
x i ˙ = f i ( s ) ( 1 + v i ( t ) ) D x i i G 1 x i ˙ = f i ( s ) ( 1 + v i ( t ) ) D x i i G 2 s 1 ˙ = s 1 s i n s 1 1 D + i G 1 y s 1 / x i f i ( s ) ( 1 + v i ( t ) ) x i s 2 ˙ = s 2 D + i G 1 G 2 y s 2 / x i f i ( s ) ( 1 + v i ( t ) ) x i s 3 ˙ = s 3 D + i G 2 n 1 + n 2 y s 3 / x i f i ( s ) ( 1 + v i ( t ) ) x i y ( t ) = x ( t )
Define:
A X = A 11 ( X ) A 12 ( X ) A 21 ( X ) A 22 ( X ) ; B X = B 1 ( X ) B 2 ( X )
with
A 11 ( X ) = diag ( f ( s ) D n × 1 ) ; A 12 ( X ) = 0 n × 3
A 21 ( X ) = Y diag ( f ( s ) ) ; A 22 ( X ) = s i n s 1 1 D 0 0 0 D 0 0 0 D
and
B 1 ( X ) = diag ( f ( s ) ) diag ( x ) ; B 2 ( X ) = Y diag ( f ( s ) ) diag ( x ) ; C ( X ) = diag ( I n ) 0 n × 3
Then the system (A71) can be rewritten as:
X ˙ = A ( X ) X + B ( X ) v ; y = C ( X ) X
z ( t ) R n is the measured vector containing the OTU concentrations in time. The cost functional is given by
J ( v ) = z ( t f ) C ( X ) X ( t f ) F z ( t f ) C ( X ) X ( t f )
+ t 0 t f z ( t ) C ( X ) X ( t ) Q z ( t ) C ( X ) X ( t ) + v ( t ) R v ( t )
where F , Q and R are positive definite matrices. Since there is no interest in the final time F = 0 . Q and R are taken as diagonal matrices, in that way the system can be reduced as shown below. Particularly after testing the model in the proof of concept and data, the Q and R matrices were λ 1 I n 1 0 0 λ 2 I n 2 and I n , respectively, with λ 1 = 10 4 and λ 2 = 10 5 .
Define the dynamic sequences for i N , X ˙ [ i ] as:
X ˙ [ i ] = A ( X [ i ] ) X [ i ] + B ( X [ i ] ) v [ i ] i N
y [ i ] = X [ i ] i N
X [ i ] ( t 0 ) = X 0 i N
and for i = 0 define X [ 0 ] ( t ) as the solution of (A71) with v ( t ) 0 . The control law is given by
v [ i ] ( t ) j = max 1 , min 0 , R 1 B X [ i 1 ] ( t ) P [ i ] ( t ) X [ i ] ( t ) s f [ i ] ( t ) j j [ n ]
where P [ i ] ( t ) M n + 3 × n + 3 ( R ) and s f [ i ] ( t ) R n + 3 are the solution to the differential equations:
P ˙ [ i ] = C T X [ i 1 ] ( t ) Q C X [ i 1 ] ( t ) P [ i ] A X [ i 1 ] ( t ) A X [ i 1 ] ( t ) P [ i ]
+ P [ i ] B X [ i 1 ] ( t ) R 1 B X [ i 1 ] ( t ) P [ i ]
P [ i ] ( t f ) = C X [ i 1 ] ( t f ) F C X [ i 1 ] ( t f )
s f [ i ] ˙ = C X [ i 1 ] ( t ) Q z ( t ) A X [ i 1 ] ( t ) B X [ i 1 ] ( t ) R 1 B X [ i 1 ] ( t ) P [ i ] ( t ) s f [ i ]
s f [ i ] ( t f ) = C X [ i 1 ] ( t f ) F z ( t f )
Replacing the matrices of our problem
P ˙ [ i ] ( t ) = Q 0 n × 3 0 3 × n 0 3 × 3 P [ i ] A X [ i 1 ] ( t ) A X [ i 1 ] ( t ) P [ i ] + P [ i ] B X [ i 1 ] ( t ) R 1 B X [ i 1 ] ( t ) P [ i ]
P [ i ] ( t f ) = 0 n × n 0 n × 3 0 3 × n 0 3 × 3
s f ˙ [ i ] ( t ) = Q z ( t ) 0 3 × 1 A X [ i 1 ] ( t ) B X [ i 1 ] ( t ) R 1 B X [ i 1 ] ( t ) P [ i ] ( t ) s f [ i ]
s f [ i ] ( t f ) = 0 n × n 0 n × 3 z ( t f )
For certain entries of the dynamic the constantly zero function is a solution for them, implying by existence and uniqueness that they should be constantly zero. Then P [ i ] has n × n non zero entries and s [ i ] has n non zero entries, explicitly:
P [ i ] ( t ) = P ˜ [ i ] ( t ) 0 n × 3 0 3 × n 0 3 × 3 ; s f [ i ] ( t ) = s ˜ f [ i ] ( t ) 0 1 × 3
A X [ i 1 ] ( t ) = A 11 A 12 A 21 A 22 ; B X [ i 1 ] ( t ) = B 1 B 2
where A 11 = diag f s [ i 1 ] D n × 1 , and B 1 = diag f s [ i 1 ] diag x [ i 1 ] The equations for P ˜ [ i ] ( t ) :
P ˜ ˙ [ i ] ( t ) = Q P ˜ [ i ] A 11 A 11 P ˜ [ i ] + P ˜ [ i ] B 1 R 1 B 1 P ˜ [ i ] ; P ˜ [ i ] ( t f ) = 0
Inspecting the former equation one notices that if i j , P i j ( t ) = 0 is a solution of all non diagonal entries when R is diagonal. Furthermore, therefore, once again, by existence and uniqueness they should be constantly zero. Hence only the diagonal entries should be calculated.
P ˜ ˙ j j [ i ] ( t ) = Q j j 2 f j s [ i 1 ] D P ˜ j j [ i ] + R 1 P ˜ j j [ i ] 2 f j s [ i 1 ] 2 x j [ i 1 ] 2 ; P ˜ j j [ i ] ( t f ) = 0
For and s ˜ f [ i ] ( t ) the system reduces to:
s ˜ ˙ f [ i ] ( t ) = z ( t ) A 11 R 1 B 1 B 1 P ˜ [ i ] ( t ) s ˜ f [ i ] ; s ˜ f [ i ] ( t f ) = 0
Furthermore, the control law is given by
v [ i ] ( t ) j = max 1 , min 0 , R 1 B 1 X [ i 1 ] ( t ) P ˜ [ i ] ( t ) x [ i ] ( t ) s ˜ f [ i ] ( t ) j j [ n ]
They were solved using standard backward numerical integration.

References

  1. West, S.A.; Diggle, S.P.; Buckling, A.; Gardner, A.; Griffin, A.S. The Social Lives of Microbes. Ann. Rev. Ecol. Evol. Syst. 2007. [Google Scholar] [CrossRef] [Green Version]
  2. Widder, S.; Allen, R.J.; Pfeiffer, T.; Curtis, T.P.; Wiuf, C.; Sloan, W.T.; Cordero, O.X.; Brown, S.P.; Momeni, B.; Shou, W.; et al. Challenges in microbial ecology: Building predictive understanding of community function and dynamics. ISME J. 2016, 10, 2557–2568. [Google Scholar] [CrossRef] [Green Version]
  3. Wade, M.; Harmand, J.; Benyahia, B.; Bouchez, T.; Chaillou, S.; Cloez, B.; Godon, J.J.; Boudjemaa, B.M.; Rapaport, A.; Sari, T.; et al. Perspectives in mathematical modelling for microbial ecology. Ecol. Model. 2016, 321, 64–74. [Google Scholar] [CrossRef]
  4. Song, H.S.; Cannon, W.; Beliaev, A.; Konopka, A. Mathematical Modeling of Microbial Community Dynamics: A Methodological Review. Processes 2014, 2, 711–752. [Google Scholar] [CrossRef] [Green Version]
  5. Boucher, Y.; Douady, C.J.; Papke, R.T.; Walsh, D.A.; Boudreau, M.E.R.; Nesbø, C.L.; Case, R.J.; Doolittle, W.F. Lateral Gene Transfer and the Origins of Prokaryotic Groups. Ann. Rev. Genet. 2003. [Google Scholar] [CrossRef]
  6. Ferrera, I.; Sánchez, O. Insights into microbial diversity in wastewater treatment systems: How far have we come? Biotechnol. Adv. 2016, 34, 790–802. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  7. Lotka, A.J. Elements of Physical Biology. J. Am. Stat. Assoc. 1925. [Google Scholar] [CrossRef]
  8. Volterra, V. Fluctuations in the abundance of a species considered mathematically. Nature 1926. [Google Scholar] [CrossRef]
  9. Kot, M. Elements of Mathematical Ecology; Cambridge University Press: Cambridge, UK, 2001. [Google Scholar] [CrossRef] [Green Version]
  10. Hernández-Bermejo, B.; Fairén, V. Lotka–Volterra representation of general nonlinear systems. Math. Biosci. 1997. [Google Scholar] [CrossRef] [Green Version]
  11. Perez-Garcia, O.; Lear, G.; Singhal, N. Metabolic network modeling of microbial interactions in natural and engineered environmental systems. Front. Microbiol. 2016, 7, 673. [Google Scholar] [CrossRef]
  12. Gopalsamy, K. Global asymptotic stability in a periodic Lotka–Volterra system. J. Aust. Math. Soc. Ser. B Appl. Math. 1985. [Google Scholar] [CrossRef] [Green Version]
  13. Aleksandrov, A.Y.; Aleksandrova, E. Convergence conditions for some classes of nonlinear systems. Syst. Control Lett. 2017, 104, 72–77. [Google Scholar] [CrossRef]
  14. Bucci, V.; Tzen, B.; Li, N.; Simmons, M.; Tanoue, T.; Bogart, E.; Deng, L.; Yeliseyev, V.; Delaney, M.L.; Liu, Q.; et al. MDSINE: Microbial Dynamical Systems INference Engine for microbiome time-series analyses. Genome Biol. 2016, 17, 121. [Google Scholar] [CrossRef] [Green Version]
  15. Monod, J. Recherches sur la Croissance des Cultures Bacteriennes; Hermann: Paris, France, 1942. [Google Scholar]
  16. Dumont, M.; Godon, J.J.; Harmand, J. Species Coexistence in Nitrifying Chemostats: A Model of Microbial Interactions. Processes 2016, 4, 51. [Google Scholar] [CrossRef] [Green Version]
  17. Çimen, T. State-Dependent Riccati Equation (SDRE) control: A survey. IFAC Proc. Vol. (IFAC-PapersOnline) 2008, 41, 3761–3775. [Google Scholar] [CrossRef]
  18. Dumont, M.; Harmand, J.; Rapaport, A.; Godon, J.J. Towards functional molecular fingerprints. Environ. Microbiol. 2009, 11, 1717–1727. [Google Scholar] [CrossRef]
  19. Sharma, B.; Ahlert, R. Nitrification and nitrogen removal. Water Res. 1977, 11, 897–925. [Google Scholar] [CrossRef]
  20. Khalil, H.K. Nonlinear Systems; Prentice Hall: Upper Saddle River, NJ, USA, 1996. [Google Scholar] [CrossRef]
  21. Pavlou, S. Computing operating diagrams of bioreactors. J. Biotechnol. 1999, 71, 7–16. [Google Scholar] [CrossRef]
  22. Harmand, J.; Lobry, C.; Rapaport, A.; Sari, T. The Chemostat: Mathematical Theory of Microorganism Cultures; John Wiley & Sons: Hoboken, NJ, USA, 2017. [Google Scholar] [CrossRef]
  23. Khin, T.; Annachhatre, A.P. Novel microbial nitrogen removal processes. Biotechnol. Adv. 2004, 22, 519–532. [Google Scholar] [CrossRef]
  24. Wagner, M.; Loy, A.; Nogueira, R.; Purkhold, U.; Lee, N.; Daims, H. Microbial community composition and function in wastewater treatment plants. Antonie Van Leeuwenhoek 2002, 81, 665–680. [Google Scholar] [CrossRef]
  25. Harmand, J.; Lobry, C.; Rapaport, A.; Sari, T. Optimal Control in Bioprocesses: Pontryagin’s Maximum Principle in Practice; John Wiley & Sons: Hoboken, NJ, USA, 2019. [Google Scholar] [CrossRef]
  26. Çimen, T.; Banks, S.P. Nonlinear optimal tracking control with application to super-tankers for autopilot design. Automatica 2004, 40, 1845–1863. [Google Scholar] [CrossRef]
  27. Dumont, M.; Rapaport, A.; Harmand, J.; Benyahia, B.; Godon, J.J. Observers for microbial ecology-How including molecular data into bioprocess modeling? In Proceedings of the 2008 16th Mediterranean Conference on Control and Automation, Ajaccio, France, 25–27 June 2008; pp. 1381–1386. [Google Scholar]
  28. Ugalde-Salas, P.; Harmand, J.; Desmond-Le Quéméner, E. Asymptotic Observers and Integer Programming for Functional Classification of a Microbial Community in a Chemostat. In Proceedings of the 2019 18th European Control Conference (ECC), Naples, Italy, 25–28 June 2019; pp. 1665–1670. [Google Scholar]
  29. Wiesmann, U. Biological nitrogen removal from wastewater. In Biotechnics/Wastewater; Springer: Berlin/Heidelberg, Germany, 1994; pp. 113–154. [Google Scholar] [CrossRef]
  30. Loisel, P.; Harmand, J.; Zemb, O.; Latrille, E.; Lobry, C.; Delgenès, J.P.; Godon, J.J. Denaturing gradient electrophoresis (DGE) and single-strand conformation polymorphism (SSCP) molecular fingerprintings revisited by simulation and used as a tool to measure microbial diversity. Environ. Microbiol. 2006, 8, 720–731. [Google Scholar] [CrossRef]
  31. Dochain, D. State and parameter estimation in chemical and biochemical processes: A tutorial. J. Process Control 2003, 13, 801–818. [Google Scholar] [CrossRef]
  32. Cartan, H. Calcul Différentiel; Hermann: Paris, France, 1967; Volume 1. [Google Scholar]
Figure 1. Interaction matrices. Note how the presence of x1 affects very negatively x2 in (b), with respect to other interactions. The terms in the diagonal entries of the matrix represent intraspecies interactions, while the terms off the diagonal represent the interspecies interactions. (a) Interaction matrix of model (3) with no interactions. (b) A non-zero interaction matrix of model (3).
Figure 1. Interaction matrices. Note how the presence of x1 affects very negatively x2 in (b), with respect to other interactions. The terms in the diagonal entries of the matrix represent intraspecies interactions, while the terms off the diagonal represent the interspecies interactions. (a) Interaction matrix of model (3) with no interactions. (b) A non-zero interaction matrix of model (3).
Bioengineering 08 00031 g001
Figure 2. (a) Operating diagram of model (3) with no interactions (interaction matrix represented by Figure 1a). (b) Operating diagram of model (3) with interactions represented by Figure 1b. Note how (b) has a much larger zone where partial nitrification takes place. This is due to the negative interaction of x1 on x2.
Figure 2. (a) Operating diagram of model (3) with no interactions (interaction matrix represented by Figure 1a). (b) Operating diagram of model (3) with interactions represented by Figure 1b. Note how (b) has a much larger zone where partial nitrification takes place. This is due to the negative interaction of x1 on x2.
Bioengineering 08 00031 g002
Figure 3. Interaction matrices for each case for a consortia of 4 bacterial species where x1 and x2 are AOB and x3 and x4 are NOB. Parameters a11 and a12 were modified in (b,c), respectively.
Figure 3. Interaction matrices for each case for a consortia of 4 bacterial species where x1 and x2 are AOB and x3 and x4 are NOB. Parameters a11 and a12 were modified in (b,c), respectively.
Bioengineering 08 00031 g003
Figure 4. Ecological diagrams (ED). The different zones represent the combination of surviving species in the steady state. PN takes place when neither x3 nor x4 are present. CN takes place if x3 or x4 are present. (a) ED from interaction matrix on Figure 3a. (b) ED from interaction matrix on Figure 3b. In the legend (1) and (2) represent the two different stable equilibria in each zone. (c) ED from interaction matrix on Figure 3c. Note that in (b) two stable equilibria exist for each zone.
Figure 4. Ecological diagrams (ED). The different zones represent the combination of surviving species in the steady state. PN takes place when neither x3 nor x4 are present. CN takes place if x3 or x4 are present. (a) ED from interaction matrix on Figure 3a. (b) ED from interaction matrix on Figure 3b. In the legend (1) and (2) represent the two different stable equilibria in each zone. (c) ED from interaction matrix on Figure 3c. Note that in (b) two stable equilibria exist for each zone.
Bioengineering 08 00031 g004
Figure 5. Synthetic data generated by model (3), with parameters from case study 1. Note the effects of the increased input sin generated in day 150.
Figure 5. Synthetic data generated by model (3), with parameters from case study 1. Note the effects of the increased input sin generated in day 150.
Bioengineering 08 00031 g005
Figure 6. Asterisks represent the synthetic data, while the continuous lines represent the method’s output. The method is able to reconstruct the metabolites pattern, from the biomasses concentrations.
Figure 6. Asterisks represent the synthetic data, while the continuous lines represent the method’s output. The method is able to reconstruct the metabolites pattern, from the biomasses concentrations.
Bioengineering 08 00031 g006
Figure 7. Asterisks represent the synthetic data, while the continuous lines represent the method’s output. The method reconstructs a continuous trajectory from the synthetic data.
Figure 7. Asterisks represent the synthetic data, while the continuous lines represent the method’s output. The method reconstructs a continuous trajectory from the synthetic data.
Bioengineering 08 00031 g007
Figure 8. Obtained control and reconstructed growth rate for OTU 1 (AOB).
Figure 8. Obtained control and reconstructed growth rate for OTU 1 (AOB).
Bioengineering 08 00031 g008
Figure 9. Control and reconstructed growth rate for OTU 2 (NOB).
Figure 9. Control and reconstructed growth rate for OTU 2 (NOB).
Bioengineering 08 00031 g009
Figure 10. Simulation of system (25) when u = 1, with functions as in (27). Data points are represented by a star. The continuous line represents the simulation.
Figure 10. Simulation of system (25) when u = 1, with functions as in (27). Data points are represented by a star. The continuous line represents the simulation.
Bioengineering 08 00031 g010
Figure 11. Results on applying the tracking method to a nitrification experiment when regrouping OTU in their functional groups. Data points are represented by asterisks. The continuous line represents the tracking procedure results.
Figure 11. Results on applying the tracking method to a nitrification experiment when regrouping OTU in their functional groups. Data points are represented by asterisks. The continuous line represents the tracking procedure results.
Bioengineering 08 00031 g011
Figure 12. The tracking procedure applied to the observed biomass (asterisks) regrouped in two functional groups.
Figure 12. The tracking procedure applied to the observed biomass (asterisks) regrouped in two functional groups.
Bioengineering 08 00031 g012
Figure 13. Obtained growth rates when regrouping OTU in their functional groups.
Figure 13. Obtained growth rates when regrouping OTU in their functional groups.
Bioengineering 08 00031 g013
Figure 14. Results on applying the tracking method to a nitrification experiment when all OTU are tracked independently. Data points are represented by a star. The continuous line represents the tracking procedure results.
Figure 14. Results on applying the tracking method to a nitrification experiment when all OTU are tracked independently. Data points are represented by a star. The continuous line represents the tracking procedure results.
Bioengineering 08 00031 g014
Figure 15. Results for OTU 1-7 (AOB).
Figure 15. Results for OTU 1-7 (AOB).
Bioengineering 08 00031 g015
Figure 16. Results for OTU 8-14 (AOB).
Figure 16. Results for OTU 8-14 (AOB).
Bioengineering 08 00031 g016
Figure 17. Results for OTU 15-22 (AOB).
Figure 17. Results for OTU 15-22 (AOB).
Bioengineering 08 00031 g017
Figure 18. Results for OTU 23-28 (AOB).
Figure 18. Results for OTU 23-28 (AOB).
Bioengineering 08 00031 g018
Figure 19. Results for OTU 29-31 (AOB).
Figure 19. Results for OTU 29-31 (AOB).
Bioengineering 08 00031 g019
Figure 20. Results for OTU 32-36 (NOB).
Figure 20. Results for OTU 32-36 (NOB).
Bioengineering 08 00031 g020
Table 1. Relationship of y s i / x j with y j .
Table 1. Relationship of y s i / x j with y j .
Yields per Biomass Formed j G 1 j G 2
y s 1 / x j 1 y j 0
y s 2 / x j 1 y j 1 y j
y s 3 / x j 0 1 y j
Table 2. A set of kinetic parameters of model (3).
Table 2. A set of kinetic parameters of model (3).
Kinetic Parameters μ ¯ i [1/day] K i [g/L] 1 y i [gr/gr]
x 1 G 1 0.770.73.98
x 2 G 2 1.070.316.12
Table 3. Kinetic parameters of model (3) from Dumont et al. [16].
Table 3. Kinetic parameters of model (3) from Dumont et al. [16].
Case Study 2 Kinetic Parameters μ i [1/day] K i [mg/L] 1 y i [gr/gr]
x 1 G 1 0.8280.1473.85
x 2 G 1 0.8280.1473.85
x 3 G 2 0.180.026100
x 4 G 2 0.180.026100
Table 4. A set of kinetic parameters of model (25).
Table 4. A set of kinetic parameters of model (25).
Kinetic Parameters μ i [1/day] K i [g/L] 1 y i [gr/gr]
x 1 G 1 1.97 7 × 10 1 4.49
x 2 G 2 1.87 5.4 × 10 1 45.51
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Ugalde-Salas, P.; Ramírez C., H.; Harmand, J.; Desmond-Le Quéméner, E. Microbial Interactions as Drivers of a Nitrification Process in a Chemostat. Bioengineering 2021, 8, 31. https://doi.org/10.3390/bioengineering8030031

AMA Style

Ugalde-Salas P, Ramírez C. H, Harmand J, Desmond-Le Quéméner E. Microbial Interactions as Drivers of a Nitrification Process in a Chemostat. Bioengineering. 2021; 8(3):31. https://doi.org/10.3390/bioengineering8030031

Chicago/Turabian Style

Ugalde-Salas, Pablo, Héctor Ramírez C., Jérôme Harmand, and Elie Desmond-Le Quéméner. 2021. "Microbial Interactions as Drivers of a Nitrification Process in a Chemostat" Bioengineering 8, no. 3: 31. https://doi.org/10.3390/bioengineering8030031

APA Style

Ugalde-Salas, P., Ramírez C., H., Harmand, J., & Desmond-Le Quéméner, E. (2021). Microbial Interactions as Drivers of a Nitrification Process in a Chemostat. Bioengineering, 8(3), 31. https://doi.org/10.3390/bioengineering8030031

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