Acessibilidade / Reportar erro

A METHODOLOGY TO OBTAIN ANALYTICAL MODELS THAT REDUCE THE COMPUTATIONAL COMPLEXITY FACED IN REAL TIME IMPLEMENTATION OF NMPC CONTROLLERS

Abstract

Model Predictive Control, MPC and NMPC, and real-time optimization, RTO and D-RTO, are known to help plant operability through the mitigation of impacts caused by external disturbances. However, the usage of these tools in industry requires overcoming some challenges, for instance: accurate models of the process, particularly in regard to nonlinearities; suitable computational time for obtaining the solution of large-scale problems and model mismatch between the RTO or D-RTO and NMPC. In this paper, we present a methodology to obtain analytical model predictions based on a Hammerstein structure to represent the process nonlinearities, reducing the computational effort in real-time applications. Unlike most common approaches that transform NMPC internal models, described by differential-algebraic equations (DAE), into an approximate system of nonlinear algebraic (NLA) equations using, for instance, orthogonal collocation, in the proposed approach, the obtained NLA is an exact description of the original DAEs system. The proposed algorithm was applied to a non-isothermal CSTR (continuous stirred tank reactor) integrated with an optimization layer. The results show that the proposed structure presented a significant reduction in computational time without performance loss, when compared with the NMPC using a rigorous model. Moreover, the proposed strategy demonstrated good performance in tracking the targets sent by the optimization layer, without model mismatches between layers.

Keywords:
NMPC; RTO; D-RTO; CSTR

INTRODUCTION

MPC is an optimization-based control strategy which is well suited for multivariable processes with constraints. Constraints satisfaction is a very important advantage of MPC algorithms because constraints usually determine product quality, environmental impact and process safety. When the process presents nonlinear behavior, the MPC algorithms using a linear model may not present an acceptable performance. In this case, NMPC algorithms based on nonlinear models should be investigated (Henson, 1998Henson, M.A. A nonlinear model predictive control: Control status and future directions. Computers and Chemical Engineering , 23, 187-202 (1998). https://doi.org/10.1016/S0098-1354(98)00260-9
https://doi.org/10.1016/S0098-1354(98)00...
). As any MPC strategy, a dynamic model of the process is used for prediction, and the choice of the nonlinear model structure is extremely important for the success of the controller.

In an NMPC algorithm, a nonlinear optimal control problem is solved at each sampling instant, spending a significant computational time. Therefore, the most difficult issue to implement NMPC algorithms in industrial applications is the computational time needed to robustly solve large-scale optimizations without feedback delays that can degrade the performance and possibly cause dangerous instabilities in the process. This challenge led to the development of efficient nonlinear programming (NLP) to solve complex control problems for industrial application. Li and Biegler (1989Li, W., Biegler, L.T. Multistep, Newton-type control strategies for constrained, nonlinear processes. Chemical Engineering Research and Design, 562-577 (1989). https://doi.org/10.23919/ACC.1989.4790428
https://doi.org/10.23919/ACC.1989.479042...
) were the first to represent a nonlinear dynamic model by successive linear models around a nominal trajectory, where a quadratic programming (QP) is solved at every sampling time. Diehl et al. (2005Diehl, M., Bock, H.G., Schloder, J.P. A real-time iteration scheme for nonlinear optimization in optimal feedback control. SIAM Journal on Control and Optimization, 43, 1714-1736 (2005). https://doi.org/10.1137/S0363012902400713
https://doi.org/10.1137/S036301290240071...
) proposed a real-time iteration scheme, where only one Newton or QP iteration of the NLP is solved on-line at each sampling time, demonstrating robustness and satisfactory real-time performance in a numerical experiment. In order to reduce the computational time, there are algorithms based on sensitivity analysis. Zavala and Biegler (2009Zavala, V.M., Biegler, L.T. Optimization-based strategies for the operation of low-density polyethylene tubular reactors: Nonlinear model predictive control. Computers and Chemical Engineering , 33, 1735-1746 (2009). https://doi.org/10.1016/j.compchemeng.2009.04.008
https://doi.org/10.1016/j.compchemeng.20...
) proposed an algorithm which exploits the parametric property of the Optimal Control Problem (OCP) and approximates the true optimal solution using NLP sensitivity concepts. Pirnay et al. (2012Pirnay, H., Lopez-Negrete, R., Biegler, L.T. Optimal sensitivity based on IPOPT. Mathematical Programming Computation, 4, 307-331 (2012). https://doi.org/10.1007/s12532-012-0043-2
https://doi.org/10.1007/s12532-012-0043-...
) presented a study showing a capability for sensitivity analysis that is coupled to the IPOPT algorithm, a barrier NLP solver with a filter-based line search. Yang and Biegler (2013Yang, X., Biegler, L.T. Advanced-multi-step nonlinear model predictive control. Journal Process Control, 23, 1116-1128 (2013). https://doi.org/10.1016/j.jprocont.2013.06.011
https://doi.org/10.1016/j.jprocont.2013....
) solved the NLP problem offline one-step in advance, where the NLP sensitivity is used to get the manipulated variables online with the actual measurement, and Lopez-Negrete et al. (2013Lopez-Negrete, R., Biegler, L.T., Kumar, A. Fast nonlinear model predictive control: Formulation and industrial process applications. Computers and Chemical Engineering , 51, 55-64 (2013). https://doi.org/10.1016/j.compchemeng.2012.06.011
https://doi.org/10.1016/j.compchemeng.20...
) applied this strategy to two large-scale processes. Recently, Biegler et al. (2015) showed an efficient NLP sensitivity tool that required 2-3 orders of magnitude less computation time than the traditional NLP solution.

Alangar et al. (2015aAlangar, A., Durand, H., Christofides, P.D. On identification of well-conditioned nonlinear systems: Application to economic model predictive control of nonlinear processes. AIChE Journal, 61, 3353-3373 (2015a). https://doi.org/10.1002/aic.14942
https://doi.org/10.1002/aic.14942...
) proposed a nonlinear system identification technique to obtain well-conditioned polynomial nonlinear state-space (PNLSS) models. The PNLSS model can be correctly integrated with large time steps without significant performance loss, reducing the computational effort. The well-conditioned nonlinear models enable the design of a Lyapunov-based Economic model Predictive control (LEMPC), demonstrating closed-loop stability in the presence of computational delay and process noise. There is a variety of papers on EMPC performance, such as stability, computation time reduction and improving the closed-loop economic performance compared to the economic performance at the economically optimal steady state (Alangar et al., 2015b; Ellis and Christofides, 2015Ellis, M., Christofides, P.D. Real-time economic model predictive control of nonlinear process systems. AIChE Journal , 61, 555-571 (2015). https://doi.org/10.1002/aic.14673
https://doi.org/10.1002/aic.14673...
). The proposed LEMPC was applied in a continuously stirred tank reactor (CSTR), illustrating computational advantages without significant reduction in profit, when compared with models based on first-principles.

Fast update methods developed for direct solution approaches can be classified in the suboptimal update methods and in the sensitivity-based update methods. The choice of a fast NMPC strategy is not trivial because the methods have similar structures. Inga and Marquardt (2016Inga, J., Marquardt, W. Fast NMPC scheme for regulatory and economic NMPC - a review. Journal of Process Control , 44, 162-183 (2016). https://doi.org/10.1016/j.jprocont.2016.05.002
https://doi.org/10.1016/j.jprocont.2016....
) presented a review and assessed the common elements of the fast NMPC, including fast update methods and the control structure applied in these schemes.

Eaton et al. (2017Eaton, A.N., Beal, L.D.R., Thorpe, S.D. Real-time identification using multi-fidelity models in managed pressure drilling. Computers and Chemical Engineering , 97, 76-84 (2017). https://doi.org/10.1016/j.compchemeng.2016.11.008
https://doi.org/10.1016/j.compchemeng.20...
) introduced a method for using high fidelity simulators in NMPC by implementing a switched control scheme. In this strategy, when the linear model prediction error exceed a tolerance, the algorithm started a re-identification using simulated data in the current operating conditions. While the model identification is calculated, the switched control calls a low order NMPC that uses a reduced order observer model (Stamnes et al., 2008Stamnes, O.N., Zhou, J., Aamo, O.M. Adaptive observer design for the bottom hole pressure of a managed pressure drilling system. In: IEEE Conference on Decision and Control (2008). https://doi.org/10.1109/CDC.2008.4738845
https://doi.org/10.1109/CDC.2008.4738845...
) to keep the process in control.

Aiming to reduce the online computational demands, Khani and Haeri (2015Khani, F., Haeri, M. Robust model predictive control of nonlinear processes represented by wiener or hammerstein models. Chemical Engineering Science , 129, 223-231 (2015). https://doi.org/10.1016/j.ces.2015.02.021
https://doi.org/10.1016/j.ces.2015.02.02...
) proposed an algorithm that represents nonlinear processes with uncertain linear models and thus the nonlinear control problem is converted into a robust MPC (RMPC) problem. However, while the RMPC reduces the computational effort, it leads to a suboptimal solution.

