Вы находитесь на странице: 1из 16

Article

pubs.acs.org/IECR

Product Dynamic Transitions Using a Derivative-Free Optimization


Trust-Region Approach
Israel Negrellos-Ortiz
Department of Chemical Engineering, Universidad Iberoamericana, Prolongación Paseo de la Reforma 880, México D.F.
01219, México

Antonio Flores-Tlacuahuac*
Escuela de Ingenieria y Ciencias, Tecnologico de Monterrey, Campus Monterrey, Ave. Eugenio Garza Sada 2501, Monterrey,
Nuevo León, México 64849

Miguel Angel Gutiérrez-Limón


Department of Energy, Universidad Autónoma Metropolitana-Azcapotzalco, Av. San Pablo 180, C.P. 02200 México D.F., México

ABSTRACT: Traditionally the optimization of processing sys-


tems has relied on the availability of an explicit model together
with the corresponding gradient information. However, there
are some practical scenarios such as (a) nondifferentiable sys-
tems, (b) physical experimental systems, (c) simulation environ-
ments, and (d) reduced order systems where such a model
and its gradient are not available. Under these scenarios the
deployment of derivative-free optimization strategies provides
an alternative manner to cope with the optimization of such
systems. In particular, in this work we deploy a derivative-free
optimization trust region approach to deal with the product
dynamic optimization problem of processing systems. To this
aim, we use a closed-loop model predictive control strategy
where the system to be optimized is embedded in a black-box dynamic simulation environment. The results demonstrate that
black-box dynamic models can be dynamically optimized assuming that the number of decision variables is not large. The first-
principles dynamic model of a binary distillation column embedded in the ASPEN dynamic simulation environment was
deployed as our black-box dynamic model, to demonstrate the advantages of solving product dynamic transition problems when
an explicit model of the dynamic model and/or its gradient information are not available.

1. INTRODUCTION which compute either local or global optimal solutions. Now-


During start-up, shut-down, or normal operation, optimal adays, when the explicit form of the optimization formulation
dynamic transitions among products are normally required to is available, accurate derivatives are normally computed by
achieve an operation target in the best possible way. Such a automatic differentiation techniques,5 although derivatives can
target can be related to desired values of processing variables also still be approximated by finite differences approaches.
such as temperature, composition, flow rates, etc. Therefore, in However, this gradient evaluation approach is becoming obso-
these sort of problems the aim consists in computing the time lete in commercial and academic optimization software due
domain values of the control variables u(t) such that the system to its disadvantages especially when dealing with noisy and
response y(t) attains a desired value embedded in an objective expensive to evaluate functions.
function Ω(y, u) which can be either maximized or minimized. On the other hand, there are some practical optimization
Optimal product transitions can be systematically calculated problems where derivatives are not available or are not reliable
by setting the product transition problem as a dynamic opti- making the use of gradient-based optimization techniques
mization problem.1−3 Several optimization techniques for impossible or undesirable. Such situations have to do either
handling the solution of dynamic optimization problems can
be found elsewhere.4 All these optimization algorithms assume Received: January 19, 2016
that the gradient of the objective function and related con- Revised: July 10, 2016
straints are somehow available. When this is the case, the user Accepted: July 15, 2016
has access to a wide variety of efficient and powerful algorithms

© XXXX American Chemical Society A DOI: 10.1021/acs.iecr.6b00268


Ind. Eng. Chem. Res. XXXX, XXX, XXX−XXX
Industrial & Engineering Chemistry Research Article

with real industrial or lab-scale processes or with huge models gradient information is not available or reliable. Specifically, the
embedded in simulation platforms. As far as processing equip- DFO model predictive control of a benzene−toluene conven-
ment is concerned, gradient information will not be available, tional distillation column is addressed. We consider the one-
and for safety, cost, or operational reasons such equipment point composition control of the distillate and bottoms streams.
normally is not used for this aim. The situation is similar when Moreover, the more challenging dual composition control of
dealing with simulation codes. Depending upon the software, both distillate and bottoms streams is also considered. The
the user has access only to the binary code or to limited results are compared against a PI control structure. Presently,
portions of the code. Therefore, most of the time finite differ- one important drawback of derivative free techniques is the
ences are the only way to obtain gradient approximation. limitation on the number of optimization variables that can be
However, expensive computer simulations and noisy functions handled. The outline of this work is as follows. In Section 2 an
seem to be the two major reasons to avoid gradient approxi- updated literature review about optimal product transitions and
mation along this way. Moreover, gradient approximation by applications of DFO techniques is provided; in Section 3 we
finite differences techniques is not a straightforward task since it explain the ways in which optimal product dynamic transitions
requires making complicated choices such as the proper size were addressed; Section 4 contains the definition of the problem
of perturbations for reliable derivative approximations. When solved in this work; and some case studies are given in Section 5.
access to the simulation code is granted, there exists the chance Conclusions and future work are highlighted in Section 6.
of obtaining gradient approximation by adjoint techniques.6,7
Some of the earliest optimization algorithms did not require 2. LITERATURE REVIEW
gradient information for determining an optimal solution.8,9 In this section we provide a literature review summary on the
However, these algorithms lacked a theoretical basis and were two main topics addressed in the present work: product tran-
intended for small scale systems. Most of these algorithms were sitions and applications of derivative-free optimization techniques.
abandoned in favor of gradient-based algorithms, since the use Product Transitions. In this work product transitions refer
of derivative information about the objective function and con- to a kind of optimization problem where the aim is to compute
straints with respect to the decision variables can dramatically the time value of the manipulated variables to drive a dynamic
improve the efficiency of optimization algorithms. However, system from an initial to a target point in an optimal manner.19
in engineering practice, it is common to find optimization prob- Such problems are common in the processing industry. In par-
lems where derivatives are not available or are not reliable. Even ticular, in the polymerization industry they are referred to as
under these circumstances the optimization of such systems can grade transition problems.2 Such product transition problems
be desirable. Derivative-free optimization (DFO) algorithms can be off-line computed, requiring then a control system to
have been proposed to deal with optimization problems with perform the closed-loop tracking of the optimal value of the
no gradient information.10,11 DFO methods can be broadly manipulated variables.20 On the other hand, product transition
classified into deterministic and stochastic algorithms. Some can also be online computed using a control strategy such as
of the deterministic DFO methods are based on well-known Model Predictive Control21 to take care of the impact of dis-
unconstrained optimization techniques such as line search and turbances and to a some extent to address the effect of model
trust region methods.12,13 However, some other variations of uncertainty on the transition problem. In this section we provide
deterministic DFO methods have also been proposed such as a short review of some of the more relevant works addressing
spatial search, genetic algorithms, and hit-and-run methods.14 product transition problems.
On the other hand, stochastic DFO methods lack theoretical McAuley and McGregor22 deployed an open-loop optimal
basis but tend to be easier to use. Such methods include genetic control approach to address the grade transition problem in
and particle swarm algorithms.15,16 It should be remarked that polymerization reaction systems. The authors used density and
there are some theoretical convergence proofs for deterministic melt index measurements to quantify the quality of the product.
DFO methods.11 The impact of modeling errors on the transition trajectories
In this work we use a variant of the DFO trust-region algo- was also addressed. Using heuristic transition trajectories as
rithm, as implemented in the BOBYQA code,17 to handle the operating policies Debling et al.23 analyzed the open-loop
dynamic optimization of chemical processes during product dynamic response of a polyolefin production system. Moreover,
transitions. Optimal product transitions imply the computation since the work only addressed the calculation of open-loop
of control actions which lead to efficient and optimal transitions policies, their closed-loop implementation remained as an issue.
among plant products.2 Commonly, during product transitions, Cervantes et al.24 were among the first authors to consider the
minimum transition time and/or minimum off-spec product grade transition problem of a complex large-scale polymer-
should be achieved. However, other objective functions or ization system. The authors addressed a polyethylene tubular
conflicting objective functions can also be considered.18 To com- reactor optimal grade transition problem. The dynamic model
pare the performance of DFO algorithms we run the dynamic turns out to be highly nonlinear. Moreover, the model com-
optimization of some systems when a dynamic mathematical prises a distributed system. For addressing the efficient solution
model is available. Then, the same problem is solved (a) using a of the optimization problem, finite differences were used for
penalty function approach to move the nonlinear constraints handling the discretization of the spatial behavior, while orthog-
into the objective function and (b) assuming that the dynamic onal collocation on finite elements took care of the discretization
model is not available. Moreover, using a nonlinear model of the time domain behavior. Moreover, to improve the numer-
predictive control approach, we also solve a product dynamic ical solution of the underlying optimization problem, the authors
transition problem where the dynamic model is embedded into also exploited the mathematical structure of the problem.
a process simulation software. This is the practical scenario Chatzidoukas et al.25 addressed the problem of determining the
where probably DFO methods should find their most inter- optimal transition trajectories and the structure of the control
esting and valuable application: the optimization of processing system used for enforcing such optimal control trajectories.
systems embedded in large or complex computer codes where To solve this problem the authors formulated and solved a
B DOI: 10.1021/acs.iecr.6b00268
Ind. Eng. Chem. Res. XXXX, XXX, XXX−XXX
Industrial & Engineering Chemistry Research Article

