Next Article in Journal
Application of Copper as Stabiliser in Aluminium Assisted Transfer of Titanium in Submerged Arc Welding of Carbon Steel
Next Article in Special Issue
Off-Gas-Based Soft Sensor for Real-Time Monitoring of Biomass and Metabolism in Chinese Hamster Ovary Cell Continuous Processes in Single-Use Bioreactors
Previous Article in Journal
Photolithographically Home-Made PVDF Sensor for Cavitation Impact Load Measurement
Previous Article in Special Issue
How to Tackle Underdeterminacy in Metabolic Flux Analysis? A Tutorial and Critical Review
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Set Membership Estimation with Dynamic Flux Balance Models

Department of Chemical Engineering, University of Waterloo, 200 University Ave W, Waterloo, ON N2L3G1, Canada
*
Author to whom correspondence should be addressed.
Processes 2021, 9(10), 1762; https://doi.org/10.3390/pr9101762
Submission received: 25 August 2021 / Revised: 25 September 2021 / Accepted: 26 September 2021 / Published: 1 October 2021
(This article belongs to the Special Issue Mathematical Modeling and Control of Bioprocesses)

Abstract

:
Dynamic flux balance models (DFBM) are used in this study to infer metabolite concentrations that are difficult to measure online. The concentrations are estimated based on few available measurements. To account for uncertainty in initial conditions the DFBM is converted into a variable structure system based on a multiparametric linear programming (mpLP) where different regions of the state space are described by correspondingly different state space models. Using this variable structure system, a special set membership-based estimation approach is proposed to estimate unmeasured concentrations from few available measurements. For unobservable concentrations, upper and lower bounds are estimated. The proposed set membership estimation was applied to batch fermentation of E. coli based on DFBM.

1. Introduction

The increasing demand of bio-pharmaceutical products requires continuous improvement in monitoring and control strategies for the fermentation processes. Model-based control and optimization strategies are crucial to boost productivity. Unlike traditional unstructured biochemical models, dynamic flux balance models (DFBM) have gained increasing attention since they contain more detailed information about the distribution of metabolic fluxes [1,2]. The strength of DFBM relies on their use of stoichiometric information about the cell metabolic network. The use of this information often results in models that require a smaller number of parameters as compared to another type of modelling approaches and thus are less prone to over-fitting. However, regardless of the choice of model, monitoring and control of industrial fermentation processes remains challenging because feedback control strategies require many states to be measured online. In reality, most states cannot be measured online either due to the expense of measuring equipment and its maintenance or the lack of online measurement devices [3,4,5]. Some states, including concentration of amino acids, metals, vitamins, ATP and precursors have great effect on the fermentation process but are either difficult or impossible to measure online.
To address the lack of online measurements, soft sensors have been proposed. Soft sensors are algorithms that estimate the values of the states based on few available online measurements. Data-driven soft sensors are currently very popular, driven by the interest in the artificial intelligence research area. Reported data-driven soft sensors are generally based on artificial neural networks, support vector machines, partial least squares, and fuzzy inference [4]. However, despite their popularity, the main drawback of data-driven soft sensors is their limited applicability to the region of data used for model training and the scarcity of data available for calibration [6]. Moreover, the lack of mechanistic information of these black box models introduces concerns about the safety and reliability of the controllers designed based on these models [6].
Another category of soft sensors are state observers based on mechanistic models such as a Luenberger observer, Kalman filter, and particle filter. These state observers estimate the values of some states based on convergence of state prediction errors and provided that sufficient measurements are available [7]. A key prerequisite of theses state observer designs is that some observability condition is satisfied with respect to the estimated states. It will be shown later in the manuscript that, unless enough states of a DFBM model are measured online, it is difficult to satisfy full observability for all the states.
In the absence of observability of some states, instead of estimating their specific values it is possible to estimate intervals (ranges) of values based on a priori known range of initial conditions, i.e., range of values at time = 0 . This type of problem is referred to in the literature as an initial values problem with parameter uncertainty or set-valued ODE integration. The parameter here refers to either uncertain initial states or some model parameter such as a kinetic constant. In the past several decades, different methods have been proposed to find tight bounds containing the reachable sets, including interval analysis [8], Taylor models with different remainder bounds [9], set-base parameter estimation [10], and different relaxation methods [11]. Due to the uncertainty amplification effect, interval analysis can diverge quickly and only suits a small part of the system. Set-based parameter estimation is computationally expensive because the parameter space need to be validated in a piecewise manner and each validation test requires the solution of a semi-definite programming problem. Taylor models can be used to find tight and nonconvex bounds of reachable sets but cannot be easily formulated to take measurements into consideration. To find the reachable sets compatible with available measurements, different relaxation methods and domain reduction are required which are computationally expensive.
When measurements are available, the trajectories that are not compatible with those measurements should be removed from the reachable sets. Estimation algorithms that efficiently deal with reachable sets subject to measurements including interval observers and set membership estimation algorithms [12,13]. An interval observer is usually composed of two classical observers (framers) which estimate the lower and upper bounds of states, respectively. However, sufficient measurements and fulfillment of observability are still required to build the two classical observers [14,15]. Most interval observers exploit the order-preserving properties of cooperative systems to estimate bounds of states [16]. Set membership estimation is an alternative method for estimating the uncertainty of a set of states that has been applied to linear systems [17]. The propagation of uncertainty along time is performed by a series of affine mapping operations over sets. Different shapes of sets have been used to contain the uncertainty, including zonotopes [18], parallelotopes [17] and ellipsoids [19].
In this research, a set membership estimation approach is proposed for nonlinear systems described by DFBM models. The DFBM is converted into a variable structure system composed of several continuous systems in different region of state space by multiparametric linear programming. To address the lack of measurements an Extended Kalman Filter (EKF) is used to estimate nominal values of some states which are important for determining metabolic fluxes. Then, a set membership estimation algorithm is applied for DFBM to estimate bounds of all states. A detector is proposed to detect the switch between different subsystems.
The paper is organized as follows. Section 2.1 introduces background of DFBM. Section 2.2 describes the use of multiparametric linear programming to convert the DFBM into a variable structure system composed of subsystems. Section 2.3 describes the EKF used to estimate some states which are important for determining metabolic fluxes. Section 2.4 presents the main ideas of set propagation and error compensation for calculation of states’ bounds. Section 2.5 presents the algorithm for detecting the switch between different subsystems. Section 3 provides the application of the proposed techniques to the batch fermentation of E. coli. Section 4 presents a Discussion of the results followed by Conclusions.

2. Materials and Methods

2.1. Dynamic Flux Balance Models