Linear approximation of the nonlinear model used in NMPC algorithms is a common strategy to solve nonlinear optimization problem. Trierweiler and Secchi (2000Trierweiler, J.O., Secchi, A.R. Exploring the potentiality of using multiple model approach in nonlinear model predictive control. In: Allgower, F., Zhen, A. (Eds.), Nonlinear Model Predictive Control. Birkhauser Verlag, 26, 191-203 (2000). https://doi.org/10.1007/978-3-0348-8407-5_11
https://doi.org/10.1007/978-3-0348-8407-...
) proposed an NMPC based on local linear model networks to represent nonlinear systems. This approach was used by Duraiski et al. (2001Duraiski, R.G., Trierweiler, J.O., Secchi, A.R. Nonlinear model predictive control using successive linearization approach. In: Proceedings of the 3rd Mercosur Congress on Process Systems Engineering (ENPROMER 2001). 1, 301-306 (2001).) to design an NMPC controller with a Local Linearization on the Trajectory (LLT) algorithm. The method minimizes the objective function using a nonlinear model through successive linearizations until convergence of the control movements. Different model structures can be used to represent the process, such as the identified input-output nonlinear model, first-principles model, and local model network. The algorithm showed high performance when applied to control nonlinear systems. In this context, Lawrynczuk (2013Lawrynczuk, M. Practical nonlinear predictive control algorithms for neural Wiener models. Journal of Process Control , 23, 696-714 (2013). https://doi.org/10.1016/j.jprocont.2013.02.004
https://doi.org/10.1016/j.jprocont.2013....
) proposed three linearizations strategies to solve the NLP problem, the first is simplified linearization around the current operation point (MPC-NPSL), the second consists in computing the prediction with a nonlinear model and apply a linearization along the trajectory once at each sampling instant (MPC-NPLT), and the last one is an algorithm with Nonlinear Prediction and Linearization along the Predicted Trajectory (MPC-NPLPT), the output trajectory calculation and linearization along the computed input trajectory being carried out in an iterative way. In all strategies the neural Wiener model is used to calculate the nonlinear predicted trajectory and the linear approximation allows one to solve the control problem as a quadratic programming problem. The disadvantage of MPC algorithms with successive linearization is the approximation accuracy that affects the control performance.

Rashid et al. (2016Rashid, M.M., Mhaskar, P., Swartz, C.L.E. Multi-rate modeling and economic model predictive control of the electric arc furnace. Journal of Process Control , 40, 50-61 (2016). https://doi.org/10.1016/j.jprocont.2015.12.012
https://doi.org/10.1016/j.jprocont.2015....
) proposed a data-driven multi-model approach weighting scheme to represent the nonlinear nature of an electric arc furnace process. However, the strategy had difficulties to find a weighting function and to get data from identification.

Other challenges for industrial implementation of NMPC strategies are the plant-model mismatch and unmeasured disturbances that can lead to performance loss or constraint violations. The multi-stage NMPC is a robust NMPC approach based on the assumption that uncertainty can be modeled by a scenario tree and solved in an efficient way, both in terms of computational time and memory requirements (Marti et al., 2015Marti, R., Lucia, S., Sarabia, D. Improving scenario decomposition algorithms for robust nonlinear model predictive control. Computers and Chemical Engineering , 79, 30-45 (2015). https://doi.org/10.1016/j.compchemeng.2015.04.024
https://doi.org/10.1016/j.compchemeng.20...
). The challenge is to build the scenario tree, considering the uncertainty space, which can greatly increase the size of the optimization problem, especially for large prediction horizons.

In this work, a nonlinear approach to describe the process that makes NMPC less computationally demanding and suitable for real-time application was proposed. Moreover, the proposed NMPC was integrated with an optimization layer, without model mismatches between layers that could cause infeasibility problems to the controller to follow the optimal reference trajectory from the DRTO or to track an optimal steady state from the RTO.

In the next section, the methodology to obtain the analytical model to represent the nonlinear system is presented and the structure of the proposed algorithm. In Section 3, cases studies and analyses of the proposed nonlinear model predictive control (NMPC) together with the optimization algorithm are carried out.

PROPOSED METHOTOLOGY

In this section, we describe the proposed methodology to develop an NMPC with fast computational structure and integrated with the optimization layer.

Formulation of the control problem

The NMPC is based on the solution of a discrete nonlinear optimal control problem (NOCP), which is formulated as:

M i n u ¯ J ( u ¯ ) = k = 1 H P y ¯ S P ( t k ) y ¯ ( t k ) T W y ¯ ¯ y ¯ S P ( t k ) y ¯ ( t k ) + k = 1 H C Δ u ¯ T ( t k ) R ¯ ¯ Δ u ¯ ( t k ) + k = 1 H C u ¯ S P ( t k ) u ¯ ( t k ) T R u ¯ ¯ u ¯ S P ( t k ) u ¯ ( t k ) (1)

y ¯ ( t k ) = f N L ( u ¯ ( t k ) , d ¯ ( t k ) , y ¯ ( t 0 ) , t k ) , t k t 1 , t k (2)

u ¯ min u ¯ ( t k ) u ¯ max (3)

y ¯ min y ¯ ( t k ) y ¯ max (4)

where H P is the prediction horizon, H C is the control horizon, W y is the positive semi-definite diagonal matrix of controlled variable weighting factors, R u is the positive semi-definite diagonal matrix of manipulated target weighting factors, R is the positive semi-definite diagonal matrix of the control move suppression factors, u SP and y SP are the manipulated and controlled target, respectively, from the optimization layer, u(t k ) ? ?nu and d(t k ) ? ?nd are control and disturbance signals, respectively, with u(t k ) described by a piecewise constant functional. In this paper, all disturbances are considered to be measured, but sometimes in industrial plants important disturbances are unmeasured. In this case, the use of Kalman filtering techniques (Huang et al., 2012Huang, R., Patwardhan, S.C., Biegler, L.T. Robust stability of nonlinear model predictive control based on extender Kalman-fillter. Journal of Process Control , 22, 82-89 (2012). https://doi.org/10.1016/j.jprocont.2011.10.006
https://doi.org/10.1016/j.jprocont.2011....
) can estimate the effects of these disturbances in controlled variables, y(t k ). The nonlinear model is described in the next section.

Equations 1 to 4 describe the NMPC formulation, where Equation 2 is the main novelty, with an analytical internal model, formulated later as Equations 6 to 9, to describe the process dynamic behavior. In order to compare this proposed structure with the best possible performance, another NMPC with the internal model replaced by the DAEs system that describes the plant behavior, Equation 5, was solved too, providing a reference solution.

F ( x ˙ ¯ ( t k ) , x ¯ ( t k ) , y ¯ ( t k ) , u ¯ ( t k ) , t k ) = 0, x ( t 0 ) = x 0 ; t k t 0 , t n (5)

where F(?) ? ?nx + ny is the DAE system, x(t k ) ? ?nx are the state variables, y(t k ) ? ?ny are the controlled variables and u(t k ) ? ?nu are the manipulated variables. Both NLP problems were solved by the interior point method (Biegler, 2010Biegler, L.T. Nonlinear Programming Concepts, Algorithms and Application to Chemical Processes. SIAM, Philadelphia (2010). https://doi.org/10.1137/1.9780898719383
https://doi.org/10.1137/1.9780898719383...
), with an important difference between the proposed model and the reference solution, where the NMPC internal model described by the system is numerically integrated or transformed into NLA equations by discretization techniques, such as orthogonal collocation on finite elements, in the latter. In the proposed approach, the resulting NLA equations are an exact description of the original DAEs system, it being possible to analytically compute the exact gradient and Hessian, which makes it faster to solve the NLP problem.

Determination of the nonlinear model