mixed-integer dynamic optimization problem for the compu- Because the Quasi-Newton approach is based on the finite-
tation of both continuous and binary decision variables in a differences numerical approximation of the gradient, the authors
dynamic processing framework. Nystrom et al.26 were among concluded that this optimization approach is highly sensitive to
the first authors to consider the interplay between scheduling numerical noise leading to slow convergence. Of course, the
and dynamic optimization problems in polymerization reaction selection of step size for the proper computation of the gradient
systems. To address this problem the authors proposed a turns out be an additional problem. Very small step sizes can
decomposition approach based on the construction of a master give rise to poor performance or convergence problems since
and primal problem. The iterative solution of those problems some elements of the gradient can be null. Moreover, the
provided the optimal production schedule and optimal dynamic number of simulation runs for computing the gradient can be
transition trajectories. Asteasuain et al.27 addressed the problem large. To cope with issue, the authors used a DFO approach
related to the optimal process design of a styrene polymer- which turned out to be a simple and efficient way of addressing
ization system together with the design of the control system. the optimization of the approached energy systems. Although
The reactor design problem included the equipment design, both optimization approaches achieved the same optimal
selection of the initiator, and computation of the steady-state solution, after proper tuning of each approach, they concluded
conditions and transition trajectories, while the design of the that the CPU time required by the DFO approach was smaller
control system included pairings of the control structure and than the CPU demanded by the Quasi-Newton optimization
the tuning of the PI controllers. Since optimal transition approach.
policies were determined minimizing transition time and off- Schafer et al.33 and Ugur et al.34 considered the optimization
specification polymer and because these two objectives are in of the configuration of a stirrer for mixing purposes. They used
conflict, a multiobjective optimization framework was used to a rigorous computational fluid dynamics (CFD) approach for
address the optimal solution of the underling mixed-integer the modeling and simulation of a tank where mixing operations
dynamic optimization problem. Prata et al.28 also considered took place. Using the CFD results as a black box system, they
the production scheduling and dynamic optimization problem. compared the performance of two derivative free optimization
They proposed a logical mixed-integer dynamic optimization methods (DFO and CONDOR). The objective function con-
approach to deal with this problem and applied their approach sisted in the minimization of the dimensionless Newton number
to an industrial polymerization system. Terrazas-Moreno et al.29 whereas the decision variables were the disk thickness, the
addressed the problem of the simultaneous design, scheduling, bottom clearance, and the baffle length. The authors concluded
and optimal control of a continuous methyl-methacrylate that in one of the addressed examples both optimizers led to
polymerization reactor. The resulting optimization problem was
different optimal local solutions. The reason for this behavior
cast as a mixed-integer dynamic optimization problem which
has to do with the way both solvers build the quadratic model
was discretized and solved as a mixed-integer optimization
representing the objective function: DFO deploys Newton
problem. Moreover, this was one of the first works to consider
polynomials whereas CONDOR uses Lagrange polynomials.
process uncertainty and dealing with this problem as a sto-
The authors also stated that for larger number of decision
chastic optimization problem using a two-stage optimization
variables (20 or more) the computational load required for
formulation. Recently, Weng et al.30 considered the dynamic
optimization of a high-density polyethylene process using the both solvers tend to be excessive.
molecular weight distribution as the quality index for driving Korkel et al.35 compared the performance of derivative based
optimal control calculations. Dynamic optimization based on vs DFO methods for handling nonlinear optimum experimental
the full dynamic molecular weight distribution turns out to be a design problems using a simulated experiment to get experi-
computationally expensive problem. To deal with this issue the mental information. They were interested in the design of
authors proposed a combination of a small scale problem based experiments for computing control actions which led to statis-
on the moments method for representing the molecular weight tically reliable parameter estimations with the aim of identifying
distribution and a steady-state molecular weight distribution dynamic mathematical models. First, they solved the problem
method. However, it remains as a challenge to consider the full assuming that model derivatives were available using as objective
dynamic molecular weight distribution as a quality index in function the minimization of a function closely related to
grade transition problems. Patil et al.31 proposed a novel meth- minimal statistical uncertainty (i.e., function of the variance-
odology for assessing design, scheduling, and control problems covariance matrix). Then, in an inner optimization loop, they
under process disturbances and uncertainty conditions in multi- considered the parameter estimation problem. The problem
product production systems. Process disturbances were char- was then solved using a standard successive quadratic program-
acterized as sinusoidal signals, whereas uncertainty was incor- ming (SQP) approach. On the other hand, the same conceptual
porated using a multiscenario approach and assigning a proba- problem (i.e., reliable estimation of model parameters) was
bility to each scenario. The proposed strategy was applied to formulated and solved using a DFO methodology. To this end,
two reaction systems. the authors used a multidirectional search method proposed by
Applications of Derivative-Free Optimization. Van der Torczon.36 This is a DFO method which can handle only
Lee et al.32 carried out the optimization of energy production simple bounds on decision variables in addition to the objective
in Rankine-like power cycles. They considered as the objective function. To compare the performance of both approaches the
function the thermodynamic efficiency of the cycle and same objective function (i.e., a given function of the variance-
deployed several energy efficiency case studies which resulted covariance matrix) was used. Although the authors reported
in different numbers and types of decision variables. Simple similar results using both approaches the computational load
lower and upper box constraints on the decision variables were for solving the DFO problem was significantly larger since
considered. To perform the optimization of the energy system in this case the number of function evaluations was large.
they compared the performance of a Quasi-Newton gradient- The perceived advantage of the DFO approach was the simplicity
based approach and a DFO method proposed by Conn et.al.10 of its use. It remains as a challenge to apply the DFO framework
C DOI: 10.1021/acs.iecr.6b00268
Ind. Eng. Chem. Res. XXXX, XXX, XXX−XXX
Industrial & Engineering Chemistry Research Article