Dynamic flux balance models (DFBM) are structured genome-based metabolic models developed from flux balance models. The key assumption of DFBM is that the cells act as agents distributing resources through metabolic reaction networks to boost a biological objective, e.g., growth rate [1]. Accordingly, the DFBM is formulated as an optimization problem. In the literature [20], both dynamic and static optimization approaches are reported. In the dynamic approach, the nonlinear programming problem is solved over a relatively large time period which is computationally expensive and thus less convenient for uncertainty propagation. In this investigation, static optimization approach is adopted for its simplicity. DFBM is interpreted as a local linear programming problem to maximize a biological objective. In terms of dynamics of intracellular metabolites, there are two type of DFBM models in the literature. One type of DFBM differentiates intracellular and extracellular environments and assumes that the intracellular metabolic reactions are fast enough such as it can be assumed at quasi-steady state [2,21]. Accordingly, only the extracellular metabolites and the biomass are described by dynamic state equations. It has been argued that the intracellular metabolite concentrations are not constant and may change over time [22]. Accordingly, there is a second type of DFBM, used in the current study, which does not differentiate between intracellular and extracellular compartments and the dynamics of all the metabolites are considered [20,23]. The governing equations of DFBM are based on discretized mass balances for all metabolites and these are defined by Equations (1a)–(1d).
x k + 1 = B x k + Δ t x b i o , k A v k + h
y k = Cx k + r k
x 0 P 0
r k T N ( 0 , Σ , l , u ) k = 0 , 1 , 2
where x k is a vector of n x state variables at the time step k. The state vector x includes concentrations of metabolites and biomass x b i o . y is a vector of n y measured variables. B R n x × R n x is a constant diagonal matrix with diagonal elements b j , j = 1 , , n x . Δ t is a constant discrete time step size. A R n x × R n r c t is a stoichiometry coefficient matrix, where n r c t is the number of reactions considered in the metabolic network. v R n r c t is the metabolic flux vector and its calculation is discussed below. h R n x is a constant vector. The initial state x 0 is assumed to be bounded by a finite polyhedron P 0 as Equation (1c). The underlying assumption is that in practice the initial concentrations of the culture medium components are known to be within specific ranges of values P 0 . This assumption is based on the fact that some variation in media formulation occurs due to human factor and variability in raw materials. Hence, this research focuses on the initial uncertainty and we assume all parameters in the state equations to be known accurately. In other words, the method proposed in this research cannot deal with model structure uncertainty like uncertainty in matrix A. However, the method can be extended to deal indirectly with uncertainty in parameters θ defined in the following paragraphs.
r k R n y are measurement noise vectors of which the elements follow the truncated multivariate normal distribution (TN) [24,25]. The probability density function p for T N ( μ , Σ , l , u ) are defined as per Equation (2).
p ( x , μ , Σ , l , u ) = e x p { 1 2 ( x μ ) T Σ 1 ( x μ ) } l u e x p { 1 2 ( x μ ) T Σ 1 ( x μ ) }
For r k , the mean vector of TN is 0 R n y ; the covariance is Σ R n y × R n y ; the corresponding variance vector is σ 2 R n y ; the lower bound and upper bound are l R n y and u R n y , respectively. | · | indicates the absolute value of a vector. It is assumed that | l | 3 σ and | u | 3 σ , which indicate that the absolute values of the lower bound and upper bound, respectively, are within the range of 3 σ . For simplicity, the current study assumes the process noise to be zero. Process noise could be included as an additional state but this is beyond the scope of the current work.
Following the assumption that the cell allocates resources optimally, the metabolic flux v vector at each time step is obtained by solving a linear programming (LP) problem, defined by Equations (3a) and (3b).
max v k c T v k
subject to Gv k F θ k ( x k ) + z
where c R n r c t , F R n G × R n θ , z R n G , G R n G × R n r c t , θ Θ R n θ . n G is the number of linear constraints. The parameter vector θ is a nonlinear vector-valued function of states x . n θ denotes the number of elements in the parameter vector θ . Usually, each element θ is only function of two states at most and one of these two states is biomass concentration. Θ denotes the parameter space where the optimal solution of the LP resides. Equation (3a) denotes the objective of the LP that cells are optimizing where the most commonly used objective is the biomass production rate, i.e., growth rate. Thus, cells try to maximize growth rate by allocating limited resources. The LHS (left hand-side) in Equation (3b) describes either the rate of change of metabolite concentrations or the change of metabolite concentrations over a discretization time step Δ t . Matrices G are constant matrices containing the information of the stoichiometry of reactions. RHS in Equation (3b) is a function of x k , denoting the metabolic reaction bounds for each step. The matrix F is a matrix of which the elements are the part of the right hand side of the constraints that are functions of states at the previous time interval. z is a vector containing constant values such as constant uptake rate limits. Therefore, linear constraints of flux v in Equation (3b) are reaction rate limits or bounds on available resources (nutrients). Numerical examples of these matrices and vectors are shown for the E. coli model in the results section.

2.2. Multiparametric Linear Programming for DFBM

2.2.1. Multiparametric Linear Programming

While set -based methods are available for uncertainty propagation for linear state space equations, these methods are not directly applicable to DFBM. The reason is that the fluxes used in the state equations are obtained from an LP and thus the problem is nonlinear due to the nonlinear function θ ( x ) and the occurrence of different sets of active constraints. To tackle the dependency of the state equations on the LP, the concept of multiparametric linear programming (mpLP) is used to convert the DFBM into a variable structure system which is composed of subsystems. Multiparametric linear programming divides the parameter space ( Θ ) into different regions corresponding to different sets of active constraints and generates explicit expressions for calculating optimal solutions ( v ) for each region [26,27,28].
Let assume a given optimal solution v of the LP (Equation (3)) where subscript A and I denote indices of active and inactive constraints, respectively. Using this notation Equation (3b) is decomposed into two parts, equalities G A v k = F A θ k ( x k ) + z A and inequalities G I v k F I θ k ( x k ) + z I . Without loss of generality, let us assume that G A is linear independent (linear redundant rows can always been removed by Gaussian elimination). Let H = G A 1 F A and g = G A 1 z A , then the optimal solution can be obtained by Equation (4).
v k = H θ k ( x k ) + g
Substituting Equation (4) into the inequality constraints results in Equation (5).
( G I H F I ) θ k ( x k ) < z I G I g
Equation (5) defines a polyhedral region of θ where the existence of the optimal solution is ensured by Equation (4). The region defined by Equation (5) is referred to as a critical region in the multiparametric programming literature. Different critical regions are defined by different combinations of A and I . Then, the entire parameter space Θ can be decomposed into connected critical regions denoted by { Θ i } , i = 1 , , n Θ . n Θ denotes the total number of critical regions in Θ . In practice, critical regions that are very small are ignored and assumed to be covered by the adjacent critical region. Correspondingly, superscript i is used to denotes the i-th critical region. Assume for a specific θ Θ i , the optimal flux v vector can be calculated analytically by v k i = H i θ k + g i thus bypassing the need for solving the LP. Following the literature and our previous studies, for a given θ , multiple optimal solutions can coexist [29,30]. In other words, multiple Equation (4) can coexist which results in different ways to divide the parameter space Θ . When such multiplicity issue occurs it results in different time trajectories. For simplicity, multiplicity is not addressed in the current study and it is addressed in a separate work by different methods from the one presented here.
By substituting the optimizer equation v k i = H i θ k + g i into Equation (1a), we obtained a set of governing state equations as per Equations (6a)–(6e). Since different θ k are within different critical regions as Equation (6b), each critical region corresponds to different state equations Equation (6a). Thus the set { Θ i } defines a family of state space models and this family is referred to as a variable structure system. A variable structure system is a piecewise continuous system composed of subsystems where each subsystem corresponds to a different region of the state space. Furthermore, the region of the state space corresponding to a specific subsystem is referred to as a critical region. Each subsystem is described by a different set of state equations. Accordingly, the state equations need to be changed as soon as the states enter into a new critical region. Here, the superscript i denotes the i-th subsystem corresponding to a critical region Θ i . Equations (6c)–(6e) remain the same form as Equations (1b)–(1d).
x k + 1 = B x k + Δ t x b i o , k A ( H i θ k ( x k ) + g i ) + h
θ k ( x k ) Θ i i = 1 , , n Θ
y k = Cx k + r k
x 0 P 0
r k T N ( 0 , Σ , l , u ) k = 0 , 1 , 2

2.2.2. Reaction Rate Estimability