The challenge in implementing NMPC techniques is the development of models that represent the process without spending a lot of computational time. This step is very important because the controller performance depends on how capable the model is in describing the plant behavior. There are many nonlinear models in the literature that can be used in NMPC algorithms, such as black-box models (Nonlinear Auto Regressive with external input (NARX) polynomial model (Sriniwas and Arkun, 1997Sriniwas, G.R., Arkun, Y. A global solution to the nonlinear predictive control algorithms using polynomial ARX models. Computers and Chemical Engineering , 21, 431-439 (1997). https://doi.org/10.1016/S0098-1354(96)00279-7
https://doi.org/10.1016/S0098-1354(96)00...
)), fuzzy models (Tatjewski, 2007Tatjewski, P. Advanced Control of Industrial Process, Structure and Algorithms. Springer (2007).), Volterra models (Doyle et al., 1995Doyle, F.J., Ogunnaike, B.A., Person, R.K. Nonlinear model-based control using a second-order Volterra models. Automatica, 31, 697-714 (1995). https://doi.org/10.1016/0005-1098(94)00150-H
https://doi.org/10.1016/0005-1098(94)001...
), artificial neural network models (Akesson and Toivonen, 2006Akesson, B.M., Toivonen, H.T. A neural network model predictive controller. Journal of Process Control, 16, 937-946 (2006). https://doi.org/10.1016/j.jprocont.2006.06.001
https://doi.org/10.1016/j.jprocont.2006....
), etc.), first-principles models (Rodriguez and Perez, 2005Rodriguez, M., Perez, D. First principles model based control. Computer Aided Chemical Engineering, 20, 1285-1290 (2005). https://doi.org/10.1016/S1570-7946(05)80056-2
https://doi.org/10.1016/S1570-7946(05)80...
) and gray-box models (Pearson and Pottmann, 2000). Hammerstein and Wiener models are well-known and widely-used nonlinear models in the literature (Janczak, 2004Janczak, A. Identification of Nonlinear Systems Using Neural Networks and Polynomial Models. A Block-Oriented Approach Lecture Notes in Control and Information Science. Vol. 310. Springer (2004). https://doi.org/10.1007/b98334
https://doi.org/10.1007/b98334...
). These models have a block-oriented structure, composed of a linear block that represents the dynamic behavior and another block that maps the nonlinear steady states of the process. Therefore, they can be applied with different nonlinear control techniques, for instance, adaptive control (Knohl and Unbehauen, 2000Knohl, T., Unbehauen, H. Adaptive position control of electrohydraulic servo system using ann. Mechatronics, 10, 127-143 (2000). https://doi.org/10.1016/S0957-4158(99)00054-9
https://doi.org/10.1016/S0957-4158(99)00...
), model reference adaptive control (Pajunen, 1992Pajunen, G. Adaptive control of Wiener type nonlinear systems. Automatica, 28, 781-785 (1992). https://doi.org/10.1016/0005-1098(92)90037-G
https://doi.org/10.1016/0005-1098(92)900...
), Internal Model Control (IMC) (Norquay et al., 1998Norquay, S.J., Palazoglu, A., Romagnoli, J.A. Model predictive control based on Wiener models. Engineering Science, 53, 75-84 (1998). https://doi.org/10.1016/S0009-2509(97)00195-4
https://doi.org/10.1016/S0009-2509(97)00...
, 1999), linearizing feedforward-feedback control (Kalafatis et al., 2005Kalafatis, A.D., Wang, L., Cluett, W.R. Linearizing feedforward-feedback control of pH processes based on wiener model. Journal of Process Control , 15, 103-112 (2005). https://doi.org/10.1016/j.jprocont.2004.03.006
https://doi.org/10.1016/j.jprocont.2004....
) and MPC. There is an important advantage in the MPC strategies, the steady-state part of the model can compensate the nonlinearity of the process (Bloemen et al., 2001Bloemen, H.H.J., Chou, C.T., Boom, T.J.J., Verdult, V., Verhaegen, M., Backx, T.C. Wiener model identification and predictive control for dual composition control of a distillation. Journal of Process Control , 11, 601-620 (2001). https://doi.org/10.1016/S0959-1524(00)00056-1
https://doi.org/10.1016/S0959-1524(00)00...
; Cervantes et al., 2003aCervantes, A., Agamennoni, O.E., Figueroa, J.L. A nonlinear model predictive control system based on wiener piecewise linear models. Journal of Process Control , 13, 665-666 (2003a). https://doi.org/10.1016/S0959-1524(02)00121-X
https://doi.org/10.1016/S0959-1524(02)00...
; Gómez et al., 2004; Lawrynczuk, 2010Lawrynczuk, M. Computationally efficient nonlinear predictive control based on neural Wiener models. Neurocomputing, 74, 401-417 (2010). https://doi.org/10.1016/j.neucom.2010.03.014
https://doi.org/10.1016/j.neucom.2010.03...
; Peng et al., 2011Peng, J., Dubay, R., Hernandez, J.M., Abu-Ayyad, M. A Wiener neural network-based identification and adaptive generalized predictive control for nonlinear SISO systems. Industrial and Engineering Chemistry Research, 50, 7388-7397 (2011). https://doi.org/10.1021/ie102203s
https://doi.org/10.1021/ie102203s...
). An approach to solve a NMPC is to transform it into an adaptive MPC. This strategy consists in multiplying the linear dynamic part of the model by the current “gain” of the steady-state part which is computed online (Seyab and Cao, 2006Seyab, R.K.A., Cao, Y. Nonlinear model predictive control for the Alstom gasifier. Journal of Process Control , 16, 795-808 (2006). https://doi.org/10.1016/j.jprocont.2006.03.003
https://doi.org/10.1016/j.jprocont.2006....
), resulting in a linear model to be used in a classical linear MPC algorithm.

In this work, a multi-parametric approach to represent the non-linearities of the process was proposed. However, many others structures can be used in Equation 2, such as a continuous piecewise linear function (Cervantes et al., 2003bCervantes, A.L., Agamennoni, O.E., Figueroa, J.L. A nonlinear model predictive control system based on wiener piecewise linear model. Journal of Process Control , 13, 665-666 (2003b). https://doi.org/10.1016/S0959-1524(02)00121-X
https://doi.org/10.1016/S0959-1524(02)00...
), cubic spline (Norquay et al., 1999Norquay, S.J., Palazoglu, A., Romagnoli, J.A. Application of Wiener model predictive control (WMPC) to an industrial c2-splitter. Journal of Process Control , 9, 461-473 (1999). https://doi.org/10.1016/S0959-1524(99)00036-0
https://doi.org/10.1016/S0959-1524(99)00...
), wavelets (Aadaleesan et al., 2008Aadaleesan, P., Miglan, N., Sharma, R. Nonlinear system identification using Wiener type Laguerre-wavelet network model. Chemical Engineering Science, 63, 932-3941 (2008). https://doi.org/10.1016/j.ces.2008.04.043
https://doi.org/10.1016/j.ces.2008.04.04...
), linear combinations of basis functions (Gomes et al., 2004) and artificial neural networks (Lawrynczuk, 2007Lawrynczuk, M. A family of model predictive control algorithms with artificial neural networks. International Journal of Applied Mathematics and Computer Science, 17, 217-232 (2007). https://doi.org/10.2478/v10006-007-0020-5
https://doi.org/10.2478/v10006-007-0020-...
).

Equation 6 shows the proposed model used to represent the process, where Equation 7 is a multi-parametric structure to represent the steady-state conditions, see Appendix A, and Equation 9 is an analytical structure to represent the dynamic behavior, see Appendix B. The NMPC algorithm based on the proposed analytical model to solve the NLP problem was also compared with the adaptive MPC approach described above.

y ¯ ( t ) = y ¯ 0 + y ¯ s s ( u ¯ , d ¯ ) y ¯ 0 f ¯ ( t ) (6)

y j S S ( u ¯ , d ¯ ) = k = 1 n u i = 0 n 1 C i , k , j ( d ¯ ) ( u k ) i (7)

C i , k , j ( d ¯ ) = l = 1 n d m = 0 n 2 α i , k , j , m , l ( d l ) m (8)

f ( t ) = 1 exp ε j ( t τ d j ) τ d j × cosh ε j 2 1 τ j t τ d j + ε j ε j 2 1 sinh ε j 2 1 τ j t τ d j (9)

where j = 1, ..., n y , C i,k,j and αi,k,j,m,l are the parameters of the polynomial models of degrees n 1 and n 2, respectively, ? is the Hadamard product (Appendix C), y(t) ? ?ny are the controlled variables, d 0 ? ?ny are the initial values of the controlled variables, y SS: ?u n × ?d n → ?y n represents the steady-state mapping from inputs to outputs, while f(t) ? ?ny describes the dynamic behavior of the process. The structure of Equation 6 allows getting the gradient and the Hessian analytically, reducing the computational effort to obtain the NLP solution.

The methodology used to get the model described in Equations 6 to 9 was twofold: (1) Structure selection to find the more appropriate function that describes the dynamic behavior of the process through identification tests, using first and second order functions, with and without dead time, that minimizes the sum of square errors calculated by difference between the plant and the model in each instant, Equation 10. (2) A multi-parametric function was proposed to represent the non-linearity of the steady states, where only steady-state data were used to obtain the parameters, and a test procedure was applied to determine the input sequence to get data that describe the process non-linearities.

arg min θ ¯ ¯ k = 1 n ( E r r o r ( t k ) ) 2 (10)

E r r o r ( t k ) = y P ( t k ) y ( t k ) , t k t 1 , t n (11)

where θ are the model parameters, y ? ?ny are the model variables and y P ? ?ny are the plant variables.

Nonlinear model identification is a challenge, because of the possible non-convex optimization problem to be solved, imposing difficulties to find the globally optimal solution. Thus, to obtain a robust solution of the problem, the following three-step identification strategy was proposed: (1) Carry out an identification with linear models to get an initial estimate for the parameters of the linear dynamic model; (2) With only steady-state data, estimate the parameters of the steady-state nonlinear model; (3) Estimate the parameters of the dynamic linear model, (Appendix B), coupled with the nonlinear model obtained in the previous step, using as initial estimate the solution of the identification of the first step.

Integration of the NMPC with the optimization layer

Optimization techniques have many challenges, especially when applied in real time. For instance, one of the most important is the integration between the optimization and control layers, because the models, in general, are different; the first uses phenomenological models and the second usually uses empirical models. This fact may lead to unreachable targets for the control layer. In this context, many authors have proposed an intermediate feasibility optimization layer, in which new targets are evaluated, using the static part of the empirical models of the controller (Zanin et al., 2000Zanin, A.C., Gouvea, M.T.D., Odloak, D. Industrial implementation of a real-time optimization strategy for maximizing production of LPG in a FCC unit. Computers and Chemical Engineering , 24, 525-531 (2000). https://doi.org/10.1016/S0098-1354(00)00524-X
https://doi.org/10.1016/S0098-1354(00)00...
). In this intermediate optimization, the sum of the square of the deviations between the targets of this layer and the optimization layer is minimized. The targets calculated in the intermediate layer are reachable by the controller, because they were obtained using the same empirical model. Therefore, there is no guarantee that this optimal point is the same from the optimization layer with phenomenological models, resulting in sub-optimal points.

In the proposed approach, the static part of the nonlinear model of the controller can map the entire optimization region built-up with rigorous models of the process, avoiding the necessity of an intermediate layer to integrate the optimization and control layers. The mathematical formulation of optimization layer is illustrated in Equations 12 to 15.

y A , u A = arg min y ¯ ( t n ) , u ¯ ( t n ) , d ¯ ( t n ) φ ( t n ) (12)

s.t.

y ¯ ( t n ) = y ¯ s s ( u ¯ ( t n ) , d ¯ ( t n ) ) (13)

y L y ¯ ( t n ) y U (14)

u L u ¯ ( t n ) u U (15)