for optimum nonlinear experiment design to a real or laboratory objective function, different sets of decision variables were used.
scale system. Simple bounds on the decision variables were also included.
Kramer et al.37 provide a quick overview of both computer For solving the DFO problem the BOBYQA algorithm17 was
algorithms and practical applications of derivative-free opti- deployed. The authors reported a quick convergence rate of the
mization methods. They classify derivative-free optimization algorithm in this experimental setting and improved results
methods as based on pattern search methods (i.e., generalized of the addressed compounds related to the target properties.
pattern search or direct search), methods which approximate This work clearly demonstrates that a combination of scientific
the objective function and then use trust-region methods for knowledge and expertise with numerical DFO algorithms provides
handling the solution of the optimization problem, and optimi- an efficient, systematic, and reliable way to improve the chemical
zation methods based on heuristics and stochastic components synthesis of compounds by just testing a small set of synthesis
such as evolutionary, genetic, and particle-swarm methods. conditions.
Some practical recommendations about how to handle the Forouzanfar and Reynolds42 addressed the optimal oil well-
presence of constraints in a derivative-free optimization approach placement problem using DFO methods. Modeling the
are also provided. The authors also mention that future work on behavior of oil wells turns out to be a complex and compu-
the theory and applications of DFO in dynamic optimization, tationally demanding problem. To this aim, the authors deployed
mixed-integer nonlinear programming, and the optimization of a commercial simulator. In their approach the authors used as
uncertain systems is required. objective function the maximization the net present value (NPV)
Giuliani and Camponogara38 used DFO methods to address of production in a reservoir. The decision variables had to do
the optimization of gas-lifted oil fields. The authors deployed an with good placement of parameters such as location, length, and
augmented Lagrangian approach for dealing with constraints trajectory of each well. Simple bounds on the decision variables
which were originally stated as bounds on decision variables. were also included. For solving the optimization problem the
However, for dealing which constraints of the type Ax − b ≤ 0, authors considered their own implementation of the BOBYQA
they just stated that only solutions which made feasible this set algorithm as reported by Powell17 and compared both the quality
of linear constraints would be accepted. After inequality of the solution and the performance of that algorithm against a
constraints were embedded into the Lagrangian function, the genetic algorithm. They found that, for the addressed examples,
optimization problem was solved using a trust-region algorithm DFO methods required fewer computer simulations to achieve
proposed by Conn et al.39 The authors also compared their the optimum solution. However, the solutions obtained using
DFO trust-region method results against a mixed-integer liner both optimization algorithms tended to be similar but not equal.
programming (MILP) formulation which deployed piece-wise The authors also reported that different optimal solutions were
linear approximation of the optimization model. They concluded obtained by starting the DFO algorithm from different initial
that the DFO trust-region method led to better optimal solutions points. This behavior reflects the fact that the problem features
and reported infeasible MILP solution for two of the addressed several local optimal solutions and that when converged DFO
production scenarios. This has to do with the fact that in those methods can only achieve such a local optimal solution.
cases the piece-wise linear model was not able to represent the Asadollahi et al43 compared the performance and reliability
model behavior. This behavior was somehow expected, since the of four DFO strategies while approaching the production
DFO trust-region method builds a local approximated model optimization of oil wells. The objective function consisted of
at each iteration. the maximization of the NPV while water-cuts for different
Botelho et.al.40 considered the parameter estimation problem producers were taken as the decision variables. A commercial
of an industrial polymerization reactor. Prior to solving the simulator was used as a black box to evaluate the production of
parameter estimation problem the authors used an identifi- the wells and to provide input information for solving the
ability analysis to decide the set of parameters to be identified. optimization problems. The addressed DFO methods were as
Once that decision was taken, a DFO nonlinear parameter follows: pattern search Hooke−Jeeves, generalized pattern
estimation problem was solved. For handling the numerical search, Nelder−Mead, and a Line search method. They also
solution of the DFO the authors deployed the BOBYQA compared the performance of those DFO methods against a
optimization software.17 sequential quadratic gradient based method (SQP), where
Rios and Sahinidis14 published a full and exhaustive numerical derivatives were calculated by finite differences.
comparison about the performance of free-derivative optimiza- The convergence rate strongly depended upon the initial guesses
tion algorithms. They compared 22 DFO algorithms using of the decision variables. In addition, in the case of the SQP
502 problems. This is practically the first systematic work aiming method, the results also depended upon the discretization size
to compare the performance of DFO algorithms to gain insight for the numerical evaluation of derivatives. Globally, the DFO
about the merits of different DFO algorithms. They came to Line search method provided the best results in terms of the
the conclusion that although important advances (especially in number of simulations used to converge the optimization prob-
model based DFO algorithms and in global convergence proofs) lems. Although, in most of the cases, all the addressed algorithms
have been reported both in the theoretical and numerical aspects, were eventually able to achieve similar values of the objective
more work is needed in DFO especially in extending DFO function but at larger computational cost.
methods to deal with generally nonlinear constrained problems. Ciaurri et al.44 deployed a DFO approach for handling the
Schilling et al.41 provided one of the few reported results of optimization of production wells for generally nonlinear con-
application of DFO to an experimental system aimed to the strained optimization problems. This is one of the first reported
synthesis of new inorganic−organic compounds with target attempts for including more general nonlinear constraints in a
properties. The authors deployed a set of objective functions DFO setting where normally simple box bounds are dealt with.
related to increasing crystallinity, inhibition of crystallization, They reported the use of the penalty function and filter methods13
increasing crystal size, and tuning of the particle size of different for efficient constraint handling. The authors compared the per-
inorganic−organic compounds. Depending upon the deployed formance of two DFO methods (generalized pattern search36
D DOI: 10.1021/acs.iecr.6b00268
Ind. Eng. Chem. Res. XXXX, XXX, XXX−XXX
Industrial & Engineering Chemistry Research Article

and Hooke−Jeeves direct search8) against a heuristic genetic problem in systems where a dynamic model is available.
optimization and a gradient-based sequential quadratic method. Then, the typical constrained dynamic optimization
They reported good performance of the DFO methods when problem was transformed into an unconstrained optimi-
dealing with constraint handling and came to the conclusion zation problem by moving all the sets of constraints,
that the generalized pattern method augmented with a filter comprising the dynamic model and related additional
provided the best results when derivatives are not available. constraints, into the objective function and penalizing
However, nowadays one of the main drawbacks of DFO methods such a set of constraints. For doing so, the set of con-
lies in the fact that normally only small scale problems can be straints related to the dynamic model were approximated
dealt with. using the transcription approach.4 The resulting uncon-
Koller and Ulbrich45 addressed the production of metal strained penalized optimization problems were then
sheets by the hydroforming process as an optimal control pro- solved using (a) typical nonlinear optimization solvers,
blem. They used a commercial simulator to provide a dynamic available in the GAMS optimization environment,50 and
model for describing the spatial and time variation of the shape (b) the BOBYQA implementation of a DFO solver.17
of the metal sheets when subject to variation in the fluid pres- As previously stated, we clearly recognize that this is not
sure which was considered to be the control variable, whereas the real scenario where DFO strategies should be used,
the objective function was taken as the volume difference since when the dynamic mathematical model and related
between the sheet metal and the die. They compared the derivatives are available powerful and efficient gradient
performance of the Nealder−Mead method and BOBYQA17 optimization techniques13 should be deployed. Our
approaches for solving the underlying optimal control problem aim was just to compare the performance of a typical
and came to the conclusion that the BOBYQA solver out- DFO algorithm implementation (i.e., BOBYQA) against
performed the Nealder−Mead for solving the addressed a straightforward solution using a nonlinear program-
optimal control problem in terms of the value of the objective ming solver. Finally, it should be remarked that product
function and the number of simulation runs required to solve transitions computed deploying the above-described pro-
the optimization problem. cedure are open-loop or off-line control policies. After-
Dowling et al.46 approached the dynamic optimization of a ward, a control systems would be needed to implement
complex pressure−swing absorption (PSA) system aimed to such control policies in a closed-loop scenario.20
CO2 capture. The dynamic model consisted of a series of mass • Model predictive control using black box dynamic
and energy conservation equations and some constitutive relation- modeling.
ships representing both time and one spatial coordinate system DFO techniques have been used for approaching
behavior. High CO2 capture was one the objective functions, either linear or nonlinear model predictive control of
and several control variables were also selected. Because of the processing systems.51 Model predictive control (MPC)
complexity of the mathematical model, a DFO approach17 is a closed-loop control technique well suited for the
was used to address the underlying optimal control problem. control of nonlinear systems using a receding horizon
The authors also used a gradient-based optimization algorithm, approach.21 In this control environment a set of values of
embedded in the IPOPT software,47 to deal with the optimi- the input or manipulated variables (i.e., u1, ..., uN) are
zation problem. Because they used the solution of the math- computed such that the output or controlled variables
ematical model as a black box, proper gradient information (i.e., x1, ..., xM) are forced toward target or desired values,
was calculated by an adjoint approach. Although the authors where N and M stand for the length of the control and
concluded that the gradient-based optimization algorithm prediction horizons, respectively. Commonly, only the
outperformed the DFO strategy, from Tables 10, 11, and 12 first control action u1 is applied to the controlled system.
of ref 46 it is clear that this was done at the cost of larger CPU When a new measurement becomes available, the control
times. scenario is moved ahead by a time equivalent to the sam-
Fisher and Jiang48 deployed four different DFO methods for pling time and the procedure is repeated until the target
the evaluation of kinetic parameters in a combustion system. values are obtained.
The methods considered by the authors were as follows: adaptive When a dynamic model or derivatives of the under-
random search and a genetic algorithm and two deterministic lying systems are not available, a kind of DFO algo-
algorithms coded in the programs CONDOR49 and BOBYQA.17 rithms, the so-called genetic algorithms, have been applied
The authors concluded that BOBYQA was the optimization for addressing the model predictive control problem
algorithm which provided the best model parameter fitting to of such systems.52,53 In this work we deploy a kind of
reproduce the provided pseudoexperimental information. DFO algorithm based on using trust-region optimization
techniques, which are numerical techniques aimed to the
3. DFO APPROACHES FOR PRODUCT TRANSITIONS efficient optimization of unconstrained systems12,13
In this section we provide details about the method of using featuring only a given objective function. In the case of
DFO techniques for handling MPC problems and a short expla- DFO trust-region methods the objective function is
nation about the particular DFO algorithm used in this work. approximated by a quadratic function.11 Such an approxi-
mation of the objective function is built using only input
• Unconstrained optimization problem with penalized and output information. Hence, using DFO techniques
dynamic model. no information, in the form of an explicit dynamic model
Even when DFO strategies are aimed at systems where or their related derivatives, is required for the dynamic
no derivative information is available, in a first attempt to optimization of processing systems. We only require
try to optimize such a kind of systems and to realize the (a) input/output information on the controlled system and
quality of DFO solutions obtained from typical software (b) solving the dynamic optimization problem by approx-
implementations, we have assessed the product transition imating the objective function using DFO trust-region
E DOI: 10.1021/acs.iecr.6b00268
Ind. Eng. Chem. Res. XXXX, XXX, XXX−XXX
Industrial & Engineering Chemistry Research Article

