Abstract
Various offset-free economic model predictive control schemes that include a disturbance model and the modifier-adaptation principle have been proposed in recent years. These schemes are able to reach plant optimality asymptotically even in the presence of plant–model mismatch. All schemes are affected by a major issue that is common to all modifier-adaptation formulations, namely, plant optimality (note that convergence per se does not require perfect plant gradients) requires perfect knowledge of static plant gradients, which is a piece of information not known in most practical applications. To address this issue, we present two gradient-estimation techniques, one based on Broyden’s update and the other one on linear regression. We apply these techniques for the estimation of either the plant gradients or the modifiers directly. The resulting economic MPC schemes are tested in a simulation and compared on two benchmark examples of different complexity with respect to both convergence speed and robustness to measurement noise.
1. Introduction
Economic model predictive control (eMPC) [] has been proposed to overcome the traditional separation between control and optimization layers in industrial process operations [,]. eMPC merges standard MPC with the economic optimization layer that is characteristic of real-time optimization (RTO) []. In particular, this combination is obtained by substituting the MPC tracking objective with economic performance []. There are many similarities between MPC and eMPC, with one of the main challenges being optimality under plant–model mismatch []. Note that the tracking-MPC (tMPC) and RTO communities have dealt with this challenge for many years, and two main solutions have been established. The first one concerns tMPC schemes and consists of augmenting the nominal model with a disturbance model so as to generate a steady-state offset correction to set-point changes [,]. A comprehensive review about offset-free tMPC can be found in []. On the other hand, RTO formulations have incorporated the so-called modifier-adaptation (MA) idea [,]. The essence of the MA strategy is to force the KKT optimality conditions of the modified model to match those of the plant upon convergence by using zeroth- and first-order correction terms [].
To handle plant–model mismatch in eMPC schemes, a methodology that combines the augmented model used in tMPC [] and the MA approach used in RTO [] was first proposed in [] and labeled “offset-free eMPC” (OF-eMPC). Alternative OF-eMPC formulations have been proposed in recent years [,,]. These formulations can overcome plant–model mismatch and let the controlled plant reach plant optimality upon convergence. This is done with the help of zeroth- and first-order modifier terms that exploit an alternative version of MA, labeled “output MA” (MAy). Instead of modifying the cost function and the constraints as in traditional MA [], MAy sets the modifier terms on the outputs. A recent comprehensive analysis of MAy and its convergence properties can be found in [].
Despite its ability to converge to plant optimality in the presence of plant–model mismatch, OF-eMPC suffers from a major caveat to proper MA schemes. Indeed, these schemes require accurate knowledge of static plant gradients with respect to inputs. This represents a major challenge, especially when dealing with noisy measurements. Even the most recent MA investigations, which strive for feasibility improvement [], faster convergence [], applicability to periodic systems [], or large-scale systems [], are still based on the assumption that the plant gradients are perfectly known. Nevertheless, several approaches for estimating plant gradients have been proposed, as detailed next.
The gradient estimation techniques found in literature can be divided into two classes []. The first class, and by far the largest, includes steady-state perturbation methods that rely on steady-state data (e.g., [,,]). These methods are the ones that better replicate the concept of steadiness of RTO iterations. On the other hand, it might be advantageous with slow processes to use transient data and estimate steady-state gradients on the go [,,]. In this case, we speak of dynamic perturbation methods, which exhibit a compromise between convergence speed and accuracy. Concretely, gradient approximations are computed using either a finite-difference approach (see [] for an overview of available approaches) or some type of system identification [,,]. Exploiting the so-called directional modifier-adaptation concept [], recent works have shown how privileged directions can ease gradient estimation—thereby making the approach more reactive to plant–model mismatch [,]—and how these directions can be computed efficiently []. Jeong et al. [] recently compared the performance of different gradient estimation methods with MA schemes. These methods include multivariate linear regression, partial least-squares regression, and principal component analysis. It is shown that the use of latent-variable space can result in fast convergence and stability near plant optimality.
It is worth noting that researchers have also tried to avoid working with plant gradient estimation. Navia et al. [] formulated a nested optimization problem, in which the modifiers are computed via gradient-free optimization in the outer loop. Although the nested implementation was proved to be robust in the presence of noisy measurements and capable of reaching plant optimality, it was rather slow. Another modifier-estimation technique based on optimization has been proposed recently in []. In this case, the limiting factor becomes the choice of weighting factors in the optimization problem and the speed at which plant optimality can be reached.
This paper aims at investigating alternative solutions to the gradient estimation problem. In particular, we propose two main techniques to estimate static plant gradients, namely, a Broyden’s update and linear regression. Note that these techniques have already been used to estimate plant gradients and modifiers in the RTO context, but not in the control context, that is, using fast sampling time and dynamic optimization. Another important advantage over our previous work [,] is not requiring repeated local perturbations of the process. Moreover, taking inspiration from the aforementioned “plant gradient-free” methodologies [,], we also use the same two techniques to estimate the modifiers directly.
This work represents an extension to [], but it also goes further by comparing several gradient-estimation techniques. This is important to steer future research on how MA can best be combined with eMPC.
The paper is organized as follows. The problem definition and the constituents of OF-eMPC are detailed in Section 2. Several gradient-estimation techniques based on either plant gradient estimation or modifier estimation are discussed in Section 3, while Section 4 presents two OF-eMPC algorithms. The resulting OF-eMPC schemes are then compared via a numerical example and a standard benchmark case study in Section 5. Finally, conclusions are presented in Section 6.
2. Preliminaries
The OF-eMPC algorithm described in this paper deals with a general nonlinear plant and cost. Let us detail the main concepts and techniques.
2.1. Plant and Cost Specifications
The plant to be optimized is expressed by the following discrete-time nonlinear dynamic system:
where , and are the plant states, inputs, and outputs, respectively; are the successor states. The unknown functions and are assumed to be differentiable. The measured plant outputs at time are noted . Furthermore, the inputs and outputs are bounded,
with , and being the corresponding lower and higher bounds.
Plant (1) is said to be optimized when the known and differentiable function is minimized. Hence, the triple that defines the economic optimum equilibrium of Plant (1) can be computed as:
subject to
Assumption 1
(Plant optimality).
2.2. Nominal and Augmented Models
We consider the following nominal process model:
in which x and denote the current and successor states, respectively. It is assumed that the functions and are known and differentiable.
Remark 2
Augmenting Model (8) linearly with the integral states , called disturbances, has proven to be very effective for improving the performance of tMPC under plant–model mismatch [,,,,]. In the general formulation, the effects of the disturbances on the states and outputs are modeled using the matrices and :
The resulting augmented functions and are assumed to be continuous and consistent with f and h, that is, , . To guarantee that the augmented model can represent the plant without steady-state offset, we introduce the following assumption (see [] (Remark 8)):
Assumption 2
(Observability). The augmented system (9) is observable.
2.3. State and Disturbance Estimation
At each time step, the estimation procedure includes two steps, namely, prediction and filtering. First, using the augmented model (9), one computes the predicted values , and as
where and are the estimates of and at time . Then, using output measurements, these predicted values are filtered appropriately to give the estimates , and .
There are different types of estimators. For example, the so-called moving-horizon estimator (MHE) processes past output measurements in an optimization framework []. In contrast, a Luenberger observer or Kalman filter uses only the current measurements to estimate the augmented states from their predicted values. This is the type of estimator used in this study and is detailed next.
The prediction errors at time k are expressed as
and used to estimate the augmented states as follows:
Note that the matrices and must be chosen to form an asymptotically stable observer, which implies and to be invertible [,].
2.4. Output Modifiers
The output-correction scheme adopted in this study follows the MAy formulation that was originally developed in the RTO literature [] and firstly applied in the eMPC framework by []. The correction is based on zeroth- and first-order terms that represent the steady-state deviations between plant and model outputs. In our implementation, we use the disturbance estimates as zeroth-order corrections. The first-order modifier matrix at time k is noted , with . Its evolution over time is described by the following filtering equation:
where is a scalar filter constant , the operators are the derivatives of the considered output functions (either or g) with respect to the inputs u, and are the input steady-state targets computed at the previous iteration by the target calculation described in the next subsection.
The plant steady-state input-to-output maps are unknown, and must be estimated experimentally from input and output measurements. The model steady-state input-to-output maps are calculated from Model (8) upon imposing the target inputs as follows:
2.5. Target Calculation with Modifiers
The equilibrium triple at time k is calculated via steady-state optimization. The modifiers described in Section 2.4 correct the outputs so as to eliminate any first-order plant–model mismatch. The following steady-state target problem is solved at each iteration:
subject to
2.6. Economic MPC with Modifiers
The finite-horizon optimal control problem (FHOCP) typical of eMPC is modified similarly to the method in Equation (17). Defining the generic state and input sequences and , the optimal problem solved over N steps at each decision time k reads
subject to
Assumption 3
(FHOCP).
The inputs implemented in the plant are the first ones of the optimal sequence , that is,
We remark that, since the modifier terms in Equations (17) and (23) serve the same goal, for consistency purposes, the steady-state input targets used in Problem (20)–(26) are and not . Moreover, for ensuring closed-loop stability of eMPC at nominal conditions, the following assumption is introduced:
Assumption 4.
Steady-state operation is assumed to be more profitable than oscillating behavior, that is, the system is dissipative with respect to the stage cost [].
Furthermore, to be able to deal with plant–model mismatch, we also need the following assumption:
Note that Assumption 5 is consistent with the convergence requirements of tracking offset-free MPC [], modifier-adaptation schemes [,], and offset-free economic MPC [].
3. Gradient or Modifier Estimation
The issue limiting the practical applicability of MA methods (and thus, also of MAy), is the need to gather appropriate information about the plant–model mismatch. In particular, it is necessary to accurately estimate the steady-state plant gradients for the OF-eMPC algorithm in Section 2 to work properly. As a matter of fact, convergence to plant optimality is only ensured with perfect gradient estimation [].
3.1. Basic Idea
This section compares two methodologies based on steady-state perturbation methods. We also compare the performance when one uses only measurements taken at the current iteration versus data collected at several (previous) iterations.
In Section 2.4, the first-order modifiers are updated at every sampling time. This works fine if the plant measurements correspond to steady-state conditions; however, when dealing with transient measurements, the system must reach some sort of “steadiness” before updating . For this reason, with all the methods investigated next, the modifiers are updated every M sampling times, where is a tuning parameter, with being the time to reach steady state and being the sampling time. This way, we let the system reach quasi-stationary conditions between two successive modifier updates, thereby satisfying the necessity of operating with (near) steady-state measurements. This implies a time-scale separation between the control and gradient-estimation tasks. Since is updated recursively, it helps to start the recursion with a fair estimate of . In this initialization phase, we apply appropriate input perturbations and collect quasi-stationary output measurements, with which we can construct an initial nonzero . The next two subsections will address plant gradient estimation and modifier adaptation, respectively.
3.2. Plant Gradient Estimation
We propose two techniques for the estimation of plant output gradients.
3.2.1. Broyden’s Update for Plant Gradient Estimation
Broyden’s update offers a recursive way of updating the estimated gradients using current and past measurements [,,]. The advantage of Broyden’s update is that it does not require additional perturbations; however, being a numerical method, sufficient variation between two consecutive inputs is needed for the scheme not to fail. The technique is a standard secant method in nonlinear programming for updating estimates of first-order derivatives, such as Jacobian matrices [].
At the iteration, , which are estimates of , are updated by defining
and using Broyden’s formula as follows:
The gradients of the model output functions can be computed from their definition (14) using the implicit function theorem:
Then, the gradient differences are calculated as follows:
3.2.2. Linear Regression for Plant Gradient Estimation
This method relies on output measurements at steady-state operating points corresponding to the inputs , with . Using such a data set, the plant output gradients are computed as linear interpolation if or linear regression if . These gradients are often called simplex gradients []. A similar approach is used in []. In the present work, we use past points, with , to estimate the -dimensional gradients since the resulting redundancy helps deal with measurement noise [].
Hence, at the iteration, we set to construct the following matrices:
The length of the sets and increases at each iteration from , when only operation points are available, to . Defining
the simplex gradients are computed as the least-squares solution to Equation (35):
The matrix in Equation (36) can be poorly conditioned if the successive points do not extend in all directions of the input space []. This ill-conditioning can lead to erroneous gradient estimates; hence, as with Broyden’s update, Step (36) is performed only if . Then, the gradient differences are calculated as in (32).
3.3. Modifier Estimation
In this section, we propose to use the two techniques developed in Section 3.2 to estimate the differences between the plant and model gradients directly, that is, . In fact, direct estimation of modifiers is often preferred over the estimation of the individual gradients since the plant and the model are approximated using the same numerical scheme. A graphical explanation can be derived similarly to the one made for linear interpolation in [] Figure 3, but this is beyond the scope of the present paper.
3.3.1. Broyden’s Update for Modifier Estimation
3.3.2. Linear Regression for Modifier Estimation
Analogously to Equation (34), at the iteration, we construct the following matrix:
with defined in Equation (37). The matrix of differences between plant and model gradients is computed as the least-squares solution to the following regression problem:
for which the solution is
As above, we need to consider the ill-conditioning problem occurring when .
3.4. Role of Disturbance Model
The role played by the disturbance model is not the same for plant gradient estimation and modifier estimation. This issue is discussed next.
3.4.1. Plant Gradient Estimation
In the case of plant gradient estimation, the computation of in Equation (30) or Equation (36) depends on the disturbance model that has been selected:
- Using a linear disturbance model, as in (9), implies an equivalence between the nominal and augmented models for computing , as in (31), since the disturbances d would not appear in any of the derivatives involved, that is, , and . Hence, the disturbance variables are not involved in the gradient calculation.
- In contrast, using a nonlinear disturbance model, it would not be possible to discard the disturbance variables when calculating gradients. Moreover, a nonlinear disturbance model may be more challenging to implement; however, if implemented correctly, the first-order modifier terms might become superfluous (see [] for an example).
Hence, in the case of plant gradient estimation, the most straightforward option is to work with a linear disturbance model and use first-order modifiers.
3.4.2. Modifier Estimation
The driving terms in Broyden’s update (39) and in the linear regression update (42) use the output errors (the differences between the plant and nominal model outputs) in place of the prediction errors (the differences between the plant and augmented model outputs). As a matter of fact, using
or
to compute in Equation (39) or Equation (42) would not work. The implicit secant equation behind the Broyden update, namely, , does not hold true because . The same problem appears when dealing with the linear regression update and Equation (41). Hence, the nominal model (8) is used for estimation, while the augmented model (9) is used for optimization to ensure convergence.
4. Offset-Free Economic MPC Algorithms
This sections formulates algorithmically the two OF-eMPC schemes based on Broyden’s update and linear regression. The way the algorithms are initialized is presented first.
4.1. Algorithm Initialization
To improve convergence speed, the OF-eMPC schemes require a good initial estimate for , which translates into an appropriate . This can be achieved by perturbing each input individually around the current operating point and calculating the corresponding gradient elements, which requires input perturbations. Following each perturbation, one must wait M sampling times for the system to approach a steady state.
Next, we detail this initialization phase. Let denote the iteration at which the plant first reaches steady state, with the inputs . The following control law is then used during the initialization phase, for :
where is the amplitude of a step of duration M in the direction , with being a unit vector in input space. One sees that the component of u is perturbed individually by the amount of during M iterations. The initialization phase ends at iteration .
The column of the plant gradient to be used in Equation (30) is estimated as
while the column of the gradient differences to be used in Equation (39) is
Note that, unlike Broyden’s update, the linear regression method in Equation (36) or in Equation (42) does not require Jacobian initialization, albeit the initialization phase is still used.
These estimated plant gradients or gradient differences are used to compute as follows:
4.2. OF-eMPC Algorithm Using Broyden’s Update
The block diagram and algorithm describing the OF-eMPC scheme with Broyden’s update are given in Figure 1 and Algorithm 1. For the sake of brevity, the initialization phase is not shown, and only the behavior for is displayed.