where ϕ(t n ) is the objective function, y SS (u(t n ), d(t n )) ? ?ny is the multi-parametric model to describe the steady state, d(t n ) ? ?nd are the disturbance variables, y(t n ) ? ?ny are the controlled variables and u(t n ) ? ?nu are the manipulated variables. The optimal solution of the optimization problem is y A ? ?ny and u A ? ?nu .

Equations 16 to 19 show the rigorous optimization layer using phenomenological models to represent the process. The formulation is similar to the above problem, but replacing the proposed model, Equation 13, by rigorous model.

y R , u R = arg min y ¯ ( t n ) , u ¯ ( t n ) , d ¯ ( t n ) φ ( t n ) (16)

F ( x ¯ ( t n ) , y ¯ ( t n ) , u ¯ ( t n ) , d ¯ ( t n ) ) = 0 (17)

y L y ¯ ( t n ) y U (18)

u L u ¯ ( t n ) u U (19)

where ϕ(t n ) is the objective function, F(?) ? ?nx + ny is the algebraic equation system, x(t n ) ? ?nx are the state variables, d(t n ) ? ?nd are the disturbance variables, y(t n ) ? ?ny are the controlled variables and u(t n ) ? ?nu are the manipulated variables. The optimal solution of the optimization problem using the rigorous model is y R ? ?ny and u R ? ?nu .

Equations 20 to 23 show the intermediate optimization layer.

y I , u I = arg min y ¯ ( t n ) , u ¯ ( t n ) , d ¯ ( t n ) ( y ¯ ( t n ) y ¯ R ( t n ) ) 2 (20)

s.t

y ¯ ( t n ) = y ¯ s s ( u ¯ ( t n ) , d ¯ ( t n ) ) (21)

y min y ¯ ( t n ) y max (22)

u min u ¯ ( t n ) u max (23)

where y SS (u(t n ), d(t n )) ? ?ny is the multi-parametric model to describe the steady state, d(t n ) ? ?nd are the disturbance variables, y(t n ) ? ?ny are the controlled variables and u(t n ) ? ?nu are the manipulated variables. The optimal solution of the intermediate optimization layer is y I ? ?ny and u I ? ?nu . Equation 24 illustrates the integration between the optimization and control layers when there is an intermediate optimization layer. On the other side, in the proposed approach the integration is represented by Equation 25 with y A (t n ) sent directly to the control layer.

y ¯ S P ( t k ) = y ¯ I ( t n ) , t k t 0 , t n (24)

y ¯ S P ( t k ) = y ¯ A ( t n ) y ¯ R ( t n ) , t k t 0 , t n (25)

The challenge to apply optimization techniques with static models is to ensure that the plant is in a steady state, as this condition is crucial to a successful optimization. In this context, there are several works questioning whether steady-state optimization is the best way. Since the control layer has no information about the dynamic economical performance of the plant, it may generate trajectories that simply track a suboptimal setpoint (Jaschke et al., 2014Jaschke, J., Yang, X., Biegler, L.T. Fast economic model predictive control based on NLP-sensitivities. Journal of Process Control , 24, 1260-1272 (2014). https://doi.org/10.1016/j.jprocont.2014.04.009
https://doi.org/10.1016/j.jprocont.2014....
). Recent studies about dynamic optimization have reported significant performance improvements with economically-oriented NMPC formulations (Zavala and Biegler, 2009Zavala, V.M., Biegler, L.T. Optimization-based strategies for the operation of low-density polyethylene tubular reactors: Nonlinear model predictive control. Computers and Chemical Engineering , 33, 1735-1746 (2009). https://doi.org/10.1016/j.compchemeng.2009.04.008
https://doi.org/10.1016/j.compchemeng.20...
).

Wang et al. (2017Wang, X., Mahalec, V., Qian, F. Globally optimal dynamic real time optimization without model mismatch between optimization and control layer. Computers and Chemical Engineering , 104, 64-75 (2017). https://doi.org/10.1016/j.compchemeng.2017.04.006
https://doi.org/10.1016/j.compchemeng.20...
) proposed a strategy to eliminate model mismatch between the dynamic RTO and the control layer. Elimination of model mismatch between D-RTO and the control layer ensures that problems such as unreachability and infeasibility of the trajectories calculated by D-RTO do not appear. The strategy transforms the dynamic model equations into a nonlinear algebraic model by using a trapezoidal formula. This nonlinear model is applied in both layers, but also the same discretization method and the same intervals are used.

In this context, the proposed approach was integrated with a dynamic optimization layer, without the necessity of an intermediate layer. In this way, the optimal path obtained in D-RTO is sent to the control layer, which will be responsible to take the plant through the optimal trajectory. The mathematical formulation of the dynamic optimization layer is illustrated in Equations 26 to 27.

y D R ( t k ) , u D R ( t k ) = arg min y ¯ ( t k ) , u ¯ ( t k ) , d ¯ ( t k ) φ ( t n ) (26)

s.t.

F ( x ˙ ¯ ( t k ) , x ¯ ( t k ) , y ¯ ( t k ) , u ¯ ( t k ) , p , t k ) = 0, x ( t 0 ) = x 0 ; t k t 0 , t n (27)

x ¯ L x ¯ ( t k ) x ¯ U

y ¯ L y ¯ ( t k ) y ¯ U

u ¯ L u ¯ ( t k ) u ¯ U

where ϕ(t n ) is the objective function, F(?) ? ?nx + ny is the differential algebraic equation system (DAE), x(t k ) ? ?nx are the state variables, y(t k ) ? ?ny are the controlled variables, u(t k ) ? ?nu are the manipulated variables, and p ? ?np are the time independent parameters.

The differential-algebraic optimization problem (DAOP) illustrated by Equations 26 and 27 was reformulated as a multi-objective optimization problem using time-varying constraint relaxation techniques. Equations 28 and 29 show the mathematical formulation of the multi-objective optimization problem by relaxing the constraints with time-varying slack variables, s(t) (Almeida and Secchi, 2012Almeida, E., Secchi, A.R. Solving dynamic optimization infeasibility problems. Computers and Chemical Engineering, 36, 227-246 (2012). https://doi.org/10.1016/j.compchemeng.2011.07.003
https://doi.org/10.1016/j.compchemeng.20...
).

min u ¯ ( t k ) , s ¯ x ( t k ) , s ¯ y ( t k ) , s ¯ u ( t k ) φ ( t n ) , t 0 t f s ¯ x ( t ) 2 d t , t 0 t f s ¯ y ( t ) 2 d t , t 0 t f s ¯ u ( t ) 2 d t , (28)

F ( x ˙ ¯ ( t k ) , x ¯ ( t k ) , y ¯ ( t k ) , u ¯ ( t k ) , p , t k ) = 0, x ( t 0 ) = x 0 ; t k t 0 , t n (29)

x ¯ L x ¯ ( t k ) + s ¯ x ( t k ) x ¯ U

y ¯ L y ¯ ( t k ) + s ¯ y ( t k ) y ¯ U

u ¯ L u ¯ ( t k ) + s ¯ u ( t k ) u ¯ U

s ¯ L x s ¯ x ( t k ) s ¯ U x where s ¯ x ( t k ) n x

s ¯ L y s ¯ y ( t k ) s ¯ U y where s ¯ y ( t k ) n y

s ¯ L u s ¯ u ( t k ) s ¯ U u where s ¯ u ( t k ) n u

where s x (tk) are time-varying slacks by relaxing to constraints of state variables, s y (tk) are time-varying slacks by relaxing to constraints of controlled variables and s u (tk) are time-varying slacks by relaxing to constraints of manipulated variables. The proposed approach allows direct integration between the dynamic optimization layer and control layer, Equation 30.

y ¯ S P ( t k ) = y ¯ D R ( t k ) , t k t 0 , t n (30)

The ability of the proposed model to describe plant behavior allows one to insert a contribution in the objective function of the control layer that represents the economical performance of the process, avoiding the necessity of an optimization layer. In this way, the economic optimization will be solved at the same frequency as the control problem. Therefore, the proposed model is promising for use in economic model predictive control strategies, EMPC.

RESULTS AND DISCUSSION

The benchmark CSTR (controlled stirred tank reactor) of Van de Vusse was chosen as the case study because of its well-known nonlinear behavior. The system is represented by the synthesis of cyclopentenol (component B) from cyclopentadiene (component A) by addition of acid water catalyst. Due to the strong reactivity of the reactants and products, dicyclopentadiene (component D) is produced as a secondary product of the Diels-Alder reaction, and cyclopentenodiol (component C) is produced by the consecutive addition of another water molecule (Klatt and Engell, 1998Klatt, K.U., Engell, S. Gain-scheduling trajectory control of a continuous stirred tank reactor. Computers and Chemical Engineering , 22, 491-502 (1998). https://doi.org/10.1016/S0098-1354(97)00261-5
https://doi.org/10.1016/S0098-1354(97)00...
). The equations that describe the chemical reactions of the process are the following:

C 5 H 6 H 2 O / H + C 5 H 7 O H H 2 O / H + C 5 H 8 ( O H ) 2 (31)

2 C 5 H 6 C 10 H 12 (32)

The mass and energy balances in the CSTR (continuous stirred tank reactor), with constant volume, and control system as shown in Figure 1, result in the following equations:

d C a d t = F V C a i n C a K 1 ( T ) C a K 3 ( T ) C a 2 (33)

d C b d t = F V C b + K 1 ( T ) C a K 2 ( T ) C b (34)

d T d t = 1 ρ C P K 1 ( T ) C a ( Δ H R A B ) + K 2 ( T ) C b ( Δ H R B C ) + K 3 ( T ) C a 2 ( Δ H R A D ) + F V ( T i n T ) + K w A R ρ C P V ( T w T ) (35)