optimization techniques. Assuming that the system to the target operating point in an optimal manner. Since
response would be available in the form of a black-box this normally implies using an explicit dynamic model for
model, the remaining issue consists in formulating an computing such control actions and we assume such a
objective function which mimics the model predictive model is not available, we need to implement an MPC
control approach used when a dynamic model is available. algorithm in a different manner when a derivative-free
After testing several forms of objective function for optimization approach is deployed. This means that at
product transitions, we came to the conclusion that any time a number of control actions (given by the
the following form of objective function is suitable for prediction horizon) were computed, but in the spirit of
performing dynamic product transitions: the MPC strategy, only the first one of those control
N actions was implemented, discarding the remaining ones.
Ω= ∑ [αx(xi − x f )2 + αu(ui − u f )2 ] When a new measurement became available the solution
i=1 of the closed-loop optimal control problem represented
N N by eqs 4−8 was repeated and so on until target con-
+ λx ∑ [Δxi] + λu ∑ [Δui]2
2 ditions were reached.
i=1 i=1 (1) We would like to highlight that nonlinear dynamic
process simulation models of the addressed systems
where the superscript f stands for final, desired or target (in particular of the distillation column) were used to
values, αx and αu are weights deployed to penalyze for perform the optimization calculations. Particularly, for
deviations from the target values, and λx and λu are the fourth case study, a DFO nonlinear model predictive
penalties impossed on variations of the magnitude of the control approach was used for the online computation of
states and the manipulated variables, respectively. the control actions.
Actually, the form of the objective function defined in
• Implementation of the DFO trust-region method.
eq 1 was first proposed in ref 51. The first two terms in
BOBYQA (Bound Optimization BY Quadratic
eq 1 are used to drive the states x and manipulated
Approximation) is a derivative-free optimization code,
variable u toward their target values. The aim of the last
proposed by Powell (2009),17 which approximates the
two terms in eq 1 is to penalize for large changes in both
behavior of the objective function deploying a quadratic
the states and manipulated variable values. This reflects
interpolation polynomial. This optimization approach
our desire of obtaining smooth control actions and in
finds the minimum of an objective function J(u) subject
consequence smooth system response as well. Note that
to simple constrains:
those changes are defined as follows:
Δxi = xi − xi − 1 (2) min J(u) such that ulow ≤ u ≤ uup

Δui = ui − ui − 1 (3) where u is an n-dimensional decision vector.


At each iteration k, a quadratic polynomial is used to
therefore at the beginning of the product transition (i.e., approximate the behavior of the objective function:
i = 1) x0 and u0 stand for the initial values of the states
and manipulated variables, respectively. It should be Q (uik) = J(uik), i = 1, ..., m
remarked that in eq 1 we have made equivalent the size
The quadratic approximation model Qk (u) can assume
of the control and prediction horizons. However, the Ω
the following form:
objective function can clearly be cast for different values
of N and M as well. 1
In summary, the MPC computation of optimal prod- Q k(u) = ak + (u − u0k)T f k + (u − u0k)T
2
uct dynamic transitions using a DFO approach can be
cast as follows: F k(u − u0k)
N note that in this form ak is a scalar, f k is the Jacobian, and
f 2 f 2
min Ω = ∑ [αx(xi − x ) + αu(ui − u ) ] Fk stands for the Hessian matrix. Also note that the term
x, u
i=1 uk0 stands for the approximation of the decision vector at
N N iteration k.
+ λx ∑ [Δxi] + λu ∑ [Δui]2
2
To solve the derivative-free optimization problem,
i=1 i=1 (4) a truncated gradient trust region method is deployed.
The optimization problem is run to optimize the qua-
s.t. x l ≤ xi ≤ x u , i = 1, ..., N (5) dratic approximation model of the objective function.
At each iteration the trust region radius is computed.
ul ≤ ui ≤ uu , i = 1, ..., N (6) The optimization problem ends when the trust-region
radius becomes smaller than a given target value. More
Δx l ≤ Δxi ≤ Δx u , i = 1, ..., N (7)
details about the implementation of the BOBYQA algo-
Δul ≤ Δui ≤ Δuu , i = 1, ..., N (8) rithm can be found elsewhere.17
(5)
where the l and u superscripts stand for lower and upper 4. PROBLEM DEFINITION
bounds, respectively. Because this is a derivative-free
optimization approach, no equations related to the The problem to be solved in this work can be described as
deployment of the MPC algorithm should be used. follows. Given
Solving an MPC problem requires the online or feedback • An objective function representing the target grade or
computation of control actions able to drive the system product plant transitions.
F DOI: 10.1021/acs.iecr.6b00268
Ind. Eng. Chem. Res. XXXX, XXX, XXX−XXX
Industrial & Engineering Chemistry Research Article

• A black box system (either industrial or laboratory the advantages offered by DFO for the dynamic optimization of
system or computer simulation) from which only input systems when an explicit dynamic model is not available.
and output information about the dynamic performance Fundamental Differential Equation. The first case study
of such a system is recorded. deals with the fundamental differential equation which reads as
• A set of simple box bound constraints on the system follows:
states. dy
• We assume that numerical values of the system deriv- = −ay(t ) + bu(t )
dt (9)
atives of the objective function are not available.
Then the problem consists of computing the time value of the where y is the state variable, t is the independent variable, u is a
set of control actions u(t) such that the objective function control variable, and a, b are constant with a = b = 1. Hence,
attains its optimal value, meaning that the optimal solution of the penalized state transition objective function, which includes
the dynamic product transition problem can take the system the discretization of the dynamic mathematical model, reads
from an initial x0(t) to a final steady-state xf(t) in the best pos- 1
1
sible way. min Ω =
2
∫0 (y 2 + u 2) dt + μF(y , y )̇
(10)
5. CASE STUDIES where F(y, ẏ) stands for a function which represents the dis-
In this section we carried out the optimal dynamic product cretized dynamic model as a function of the states (y) and
transition of several processing systems under different modeling states derivates (ẏ) and μ is a penalty parameter. Figure 1
assumptions. The first three examples deal with dynamic systems displays the optimal dynamic transtions as computed by the
where a dynamic model is available, whereas a binary distillation CONOPT solver embedded in the GAMS optimization environ-
column, deployed as the fourth example, is used to demonstrate ment50 and using a Fortran implementation of the BOBYQA

Figure 1. Comparison of optimal dynamic optimization results for the fundamental ordinary differential equation. The optimization problem was
solved using the transcription approach for system discretization and moving the discretized dynamic system into the objective function using the
CONOPT and DFO BOBYQA solvers. (a and b) For 10 finite elements and μ = 30 and (c and d) for 5 finite elements and μ = 100.

G DOI: 10.1021/acs.iecr.6b00268
Ind. Eng. Chem. Res. XXXX, XXX, XXX−XXX
Industrial & Engineering Chemistry Research Article