To further simplify the system described by Equations (6a)–(6e) it is possible to exploit the sparseness of the H matrix. For instance, to take advantage of zero columns of H , Equation (4) can be re-written as shown in Equation (7). For conciseness, the subscript k is omitted here because Equation (7) applies for all time steps.
v i = H i θ ( x ) + g i = H N i H Z i θ N i ( x N i ) θ Z i ( x ) + g i = H N i θ N i ( x N i ) + g i
In Equation (7) N and Z denote the indices of the nonzero and zero columns of the H matrix, respectively. Because H Z is a submatrix containing the zero columns of H , the flux v is only a function of parameters θ N ( x N ) according to Equation (7). Moreover, while the parameters θ are a function of states x (see Equations Equations (1a)–(1d) and (3)), only some elements of x actually determine the entire flux vector v . The vector x N contains, according to Equation (7), the states that determine the flux vector. Notice that for different critical regions flux-determining vector x N contains different states. Therefore, Equation (6a) can be simplified into Equation (8).
x k + 1 = B x k + Δ t x b i o , k A ( H N i θ N i ( x N , k i ) + g i ) + h
The biological interpretation of the flux-determining state vector x N is that only some resources are limiting the growth of cells, either because they are limited or because the activity of enzymes in the related reactions (fluxes) is limiting. As the fermentation progresses, the states transit into new critical regions from old critical regions. Different critical regions can be interpreted as different metabolic stages where x N are different. Similar interpretations have been reported in [26] in the context of steady state flux balance analysis.
In Equation (8), the term Δ t x b i o , k A ( H N i θ N i ( x N , k i ) denotes the change of metabolite concentrations contributed by metabolic reactions. Therefore, the reaction rates are x b i o , k A ( H N i θ N i ( x N , k i ) . It is noted that this nonlinear reaction rate term is not only a function of the flux-determining states vector x N but also of biomass concentration x b i o , because the fluxes are defined per unit biomass, i.e., more biomass demands more nutrients to satisfy the requirement of the growth. Once the states that determine the reaction rates, i.e., the states x N together with the value of x b i o , can be estimated, the estimation problem can be simplified greatly. Since in some cases x N contains x b i o but in some cases it does not, we define a reaction-rate-determining state vector x M in Equation (9). Hence, the reaction-rate-determining state vector x M always contains the flux-determining states x N and the biomass state x b i o without any redundancy.
x M = x N , if x N contains the biomass state x b i o . x N x b i o , otherwise .
The vector x M for critical region Θ i is denoted by x M i . We define reaction rate estimability as the ability to determine the reaction rates x b i o , k A ( H N i θ N i ( x N , k i ) in the metabolic networks which is needed for the calculation of Equation (8). Following the above, once reaction-rate-determining state vector x M at time step k can be estimated, the dynamic evolution of the culture at step k + 1 as per Equation (8) can be predicted. In addition, it should be noticed that it is not necessary to measure all the reaction-rate-determining states for reaction rate estimability and instead some states can be estimated by an observer from available measurements. However, if an observer is used to estimate x M i , some particular combination of measurements is necessary for observability of x M i . Considering different measurement combinations Ω 1 i , Ω 2 i . . . for the critical region Θ i , only some combinations provide full observability of x M i . Let Ω O i be defined as a family of sets of measurements, which contains all measurement combinations that fulfill observability of x M i .
Although many different critical regions and corresponding combinations of measurements could be considered, in practice the possibilities will be limited because industrial fermentations usually operate in a narrow range of operating conditions. Thus, the dynamic trajectories of states only pass through a limited set of critical regions. Assume for x 0 P 0 , the set of critical regions that the trajectories traverse are Γ . Then, the minimum set of measurements required for the reaction rate estimability of the critical region set Γ is Ω Γ as per Equations (10a)–(10c).
Ω Γ = min j | i Ω j i |
subject to i Γ
Ω j i Ω O i
where | · | is the cardinality of a finite countable set, i.e., the number of elements of a set. In Equation (10c), Ω j i Ω O i indicates that the measurement combination Ω j i can fulfill the observability of reaction-rate-determining states x M i of critical region Θ i . If all states in set Ω Γ are measured, the reaction rate term of any trajectory starting from P 0 can be estimated by the observer. In other words, although x M i in different critical regions may be different, requiring different measurements for observability, x M i is always observable if the chosen set of measurements satisfy Equation (10c).

2.3. Extended Kalman Filter (EKF)

Using the minimum required set of measurements, Ω Γ is defined in Equation (10c), x M can be estimated by an observer. x M corresponds to the observable subspace of the governing equation (Equations (1a)–(1d)) for each critical region. The state equation of the observable subspace for critical region Θ i is given by Equations (11a)–(11c).
x M , k + 1 i = f i ( x M , k i ) = B x M , k i + Δ t x b i o , k A M ( H N i θ N i ( x N , k i ) + g i ) + h M
y k = C M i x M , k i + r k
r k T N ( 0 , Σ , l , u ) k = 0 , 1 , 2
where x N , k i and x M , k i are the flux-determining state vector and the reaction-rate-determining state vector for critical region Θ i , respectively; A M is the stoichiometry submatrix corresponding to x M . Similarly h M is a sub-vector of h corresponding to x M . It should be noticed that, for different critical regions, x M involves different states. Accordingly, each critical region requires the use of a different EKF. In addition, it should be noticed that the C M i matrices are different for each critical region but the measured variables Ω Γ are the same since the same sensors are used for the entire fermentation.
To estimate x M i , an standard EKF is used due to its effective and simple structure [31]. The estimate x ^ M , k i and covariance P k i of x M i for critical region Θ i are described by Equation (12a) and Equation (12b), respectively.
x ^ M , k i = f i ( x ^ M , k 1 i ) + K k ( y k C M i f i ( x ^ M , k 1 i ) )
P k i 1 = Φ k 1 i P k 1 i Φ k 1 i T + C M i T ( Σ Σ T ) 1 C M i
where
K k = Φ k 1 i P k 1 i Φ k 1 i T C M i T ( C M i Φ k 1 i P k 1 Φ k 1 i T C M i T + Σ Σ T ) 1
Φ k i = f i x M i ( x ^ M , k i )
The measurement noise is assumed to be a truncated multivariate normal distribution as Equation (11c). This assumption is needed for estimating finite bounds as explained in the following section. Recall in Equation (2) that | l | 3 σ and | u | 3 σ , the lower and upper bounds are located within the range of 3 σ . The covariance matrix P k is always overestimated to ensure boundedness. Although the EKF resulting from this assumption is sub-optimal, it is still sufficient to estimate x M i .

2.4. Set Propagation and Error Compensation

Since the minimum set of measurements defined by Equations (10a)–(10c) can only ensure the observability of x M , the estimation of other states needs different estimation strategies. The idea is to exploit the a priori knowledge of the initial ranges of initial conditions to estimate all states. Instead of predicting specific values of states, set membership estimation (SME) approach is used to predict sets containing all possible states by a series of set operations. These set operations usually include linear mapping, projection, translation, Minkowski addition, intersection, union, and outer approximation. In this research, all sets and multiparametric linear programming operations are performed with the Multi-Parametric Toolbox 3.0 (https://www.mpt3.org/ accessed on 15 July 2021) [32] and MATLAB R2018a. The E. coli example can be found online (https://github.com/SetMembershipEstimationDFBM/E.coliExample, accessed on 25 September 2021). For DFBM, SME propagates the initial set P 0 by affine mapping as Equation (14). Affine mapping involves two operations: linear mapping of the previous set and translation.
X ^ k + 1 B X ^ k linear mapping + Δ t x ^ b i o , k A ( H N i θ N i ( x ^ N , k i ) + g i ) + h translation
where X ^ k represents the set of states at time step k and X ^ 0 = P 0 , i.e., the set of initial conditions assumed to be known. In Equation (14), the translation term is approximated by using the estimate x ^ M , k i obtained by the EKF. In the application of EKF, the estimate x ^ M , k i needs several time steps to converge to the true flux-determining states x M , k i . Thus the SME described by Equation (14) may underestimate bounds while the EKF is converging. To mitigate this problem, a correction is implemented to compensate for the estimate error as described below. Since no extra information is available, the compensation of the estimate error is based on the worst case scenario.
The error in the estimate incurred by the observer for critical region Θ i is e M i = x M , k i x ^ M , k i . Since x M , k i always contains biomass x b i o , k i and x N , k i , the corresponding estimate errors are defined as e N , k i = x N , k i x ^ N , k i and e b i o i = x b i o , k i x ^ b i o , k i . Let us assume that the function θ is first-order differentiable and define Jacobian matrix ψ k i .
ψ k i = θ N i x N i ( x ^ N , k i )
Substituting the estimate error e k i , e b i o i and Jacobian matrix ψ k i into Equation (8), a corrected state equation that accounts for the estimate error is obtained as Equations (16a) and (16b). Equations (16a) and (16b) uses a first order approximation to account for the state deviation ϵ k i caused by the estimate error e M , k i , while the EKF is converging. The error compensation based on linearization provides satisfactory bounds because the error between estimate and measured is small and decreases quickly due to the convergence of EKF.
x k + 1 = B x k + Δ t x ^ b i o , k A ( H N i ψ k i x ^ N , k i + g i ) + h + ϵ k i
ϵ k i = D k e N , k i + e b i o , k M k e N , k i + L k e b i o , k
where
D k = x ^ b i o , k Δ t AH N i ψ k i + h
M k = Δ t AH N i ψ k i
L k = Δ t A ( H N i θ N , k i ( x ^ N , k i ) + g i )
In this work, the noise was assumed to follow a truncated multivariate Gaussian distribution. The corresponding standard multivariate Gaussian distribution of noise contains the truncated one. As illustrated in Figure 1, when an EKF is used to estimate the states, the distribution of states with a standard Gaussian noise should similarly contain the one with the truncated Gaussian noise, which is the true distribution of states. Moreover, the distribution of states by standard EKF is also a multivariate Gaussian distribution. For Gaussian distribution, 99.7 % of the samples are within the interval of 6 standard deviations from both sides of the mean for each state. Thus, an interval set based on 6 standard deviations can contain the distribution by standard EKF and eventually contain the true distribution of states as in Figure 1. Since P k i is the covariance of a standard EKF, the diagonal elements of matrix P k i are the variances for each state. Therefore, diagonal elements of P k i can be used to define the interval set to bound the error ϵ k i .
To formulate an error compensation operation scheme several set operations are introduced first as follows. The n-dimensional interval set is S ( p , q ) with lower bound p and upper bound q as S ( p , q ) = { x R n : p x q } . The outer approximation operation Q ( · ) of a bounded set W is denoted by Q ( W ) , which involves the mapping of the set W to a new interval set. If the infimum and supremum are denoted by inf ( · ) and sup ( · ) , respectively, the outer approximation of the set W is Q ( W ) = S ( inf ( W ) , sup ( W ) ) . The operator ⊕ is the Minkowski addition of two sets. For example, for two sets α and β , α β = { a + b : a α , b β } .
Notice that the diagonal elements of P k i are the variances of each state. Then, if the standard deviation of e N , k i is η N , k i and of e b i o , k i is η b i o , k i , two interval sets E N , k and E b i o , k can be defined to bound η N , k i and η b i o , k i , respectively, based on the choice of 3 standard deviation ranges, as e N , k i E N , k = S ( 3 η N , k i , 3 η N , k i ) and e b i o , k i E b i o , k = S ( 3 η b i o , k i , 3 η b i o , k i ) . In Equation (16b), since | e b i o , k i | < 3 η b i o , k i , we have e b i o , k M k e N , k i 3 η b i o , k i M k E N , k . Similarly, the other two terms in Equation (16b) can be bounded as D k e N , k i D k E N , k and L k e b i o , k L k E b i o , k , respectively. Therefore, the state deviation ϵ k i term can be contained within the interval set E ϵ , k according to Equation (18).
ϵ k i E ϵ , k = Q ( ( D k + 3 η b i o , k i M k ) E N , k ) Q ( L k E b i o , k )
where the sets D k E N , k and 3 η b i o , k i M k E N , k occurring in Equation (18) are combined together. On the other hand, L k E b i o , k originates from a different set E b i o , k and thus Minkowski addition must be used to add the different sets. However, linear mapping of interval sets can lead to irregular convex sets. In computational geometry, traditional algorithms that perform Minkowski addition for two convex irregular high-dimensional polytopes are computationally expensive [33]. On the other hand, Minkowski addition of two interval sets is computationally efficient because intervals are axis-aligned. Thus, the operator Q ( · ) that converts the irregular set to the axis-aligned set is applied to speed up the computation of the Minkowski addition.
Following the above, the set of states X ^ k + 1 is bounded by the prior estimate set P k + 1 according to Equations (19a) and (19b).
P k + 1 = Q { B P k + linear mapping + Δ t x ^ b i o , k A ( H N i θ N i ( x ^ N , k i ) + g i ) + h translation } E ϵ , k
X ^ k + 1 P k + 1
where the set of the posterior estimates is P k + . B P k + denotes the scaling of the set P k + by the diagonal matrix B . Then the set B P k + is translated by the vector in the big curly brackets. To compensate for the deviation during the convergence of EKF, the interval set E ϵ , k is added by Minkowski addition.
Considering the truncated measurement noise, r k = y k Cx k is bounded by the lower l and upper bounds u ; let us define a set M k = { x k R n x : l < y k Cx k < u } . Then, the posterior estimate set P k + 1 + is given by Equations (20a)–(20c). In this study, it is assumed that P k + and P k + 1 are much smaller than the volumes of the critical regions.
P k + 1 + = P k + 1 M k + 1
X ^ k + 1 P k + 1 +
P 0 + = P 0
Figure 2 illustrates the set propagation using intervals for an example involving two states, e.g., glucose and biomass concentrations. The initial set P 0 contains all possible initial values of glucose and biomass. Then P 1 + is generated through set operations by computational geometry algorithms. Since an interval set is used, it is computationally efficient to project the set P 1 + onto the biomass and glucose axes to obtain the corresponding lower bounds l g l c , l b i o and upper bounds u g l c , u b i o as shown in the figure for the set P 1 + .

2.5. Detecting the Transition between Critical Regions

The proposed use of multiparametric programming converts the DFBM into a variable structure system composed of subsystems where each critical region corresponds to a subsystem. Along a given time trajectory the states may transit from one critical region to another. When the states estimated by the EKF leave a critical region Θ i to enter another critical region Θ j , the estimate x ^ M , k and the covariance P k must be reinitialized because x M for different critical regions may be different, even though the measured states are the same. Moreover, a criterion is required to detect whether the states are entering into a new critical region.
When the system is traversing from one critical region to another, it needs to cross a boundary between the critical regions. Over time the states may cross over several boundaries along their trajectories and these crossings must be detected. Two neighboring critical regions share a boundary where an active constraint will become inactive or vice versa. The activation of a constraint may require the change of constraints related to x ^ N , k . For a given constraint, θ is usually only function of two states at most because of commonly used Michaelis-–Menten kinetics [34] or constraints to prevent the depletion of nutrients [23] and one of these two states is biomass. So two special cases should be considered as follows when system switches from one critical region to the next:
Case i— x N i of the old critical region Θ i have one more observable state than the x N j of the new critical region Θ j . For this case, the switch between critical regions is determined by Equation (21). Equation (21) calculates the norm of the difference between the flux estimates obtained with Equation (7) in the two neighboring regions. Notice that the flux estimate of Θ j is based on estimate x ^ N , k i of the old critical region. The value of γ ( i , j , k ) is used to detect the occurrence of a switch. If the system is exactly at the boundary of these two critical regions, the flux equation Equation (7) for these two critical regions should result in the same flux value and γ ( i , j , k ) will be zero. A schematic example is shown in Figure 3. Polygons in different colors represent different critical regions in the parameter space Θ . As the state evolves with time, the corresponding θ changes along the dash line in the parameter space Θ . As the θ approaches the boundary between the critical region Θ 1 and Θ 2 , γ ( i , j , k ) approaches zero. Correspondingly, a value of γ ( i , j , k ) smaller than a user specified tolerance indicates a switch between critical regions, thus requiring reinitialization of the EKF as follows: x ^ N , k j is set equal to x ^ N , k i and P k j is set equal to P k i .
γ ( i , j , k ) = v ^ k i v ^ k j = H N i θ N i ( x ^ N , k i ) + g i ( H N j θ N j ( x ^ N , k i ) g j )
Case ii— x N j of the new critical region Θ i has one more observable state than the x N j of the old critical region Θ i . To reinitialize the EKF, x ^ N , k j and P k j can be set to the old values except for the new observable state that is not observable in the old critical region, and thus it needs to be estimated for calculating γ ( i , j , k ) . By projecting the set P k + , the lower l u n , k and upper bounds u u n , k can be calculated. Since no extra information is available, the mean value of the upper bound and lower bound is used as the nominal value of the unobservable state as per Equation (22).
x ^ u n , k i = 1 2 ( u u n , k + l u n , k )
Equation (23) is used to calculate γ ( i , j , k ) . The flux estimate for the new critical region Θ j is based on the nominal values of the unobservable state x ^ u n , k i combined with x ^ N , k i of the old critical region.
γ ( i , j , k ) = v ^ k i v ^ k j = H N i θ N i ( x ^ N , k i ) + g i ( H N j θ N j ( x ^ u n , k i , x ^ N , k i ) g j )
To reinitialize the EKF, the estimate and covariance are used together with the estimation of the new state that is added in the new critical region. Assuming the states are close enough to the boundary between the critical regions, then Equation (24) holds.
H N i θ N i ( x ^ N , k i ) + g i ( H N j θ N j ( x ^ N , k j , x ^ u n , 0 j ) g j ) = 0
The initial estimate of new observable state x ^ u n , 0 j in the new region can be calculated by solving the Equation (24). Since the new state is between the upper bound and lower bound by SME, the half length between u u n , k and l u n , k is the worst possible deviation. Then, using a 3 standard deviation range, the initial variance η u n , k 2 can be estimated according to Equation (25) and all other covariance terms related to the new state are assumed to be zero.
η u n , k = 1 3 · 1 2 ( u u n , k l u n , k )
Bounds of states estimated by the SME are rigorously guaranteed in each critical region separately but subject to accurate tuning of the tolerance that is used to switch between the subsystems. The tolerance of γ ( i , j , k ) is the only user specified parameter in this research. If the tolerance is too large or small, the EKF may switch the subsystem too early or too late. Accordingly, if the wrong state equations are used in estimation, the bounds on the states may be violated. To avoid such a situation, exhaustive simulations that are initialized with P 0 are conducted to find the tolerance used to switch between critical regions. As an alternative, an overestimated covariance can also be used to reinitialize the EKF when the state enters a new critical region to avoid bound violations.

3. Results

3.1. DFBM Model of E. coli

A DFBM model of E. coli reported in [20] is used to illustrate the proposed methodology. The DFBM in batch operation includes four states, glucose concentration x g l c , oxygen concentration x o x y , acetate concentration x a c e , and biomass concentration x b i o as in Equations (26a)–(26e). Thus, the state vector is x = x g l c x o x y x a c e x b i o T . The substrates are glucose, oxygen, acetate.
x g l c , k + 1 = x g l c , k + Δ t x b i o , k A glc v k
x o x y , k + 1 = ( 1 k L a Δ t ) x o x y , k + Δ t x b i o , k A oxy v k + 0.21 k L a Δ t
x a c e , k + 1 = x a c e , k + Δ t x b i o , k A ace v k
x b i o , k + 1 = x b i o , k + Δ t x b i o , k A bio v k
x 0 P 0 = S ( 0.38 0.1995 0.19 0.00095 T , 0.42 0.2205 0.21 0.00105 T )
where k L a = 4 h 1 is the oxygen mass transfer coefficient. The initial state vector x 0 is defined by the interval set P 0 according to Equation (26e). The matrix A contains the stoichiometric coefficients corresponding to four reactions according to Equation (27). Each column of this matrix corresponds to one reaction and each row correspond to one component.
A = A glc A oxy A ace A bio = 0 9.46 9.84 19.23 35 12.92 12.73 0 39.43 0 1.24 12.12 1 1 1 1
The flux vector v k is obtained by solving the following linear programming problem as Equations (28a)–(28g):
max v k A bio v k
subject to A oxy v k OUR m a x
A ace v k 100
Δ t A glc v k x g l c , k x b i o , k = θ 1 , k
Δ t A oxy v k ( 1 k L a Δ t ) x o x y , k + 0.21 k L a Δ t x b i o , k = θ 2 , k
Δ t A ace v k x a c e , k x b i o , k = θ 3 , k
A glc v k GUR m a x x g l c , k K m + x g l c , k = θ 4 , k
where OUR m a x = 12 mM / ( g−dw · h ) is the maximum oxygen uptake rate and g-dw is grams of dry weight of biomass; GUR m a x = 6.5 mM / ( g−dw · h ) denotes the maximum glucose uptake rate. Equation (28a) describes that the objective of the cells is to maximize the biomass growth rate. Equation (28b) indicates that the oxygen consumption rate is limited by a maximum uptake limit. Equation (28c) indicates that the acetate generation rate is bounded by 100 mM / ( g−dw · h ) . Equation (28g) indicates that the glucose consumption rate is bounded by an upper limit. All the other constraints are positivity constraints to prevent depletion of metabolites. To express these constraints in Equations (28a)–(28g) compactly, the constraints in (28a)–(28g) can be expressed in the form of Equation (3):
Gv k F θ k ( x k ) + z
G = A oxy A ace Δ t A glc Δ t A oxy Δ t A ace A glc
F = 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1
z = OUR m a x 100 0 0 0 0

3.2. Determination of Minimum Measurements

Due to the assumption that the initial state is contained in an interval, the problem in Equations (28a)–(28g) can be formulated as a multiparameteric linear programming (mpLP) problem. The vector θ is composed of four parameters which are nonlinear functions of states. Using the Multi-Parametric Toolbox 3.0, it can be found that the entire parameter space Θ can be decomposed into a maximum of 24 critical regions. For each critical region, the mpLP solver calculates the constraints that form the boundaries of the region and the equations that generate the optimal solutions. In order to reduce the computational effort, extensive simulations are conducted with randomly chosen initial values in set P 0 to identify which critical regions are relevant for the problem. It is found from these simulations that, for the chosen range of initial conditions, the states only traverse through two neighboring critical regions Θ 1 and Θ 2 assuming small critical regions are ignored. According to the results of the mpLP solver, the two critical regions can be defined as Equations (30a) and (30b). Critical regions Θ 1 and Θ 2 share a boundary defined in Equation (30c). Since θ is a function of x , the critical regions are next to each other in the state space.
Θ 1 : 0.9988 0 0 0.0499 0 0 1 0 0 0 0 0 0.9971 0.0767 0 0 0 0 0.0033 1 0 0 0 1 0 0 0 0 1 0 θ ( x ) 0 0.6 0.6740 0.0171 8.7864 0
Θ 2 : 0.9988 0 0 0.0499 0 0 0.7469 0.6630 0.0510 0 0 0 0.0254 0.0053 0.9997 0 0 1 0 0 0 0 0.9971 0.0767 0 0 0 0 1 0 θ ( x ) 0 0 0 0 0.6740 0
Θ 1 Θ 2 : 0 0 0.9971 0.0767 0 θ ( x ) = 0.6740
Accordingly, the mpLP solver also calculates the matrix H and g used in the flux equation Equation (7) for these two critical regions. By taking advantage of the sparseness of H for these two critical regions, θ N can be determined. The equations to calculate fluxes for these two critical regions can be expressed as Equations (31a) and (31b).
v k 1 = 0.039 0.1057 0 0 T θ 4 ( x g l c , k ) + 0.3429 0 0 0 T
v k 2 = 0.5072 0 0 0 T θ 3 ( x a c e , k , x b i o , k ) + 0 0.1057 0 0 T θ 4 ( x g l c , k )
where θ N for critical region Θ 1 is θ 4 and θ N for critical region Θ 2 is θ 3 and θ 4 . By substituting the flux equation Equations (31a) and (31b) into Equations (26a)–(26e), the simplified state equations of E. coli model can be rewritten compactly as in Equations (32a) and (32b).
x k + 1 = B x k + Δ t x b i o , k Av k 1 ( x g l c , k ) + h θ ( x k ) Θ 1
x k + 1 = B x k + Δ t x b i o , k Av k 2 ( x a c e , k , x b i o , k , x g l c , k ) + h θ ( x k ) Θ 2
Following the calculations above, the original E. coli model is simplified into an equivalent system comprised of two subsystems of interest. Equations (32a) and (32b) describe subsystem 1 and subsystem 2, respectively. These two subsystems are continuous in the state space and they share the same boundary as per Equation (30c). Once the state crosses the boundary between the two subsystems, the governing equation is switched from Equations (32a) and (32b). Because the initial state is randomly initialized in set P 0 , P 0 corresponds to a set in Θ 1 . Thus, the state evolves within the region of subsystem 1 and gradually approximates the region of subsystem 2 governed by Equation (32b) until finally crossing the boundary given by Equation (30c). As only part of θ is known, a detector is used to detect the crossing of the boundary, thus ensuring that the switch between the regions is performed accurately.
Based on the flux equation Equations (31a) and (31b), the reaction-rate-determining states vector x M i for Θ 1 are biomass and glucose and for Θ 2 are biomass, acetate and glucose. Accordingly, the possible combinations of measurements needed for observing x M 1 of Θ 1 include Ω 1 1 = { B i o } , Ω 2 1 = { G l c } and Ω 3 1 = { B i o , G l c } . Similarly, there are 7 possible combinations of measurements for observing the vector x M 2 in Θ 2 , namely Ω 1 2 = { A c e } , Ω 2 2 = { B i o } , Ω 3 2 = { G l c } , Ω 4 2 = { A c e , B i o } , Ω 5 2 = { B i o , G l c } , Ω 6 2 = { A c e , G l c } , and Ω 7 2 = { A c e , B i o , G l c } . To find a combination of measurements Ω Γ that will be suitable for both critical regions, it is necessary to perform an analysis of observability for these combinations. The Symbolic Toolbox calculation of MATLAB R2018a is used to develop an analytical equation observability rank condition and rank of Φ k i of the nonlinear system according to the criterion presented in [31]. Since the symbolic expressions of the rank for each critical regions for Equation (11) are very complex, it is very difficult to infer a analytical condition of observability for all possible values of the states. Instead, the rank values are calculated for different measurement combinations and rank of Φ k i using a Monte Carlo algorithm based on 5 million samples of Θ 1 and Θ 2 , respectively. According to these Monte Carlo simulations, the only measurement required for observability of the vectors x M 1 in Θ 1 and x M 2 in Θ 2 is the biomass concentration, namely Ω Γ = { B i o } .

3.3. EKF for the Two Subsystems and Detection of Transition between Subsystems

Based on the aforementioned observability analysis, the biomass concentration is the only state that needs to be measured online as per Equation (33a) for implementation of the EKF. Measurement noise is assumed as a truncated normal distribution as described by Equation (33b). Since the initial P 0 is assumed to be known, the EKF is initialized at the center of P 0 with a variance based on 3 standard deviations and zero covariance terms. The state of the plant is initialized randomly by sampling a point within the region defined by P 0 .
y k = 0 0 0 1 x k + r k
r k T N ( 0 , 0 . 004 2 , 0.0004 , 0.0004 ) k = 0 , 1 , 2
Based on the assumed P 0 , in the batch process the EKF starts in critical region Θ 1 and later it transitions into critical region Θ 2 . Thus, two EKFs are required in this case study to estimate the x M as summarized in Table 1. Based on the biomass measurement y k , the glucose and biomass concentrations are estimated by the EKF for Θ 1 as x ^ N , b i o , k and x ^ N , g l c , k . With the same biomass measurement, the second critical region Θ 2 has one more observable state which is the acetate concentration x ^ N , a c e , k .
Since acetate and oxygen are unobservable in Θ 1 , they need to be estimated by bounds. To find these bounds, SME propagates the initial set P 0 by set operations to obtain a prior estimate set P k as Equation (19). After obtaining the measurement of biomass, a posterior estimate set P k + as in Equation (20) is calculated by set operations. The error due to lack of convergence of the EKF is compensated by using Equation (18). By projecting P k + onto the axis of acetate and oxygen, respectively, the upper bound u un , k and lower bound l un , k of these two states are obtained.
Since Θ 2 has one more flux-determining state, acetate that is not observable from the measurement of biomass, it must be estimated as explained in Equation (22). Using the mean value of u u n , a c e , k and l u n , a c e , k the nominal values of the unobservable state x ^ u n , a c e , k are obtained. Using the EKF estimates of the observable flux-determining states x ^ N , k together with the nominal value of acetate x ^ u n , a c e , k , the detection scheme explained in Section 2.5 can be implemented. Accordingly, γ ( i , j , k ) is calculated from Equation (23) to determine the switch from critical region Θ 1 to critical region Θ 2 . The tolerance of γ ( i , j , k ) to determine the switch between the critical regions is assumed as 0.08. This tolerance is the only tuning parameter of the proposed method and it is determined by trial and error. After the switch occurs the acetate concentration is initialized by the solution of Equation (24) and the variance of acetate is initialized based on Equation (25). After the switch to critical region Θ 2 , the EKF continues to generate estimates of glucose, acetate and biomass concentrations in Θ 2 and the SME approach is used to propagate the set P k + as conducted in critical region 1. Figure 4 presents the posterior estimate sets P + and true plant state x at different times. Since the model is 4 dimensional, the posterior estimate sets P + are projected for visualization onto two dimensional spaces: the glucose–oxygen subspace and acetate–biomass subspace. The 8 boxes denote the projected posterior estimate sets between 0 h and 7 h, and each box represents an hour. The arrows in Figure 4 indicate the direction of time evolution. The black dots denote the true plant state. Since biomass is measured, the length of the boxes along the biomass dimension is relatively smaller, as compared to the other dimensions. The switch between the critical regions occurs at around 5 h.

3.4. Set Membership Estimation

To verify the estimate and bounds generated by the proposed algorithm, we use a special Monte Carlo Algorithm (MCA) that takes biomass measurements into account. MCA randomly samples 100,000 different points from P 0 and use them as initial states’ values, and then calculates the corresponding trajectories with respect to time. Since, for the measurement of biomass, a truncated normal distribution measurement noise was assumed, some trajectories are not within the confidence interval of measurements. Once a trajectory is found out of the measurement range, the evolution of the trajectory is stopped and the corresponding trajectory is removed while trajectories which are still within the confidence interval of measurements are kept. Accordingly, only a part (2581) out of the trajectories starting from P 0 are used for comparison to the bounds calculated by the proposed method. It should be noticed the fraction of trajectories kept for comparison is small because only a very narrow set of solutions are within the measurement range from the from the beginning to the end. In other words, only a small part of the samples considered in the simulation are compatible with the biomass measured trajectory that is assumed for the calculation of bounds by the set-based approach. Using parallel computation, 4 h and 4 min of CPU time were required to complete all simulations. For comparison, the method proposed in this work can generate bounds with only 41 s of CPU time without parallel computation. It should be remembered that the MCA was conducted for a specific trajectory of biomass measurements so as to enable a fair comparison with the method proposed in the current study. While it could be argued that MCA could be used to calculate bounds for all possible biomass trajectories, this will be computationally prohibitive. Thus, the proposed technique is a practical and analytical approach to the online estimation problem.
In Figure 5, the grey area denotes the trajectories randomly sampled and the two black lines represent the upper and lower bounds by SME. It is clear that the SME contains all the solutions generated by MCA, especially for the unobservable states. It can be observed that the switch from one critical region to the other occurs at approximately 5 h as shown in Figure 2. Before 5 h, the reactor has enough resources for cell growth and the limiting step is glucose uptake as Equation (31a) shows. Thus, critical region Θ 1 corresponds to the logarithmic phase of growth where the latter is driven by glucose consumption. At about 5 h, the simultaneous depletion of acetate and glucose leads to a metabolic switch from the logarithmic phase to the stationary phase. Following this metabolic switch, the culture is also acetate limited and thus acetate become a new flux-determining state. Since the oxygen feed rate is maintained constant in the model, the fact that the growth significantly decreases after the switch explains why the oxygen concentration bounces back up.
To further verify the proposed scheme, similar MCA simulations were conducted with a larger initial uncertainty and measurement noise. In Figure 6, the bounds of 4 component concentrations estimated by SME are shown. It is clear that the simulated trajectories contained in the grey color band generated by MCA is within the bounds calculated by the proposed methodology. From comparison of Figure 5 and Figure 6, it can be found that the SME approach copes with the larger noise and initial uncertainty by generating larger bounds.

4. Discussion

DFBM models are advantageous since they contain significant detail about the cell metabolism as compared to classical unstructured models. However, due to this level of detail, DFBM contain many states thus resulting in more difficult state estimation problem. The challenge of dealing with a large number of states is further exacerbated by the fact that online measurements of metabolites are generally difficult to obtain or not available. With limited online measurements, it is often impossible to produce observability for all the states. Noticing that the diagonal matrix B in Equation (19) is a linear mapping of states, if the nonlinear term Δ t x b i o , k Av k can be estimated then it is possible to estimate the other states of the DFBM.
Multiparametric LP is introduced to convert the original system into a series of piecewise continuous subsystems based on the partitioning of the parameter space into critical regions. The availability of an explicit expression for the calculation of the LP optima for each critical region significantly simplifies the solution of the problem. Although many critical regions may be mathematically possible, industrial fermentation is operated in a narrow range of initial operating conditions and as such only a few critical regions need to be considered.
Beyond their computational convenience the critical regions identified by the Multiparametric LP approach can be interpreted as corresponding changes in the cell metabolism. The relative abundance of substrates, i.e., glucose, acetate and oxygen in the E. coli model and their consumption towards biomass lead to the occurrence of different resources’ limitations at any given time. Within some ranges of concentration, the limiting substrate remains the same corresponding to a specific metabolism strategy.
In the E. coli example, four reactions can synthesize the biomass from glucose, acetate and oxygen. However, since the objective is to maximize growth subject to constraints, the cell prioritizes these reactions differently at any given time due to their different efficiency for biomass synthesis. The ratio of the stoichiometry coefficients in each column of matrix A indicates the biomass yield of each substrate for each reaction. Reaction 1 is the only reaction that consumes acetate to synthesize biomass. The yield of acetate to biomass is 1 39.43 for reaction 1, which is very low compared with reaction 2 and reaction 3. The biomass yield of reaction 2 and reaction 3 by glucose is 1 9.46 and 1 9.84 , respectively. Reaction 4 is the only reaction that do not consume oxygen to generate biomass but it is very inefficient. Because the biomass yield of these reactions are different, reaction 2 is preferred over reaction 1 and reaction 3 when glucose and oxygen are abundant. When oxygen is very low, the cells switch their metabolism from aerobic to anaerobic to generate biomass through reaction 4.
To maximize the biomass growth rate, cells take advantage of reaction 1 and 2 to consume as much acetate and glucose as possible when oxygen is sufficient. However, the glucose amounts that can be consumed by the cells is limited by the glucose uptake rate, which is θ 4 . Similarly, oxygen consumption is limited by a constant oxygen uptake rate as in Equation (28b). The oxygen is consumed first with glucose in reaction 2 to synthesize biomass and the remaining oxygen is consumed for reaction 1. Multiparametric LP captures the relative priority of different reactions towards maximization of growth and identify the key limited resources. In critical region Θ 1 , glucose is the key resource that determines the flux vector according to Equation (31a). As glucose and acetate are consumed by reactions 1 and 2, biomass increases exponentially and the oxygen concentration drops fast due to oxygen demands as in Figure 5 and Figure 6. At some point the concentration of acetate becomes very low but acetate is necessary for reaction 2 to synthesize biomass. At this point, acetate becomes the key limited resource and the system enters into a new critical region Θ 2 . Then in Θ 2 , the metabolism is limited by the available acetate and glucose and as they deplete the growth of cells decreases and ultimately stops. Accordingly, Θ 1 corresponds to the logarithmic phase and Θ 2 to the stationary phase of growth.
The use of EKF for each subsystem is used to estimate the reaction-rate-determining states thus reducing the need for online measurements. Since biomass is highly correlated with the reaction-rate-determining states, EKF can take advantage of biomass measurement to estimate these states. Because some of these reaction-rate-determining states are common to different critical regions, only are fewer states required to be measured or estimated, which greatly reduce the demand of online measurements of concentration. In the E. coli example, only biomass needs to be measured. Once biomass is measured, glucose can be estimated by the EKF in critical region Θ 1 and glucose and acetate can be estimated in Θ 2 .
By using the SME upper and lower bounds for all states can be generated including the unobservable ones such as acetate and oxygen in Θ 1 . Using the bounds of the acetate and biomass estimates, it was possible to determine the switch from one critical region to another and to re-initialize the estimates and covariance matrix for the EKF after the switch.
This research is helpful in DFBM-based control in bio-processes when many components cannot be measured online. Using the upper and lower bounds calculated by SME of unobservable states and estimates by EKF of observable states, robust control methods can be applied to achieve optimal operation in the presence of uncertainty. The method developed can also be extended to monitor the bio-processes and differentiate between normal and abnormal operations.

5. Conclusions

This research proposed a comprehensive DFBM-based approach to estimate the metabolites concentrations with a minimal number of online measurements. The main idea is to convert the DFBM model with uncertainty in initial conditions to an explicit variable structure system that can be analyzed by multiparametric linear programming. A key finding of the proposed work is that only a subset of the states, referred to as reaction-rate-determining states, is needed to calculate the flux vector. Identification of the reaction-rate-determining states for each critical region permitted the determination of the minimum set of measurements required for full state estimation. EKFs were used to estimate the observable states and set propagation by SME was used to identify bounds of both the observable states and unobservable states.

Author Contributions

Conceptualization, X.S. and H.B.; methodology, X.S. and H.B.; software, X.S.; validation, X.S.; formal analysis, X.S. and H.B.; investigation, X.S. and H.B.; resources, H.B.; data curation, X.S.; writing—original draft preparation, X.S.; writing—review and editing, X.S. and H.B.; visualization, X.S. and H.B.; supervision, H.B.; project administration, H.B.; funding acquisition, H.B. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by The Natural Sciences and Engineering Research Council of Canada (NSERC) of grant number RGPIN-04609-2019, Mitacs, and Sanofi Pasteur.

Conflicts of Interest

We declare that we have no conflicts of interest to this work.

Abbreviations

The following abbreviations are used in this paper:
DFBMDynamic Flux Balance Models
mpLPMultiparametric Linear Programming
LPLinear Programming
EKFExtended Kalman Filter
SMESet Membership Estimation
MCAMonte Carlo Algorithm

References

  1. Orth, J.D.; Thiele, I.; Palsson, B.∅. What is flux balance analysis? Nat. Biotechnol. 2010, 28, 245–248. [Google Scholar] [CrossRef]
  2. Höffner, K.; Harwood, S.M.; Barton, P.I. A reliable simulator for dynamic flux balance analysis. Biotechnol. Bioeng. 2013, 110, 792–802. [Google Scholar] [CrossRef] [PubMed]
  3. Stanbury, P.F.; Whitaker, A.; Hall, S.J. Principles of Fermentation Technology; Elsevier: Amsterdam, The Netherlands, 2013. [Google Scholar]
  4. Kadlec, P.; Gabrys, B.; Strandt, S. Data-driven soft sensors in the process industry. Comput. Chem. Eng. 2009, 33, 795–814. [Google Scholar] [CrossRef] [Green Version]
  5. Dochain, D. State and parameter estimation in chemical and biochemical processes: A tutorial. J. Process. Control 2003, 13, 801–818. [Google Scholar] [CrossRef]
  6. Haimi, H.; Mulas, M.; Corona, F.; Vahala, R. Data-derived soft-sensors for biological wastewater treatment plants: An overview. Environ. Model. Softw. 2013, 47, 88–107. [Google Scholar] [CrossRef]
  7. Ali, J.M.; Hoang, N.H.; Hussain, M.A.; Dochain, D. Review and classification of recent observers applied in chemical process systems. Comput. Chem. Eng. 2015, 76, 27–41. [Google Scholar]
  8. Jaulin, L.; Kieffer, M.; Didrit, O.; Walter, E. Interval analysis. In Applied Interval Analysis; Springer: London, UK, 2001; pp. 11–43. [Google Scholar]
  9. Makino, K.; Berz, M. Taylor models and other validated functional inclusion methods. Int. J. Pure Appl. Math. 2003, 6, 239–316. [Google Scholar]
  10. Rumschinski, P.; Borchers, S.; Bosio, S.; Weismantel, R.; Findeisen, R. Set-base dynamical parameter estimation and model invalidation for biochemical reaction networks. BMC Syst. Biol. 2010, 4, 69. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  11. Sahlodin, A.M.; Chachuat, B. Convex/concave relaxations of parametric ODEs using Taylor models. Comput. Chem. Eng. 2011, 35, 844–857. [Google Scholar] [CrossRef]
  12. Blanchini, F.; Miani, S. Set-Theoretic Methods in Control; Springer: Cham, Switzerland, 2008. [Google Scholar]
  13. Schweppe, F. Recursive state estimation: Unknown but bounded errors and system inputs. IEEE Trans. Autom. Control 1968, 13, 22–28. [Google Scholar] [CrossRef]
  14. Gouzé, J.L.; Rapaport, A.; Hadj-Sadok, M.Z. Interval observers for uncertain biological systems. Ecol. Model. 2000, 133, 45–56. [Google Scholar] [CrossRef]
  15. Mazenc, F.; Dinh, T.N.; Niculescu, S.I. Robust interval observers and stabilization design for discrete-time systems with input and output. Automatica 2013, 49, 3490–3497. [Google Scholar] [CrossRef]
  16. Efimov, D.; Perruquetti, W.; Raïssi, T.; Zolghadri, A. On interval observer design for time-invariant discrete-time systems. In Proceedings of the 2013 IEEE European Control Conference (ECC), Zurich, Switzerland, 17–19 July 2013; pp. 2651–2656. [Google Scholar]
  17. Chisci, L.; Garulli, A.; Zappa, G. Recursive state bounding by parallelotopes. Automatica 1996, 32, 1049–1055. [Google Scholar] [CrossRef]
  18. Alamo, T.; Bravo, J.M.; Camacho, E.F. Guaranteed state estimation by zonotopes. Automatica 2005, 41, 1035–1043. [Google Scholar] [CrossRef]
  19. Maksarov, D.; Norton, J. Computationally efficient algorithms for state estimation with ellipsoidal approximations. Int. J. Adapt. Control Signal Process. 2002, 16, 411–434. [Google Scholar] [CrossRef]
  20. Mahadevan, R.; Edwards, J.S.; Doyle, F.J., III. Dynamic flux balance analysis of diauxic growth in Escherichia coli. Biophys. J. 2002, 83, 1331–1340. [Google Scholar] [CrossRef] [Green Version]
  21. Hjersted, J.L.; Henson, M.A.; Mahadevan, R. Genome-scale analysis of Saccharomyces cerevisiae metabolism and ethanol production in fed-batch culture. Biotechnol. Bioeng. 2007, 97, 1190–1204. [Google Scholar] [CrossRef] [PubMed]
  22. Ghorbaniaghdam, A.; Chen, J.; Henry, O.; Jolicoeur, M. Analyzing clonal variation of monoclonal antibody-producing CHO cell lines using an in silico metabolomic platform. PLoS ONE 2014, 9, e90832. [Google Scholar] [CrossRef] [Green Version]
  23. Budman, H.; Patel, N.; Tamer, M.; Al-Gherwi, W. A dynamic metabolic flux balance based model of fed-batch fermentation of bordetella pertussis. Biotechnol. Prog. 2013, 29, 520–531. [Google Scholar] [CrossRef] [PubMed]
  24. Wilhelm, S.; Manjunath, B. tmvtnorm: A package for the truncated multivariate normal distribution. Sigma 2010, 2, 1–25. [Google Scholar] [CrossRef] [Green Version]
  25. Botev, Z.I. The normal law under linear restrictions: Simulation and estimation via minimax tilting. arXiv 2016, arXiv:1603.04166. [Google Scholar] [CrossRef] [Green Version]
  26. Akbari, A.; Barton, P.I. An improved multi-parametric programming algorithm for flux balance analysis of metabolic networks. J. Optim. Theory Appl. 2018, 178, 502–537. [Google Scholar] [CrossRef] [Green Version]
  27. Borrelli, F.; Bemporad, A.; Morari, M. Geometric algorithm for multiparametric linear programming. J. Optim. Theory Appl. 2003, 118, 515–540. [Google Scholar] [CrossRef]
  28. Oberdieck, R.; Diangelakis, N.A.; Nascu, I.; Papathanasiou, M.M.; Sun, M.; Avraamidou, S.; Pistikopoulos, E.N. On multi-parametric programming and its applications in process systems engineering. Chem. Eng. Res. Des. 2016, 116, 61–82. [Google Scholar] [CrossRef]
  29. Murabito, E.; Simeonidis, E.; Smallbone, K.; Swinton, J. Capturing the essence of a metabolic network: A flux balance analysis approach. J. Theor. Biol. 2009, 260, 445–452. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  30. Shen, X.; Budman, H. A method for tackling primal multiplicity of solutions of dynamic flux balance models. Comput. Chem. Eng. 2020, 143, 107070. [Google Scholar] [CrossRef]
  31. Song, Y.; Grizzle, J.W. The extended Kalman filter as a local asymptotic observer for nonlinear discrete-time systems. In Proceedings of the 1992 IEEE American Control Conference, Chicago, IL, USA, 24–26 June 1992; pp. 3365–3369. [Google Scholar]
  32. Herceg, M.; Kvasnica, M.; Jones, C.N.; Morari, M. Multi-parametric toolbox 3.0. In Proceedings of the 2013 IEEE European Control Conference (ECC), Zurich, Switzerland, 17–19 July 2013; pp. 502–510. [Google Scholar]
  33. Delos, V.; Teissandier, D. Minkowski sum of HV-polytopes in Rn. arXiv 2014, arXiv:1412.2562. [Google Scholar]
  34. Meadows, A.L.; Karnik, R.; Lam, H.; Forestell, S.; Snedecor, B. Application of dynamic flux balance analysis to an industrial Escherichia coli fermentation. Metab. Eng. 2010, 12, 150–160. [Google Scholar] [CrossRef]
Figure 1. Illustration of the interval set containing the distribution of states.
Figure 1. Illustration of the interval set containing the distribution of states.
Processes 09 01762 g001
Figure 2. Illustration of set propagation of SME by set operations.
Figure 2. Illustration of set propagation of SME by set operations.
Processes 09 01762 g002
Figure 3. Illustration of detecting a critical region switch.
Figure 3. Illustration of detecting a critical region switch.
Processes 09 01762 g003
Figure 4. Posterior estimate sets projected onto the glucose–oxygen subspace and the acetate–biomass subspace at different times.
Figure 4. Posterior estimate sets projected onto the glucose–oxygen subspace and the acetate–biomass subspace at different times.
Processes 09 01762 g004
Figure 5. Comparison between MCA with bounds of 4 components estimated by SME in batch fermentation of E. coli.
Figure 5. Comparison between MCA with bounds of 4 components estimated by SME in batch fermentation of E. coli.
Processes 09 01762 g005
Figure 6. Comparison between MCA with bounds of 4 components estimated by SME with loud noise.
Figure 6. Comparison between MCA with bounds of 4 components estimated by SME with loud noise.
Processes 09 01762 g006
Table 1. Observable and unobservable subpace of two subsystems of the DFBM model of E. coli.
Table 1. Observable and unobservable subpace of two subsystems of the DFBM model of E. coli.
Subsystem of Θ 1 Subsystem of Θ 2
Observable Subspace ( x M )Glc, BioGlc, Ace, Bio
Unobservable SubspaceAce, OxyOxy
MeasurementBioBio
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Shen, X.; Budman, H. Set Membership Estimation with Dynamic Flux Balance Models. Processes 2021, 9, 1762. https://doi.org/10.3390/pr9101762

AMA Style

Shen X, Budman H. Set Membership Estimation with Dynamic Flux Balance Models. Processes. 2021; 9(10):1762. https://doi.org/10.3390/pr9101762

Chicago/Turabian Style

Shen, Xin, and Hector Budman. 2021. "Set Membership Estimation with Dynamic Flux Balance Models" Processes 9, no. 10: 1762. https://doi.org/10.3390/pr9101762

APA Style

Shen, X., & Budman, H. (2021). Set Membership Estimation with Dynamic Flux Balance Models. Processes, 9(10), 1762. https://doi.org/10.3390/pr9101762

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