K i ( T ) = K i 0 exp E i R T (36)

where C a and C b are the molar concentrations of species A and B, respectively, C ain is the inlet concentration of species A, T is the reactor temperature, T w is the jacket temperature, T in is the inlet temperature, F is the feed flow rate, V is the reactor volume, AR is the heat transfer area, K w is the overall heat transfer coefficient. Table 1 shows the model parameters.

Figure 1
The schematic of the reactor of Van de Vusse.

Table 1
CSTR parameters for the case study (Trierweiler, 1997Trierweiler, J.O. A systematic approach to control structure design. Ph.D. Thesis, Dortmund University (1997).).

Figure 2 illustrates the nonlinear steady-state behavior of the composition C b as function of the manipulated variables, F and T w , of the Van de Vusse reactor. This case study is suitable to verify the controller performance, because there is nonlinearity of the controlled variable C b with both manipulated variables, F and T w . For instance, if we choose any curve in the figure, where T w is constant, there is an inversion of the gain signal of the C b composition with the feed flow rate. On the other hand, if we draw and walk up in a vertical line, where the feed flow rate is constant and close to the lower bound of the feed flow rate, the reaction rate increases when Tw is reduced, maximizing the C b production. However, when we are on the other side, close to the upper bound of the feed flow rate, the reaction rate increases when T w is increased. Therefore, there is also an inversion of the gain signal in the relationship between the variables T w and C b . Besides that, the results are important because they show that the multi-parametric model can describe the steady-sate region very well.

Figure 2
Steady state of C b composition.

Process Identification

The NMPC was configured with two manipulated variables, F and T w , two controlled variables, C b and T, and two disturbance variables, C ain and T ain . Equations 6 to 9 are a representation of Equations 37 to 40 used to describe the behavior of the Van de Vusse reactor in the MPC algorithm. Tables 2 and 3 show the parameters obtained from the identification procedure.

y j ( t ) = y j 0 + y j 0 ¯ y j s s ¯ ( F , T w , C a i n , T i n ) f j ( t ) (37)

f j ( t ) = 1 exp ε j ( t τ d j ) τ d j cosh ε j 2 1 τ j t τ d j + ε j ε j 2 1 sinh ε j 2 1 τ j t τ d j (38)

y j s s = C b s s , T s s a n d y j ( t ) = C b ( t ) , T ( t )

y j s s ( F , T w , C a i n , T i n ) = C j ,1 + C j ,2 ( C a i n , T i n ) F + C j ,3 ( C a i n , T i n ) T w + C j ,4 ( C a i n , T i n ) F T w + C j ,5 ( C a i n , T i n ) F 2 + C j ,6 ( C a i n , T i n ) T w 2 (39)

C j , l ( C a i n , T i n ) = k j , l ,1 + k j , l ,2 C a i n + k j , l ,3 T i n + k j , l ,4 C a i n T i n + k j , l ,5 C a i n 2 + k j , l ,6 T i n 2 (40)

Table 2
Parameters of the steady-state model.

Table 3
Parameters of the dynamic model.

Figures 3 to 6 illustrate a comparison between the proposed model and the plant for the steady and dynamic behaviors of the controlled variables, C b and T, for step changes in the manipulated variables, F and T w , and in the disturbance variables, C ain and T ain . The results show that the models for C b (t) and T(t) describe well the plant behavior in all regions, allowing the use in NMPC and optimization strategies.

Figure 3
Identification of the dynamic model for C b .

Figure 4
Identification of the dynamic model for temperature

Figure 5
Identification of the steady-state model for C b .

Figure 6
Identification of the steady-state model for temperature.

Application of the proposed NMPC in the case study

The formulation of the NMPC presented in Equation 1 was employed with y SP (t k ) = [C b SP (t k ), T SP (t k )], y(t k ) = [C b (t k ), T(t k )] and u(t k ) = [F(t k ), T w (t k )], where the tuning parameters are Δu(t k ) = [ΔF(t k ), ΔT w (t k )] = [100L/h, 10K], W y (t k ) = [W Cb (t k ), W T (t k )] = [100, 10], [R ΔF (T k ), R ΔTw (T k )] = [10, 10], R u (t k ) = [R F (t k ), R Tw (t k )] = [1, 1], t sampling = 5 min, H P = 50, HC = 10.

The objective of this study was to evaluate the NMPC performance using the proposed model in comparison with the NMPC using the rigorous model to follow the suggested setpoints for C b and T. Furthermore, the capability of the proposed NMPC to reject disturbances was tested.

Figures 7 to 8 illustrate the good performance of the proposed controller to lead the plant smoothly to the setpoints. Both figures show a small bias in temperature at the first moment, before the C b setpoint changed. It happened because, at this moment, the feed flow rate was at the minimum limit, leaving the controller with only one degree of freedom and two foci, since the C b setpoint is more important than Temperature. The code was written in Matlab platform and the Interior Point algorithm (Byrd et al., 1999Byrd, R.H., Hribar, M.E., Nocedal, J. An interior point algorithm for large-scale nonlinear programming. SIAM Journal on Optimization, 9, 877-900 (1999). https://doi.org/10.1137/S1052623497325107
https://doi.org/10.1137/S105262349732510...
) was chosen to solve the nonlinear problem. The algorithm did not spend a lot of computational time, approximately 0.66 seconds per cycle in a machine with 8GB RAM and an i7 processor, to solve the NLP problem with 2 manipulated variables, 2 controlled variables and 2 disturbance variables.

Figure 7
Result of the proposed NMPC to keep the plant on the C b setpoint. The controller turned on at time equal to 15 min and the C b setpoint changed at time equal to 150 min.

Figure 8
Result of the proposed NMPC to keep the plant on the temperature setpoint. The controller turned on at time equal to 15 min and the setpoint changed at time equal to 150 min.

Figures 9 and 10 show the good performance of the proposed controller also to reject disturbances in the feed, C ain and T ain , keeping the controlled variables, C b and T, at the setpoints. Similarly to previous results, there is a bias to the temperature caused by the loss of one degree of freedom when the feed flow rate hit the lower bound, leaving the controller with just one manipulated variable to control two controlled variables.

Figure 9
Result of the proposed NMPC to reject disturbances in the feed composition; The controller turned on at time equal to 15 min and the disturbance happened at time equal to 150 min.

Figure 10
Result of the proposed NMPC to reject disturbances in the feed temperature. The controller turned on at time equal to 15 min and the disturbance happened at time equal to 150 min.

Figures 11 and 12 shows the performance of the proposed NMPC and the QDMC (Garcia and Morshedi, 1986Garcia, C.E., Morshedi, A.M. Quadratic programming solution of dynamic matrix control (QDMC). Chemical Engineering Communication, 46, 73-87 (1986). https://doi.org/10.1080/00986448608911397
https://doi.org/10.1080/0098644860891139...
) using the linear model obtained in the first step of the identification procedure. The results with the NMPC show offsets in two setpoint changes. In the first, both manipulated variables are at the lower bounds. In the second, there is an offset only in the C b composition, because the jacket temperature is at the upper bound and the controller has only one manipulated variable to control two controlled variables. Therefore, in all situations the proposed NMPC did the best that it can do with the chosen boundary constraints. The results obtained with the QDMC algorithm were oscillatory, showing the difficulty to represent the process behavior with linear models.

Figure 11
Comparison between the controlled variables obtained from the proposed NMPC and the traditional QDMC.

Figure 12
Comparison between the manipulated variables obtained from the proposed NMPC and the traditional QDMC.

Figures 13 and 14 illustrate a comparison between the NMPC algorithm using rigorous models with the proposed NMPC. There are offsets in three situations. In the first, the C b target is unreachable with the F i limits used in the control problem, as we can see in Figure 2. In the second, when the targets change again, there is an offset just of the C b composition. This happens because, in this condition, the controller has only one manipulated variable, F i , which is at the lower limit, to control two controlled variables. In the last suggested targets, both manipulated variables hit the lower limits, leaving an offset between plant and target for both controlled variables. Therefore, in all situations the proposed NMPC did the best that is possible to do with the chosen limits to manipulation. The results show that there is no performance loss when the controller uses the proposed model. However, the proposed NMPC reduced significantly the computational time to solve the NLP problem. In other words, the time spent in each cycle using the NMPC with the proposed model was approximately 15 times shorter than the algorithm using the rigorous model. This is a very important result, showing the potential of the algorithm to solve large-scale problems.

Figure 13
Comparison between the controlled variables obtained from the NMPC algorithm using the proposed model and the rigorous model.

Figure 14
Comparison between the manipulated variables obtained from the NMPC algorithm using the proposed model and the rigorous model.

Comparison between the NMPC control using the proposed model and the Adaptive MPC algorithm

Figure 15 illustrates a comparison between the NMPC algorithm using the proposed model to solve the NLP problem and the adaptive MPC strategy. In the adaptive MPC, the static gain is updated at the beginning of each cycle of the controller using the nonlinear function that represents the steady-state in the proposed model. The main difference between the approaches is that, in the NMPC algorithm, the steady-state is considered to be nonlinear during the solution of the control problem, resulting in a NLP problem, while in the adaptive approach, the nonlinear behavior is described for an adaptive linear model that is updated with the current condition read from the plant at the beginning of each control cycle. In other words, the linear model assumes an adaptive feature because the approach changes the steady-state gain according to the operating condition of the plant, being able to describe an inverse gain signal, for instance. The adaptive MPC disadvantage is that the model is not updated along the prediction trajectory, staying the same during the solution of the control problem. The results show that both approaches spent similar computational time to solve the control problem, but the NMPC with the proposed analytical model had a better performance than adaptive MPC to keep the controlled variable at the setpoints.