DFO solver.17 The vectors of initial [y0, u0]and target [yf, uf ] Table 1. Parameters Used for the Multiple Steady States
transition conditions are given by [1, −0.375] and [0.3, 0], Hicks Reactor
respectively. As shown in Figure 1, the dynamic transition
parameter value description
problem in BOBYQA was solved using two different values of
the penalty parameter μ. We note an oscillation of the manipu- θ 20 residence time
lated variable response for small μ values reflected as deviation J 100 −ΔH/(ρCp)
cf 27.6 feed concentration
of the state variable with respect to the solution obtained using
α 1.95 × 10−4 dimensionless heat transfer area
the dynamic model as an explicit constraint of the optimization
Tf 300 feed temperature
problem (see Figure 1a,b). As expected, as the value of μ is
k10 300 preexponential factor
increased the oscillation in the manipulated variables practically
Tc 290 coolant temperature
disappears and the two optimal dynamic transition solutions N 5 E1/(RJcf)
look similar (see Figure 1c,d). The values of the objective func-
tions using GAMS and BOBYQA are 0.193 and 1.879 × 10−1,
respectively.
When an explicit dynamic mathematical model is used for
product transitions, the set of model constraints must be met.
Moreover, in the transcription approach such a set of con-
straints must be approximated by discretization of the original
continuous model. In this work, the function F(y, ẏ), which
appears in eq 10 and alike, represents such a discretized
dynamic mathematical model. Although our aim is to solve
dynamic product transition problems using a derivative-free
optimization approach, we also included the optimal solution of
such a problem, when gradient information was available like in
the first three case studies, using the transcription approach
and moving the discretized dynamic model F(y, ẏ) into the
objective function as a penalty term. This would allow us to
compare both gradient and derivative-free optimization approaches
for solving product transition problems. Of course, when
gradient information is available it can be more effective to
solve the problem as a fully constrained optimization problem Figure 2. Steady-state multiplicity map of the Hicks reactor. The con-
instead of penalizing the objective function. tinuous line stands for stable steady states, whereas the dashed line
Hicks Reactor. In order to compute product transition stands for unstable steady states.
trajectories, the CSTR model as proposed by Hicks and Ray19
was used. Because the original parameters set used by these representing the discretized dynamic model and μ = 3 × 107 is a
authors did not lead to multiple steady states, some of the penalty parameter. As shown in Figure 2, we assume that a
parameters values were modified in order to end up with a product transition from steady-state B to the steady-state A will
multiplicity map. In dimensionless form the model is given by be carried out. Optimal product transitions are shown in Figure 3.
dy1 1 − y1 As shown there, the optimal dynamic transition trajectory using
= − k10e−N / y2y1 an explicit dynamic model turns out to be different from the
dt θ (11)
solution computed when no dynamic model and related deriva-
dy2 yf − y2 tives are used. In fact, from Figure 3a the optimal solution found
= − k10e−N / y2y1 − αU (y2 − yc ) by BOBYQA is just a linear ramp between the initial and final
dt θ (12)
value of the manipulated variables. On the other hand, the optimal
where y1 stands for dimensionless concentration (c/cf), y2 is the solution found by using an explicit dynamic model is more involved
dimensionless temperature (Tr/Jcf), yc is the dimensionless initially implying closing the control valve and then opening it
coolant temperature (Tc/Jcf), yf is the dimensionless feed up to an upper bound. Figure 3b,c displays the states dynamic
temperature (Tf/Jcf), u is the cooling flow rate, and c and Tr response as a result of imposing the control actions shown in
are the concentration and reactor temperature, respectively. Figure 3a. We note that independently of the dynamic optimization
Table 1 contains the numerical values of the parameters used in approach, in both cases the minimum transition time turns out to
this work. In Figure 2 a steady-state multiplicity map is shown. be the same; i.e., product transitions are achieved deploying similar
As the objective function the requirement of minimum transition time. We can conclude that the DFO optimal dynamic
transition time between the initial steady state and the final transition policy does not look aggressive in the sense that it avoids
desired one is imposed: the overshooting behavior in the reactor temperature as shown in
t Figure 3c. The value of the objective functions using GAMS and
min Ω = ∫0 {α1(y1(t ) − y1d )2 + α2(y2 (t ) − y2d )2 BOBYQA are 292.411 and 1.223 × 10−3, respectively.
Isothermal Biochemical Reactor. In this case study we
+ α3(u(t ) − ud)2 } dt + μF(y, y )̇ (13) address the optimal product grade transition problem of an
isothermal biochemical reactor proposed by Agrawal et al.54
where the superscript d stands for desired or target values and The dimensionless model reads as follows:
α1 = 1 × 107, α2 = 5 × 103, and α3 = 1 × 10−1 are weights used
for stressing the importance of the y1, y2, and u decision variables. dx1
= −x1 + Da(1 − x 2) exp(x 2/γ )x1
Similar to the past case study, the term F(y, y)̇ is a function dt (14)

H DOI: 10.1021/acs.iecr.6b00268
Ind. Eng. Chem. Res. XXXX, XXX, XXX−XXX
Industrial & Engineering Chemistry Research Article

Figure 3. Comparison of the product optimal dynamic transition results for the Hicks reactor using an explicit dynamic model solved using the
CONOPT and the BOBYQA solvers. Ten finite elements with three internal collocation points were used for the discretization of the dynamic
model.

dx 2 As in the past cases, the term F(x, x)̇ is a function representing


= −x 2 + Da(1 − x 2) exp(x 2/γ )(1 + β) the discretized dynamic model and μ = 5 is a penalty parameter.
dt
We assume that a product transition from the initial steady
/(1 + β − x 2) (15) state A to the final steady state B (see Figure 4) will be carried
out. Optimal product transitions are shown in Figure 5.
where x1 is the normalized cell concentration, x2 is the substrate
As shown, this time the optimal product dynamic transition
conversion, and Da is the Damköhler number. Using β = 0.1
solutions, using the discretized explicit model and without using
and γ = 0.4, we obtain the bifurcation diagram depicted in
the dynamic model and related derivatives, are not so different.
Figure 4 for the x2 state, while the nominal steady states are
Initially, as shown in Figure 5a, the DFO optimal solution has a
shown in Table 2. It should be noted that in this case x1 and x2
larger undershoot behavior. However, this initial behavior seems
are the output variables, whereas Da is the manipulated variable.
to be helpful to avoid the overshooting behavior displayed by the
For comparing the quality of the optimal product transition
optimal solution which uses the full explicit dynamic model.
policies we carry out a product transition from the initial steady
It should be also noted that the two optimal product dynamic
state A to the final steady state B.
transition strategies feature essentially the same value of the
In this case the following minimum transition time objective
transition time. The value of the objective functions using GAMS
function between the initial steady state and the final desired
and BOBYQA are 8 × 10−3 and 1.48 × 10−1, respectively.
one is imposed:
Product Transitions Using an ASPEN Simulation Black
t Box Model. In this section we provide an example of the
min Ω = ∫0 {αx1(x1(t ) − x1d)2 + αx2(x 2(t ) − x 2d)2 typical environment in which DFO methods represent an advan-
tage over gradient-based optimization strategies: an explicit
+ α Da(Da(t ) − Dad)2 } dt + μF(x , x)̇ (16) dynamic model of the underlying system and or its gradient are
not available. We take advantage of the fact that there are some
where the superscript d stands for desired or target values. commercial process simulators which have embedded powerful
For this problem αx1 = 1 × 101, αx2 = 1 × 102, and αDa = 1 × 101. first-principles mathematical models. Commonly, such process
I DOI: 10.1021/acs.iecr.6b00268
Ind. Eng. Chem. Res. XXXX, XXX, XXX−XXX
Industrial & Engineering Chemistry Research Article

Figure 4. Multiple steady states diagram of the biochemical reactor.