Figure 1.
Block diagram for the eMPC algorithm described in Section 2, Section 3.2.1, and Section 3.3.1 using Broyden’s update formula, for . The acronym PGE stands for Plant Gradient Estimation.
As can be seen in Figure 1, gradient estimates are computed after iterations. The modifier matrix is updated every M time steps, but only when the difference between two successive inputs is not too close to zero. This is needed to avoid calculating gradient differences based on little informative data, that is, to avoid ill-conditioning of the updating Equation (30) or Equation (39). Hence, the parameter can be seen as a tuning parameter for the performance of the gradient estimation method.
Algorithm 1 Offset-free eMPC algorithm using Broyden’s update. |
|
4.3. OF-eMPC Algorithm Using Linear Regression
The block diagram and algorithm describing the OF-eMPC scheme that uses linear regression are given in Figure 2 and Algorithm 2. Here, the initialization phase is not shown, and only the behavior for is displayed.
Algorithm 2 Offset-free eMPC algorithm using linear regression |
|

Figure 2.
Block diagram for the eMPC algorithm described in Section 2, Section 3.2.2, and Section 3.3.2 using the linear regression solution, for . The acronym PGE stands for Plant Gradient Estimation.
4.4. Ill-Conditioning
Ill-conditioning of in Equations (30), (36), (39), or (36) results from too small a value of or . When or tends to zero, the aforementioned can no longer be calculated. This happens when two measurements corresponding to (almost) the same steady state are used in or , that is, with . Hence, before calculating , we compare the value of or with the threshold value , which depends on the input–output sensitivity and the size of measurement noise. This is an engineering choice that the designer has to make based on the process at hand.
We underline that, if modifier update does not take place due to ill-conditioning, and thus the previous values of the gradients or modifiers are used, Problems (15) and (20) are still solved as part of OF-eMPC. On the other hand, if the inputs u get “stuck” far away from plant optimality, the system requires additional excitation for accurate estimation of plant gradients or modifiers.
5. Simulation Results
Two examples taken from the literature are used to compare the performance of five eMPC schemes, all using the same nominal model, cost function, and sampling time. There is significant plant–model mismatch, and the augmented model (9) reads
The estimator of Section 2.3 is the deadbeat Kalman filter with the parameters and . In addition, all eMPC controllers use the target calculation (15) and the FHOCP (20). The five controllers are the following:
- eMPC0 assumes the plant gradients to be perfectly known, i.e., . This controller is not practically implementable but is used as reference.
- eMPC1 uses the Broyden’s gradient update described in Section 3.2.1.
- eMPC2 estimates the plant gradient using linear regression as per Section 3.2.2. The number of data points in the regression is .
- eMPC3 uses the Broyden’s modifier update described in Section 3.3.1.
- eMPC4 estimates the modifiers using linear regression as per Section 3.3.2. The number of data points in the regression is also .
Note that, in the presence of plant–model mismatch, the use of the disturbance model (51) by itself is not sufficient to eliminate offset, as reaching plant optimality requires perfect knowledge of plant gradients [,]. When not otherwise specified, is chosen for all controllers. Moreover, the filter constant for updating the modifiers in Equation (13) is , and the tolerance threshold for avoiding numerical ill-conditioning is .
5.1. CSTR with Competitive Reactions
The first example is a continuous stirred-tank reactor (CSTR), in which two consecutive reactions take place:
The objective is to maximize the profit expressed as the difference between the revenues generated by the desired product B and the cost of the raw material A. The following system of ordinary differential equations describes the reactor dynamics:
where and represent the molar concentrations of A and B in the reactor, the corresponding feed concentrations are and , and the input u is the feed flow rate regulated through a valve. For the sake of simplicity, the reactor is assumed to have a constant volume V and to be isothermal. Both states are assumed to be measured. The reactor parameters are taken from []. Optimal steady-state performance is computed by solving the following optimization problem:
subject to
with the running profit
Optimal operation corresponds to , , and with the maximal profit .
5.1.1. Model
We assume plant–model mismatch and design the controller with erroneous values of the two kinetic parameters: the model values known by the controller are and , meaning that, compared to the true values and , the first reaction rate is underestimated, while the second one is overestimated. The economic cost function to be minimized in Problem (20) is
with the sampling time . Furthermore, the dynamics (53) is discretized using an implicit Euler method and the initial conditions are . Note that, with , the choice is quite appropriate.
5.1.2. Reactor Performance
The input and the cost function of the reactor with the five aforementioned controllers are depicted in Figure 3. We can immediately see that all schemes reach plant optimality even under the presence of plant–model mismatch. Before reaching the initialization phase at , the behavior is the same for the practical controllers eMPC1–eMPC4 as they all use the disturbance model (51) and no first-order correction. eMPC0 is, of course, significantly better as it uses perfect knowledge of plant gradients. is updated for the first time at time step , which corresponds to . After initialization, we see a slight difference between the schemes that use Broyden’s update (eMPC1 and eMPC3) and those that rely on linear regression (eMPC2 and eMPC4). All of them start to move towards plant optimality, with the methodologies using Broyden’s update reaching steady state faster. We observe a steplike profile, since the corrections are updated every M time samples. The average convergence time for the proposed methods is about 40.