Figure 15
Comparison between the NMPC with the proposed model and an Adaptive MPC.

Sensitivity analysis of error in parameters of the NMPC reduced model

Figure 16 shows the steady-state predictions obtained at the end time of each control cycle for three case studies: (1) No model mismatches - The model used by NMPC is the proposed model with all parameters obtained from the process identification; (2) Case 1 - Random Model mismatch with a range of variability of 5% ; (3) Case 2 - Random Model mismatch with a range of variability of 40%. The results illustrate that there is a poor steady-state prediction only for large steady-state model mismatches.

Figure 16
Result of the proposed NMPC with steady-state model mismatches to keep the plant on C b and the temperature setpoint. The controller turned on at time equal to 15 min and the C b setpoint changed at time equal to 150 min.

Figure 17 shows the controller performance for steady-state model mismatches. The controller could not drive the plant to the suggested setpoints in case 2, when the range of variability of the model mismatch is 40%. This happens because the controller lost a degree of freedom when the cold fluid Temperature, T w , hit the upper bound, leaving the controller with just one manipulated variable to control two controlled variables. Therefore, it is important to obtain accurate models to describe the steady-state nonlinear behavior.

Figure 17
Result of the proposed NMPC with steady-state model mismatches to keep the plant on C b and the temperature setpoint. The controller turned on at time equal to 15 min and the C b setpoint changed at time equal to 150 min.

Figures 18 and 19 show the controller performance when there are dynamic model mismatches. The case studies are the same described for steady-state model mismatches, but the parameters with errors are τp and ε, respectively. Unlike steady-state model mismatches, where the errors can cause bad control performance and large variability, when the errors are in the dynamic model parameters, there are no performance losses.

Figure 18
Result of the proposed NMPC with dynamic model mismatches in τp to keep the plant on C b and the temperature setpoint. The controller turned on at time equal to 15 min and the C b setpoint changed at time equal to 150 min.

Figure 19
Result of the proposed NMPC with dynamic model mismatches in ε to keep the plant on C b and the temperature setpoint. The controller turned on at time equal to 15 min and the C b setpoint changed at time equal to 150 min.

Figure 20 shows the NMPC performance with steady-state model mismatches to reject feed composition disturbances. The controller could not drive the plant to the proposed setpoints in case 2. It happens because the controller lost a degree of freedom when the feed flow rate hit the lower bound, leaving the controller with just one manipulated variable to control two controlled variables. Therefore, the results illustrate that the proposed NMPC with large steady-state model mismatches cannot carry and keep the controlled variables at setpoints.

Figure 20
Result of the proposed NMPC with steady-state model mismatches to reject disturbances in feed composition. The controller turned on at time equal to 15 min and the disturbance happened at time equal to 150 min.

Figures 21 and 22 show the proposed NMPC performance to reject the feed composition disturbance when there are dynamic model mismatches in τp and ε, respectively. The results illustrate that the model mismatches in the parameters of the dynamic model do not cause performance losses to reject the disturbance.

Figure 21
Result of the proposed NMPC with dynamic model mismatches in τp to reject disturbances in the feed composition. The controller turned on at time equal to 15 min and the disturbance happened at time equal to 150 min.

Figure 22
Result of the proposed NMPC with dynamic model mismatches in ε to reject disturbances in the feed composition. The controller turned on at time equal to 15 min and the disturbance happened at time equal to 150 min.

The proposed NMPC performance to reject an unmeasured disturbance in the cold fluid flow rate

Figure 23 shows the NMPC performance to control C b and the temperature, rejecting an unmeasured disturbance in the cold fluid flow rate. The case studies were done with two kinds of unmeasured disturbance, random and constant, applied at an equal time of 200 min. The results illustrate that the controller rejects the constant disturbance. It happens because the feedback action can eliminate the model mismatches. But, when there is a random unmeasured disturbance in the cold fluid feed flow rate, the controller does not keep the controlled variables at the suggested setpoints, showing bad performance.

Figure 23
Results of the proposed NMPC to reject unmeasured disturbance in cold fluid flow rate that happened at time equal to 200 min.

NMPC integrated with an optimization layer

Equations 41 to 47 show the formulation of the optimization problem. The focus is maximizing C b at the steady state, sending this setpoint for the control layer represented by Equation 1.

M a x u ¯ C b (41)

subject to

0 = F V C a i n C a K 1 ( T ) C a K 3 ( T ) C a 2 (42)

0 = F V C b + K 1 ( T ) C a K 2 ( T ) C b (43)

0 = 1 ρ C P K 1 ( T ) C a ( Δ H R A B ) + K 2 ( T ) C b ( Δ H R B C ) + K 3 ( T ) C a 2 ( Δ H R A D ) + F V ( T i n T ) + K w A R ρ C P V ( T w T ) (44)

K i ( T ) = K i 0 exp E i R T (45)

u min u ¯ u max (46)

y min y ¯ y max (47)

where Equations 42 to 44 represent the steady state of the process, while upon replacing these equations by Equations 33 to 35, the problem is reformulated as a dynamic optimization problem.

The optimization consists of maximizing the C b subject to constraints on the manipulated and controlled variables. Figure 24 shows the good performance of the proposed NMPC to track the setpoint sent by the optimization layer, presenting no offset between them. Moreover, it is important to say that only the first control action is implemented, reducing impacts caused by model mismatches and unmeasured disturbances.

Figure 24
Results of the proposed NMPC with the optimizing layer.

Figures 25 and 26 illustrate a comparison between the optimization using the rigorous model and the proposed model. The optimization with the proposed model shows a reduction of 2.5-fold in the computational time to solve the nonlinear problem without any performance loss, showing that the proposed model can be used for the steady-state optimization.

Figure 25
Comparison between the steady-state optimization using the multi-parametric model and the rigorous model.

Figure 26
Comparison between the optimizer target using the multi-parametric model and the rigorous model.

Figure 27 illustrates the performance of the proposed algorithm integrated with a dynamic optimization layer, where C b is maximized along all paths. The result was compared with the optimization strategy using the steady-state model and with the dynamic optimization without the NMPC layer. According to Table 4, all solutions were close, with the maximum C b obtained by the DRTO+NMPC strategy. The DRTO strategy led the plant to the setpoints faster than the others, but presented a larger overshoot. The results show that the NMPC layer followed the trajectories computed by D-RTO, demonstrating that the D-RTO trajectories are reachable and feasible for the proposed model.

Figure 27
Comparison between the result obtained by dynamic and steady-state optimization.

Table 4
Comparison between the optimization structures.

CONCLUSION

The challenge to apply NMPC strategies is to obtain models that describe the process behavior and whose computational time spent in each control cycle allows a reasonable frequency for industrial applications.

In this context, a methodology to obtain analytical models for NMPC algorithms was proposed, avoiding loss of accuracy caused by numerical approximations. The analytical model reduces the computational complexity faced in real time implementation of NMPC controllers, with great potential to be applied to large-scale problems.

The comparison between the NMPC based on the proposed model and an adaptive NMPC algorithm, where the current steady-state gain is computed online, showed that the proposed NMPC had a better performance to drive the plant to the setpoints, without causing additional computational effort.

There were no model mismatches between the proposed model used in the control layer and the rigorous model present in the optimization layer, ensuring that the optimal trajectory computed in the D-RTO layer is reachable and feasible for the controller. The results show that the proposed NMPC was capable of following the optimal trajectories computed in the D-RTO layer, driving the plant to the optimal solution.