Table 2. Nominal Steady States for the Bioreactor System Figure 6 displays the flowsheet of the steady-state simulation of
the column deployed to obtain a dynamic model of the binary
A B C D
distillation column using the Pressure Driven mode available in
x1 0.1683 0.2685 0.2335 0.1354 ASPEN PLUS.55
x2 0.8926 0.6343 0.3363 0.1581 To test the performance of the DFO MPC control scheme
Da 1 0.56 0.65 0.8
the following closed-loop scenarios were examined: (a) one
point composition control of the distillate stream, (b) one point
simulators have limited optimization capabilities being most of composition control of the bottoms stream, and (c) simul-
them related to steady-state process simulation scenarios. taneous dual composition control of both distillate and bottoms
In these simulation environments dynamic optimization algo- streams. To control the benzene mole fraction in the distillate
rithms are not available and are difficult to implement or stream we deployed the mass reflux flow rate as the
are limited to a kind of linear MPC technique. This is true manipulated variable, whereas the toluene mole fraction in
especially for sequential process simulators, since in equation- the bottoms stream was regulated using the reboiler thermal
oriented simulation environments, because of the simulator duty as the manipulated variable. It should be stressed that
structure, dynamic optimization facilities can be available. proportional−integral (PI) primary control loops were also
In any case, in this case study we will assume that a typical
included. Accordingly, the column pressure was regulated using
black-box dynamic first-principles model is available. In this
the condenser thermal duty, the condenser level was controlled
black box system we provide values of the manipulated
using the distillate flow rate, and the reboiler level was
variables and record the system responses. Using this black box
controlled deploying the bottoms flow rate. Table 3 shows the
scenario we build and solve a DFO product transition problem
capable of taking the dynamic system from an initial to a final values of the Ziegler and Nichols gains and integral times for
target point in an optimal manner using a nonlinear MPC opti- each one of the primary control loops. Moreover, to compare
mization environment. the performance of the DFO MPC control system, two PI
A nonlinear dynamic model of a benzene/toluene binary composition controllers were also tuned. Such controller tuning
distillation column was built using the ASPEN Dynamics simu- values were found deploying the Autotune tool available in
lation environment. The equimolar feedstream is composed Aspen Dynamics.
of a total flow rate of 1000 kmol/h at 100 °C and 5 bar. As previously discussed in Section 3, for approaching the
The distillation column has 12 trays and a total condenser, and closed-loop calculation of optimal dynamic product transitions
the number of the feed tray is 6 counted down from top to we use a DFO MPC formulation for the objective function.
bottom. Moreover, at the condenser the column operates at The formulation of the objective function for one point compo-
1 bar with a 0.1 bar drop pressure per tray. We used the sition control reads as follows:
rigorous vapor−liquid equilibrium RadFrac module available in N
Aspen Plus. In addition, the Chao-Seader method was deployed
for vapor−liquid equilibrium calculations. In addition, the values
min Ωi = ∑ [α x(xij − xid)2 + α u(uij − uid)2 ]
j=1
of the reflux ratio and reboiler thermal duty were set at 6.3457
N N
and 26.568 GJ, respectively. Under these processing conditions
the benzene mole fraction in the distillate stream is 0.8, whereas + α x ∑ [Δxij]2 + α u ∑ [Δuij]2 , i = [b , t ]
the toluene mole fraction in the bottoms stream is 0.8 as well. j=1 j=1 (17)

J DOI: 10.1021/acs.iecr.6b00268
Ind. Eng. Chem. Res. XXXX, XXX, XXX−XXX
Industrial & Engineering Chemistry Research Article

Figure 5. Comparison of the product optimal dynamic transition results for the biochemical reactor using an explicit dynamic model solved using the
CONOPT and the BOBYQA solvers. Twenty finite elements with three internal collocation points were used for the discretization of the dynamic model.

Figure 6. Flowsheet of the benzene−toluene distillation column. Discharge pressure in PUMP-D and PUMP-B pumps is 6 bar. Output pressure in
CVD and CVB control valves is 3 bar. Moreover, a 5 min residence time, for sizing the accumulator and sump tanks, was set.

where x stands for the mole fraction which is the controlled desired or target values. Moreover, the index i stands for the
variable, u stands for the manipulated variable, N is the pre- number of control loops, which in this case, according to Table 3,
diction and control horizons, and the superscript d stands for can only take the following values: i = b, t (i.e., i = b means control
K DOI: 10.1021/acs.iecr.6b00268
Ind. Eng. Chem. Res. XXXX, XXX, XXX−XXX
Industrial & Engineering Chemistry Research Article

Table 3. Ziegler−Nichols PI Controller Parameter Values Moreover, the following values of the weighting functions were
for the Primary (three first control loops) and Secondary deployed: αxb = 1, αxt = 1, αub = 1, and αut = 0.1
Composition Control Loops of the Benzene−Toluene One-Point Composition Control of the Distillate
Distillation Column System Stream. In this case study we carried out two product
dynamic transitions: (a) from the initial steady-state given by
controlled manipulated integral
loop variable variable gain time action [xb0, R0] = [0.8,26.0923] to the target steady state given by
1 column pressure condenser 20 12 reverse
[xbf , Rf ] = [0.9,36.700], and (b) then the product transition in
thermal duty the opposite direction was done. Here, xb stands for benzene
2 condenser level distillate flow 20 1000 direct mole fraction and R is the mass reflux flow rate [Ton/h],
rate whereas the subscripts 0 and f stand for initial and final values,
3 reboiler level bottoms flow 20 20 direct respectively. We have assumed that online measurements of the
rate
benzene mole fraction in the distillate stream will be available
b benzene mole mass reflux flow 24.93 9.5 reverse
fraction rate every 30 min and that the length of the prediction/control
t toluene mole reboiler thermal 6.135 7.5 reverse horizon N is 5. In addition, the bottoms composition was not
fraction duty put under control. For implementing both product dynamic
transitions we proceeded as follows: (1) first, we initialize the
of the benzene mole fraction, whereas i = t means control of the simulation with the steady state conditions, (2) then change to
toluene mole fraction). In addition, Δx and Δu have similar dynamic mode, (3) run the dynamic simulation for 30 min,
definitions like in eqs 2 and 3. Finally, αx and αu are weighting (4) stop the simulation, and (5) use the values of mass reflux
functions for the composition and manipulated variable, flow rate and benzene concentration in the DFO BOBYQA
respectively. Similarly, for the dual composition control of the solver as decision variables and solve the DFO problem;
distillation column the following form of the objective function BOBYQA yields the new calculated value of the mass reflux
was deployed: flow rate to be implemented in the simulation environment.
t N Repeat steps 3−5 when new measurements become available
min Ω = ∑ ∑ [αix(xij − xid)2 + αiu(uij − uid)2 ] until the target steady state is reached.
i=b j=1
In Figure 7 the optimal product transitions using a nonlinear
t N t N
MPC approach and the BOBYQA DFO trust-region solver are
shown. As a note, the DFO BOBYQA solver is capable of
+ ∑ αix ∑ [Δxij]2 + ∑ αiu ∑ [Δuij]2 performing the requested product dynamic transitions. One of
i=b j=1 i=b j=1 (18)
the things to notice from the results displayed in Figure 7 is
Independently of the type of composition control, the follow- that product transitions are not symmetric meaning that the
ing bounds on the controlled and manipulated variables were dynamic behavior of the benzene/toluene distillation column
enforced: comprises a nonlinear system. Moreover, a relatively small
number of control actions were required to reach the target
0 ≤ xb ≤ 1 (benzene concentration) steady states. In addition, it should be stressed that the dynamic
0 ≤ xt ≤ 1 (toluene concentration) optimization results were obtained without using an explicit
dynamic model of the distillation column and/or its gradient,
26.0923 ≤ ub ≤ 62.957 (mass reflux flow rate [Ton/h]) which represents an advantage when a dynamic model is not
t available or nondifferentiable. The value of the objective func-
26.56 ≤ u ≤ 41.86 (reboiler duty [GJ/h]) tion is 5.67 × 10−4.

Figure 7. One-point control of the benzene mole fraction in the distillate stream using the DFO-MPC approach. The sampling time was set at
30 min.

L DOI: 10.1021/acs.iecr.6b00268
Ind. Eng. Chem. Res. XXXX, XXX, XXX−XXX
Industrial & Engineering Chemistry Research Article

Figure 8. One-point control of the toluene mole fraction in the bottoms stream using the DFO-MPC approach. The sampling time was set at
30 min.

Figure 9. Two-point control of the benzene mole fraction in the distillate stream and of the toluene mole fraction in the bottoms stream using the
DFO-MPC approach. The sampling time was set at 30 min.