Figure 3.
Reactor performance with five controllers and : input (top) and profit (bottom). The dotted vertical lines depict the time interval [3.75–7.5] min used for -initialization.
To speed up convergence, one can reduce the value of M, thereby looking for a compromise between convergence speed and steadiness of the collected samples. Figure 4 shows the reactor performance with the five controllers when M has been reduced from 15 to 5. For the sake of comparison, the same initial steady state was used, that is, we have and , with being the first time that is updated. All schemes reach plant optimality in about half the time of the previous case. Note also that, with all schemes, the profit (bottom panel of Figure 4) quickly reaches plant optimality. Only eMPC3 presents some erratic behavior that could result from poor numerical conditioning when Broyden’s update is used on the gradient difference. However, adjusting the filtering parameter can improve the situation.

Figure 4.
Reactor performance with five controllers and : input (top) and profit (bottom). The dotted vertical lines depict the time interval [3.75–5] min used for -initialization.
5.2. Williams–Otto Reactor
5.2.1. Process
As a well-known RTO example [,], the Williams–Otto reactor is a nonisothermal CSTR, in which three reactions take place:
The reactor feed consists of two components: Species A fed at the constant flow rate with molar concentration , and Species added at the variable flow rate with molar concentration . The desired products are and , while and are intermediate and undesired products, respectively. The reactor outlet flow rate is set equal to the sum of the two inlet flow rates, that is, , with the reactor volume V being constant. Mimicking realistic process conditions, only the molar concentrations of the two desired products are assumed to be measured, that is, . The reactor temperature is manipulated, assuming ideal cooling. The kinetic parameters depend on the reactor temperature via an Arrhenius-type law:
For the sake of brevity, the system dynamics are not reported here but can be found in []. The reactor has two inputs, namely, the temperature and the flow rate . The profit to be maximized is
where and are the molar prices of products and reactants. The plant parameters can be found in [] and in Table 1.