REFERENCES

  • Aadaleesan, P., Miglan, N., Sharma, R. Nonlinear system identification using Wiener type Laguerre-wavelet network model. Chemical Engineering Science, 63, 932-3941 (2008). https://doi.org/10.1016/j.ces.2008.04.043
    » https://doi.org/10.1016/j.ces.2008.04.043
  • Akesson, B.M., Toivonen, H.T. A neural network model predictive controller. Journal of Process Control, 16, 937-946 (2006). https://doi.org/10.1016/j.jprocont.2006.06.001
    » https://doi.org/10.1016/j.jprocont.2006.06.001
  • Alangar, A., Durand, H., Christofides, P.D. On identification of well-conditioned nonlinear systems: Application to economic model predictive control of nonlinear processes. AIChE Journal, 61, 3353-3373 (2015a). https://doi.org/10.1002/aic.14942
    » https://doi.org/10.1002/aic.14942
  • Alangar, A., Ellis, M., Christofides, P.D. Economic model predictive control of nonlinear process systems using empirical models. AIChE Journal , 61, 816-830 (2015b). https://doi.org/10.1002/aic.14683
    » https://doi.org/10.1002/aic.14683
  • Almeida, E., Secchi, A.R. Solving dynamic optimization infeasibility problems. Computers and Chemical Engineering, 36, 227-246 (2012). https://doi.org/10.1016/j.compchemeng.2011.07.003
    » https://doi.org/10.1016/j.compchemeng.2011.07.003
  • Biegler, L.T. Nonlinear Programming Concepts, Algorithms and Application to Chemical Processes. SIAM, Philadelphia (2010). https://doi.org/10.1137/1.9780898719383
    » https://doi.org/10.1137/1.9780898719383
  • Biegler, L.T., Yang, X., Fischer, G.A.G. Advances in sensitivity-based nonlinear model predictive control and dynamic real-time optimization. Journal of Process Control , 30, 104-116 (2015). https://doi.org/10.1016/j.jprocont.2015.02.001
    » https://doi.org/10.1016/j.jprocont.2015.02.001
  • Bloemen, H.H.J., Chou, C.T., Boom, T.J.J., Verdult, V., Verhaegen, M., Backx, T.C. Wiener model identification and predictive control for dual composition control of a distillation. Journal of Process Control , 11, 601-620 (2001). https://doi.org/10.1016/S0959-1524(00)00056-1
    » https://doi.org/10.1016/S0959-1524(00)00056-1
  • Byrd, R.H., Hribar, M.E., Nocedal, J. An interior point algorithm for large-scale nonlinear programming. SIAM Journal on Optimization, 9, 877-900 (1999). https://doi.org/10.1137/S1052623497325107
    » https://doi.org/10.1137/S1052623497325107
  • Cervantes, A., Agamennoni, O.E., Figueroa, J.L. A nonlinear model predictive control system based on wiener piecewise linear models. Journal of Process Control , 13, 665-666 (2003a). https://doi.org/10.1016/S0959-1524(02)00121-X
    » https://doi.org/10.1016/S0959-1524(02)00121-X
  • Cervantes, A.L., Agamennoni, O.E., Figueroa, J.L. A nonlinear model predictive control system based on wiener piecewise linear model. Journal of Process Control , 13, 665-666 (2003b). https://doi.org/10.1016/S0959-1524(02)00121-X
    » https://doi.org/10.1016/S0959-1524(02)00121-X
  • Diehl, M., Bock, H.G., Schloder, J.P. A real-time iteration scheme for nonlinear optimization in optimal feedback control. SIAM Journal on Control and Optimization, 43, 1714-1736 (2005). https://doi.org/10.1137/S0363012902400713
    » https://doi.org/10.1137/S0363012902400713
  • Doyle, F.J., Ogunnaike, B.A., Person, R.K. Nonlinear model-based control using a second-order Volterra models. Automatica, 31, 697-714 (1995). https://doi.org/10.1016/0005-1098(94)00150-H
    » https://doi.org/10.1016/0005-1098(94)00150-H
  • Duraiski, R.G., Trierweiler, J.O., Secchi, A.R. Nonlinear model predictive control using successive linearization approach. In: Proceedings of the 3rd Mercosur Congress on Process Systems Engineering (ENPROMER 2001). 1, 301-306 (2001).
  • Eaton, A.N., Beal, L.D.R., Thorpe, S.D. Real-time identification using multi-fidelity models in managed pressure drilling. Computers and Chemical Engineering , 97, 76-84 (2017). https://doi.org/10.1016/j.compchemeng.2016.11.008
    » https://doi.org/10.1016/j.compchemeng.2016.11.008
  • Ellis, M., Christofides, P.D. Real-time economic model predictive control of nonlinear process systems. AIChE Journal , 61, 555-571 (2015). https://doi.org/10.1002/aic.14673
    » https://doi.org/10.1002/aic.14673
  • Garcia, C.E., Morshedi, A.M. Quadratic programming solution of dynamic matrix control (QDMC). Chemical Engineering Communication, 46, 73-87 (1986). https://doi.org/10.1080/00986448608911397
    » https://doi.org/10.1080/00986448608911397
  • Gomez, J.C., Jutan, A., Baeyens, E. Wiener model identification and predictive control of a ph- neutralisation process. IEE Proceedings Part D: Control Theory and Applications, 151, 329-338 (2004). https://doi.org/10.1049/ip-cta:20040438
    » https://doi.org/10.1049/ip-cta:20040438
  • Henson, M.A. A nonlinear model predictive control: Control status and future directions. Computers and Chemical Engineering , 23, 187-202 (1998). https://doi.org/10.1016/S0098-1354(98)00260-9
    » https://doi.org/10.1016/S0098-1354(98)00260-9
  • Horn, R. Topics in Matrix Analysis. Cambridge University Press (1994).
  • Huang, R., Patwardhan, S.C., Biegler, L.T. Robust stability of nonlinear model predictive control based on extender Kalman-fillter. Journal of Process Control , 22, 82-89 (2012). https://doi.org/10.1016/j.jprocont.2011.10.006
    » https://doi.org/10.1016/j.jprocont.2011.10.006
  • Inga, J., Marquardt, W. Fast NMPC scheme for regulatory and economic NMPC - a review. Journal of Process Control , 44, 162-183 (2016). https://doi.org/10.1016/j.jprocont.2016.05.002
    » https://doi.org/10.1016/j.jprocont.2016.05.002
  • Janczak, A. Identification of Nonlinear Systems Using Neural Networks and Polynomial Models. A Block-Oriented Approach Lecture Notes in Control and Information Science. Vol. 310. Springer (2004). https://doi.org/10.1007/b98334
    » https://doi.org/10.1007/b98334
  • Jaschke, J., Yang, X., Biegler, L.T. Fast economic model predictive control based on NLP-sensitivities. Journal of Process Control , 24, 1260-1272 (2014). https://doi.org/10.1016/j.jprocont.2014.04.009
    » https://doi.org/10.1016/j.jprocont.2014.04.009
  • Kalafatis, A.D., Wang, L., Cluett, W.R. Linearizing feedforward-feedback control of pH processes based on wiener model. Journal of Process Control , 15, 103-112 (2005). https://doi.org/10.1016/j.jprocont.2004.03.006
    » https://doi.org/10.1016/j.jprocont.2004.03.006
  • Khani, F., Haeri, M. Robust model predictive control of nonlinear processes represented by wiener or hammerstein models. Chemical Engineering Science , 129, 223-231 (2015). https://doi.org/10.1016/j.ces.2015.02.021
    » https://doi.org/10.1016/j.ces.2015.02.021
  • Klatt, K.U., Engell, S. Gain-scheduling trajectory control of a continuous stirred tank reactor. Computers and Chemical Engineering , 22, 491-502 (1998). https://doi.org/10.1016/S0098-1354(97)00261-5
    » https://doi.org/10.1016/S0098-1354(97)00261-5
  • Knohl, T., Unbehauen, H. Adaptive position control of electrohydraulic servo system using ann. Mechatronics, 10, 127-143 (2000). https://doi.org/10.1016/S0957-4158(99)00054-9
    » https://doi.org/10.1016/S0957-4158(99)00054-9
  • Lawrynczuk, M. A family of model predictive control algorithms with artificial neural networks. International Journal of Applied Mathematics and Computer Science, 17, 217-232 (2007). https://doi.org/10.2478/v10006-007-0020-5
    » https://doi.org/10.2478/v10006-007-0020-5
  • Lawrynczuk, M. Computationally efficient nonlinear predictive control based on neural Wiener models. Neurocomputing, 74, 401-417 (2010). https://doi.org/10.1016/j.neucom.2010.03.014
    » https://doi.org/10.1016/j.neucom.2010.03.014
  • Lawrynczuk, M. Practical nonlinear predictive control algorithms for neural Wiener models. Journal of Process Control , 23, 696-714 (2013). https://doi.org/10.1016/j.jprocont.2013.02.004
    » https://doi.org/10.1016/j.jprocont.2013.02.004
  • Li, W., Biegler, L.T. Multistep, Newton-type control strategies for constrained, nonlinear processes. Chemical Engineering Research and Design, 562-577 (1989). https://doi.org/10.23919/ACC.1989.4790428
    » https://doi.org/10.23919/ACC.1989.4790428
  • Lopez-Negrete, R., Biegler, L.T., Kumar, A. Fast nonlinear model predictive control: Formulation and industrial process applications. Computers and Chemical Engineering , 51, 55-64 (2013). https://doi.org/10.1016/j.compchemeng.2012.06.011
    » https://doi.org/10.1016/j.compchemeng.2012.06.011
  • Marti, R., Lucia, S., Sarabia, D. Improving scenario decomposition algorithms for robust nonlinear model predictive control. Computers and Chemical Engineering , 79, 30-45 (2015). https://doi.org/10.1016/j.compchemeng.2015.04.024
    » https://doi.org/10.1016/j.compchemeng.2015.04.024
  • Norquay, S.J., Palazoglu, A., Romagnoli, J.A. Model predictive control based on Wiener models. Engineering Science, 53, 75-84 (1998). https://doi.org/10.1016/S0009-2509(97)00195-4
    » https://doi.org/10.1016/S0009-2509(97)00195-4
  • Norquay, S.J., Palazoglu, A., Romagnoli, J.A. Application of Wiener model predictive control (WMPC) to an industrial c2-splitter. Journal of Process Control , 9, 461-473 (1999). https://doi.org/10.1016/S0959-1524(99)00036-0
    » https://doi.org/10.1016/S0959-1524(99)00036-0
  • Pajunen, G. Adaptive control of Wiener type nonlinear systems. Automatica, 28, 781-785 (1992). https://doi.org/10.1016/0005-1098(92)90037-G
    » https://doi.org/10.1016/0005-1098(92)90037-G
  • Pearson, R.K., Pottmann, M. 20. Gray-box identification of block-oriented nonlinear models. Journal of Process Control , 10, 301-315 (1992). https://doi.org/10.1016/S0959-1524(99)00055-4
    » https://doi.org/10.1016/S0959-1524(99)00055-4
  • Peng, J., Dubay, R., Hernandez, J.M., Abu-Ayyad, M. A Wiener neural network-based identification and adaptive generalized predictive control for nonlinear SISO systems. Industrial and Engineering Chemistry Research, 50, 7388-7397 (2011). https://doi.org/10.1021/ie102203s
    » https://doi.org/10.1021/ie102203s
  • Pirnay, H., Lopez-Negrete, R., Biegler, L.T. Optimal sensitivity based on IPOPT. Mathematical Programming Computation, 4, 307-331 (2012). https://doi.org/10.1007/s12532-012-0043-2
    » https://doi.org/10.1007/s12532-012-0043-2
  • Rashid, M.M., Mhaskar, P., Swartz, C.L.E. Multi-rate modeling and economic model predictive control of the electric arc furnace. Journal of Process Control , 40, 50-61 (2016). https://doi.org/10.1016/j.jprocont.2015.12.012
    » https://doi.org/10.1016/j.jprocont.2015.12.012
  • Rodriguez, M., Perez, D. First principles model based control. Computer Aided Chemical Engineering, 20, 1285-1290 (2005). https://doi.org/10.1016/S1570-7946(05)80056-2
    » https://doi.org/10.1016/S1570-7946(05)80056-2
  • Seyab, R.K.A., Cao, Y. Nonlinear model predictive control for the Alstom gasifier. Journal of Process Control , 16, 795-808 (2006). https://doi.org/10.1016/j.jprocont.2006.03.003
    » https://doi.org/10.1016/j.jprocont.2006.03.003
  • Sriniwas, G.R., Arkun, Y. A global solution to the nonlinear predictive control algorithms using polynomial ARX models. Computers and Chemical Engineering , 21, 431-439 (1997). https://doi.org/10.1016/S0098-1354(96)00279-7
    » https://doi.org/10.1016/S0098-1354(96)00279-7
  • Stamnes, O.N., Zhou, J., Aamo, O.M. Adaptive observer design for the bottom hole pressure of a managed pressure drilling system. In: IEEE Conference on Decision and Control (2008). https://doi.org/10.1109/CDC.2008.4738845
    » https://doi.org/10.1109/CDC.2008.4738845
  • Tatjewski, P. Advanced Control of Industrial Process, Structure and Algorithms. Springer (2007).
  • Trierweiler, J.O. A systematic approach to control structure design. Ph.D. Thesis, Dortmund University (1997).
  • Trierweiler, J.O., Secchi, A.R. Exploring the potentiality of using multiple model approach in nonlinear model predictive control. In: Allgower, F., Zhen, A. (Eds.), Nonlinear Model Predictive Control. Birkhauser Verlag, 26, 191-203 (2000). https://doi.org/10.1007/978-3-0348-8407-5_11
    » https://doi.org/10.1007/978-3-0348-8407-5_11
  • Wang, X., Mahalec, V., Qian, F. Globally optimal dynamic real time optimization without model mismatch between optimization and control layer. Computers and Chemical Engineering , 104, 64-75 (2017). https://doi.org/10.1016/j.compchemeng.2017.04.006
    » https://doi.org/10.1016/j.compchemeng.2017.04.006
  • Yang, X., Biegler, L.T. Advanced-multi-step nonlinear model predictive control. Journal Process Control, 23, 1116-1128 (2013). https://doi.org/10.1016/j.jprocont.2013.06.011
    » https://doi.org/10.1016/j.jprocont.2013.06.011
  • Zanin, A.C., Gouvea, M.T.D., Odloak, D. Industrial implementation of a real-time optimization strategy for maximizing production of LPG in a FCC unit. Computers and Chemical Engineering , 24, 525-531 (2000). https://doi.org/10.1016/S0098-1354(00)00524-X
    » https://doi.org/10.1016/S0098-1354(00)00524-X
  • Zavala, V.M., Biegler, L.T. Optimization-based strategies for the operation of low-density polyethylene tubular reactors: Nonlinear model predictive control. Computers and Chemical Engineering , 33, 1735-1746 (2009). https://doi.org/10.1016/j.compchemeng.2009.04.008
    » https://doi.org/10.1016/j.compchemeng.2009.04.008