M DOI: 10.1021/acs.iecr.6b00268
Ind. Eng. Chem. Res. XXXX, XXX, XXX−XXX
Industrial & Engineering Chemistry Research Article

Figure 10. Comparison of one-point control of the benzene mole fraction in the distillate stream versus a Ziegler−Nichols PI controller.
The sampling time was set at 30 min.

One-Point Composition Control of the Bottoms Comparison against Proportional−Integral Control-


Stream. In this case the mole fraction of toluene in the lers. In this section we carried out a comparison between the
bottoms stream was closed-loop controlled using the reboiler performance of the DFO-MPC controllers and the correspond-
thermal duty as the manipulated variable. It should be stressed ing closed-loop behavior obtained from simple PI control
that the mole fraction of the benzene in the distillate stream structures. Intuitively, we expected better closed-loop response
was not under closed-loop control. Two product transitions from DFO-MPC controllers because they use more informa-
were addressed in this case: (a) from the initial steady-state tion regarding the controlled system. Moreover, the presence of
given by [xt0, Q0] = [0.8,26.5681] to the target steady state given the relatively long measurement delay will create serious
by [xtf , Qf ] = [0.9,29.99] and (b) the product transition in problems when deploying PI control systems. Accordingly,
the opposite direction. Similarly to the past case, xt stands for in Figure 10 closed-loop results are compared using the
toluene mole fraction, and Q is the reboiler thermal duty [GJ/h], DFO-MPC control system and a Ziegler−Nichols PI control
whereas the subscrips 0 and f stand for initial and final values, system when the one-point composition control of the distillate
respectively. In Figure 8 the results for the controlled and manip- stream was attempted. It is clear that even for a single-point
ulated variables are displayed. As it can be seen, the results are composition control the PI controller is not able to perform the
acceptable in terms of achieving the product transitions in a requested product transition. The main reason for the poor
relatively smooth manner. Globally speaking and as expected, performance of the PI controller has to do with the length
one-point control was not a major issue using the DFO MPC of the sampling time. Since the remaining control scenarios
approach. The value of the objective function is 4.08 × 10−4. displayed similar closed-loop response when deploying PI
Dual Composition Control of the Distillate and control system, only the comparison of the closed-loop control
Bottoms Streams. The more challenging and interesting of the distillate stream is shown.
problem in conventional distillation control refers to the simul-
taneous control of both distillate and bottoms stream mole frac- 6. CONCLUSIONS
tion. The problem is hard to deal with because of the commonly There are some practical science and engineering situations
strong interactions between such control loops and large mea- where the deployment of optimization tools can bring impor-
surement delays. Because of its multivariable nature and tant benefits measured in terms of economic, health, and
its ability to deal with nonlinear systems, nonlinear MPC environment indicators. Commonly, the development of a
controllers are a good option to tackle the dual composition good mathematical model is a first requisite to apply formal
control issue in conventional distillation columns. In Figure 9 gradient-based optimization tools. There are some situations
closed-loop results for both distillate and bottoms stream are where such models can be difficult to obtain because of
displayed. The initial and final steady states are given as follows: the involved complexity in building experimental equipment
[xb0, xt0, R0, Q0] = [0.8, 0.8, 26.092, 26.5681] and [xbf , xtf , Rf, Qf ] = for model verification purposes or reliable model parameters
[0.9, 0.9, 62.657, 41.73], respectively. Similarly to the lacking. In other practical cases, the mathematical model can
two past one-point control problems, two product transitions be only available in the form of a large computer program or in
were attempted: (a) from their initial steady-state to the target a simulation environment. In any of these cases, no explicit
steady-state and (b) in the opposite direction. As noted from model would be available for optimization purposes. Under
Figure 9, the DFO MPC controller is able to perform the these scenarios, DFO techniques can provide an effective and
requested product transitions in a relatively small number of efficient way of solving optimization problems for which no
control steps. Moreover, the closed-loop response is smooth gradient information is available. In particular, in this work we
enough in any transition direction. The value of the objective have deployed DFO trust-region techniques for addressing the
function is 5.44 × 10−1. solutions of such problems. When the optimization problem
N DOI: 10.1021/acs.iecr.6b00268
Ind. Eng. Chem. Res. XXXX, XXX, XXX−XXX
Industrial & Engineering Chemistry Research Article

involves a few decision variables, DFO algorithms perform well. (23) Debling, J.; Han, G.; Kuijpers, J.; VerBurg, J.; Zacca, J.; Ray, W.
We have shown that, using an MPC framework, the product Dynamic Modeling of Product Grade Transitions for Olefin
optimal dynamic transition problem can be efficiently solved Polymerization Processes. AIChE J. 1994, 40, 506−520.
using a dynamic model embedded in the ASPEN process (24) Cervantes, A.; Tonelli, S.; Brandolin, A.; Bandoni, J.; Biegler, L.
Large-Scale Dynamic Optimization for Grade Transitions in a Low
simulator. In future work we will address the following prob-
Density Polyethylene Plant. Comput. Chem. Eng. 2002, 26, 227−237.
lems: (a) processing systems involving uncertainty, (b) non- (25) Chatzidoukas, C.; Perkins, J.; Pistikopoulos, E.; Kiparissides, C.
differentiable systems, and (c) design scenarios involving Optimal Grade Transition and Selection of Closed-Loop Controllers
discrete decision variables.


in a Gas-Phase Olefin Polymerization Fluidized Bed Reactor. Chem.
Eng. Sci. 2003, 58, 3643−3658.
AUTHOR INFORMATION (26) Nystrom, R. H.; Franke, R.; Harjunkoski, I.; Kroll, A. Production
Corresponding Author Campaign Planning Including Grade Transition Sequencing and
*(A.F.-T.) E-mail: antonio.flores.t@itesm.mx. Dynamic Optimization. Comput. Chem. Eng. 2005, 29, 2163−2179.
(27) Asteasuain, M.; Bandoni, A.; Sarmoria, C.; Brandolin, A.
Notes Simultaneous Process and Control System Design for Grade
The authors declare no competing financial interest. Transition in Styrene Polymerization. Chem. Eng. Sci. 2006, 61,