Table 1.
William–Otto reactor: Plant parameters.
5.2.2. Model
The model used for control design comprises only two reactions:
for which the kinetic parameters are reported in Table 2.

Table 2.
Williams–Otto reactor: Model parameters.
In addition, the inputs are bounded as follows:
5.2.3. Reactor Optimization
The sampling time in this example is min, which calls for min between two successive modifier updates. In this case, with , the choice is also quite appropriate. The performance of the five controllers is depicted in Figure 5, together with the optimal operating point that is unknown to the controllers. -initialization is performed in the time interval of 30–90 min. The starting point for the model state vector is
and the first measurement from the plant reads .

Figure 5.
Performance of the Williams–Otto reactor with five controllers and no measurement noise: inputs (top and middle) and profit (bottom). The dotted vertical lines depict the time interval of 30–90 min used for -initialization.
A behavior similar to that shown in Figure 3 can be observed, namely, (i) all schemes reach plant optimality; (ii) before the initialization phase, the practical schemes eMPC1-4 behave alike since the modifier matrix is still zero. Then, from to min, the two inputs are excited individually and sequentially as described in Section 4.1. Once a nonzero modifier matrix has been computed, we see a difference between the schemes that use plant-gradient estimation (eMPC1 and eMPC2) and those that estimate the gradient differences directly (eMPC3 and eMPC4). In this example, the schemes that rely on plant-gradient estimation do not work well: eMPC1 and eMPC2 fail to reach plant optimality; in addition, eMPC2 converges slowly, while the second input with eMPC1 gets stuck to its upper bound. In contrast, eMPC3 and eMPC4 are able to reach plant optimality. These results indicate that the two schemes based on estimating the gradient differences give the best performance.
In order to check the robustness of these last two schemes, we propose to corrupt the measurements with white noise, i.e., Plant (1) is modified as follows:
where is a white noise signal with covariance . Figure 6 shows the effect of noise on the convergence performance of eMPC3 and eMPC4. It is seen that linear regression handles measurement noise better than Broyden’s update since the former uses measurements stemming from several measurement points and therefore possesses a stronger filtering effect. Note that eMPC3 and eMPC4 perform very similarly right after the initialization phase when the number of measurements points is the same. As shown in the top panels of Figure 6, as time advances and more measurements become available to eMPC4, the inputs are able to move much quicker than with eMPC3. Another illustration of the improved resilience of eMPC4 with respect to measurement noise is shown by the profit profile in the bottom panel of Figure 6.