APPENDIX A. DEVELOPMENT OF THE STEADY-STATE MODEL

Figure A.28 shows the relationship between the manipulated and disturbance variables with the controlled variables, illustrating how the multi-parametric model was built to represent the steady-state conditions. The procedure used to obtain the multi-parametric model was: (1) All disturbances are kept constant and steps in the manipulated variables are done. Therewith, it is possible to get a polynomial function that describes the relationship of manipulated variables with the controlled variables; (2) After that, each disturbance changes at a time, and again the polynomials are gotten; (3) So, the parameters of polynomial functions, gotten in step one, can be described as functions of the disturbance variables.

Figure A.28
The multi-parametric model representation to describe the steady-state conditions.

APPENDIX B. DEVELOPMENT OF THE DYNAMIC MODEL

Considering that a linear model can describe the process dynamic behavior and a nonlinear model can represent the steady state, it is possible to describe the process by a structure based on Hammerstein models, as shown in Figure B.29 and illustrated in Equations 6 to 9 in Section 2.

Figure B.29
Hammerstein Model.

In this context, a second order model was chosen as the dynamic model because this structure can describe the dynamic behavior of the case study, as illustrated in Figures 3 and 4, and many other dynamic systems in chemical processes. In Equation B.1, the steady state nonlinearity is represented by v(u) inputs.

Equation B.1 shows a linear dynamic system represented by a second order model:

τ 2 d 2 y ¯ d t + 2 ε τ d y ¯ d t + y ¯ = ν ¯ (B.1)

where

y ¯ ( t ) = y ( t ) y ( 0 )

ν ¯ ( u ¯ ) = y s s ( u ¯ ) y ( 0 )

Applying the Laplace transform in Equation B.1, for a constant u:

Y ^ ( s ) = y s s ( u ¯ ) y ( 0 ) s ( τ 2 s 2 + 2 ε τ s + 1 )

and in the time domain:

y t = y 0 + y S S u - y 0 1 - τ 1 e x p - t τ 1 - τ 2 e x p - t τ 2 τ 1 - τ 2 (B.2)

where

τ 1 = τ ε ε 2 1 (B.3)

τ 2 = τ ε + ε 2 1 (B.4)

Substituting Equations B.3 and B.4 in Equation B.2 and assuming that there is a dead time, τd , we have:

y ¯ ( t ) = y ¯ 0 + y ¯ s s ( u ¯ , d ¯ ) y ¯ 0 f ¯ ( t ) (B.5)

where

f ( t ) = 1 exp ε ( t τ d ) τ cosh ε 2 1 τ t τ d + ε ε 2 1 sinh ε 2 1 τ t τ d (B.6)

Equation B.6 can describe a first order system when ε → 1, τ >> 1 and τd = 0. Replacing these parameter values and rewriting Equation B.6 results in Equation B.9.

Equation B.7 shows a linear dynamic system represented by a first-order model (ODE - Ordinary Differential Equation):

τ d y ¯ d t + y ¯ = ν ¯ (B.7)

where

y ¯ ( t ) = y ( t ) y ( 0 )

ν ¯ ( u ¯ ) = y s s ( u ¯ ) y ( 0 )

Applying the Laplace transform to Equation B.7, for a constant u:

Y ^ ( s ) = y s s ( u ¯ ) y ( 0 ) s ( τ s + 1 )

and in the time domain:

y ( t ) = y ( 0 ) + y s s ( u ¯ ) y ( 0 ) 1 exp t τ y ( t ) = y ( 0 ) + y s s ( u ¯ ) y ( 0 ) f ( t ) (B.8)

where the time-varying function for a dynamic behavior described by a first-order model is given by:

f ( t ) = 1 exp t τ (B.9)

Therefore, it is possible to describe many chemical processes with the structure illustrated by Equation 6 in Section 2, where y SS represents the steady-state and f(t) describes the dynamics. These functions can be obtained from system responses to step changes applied in manipulated variables. For the case study presented in this paper, Equations 7 and 8 in Section 2 represent the steady-state condition and Equation 9 in the same section describes the dynamic behavior.

Figure B.30 shows dynamics that the proposed model can describe. For instance, second-order systems with and without dead time, underdamped or overdamped, and first-order systems. Therefore, it is possible to describe the dynamic behavior of the case study or another system that has similar dynamic behavior. The parameter estimation of the proposed dynamic model was done by minimization of the sum of differences between the responses of the plant and the proposed model, Equation B.10. The performance of the proposed model with the estimated parameters from the minimization of Equation B.10 was successful and is illustrated in Figures 3 and 4.

min θ ¯ k = 0 n y ^ ( u ¯ ( t k ) , d ¯ ( t k ) , θ ¯ ) y ( u ¯ ( t k ) , d ¯ ( t k ) , θ ¯ ) 2 (B.10)

where ŷ ? ?ny represents the process behavior, y ? ?ny represents the proposed model, u(t k ) ? ?nu and d(t k ) ? ?nd are controlled and disturbance signals, respectively, and θ = [ς, τ, τd ] are the estimated parameters of the dynamic model.

Figure B.30
Dynamics that can be described by the proposed dynamic model.

APPENDIX C. HADAMART PRODUCT DEFINITION (Horn, 1994)

Let A and B be n × m matrices, the Hadamard product, A ? B, is a matrix of the same dimension as the operands, with elements given by Equation C.1.

( A B ) i , j = A i , j B i , j , f o r a l l 1 i m a n d 1 j n (C.1)

If A is a n × m matrix and B is a p × q matrix, where mp or nq, the Hadamard product does not exist.

Publication Dates

  • Publication in this collection
    09 Dec 2019
  • Date of issue
    Jul-Sep 2019

History

  • Received
    03 Oct 2018
  • Reviewed
    06 Nov 2018
  • Accepted
    06 Jan 2019
Brazilian Society of Chemical Engineering Rua Líbero Badaró, 152 , 11. and., 01008-903 São Paulo SP Brazil, Tel.: +55 11 3107-8747, Fax.: +55 11 3104-4649, Fax: +55 11 3104-4649 - São Paulo - SP - Brazil
E-mail: rgiudici@usp.br