■ REFERENCES
(1) Flores-Tlacuahuac, A.; Moreno, S. T.; Biegler, L. T. Global
3362−3378.
(28) Prata, A.; Oldenburg, J.; Kroll, A.; Marquardt, W. Integrated
Scheduling and Dynamic Optimization of Grade Transitions for a
Continuous Polymerization Reactor. Comput. Chem. Eng. 2008, 32,
Optimization of Highly Nonlinear Dynamic Systems. Ind. Eng. Chem.
Res. 2008, 47, 2643−2655. 463−476.
(2) Flores-Tlacuahuac, A.; Biegler, L. T.; Saldívar-Guerra, E. Optimal (29) Terrazas-Moreno, S.; Flores-Tlacuahuac, A.; Grossmann, I.
Grade Transitions in the HIPS Polymerization Process. Ind. Eng. Simultaneous Design, Scheduling, and Optimal Control of a Methyl-
Chem. Res. 2006, 45, 6175−6189. Methacrylate Continuous Polymerization Reactor. AIChE J. 2008, 54,
(3) Biegler, L. T. An Overview of Simultaneous Strategies for 3160−3170.
Dynamic Optimization. Chem. Eng. Process. 2007, 46, 1043−1053. (30) Weng, J.; Shao, Z.; Chen, X.; Gu, X.; Yao, Z.; Feng, L.; Biegler,
(4) Biegler, L. Nonlinear Programming; Society for Industrial and L. A Novel Strategy for Dynamic Optimization of Grade Transition
Applied Mathematics: 2010. Processes Based on Molecular Weight Distribution. AIChE J. 2014, 60,
(5) Griewank, A.; Walther, A. Evaluating Derivatives: Principles and 2498−2512.
Techniques of Algorithmic Differentiation; SIAM: 2008. (31) Patil, B.; Maia, E.; Ricardez-Sandoval, L. Integration of
(6) Cao, Y.; Li, S.; Petzold, L.; Serban, R. Adjoint Sensitivity Analysis Scheduling, Design, and Control of Multi product Chemical Processes
for Differential-Algebraic Equations: The Adjoint DAE System and Its under Uncertainty. AIChE J. 2015, 61, 2456−2470.
Numerical Solution. SIAM Journal on Scientific Computing 2003, 24, (32) Van der Lee, P.; Terlaky, T.; Woudstra, T. A New Approach to
1076−1089. Optimizing Energy Systems. Comput. Methods Appl. Mech. Engrg.
(7) Strang, G. Computational Science and Engineering; Wellesley- 2001, 190, 5297−5310.
Cambridge Press: Wellesley, MA, 2007. (33) Schafer, M.; Karasozen, B.; Uludag, Y.; Yapici, K.; Ugur, O.
(8) Hooke, R.; Jeeves, T. A. Direct Search Solution of Numerical and Numerical Method for Optimizing Stirrer Configurations. Comput.
Statistical Problems. J. Assoc. Comput. Mach. 1961, 8, 212−229. Chem. Eng. 2005, 30, 183−190.
(9) Nelder, J. A.; Mead, R. A Simplex Method for Function (34) Ugur, O.; Karasozen, B.; Schafer, M.; Yapici, K. Derivative Free
Minimization. Computer Journal 1965, 7, 308−313. Optimisation Methods for Optimising Stirrer Configurations. Euro-
(10) Conn, A.; Scheinberg, K.; Toint, P. Recent Progress in pean Journal of Operational Research 2008, 191, 855−863.
Unconstrained Nonlinear Optimization without Derivatives. Mathe- (35) Korkel, S.; Qu, H.; Rucker, G.; Sager, S. Derivative Based vs.
matical Programming 1997, 79, 397−414. Derivative Free Optimization Methods for Nonlinear Optimum
(11) Conn, A.; Scheinberg, K.; Vicente, L. Introduction to Derivative- Experimental Design. In Current Trends in High Performance
Free Optimization; SIAM: 2009. Computing and Its Applications; Zhang, W., Tong, W., Chen, Z.,
(12) Dennis, J.; Schnabel, B. Numerical Methods for Unconstrained Glowinski, R., Eds.; Springer: Berlin, Heidelberg, 2005; pp 339−344.
Optimization and Nonlinear Equations; SIAM: 1987. (36) Torczon, V. On the Convergence of Pattern Search Algorithms.
(13) Nocedal, J.; Wrigth, S. Numerical Optimization; Springer: 2006. SIAM Journal on Optimization 1997, 7, 1−25.
(14) Rios, L.; Sahinidis, N. Derivative-Free Optimization: A Review (37) Kramer, O.; Echeverria, D.; Koziel, S. Derivative-Free
of Algorithms and Comparison of Software Implementations. J. Glob. Optimization. In Computational Optimization, Methods and Algorithms;
Optim. 2013, 56, 1247−1293. Koziel, S., Yang, X.-S., Eds.; Springer: Berlin, Heidelberg, 2011; pp
(15) Goldberg, D. Genetic Algorithms in Search, Optimization and 61−83.
Machine Learning; Addison-Wesley: 1989. (38) Guilani, C.; Camponogara, E. Derivative-Free Methods Applied
(16) Clerc, M. Particle Swarm Optimization; Wiley: 2006. to Daily Production Optimization of Gas-Lifted Oil Fields. Comput.
(17) Powell, M. J. D. The BOBYQA Algorithm for Bound Constrained Chem. Eng. 2015, 75, 60−64.
Optimisation without Derivatives; Report No. DAMTP 2009/NA06; (39) Conn, A.; Gould, N.; Sartenaer, A.; Toint, P. Convergence
University of Cambridge: 2009. Properties of an Augmented Lagrangian Algorithm for Optimization
(18) Morales, P.; Flores-Tlacuahuac, A. Muti-Objective Nonlinear with a Combination of General Equality and l Linear Constraints.
Model Predictive Control of Semibatch Polymerization Reactors. SIAM, J. Optim. 1996, 6, 674−703.
Macromol. React. Eng. 2012, 6, 252−264. (40) Botelho, V.; de Souza Moreira, I.; Trierweiler, J. O.; Neumann,
(19) Hicks, G. A.; Ray, W. H. Approximation Methods for Optimal G. A.; Farenzena, M. Estimation of Kinetic Parameters of a
Control Synthesis. Can. J. Chem. Eng. 1971, 49, 522−528. Polymerization Reactor using Real Data. IFAC Proceedings Volumes
(20) Flores-Tlacuahuac, A.; Alvarez, J.; Saldívar-Guerra, E.; Oaxaca, 2012, 45, 685−690.
G. Optimal Transition and Robust Control Design for Exothermic (41) Schilling, L.; Niekiel, F.; Stock, N.; Hartke, B. Computer-
Continuous Reactors. AIChE J. 2005, 51, 895−908. Assisted Synthesis Optimisation of Inorganic-Organic Hybrid
(21) Henson, M. A.; Seborg, D. E. Nonlinear Process Control; Compounds using the Local Optimisation Algorithm BOBYQA.
Prentice-Hall, 1997. ChemPlusChem 2014, 79, 863−871.
(22) McAuley, K.; MacGregor, J. Optimal Grade Transition in a Gas (42) Forouzanfar, F.; Reynolds, A. Well-Placement Optimization
Phase Polyethylene Reactor. AIChE J. 1992, 38, 1564−1576. using Derivative-Free Method. J. Pet. Sci. Eng. 2013, 109, 96−116.

O DOI: 10.1021/acs.iecr.6b00268
Ind. Eng. Chem. Res. XXXX, XXX, XXX−XXX
Industrial & Engineering Chemistry Research Article

(43) Asadollahi, M.; Naevdal, G.; Dadashpour, M.; Kleppe, J.


Production Optimization using Derivative Free Methods Applied to
Brugge Field Case. J. Pet. Sci. Eng. 2014, 114, 22−37.
(44) Ciaurri, D. E.; Isebor, O.; Durlofsky, L. Application of
Derivative-Free Methodologies to Generally Constrained Oil
Production Optimisation Problems. Int. J. Mathematical Modelling
and Numerical Optimization 2011, 2, 134−161.
(45) Koller, D.; Ulbrich, S. Optimal Control of Hydroforming
Processes. PAMM 2011, 11, 795−796.
(46) Dowling, A.; Vetukuri, S.; Biegler, L. Optimization Strategies for
Pressure Swing Adsorption Cycle Synthesis. AIChE J. 2012, 58, 3777−
3791.
(47) Waechter, A. An Interior Point Algorithm for Large-Scale
Nonlinear Optimization with Applications in Process Engineering.
Ph.D. thesis, Carnegie Mellon University, 2002.
(48) Fischer, M.; Jiang, X. Numerical Optimisation for Model
Evaluation in Combustion Kinetics. Appl. Energy 2015, 156, 793−803.
(49) Vanden Berghen, F.; Bersini, H. CONDOR, a New Parallel,
Constrained Extension of Powell’s UOBYQA Algorithm: Experimental
Results and Comparison with the DFO Algorithm. Journal of
Computational and Applied Mathematics 2005, 181, 157−175.
(50) Brooke, A.; Kendrick, D.; Meeraus, A.; Raman, R. GAMS: A
User’s Guide; GAMS Development Corporation: 1998; http://www.
gams.com.
(51) Daehlen, J. S.; Eikrem, G. O.; Johansen, T. A. Nonlinear Model
Predictive Control using Trust-Region Derivative-Free Optimization.
J. Process Control 2014, 24, 1106−1120.
(52) Onnen, C.; Babuška, R.; Kaymak, U.; Sousa, J. M.; Verbruggen,
H. B.; Isermann, R. Genetic Algorithms for Optimization in Predictive
Control. Control Engineering Practice 1997, 5, 1363−1372.
(53) Sarimveis, H.; Bafas, G. Fuzzy Model Predictive Control of
Non-Linear Processes using Genetic Algorithms. Fuzzy Sets and
Systems 2003, 139, 59−80.
(54) Agrawal, P.; Lee, C.; Lim, H. C.; Ramkrishna, D. Theoretical
Investigations of Dynamic Behavior of Isothermal Continuous Stirred
Tank Biological Reactors. Chem. Eng. Sci. 1982, 37, 453−462.
(55) Jana, A. Process Simulation and Control Using Aspen; PHI
Learning: 2012.

P DOI: 10.1021/acs.iecr.6b00268
Ind. Eng. Chem. Res. XXXX, XXX, XXX−XXX

Вам также может понравиться