Figure 6.
Performance of the Williams–Otto reactor with eMPC3 and eMPC4 in the presence of measurement noise: inputs (top and middle) and profit (bottom). The dotted vertical lines depict the time interval of 30–90 min used for -initialization.
5.3. Final Considerations
An interesting result is the improvement in estimation quality when the modifiers are estimated directly rather than computed from the estimated plant gradients and the predicted model gradients. This is related to the nature of the estimation error. The gradient estimation error encompasses two terms resulting from truncation error and measurement noise, respectively (see [] for a more comprehensive discussion). These two error types are quite different in nature, with the former being systematic and the latter being random. On this basis, one can consider two different ways of estimating the modifiers:
- Estimate the plant gradients from measurements, compute the model gradients “analytically” from the model, and evaluate the modifiers as their differences, as per Section 3.2. This approach is very sensitive to truncation errors, as these errors affect the estimation of plant gradients but not of model gradients.
- Estimate the plant gradients from measurements, estimate the model gradients from the model using the same numerical scheme, and evaluate the modifiers as their differences. This is equivalent to estimating the modifiers directly from measurements (see Section 3.3). In this case, the truncation errors tend to cancel out upon computing the differences between plant and model gradients.
6. Conclusions
Different offset-free economic model predictive control schemes that combine an augmented model structure and first-order modifiers on the outputs have been proposed in recent years. These schemes proved to converge asymptotically to plant optimality, even under plant–model mismatch. The main caveat of this formulation is the requirement of perfect knowledge of static plant gradients.
This paper has investigated two different techniques to estimate plant gradients using steady-state measurements, namely, Broyden’s update and linear regression. These techniques have been adapted and applied to estimate either the plant gradient or the modifiers directly. Consequently, four different approaches have been tested via two examples: in the first (single-input) example, all methods give satisfactory results, and also when the time between modifier updates is reduced to boost convergence speed. In the second (multi-input) example, only the approach that estimates the modifiers directly succeeded in reaching plant optimality. The approach was tested using both Broyden’s update and linear regression. It was found that the approach that uses linear regression is clearly superior in handling measurement noise. In general, although the most effective estimation method should be chosen according to the specific case, it appears from these results that estimating the modifiers directly is more effective than estimating the plant gradient alone. Furthermore, in the presence of measurement noise, modifier estimation is best implemented via linear regression.
Note that these findings are not the end of the story, as this investigation was limited to plant gradient estimation using as many steady-state measurements as possible ( in this study). As mentioned in the introduction, one would like to be able to estimate static plant gradients using transient data, so as to speed up convergence even more (ideally, ). Hence, a similar type of study to analyze the performance of eMPC in the presence of plant–model mismatch and the availability of transient measurements is very welcome. Finally, in the present paper, closed-loop stability has been assumed as per Assumption 5. However, the stability of eMPC under plant–model mismatch is still an open issue, which may motivate future research.
Author Contributions
Conceptualization, D.B. and G.P.; methodology, M.V., F.P., and G.P.; software, F.P. and M.V.; validation, M.V., D.B., and G.P.; investigation, M.V. and F.P.; data curation, M.V. and F.P.; writing—original draft preparation, M.V.; writing—review and editing, M.V., D.B., and G.P.; visualization, M.V.; supervision, G.P.; project administration, G.P. All authors have read and agreed to the published version of the manuscript.
Funding
This research received no external funding.
Institutional Review Board Statement
Not applicable.
Informed Consent Statement
Not applicable.
Data Availability Statement
This study does not report any data.
Conflicts of Interest
The authors declare no conflict of interest.
References
- Rawlings, J.B.; Angeli, D.; Bates, C.N. Fundamentals of economic model predictive control. In Proceedings of the 51st IEEE Conference on Decision and Control, Maui, HI, USA, 10–13 December 2012; pp. 3851–3861. [Google Scholar]
- Morari, M.; Arkun, Y.; Stephanopoulos, G. Studies in the synthesis of control structures for chemical processes: Part I: Formulation of the problem. Process decomposition and the classification of the control tasks. Analysis of the optimizing control structures. AIChE J. 1980, 26, 220–232. [Google Scholar] [CrossRef]
- Engell, S. Feedback control for optimal process operation. J. Process Control 2007, 17, 203–219. [Google Scholar] [CrossRef]
- Ellis, M.; Christofides, P.D. On finite-time and infinite-time cost improvement of economic model predictive control for nonlinear systems. Automatica 2014, 50, 2561–2569. [Google Scholar] [CrossRef]
- Pannocchia, G.; Rawlings, J.B. Disturbance models for offset-free model-predictive control. AIChE J. 2003, 49, 426–437. [Google Scholar] [CrossRef]
- Muske, K.R.; Badgwell, T.A. Disturbance modeling for offset-free linear model predictive control. J. Process Control 2002, 12, 617–632. [Google Scholar] [CrossRef]
- Pannocchia, G. Offset-free tracking MPC: A tutorial review and comparison of different formulations. In Proceedings of the European Control Conference, Linz, Austria, 15–17 July 2015; pp. 527–532. [Google Scholar]
- Marchetti, A.G.; Chachuat, B.; Bonvin, D. Modifier-adaptation methodology for real-time optimization. Ind. Eng. Chem. Res. 2009, 48, 6022–6033. [Google Scholar] [CrossRef]
- Marchetti, A.G.; Chachuat, B.; Bonvin, D. A dual modifier-adaptation approach for real-time optimization. J. Process Control 2010, 20, 1027–1037. [Google Scholar] [CrossRef]
- Marchetti, A.; François, G.; Faulwasser, T.; Bonvin, D. Modifier adaptation for real-time optimization—Methods and applications. Processes 2016, 4, 55. [Google Scholar] [CrossRef]
- Vaccari, M.; Pannocchia, G. A Modifier-Adaptation Strategy towards Offset-Free Economic MPC. Processes 2016, 5, 2. [Google Scholar] [CrossRef]
- Faulwasser, T.; Pannocchia, G. Towards a unifying framework blending RTO and economic MPC. Ind. Eng. Chem. Res. 2019, 58, 13583–13598. [Google Scholar] [CrossRef]
- Vergara-Diertrich, J.; Ferramosca, A.; Mirasierra, V.; Normey-Rico, J.E.; Limon, D. A Modifier-Adaptation Approach to the One-Layer Economic MPC. IFAC-PapersOnLine 2020, 53, 6957–6962. [Google Scholar] [CrossRef]
- Papasavvas, A.; de Avila Ferreira, T.; Marchetti, A.G.; Bonvin, D. Analysis of output modifier adaptation for real-time optimization. Comput. Chem. Eng. 2019, 121, 285–293. [Google Scholar] [CrossRef]
- Marchetti, A.G.; Faulwasser, T.; Bonvin, D. A feasible-side globally convergent modifier-adaptation scheme. J. Process Control 2017, 54, 38–46. [Google Scholar] [CrossRef]
- Schneider, R.; Milosavljevic, P.; Bonvin, D. Accelerated and adaptive modifier-adaptation schemes for the real-time optimization of uncertain systems. J. Process Control 2019, 83, 129–135. [Google Scholar] [CrossRef]
- Mirasierra, V.; Vergara-Diertrich, J.; Limon, D. Real-Time Optimization of Periodic Systems: A Modifier-Adaptation Approach. IFAC-PapersOnLine 2020, 53, 1690–1695. [Google Scholar] [CrossRef]
- Papasavvas, A.; Francois, G. Internal Modifier Adaptation for the Optimization of Large-Scale Plants with Inaccurate Models. Ind. Eng. Chem. Res. 2019, 58, 13568–13582. [Google Scholar] [CrossRef]
- Gao, W.; Wenzel, S.; Engell, S. Modifier adaptation with quadratic approximation in iterative optimizing control. In Proceedings of the European Control Conference, Linz, Austria, 15–17 July 2015; pp. 2527–2532. [Google Scholar]
- Costello, S.; François, G.; Bonvin, D. A Directional Modifier-Adaptation Algorithm for Real-Time Optimization. J. Process Control 2016, 39, 64–76. [Google Scholar] [CrossRef]
- Pannocchia, G. An economic MPC formulation with offset-free asymptotic performance. IFAC-PapersOnLine 2018, 51, 393–398. [Google Scholar] [CrossRef]
- François, G.; Bonvin, D. Use of transient measurements for the optimization of steady-state performance via modifier adaptation. Ind. Eng. Chem. Res. 2013, 53, 5148–5159. [Google Scholar] [CrossRef]
- de Avila Ferreira, T.; François, G.; Marchetti, A.G.; Bonvin, D. Use of transient measurements for static real-time optimization. IFAC-PapersOnLine 2017, 50, 5737–5742. [Google Scholar] [CrossRef]
- Hernández, R.; Engell, S. Economics Optimizing Control with Model Mismatch Based on Modifier Adaptation. IFAC-PapersOnLine 2019, 52, 46–51. [Google Scholar] [CrossRef]
- Vaccari, M.; Pannocchia, G. Implementation of an economic MPC with robustly optimal steady-state behavior. IFAC-PapersOnLine 2018, 51, 92–97. [Google Scholar] [CrossRef]
- Singhal, M.; Marchetti, A.G.; Faulwasser, T.; Bonvin, D. Active directional modifier adaptation for real-time optimization. Comput. Chem. Eng. 2018, 115, 246–261. [Google Scholar] [CrossRef]
- Marchetti, A.; de Avila Ferreira, T.; Costello, S.; Bonvin, D. Modifier adaptation as a feedback control scheme. Ind. Eng. Chem. Res. 2020, 59, 2261–2274. [Google Scholar] [CrossRef]
- Singhal, M.; Marchetti, A.G.; Faulwasser, T.; Bonvin, D. A note on efficient computation of privileged directions in modifier adaptation. Comput. Chem. Eng. 2020, 132, 106524. [Google Scholar] [CrossRef]
- Jeong, D.H.; Lee, C.J.; Lee, J.M. Experimental gradient estimation of multivariable systems with correlation by various regression methods and its application to modifier adaptation. J. Process Control 2018, 70, 65–79. [Google Scholar] [CrossRef]
- Navia, D.; Briceño, L.; Gutiérrez, G.; De Prada, C. Modifier-Adaptation Methodology for Real-Time Optimization Reformulated as a Nested Optimization Problem. Ind. Eng. Chem. Res. 2015, 54, 12054–12071. [Google Scholar] [CrossRef]
- Oliveira-Silva, E.; de Prada, C.; Navia, D. Dynamic optimization integrating modifier adaptation using transient measurements. Comput. Chem. Eng. 2021, 149, 107282. [Google Scholar] [CrossRef]
- Vaccari, M.; Pelagagge, F.; Dominique, B.; Pannocchia, G. Estimation technique for offset-free economic MPC based on modifier adaptation. IFAC-PapersOnLine 2020, 53, 11251–11256. [Google Scholar] [CrossRef]
- Maeder, U.; Borrelli, F.; Morari, M. Linear offset-free model predictive control. Automatica 2009, 45, 2214–2222. [Google Scholar] [CrossRef]
- Morari, M.; Maeder, U. Nonlinear offset-free model predictive control. Automatica 2012, 48, 2059–2067. [Google Scholar] [CrossRef]
- Pannocchia, G.; Gabiccini, M.; Artoni, A. Offset-free MPC explained: Novelties, subtleties, and applications. IFAC-PapersOnLine 2015, 48, 342–351. [Google Scholar] [CrossRef]
- Rawlings, J.B.; Allan, D.A. Moving horizon estimation. Encycl. Syst. Control 2020, 1–7. [Google Scholar] [CrossRef]
- Angeli, D.; Amrit, R.; Rawlings, J.B. On average performance and stability of economic model predictive control. IEEE Trans. Autom. Control 2012, 57, 1615–1626. [Google Scholar] [CrossRef]
- Vaccari, M.; Pannocchia, G. A performance monitoring algorithm for sustained optimal operation with economic MPC. In Proceedings of the 2019 18th European Control Conference (ECC), Naples, Italy, 25–28 June 2019; pp. 3353–3358. [Google Scholar]
- Roberts, P.D. Broyden derivative approximation in ISOPE optimising and optimal control algorithms. In Proceedings of the 11th IFAC Workshop on Control Applications of Optimisation, Saint Petersburg, Russia, 3–6 July 2000; pp. 283–288. [Google Scholar]
- Rodger, E.A.; Chachuat, B. Design methodology of modifier adaptation for on-line optimization of uncertain processes. In Proceedings of the IFAC World Congress, Milan, Italy, 28 August–2 September 2011; pp. 4113–4118. [Google Scholar]
- Dennis, J.E., Jr.; Schnabel, R.B. Numerical Methods for Unconstrained Optimization and Nonlinear Equations; SIAM: Philadelphia, PA, USA, 1996; Volume 16. [Google Scholar]
- Kelley, C.T. Iterative Methods for Optimization; SIAM: Philadelphia, PA, USA, 1999. [Google Scholar]
- Marchetti, A.G. A new dual modifier-adaptation approach for iterative process optimization with inaccurate models. Comput. Chem. Eng. 2013, 59, 89–100. [Google Scholar] [CrossRef]
- Williams, T.J.; Otto, R.E. A generalized chemical processing model for the investigation of computer control. Trans. Am. Inst. Electr. Eng. Part I Commun. Electron. 1960, 79, 458–473. [Google Scholar] [CrossRef]
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. |
© 2021 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).