You are on page 1of 12

Journal of Process Control 23 (2013) 1229–1240

Contents lists available at ScienceDirect

Journal of Process Control


journal homepage: www.elsevier.com/locate/jprocont

Plant-wide hierarchical optimization and control of an industrial


hydrocracking process
Hasan Sildir a , Yaman Arkun a,∗ , Berna Cakal b , Dila Gokce b , Emre Kuzu b
a
Department of Chemical and Biological Engineering, Koc University, Rumeli Feneri Yolu, 34450 Sariyer, Istanbul, Turkey
b
Tupras Izmit Refinery, Kocaeli, Turkey

a r t i c l e i n f o a b s t r a c t

Article history: Hydrocracking is a crucial refinery process in which heavy hydrocarbons are converted to more valu-
Received 11 December 2012 able, low-molecular weight products. Hydrocracking plants operate with large throughputs and varying
Received in revised form 17 July 2013 feedstocks. In addition the product specifications change due to varying economic and market condi-
Accepted 17 July 2013
tions. In such a dynamic operating environment, the potential gains of real-time optimization (RTO) and
Available online 24 August 2013
control are quite high. At the same time, real-time optimization of hydrocracking plants is a challenging
task. A complex network of reactions, which are difficult to characterize, takes place in the hydrocracker.
Keywords:
The reactor effluent affects the operation of the fractionator downstream and the properties of the final
Hydrocracking
Hierarchical control products. In this paper, a lumped first-principles reactor model and an empirical fractionation model are
Cascaded MPC used to predict the product distribution and properties on-line. Both models have been built and vali-
Real-time optimization dated using industrial data. A cascaded model predictive control (MPC) structure is developed in order
to operate both the reactor and fractionation column at maximum profit. In this cascade structure, reac-
tor and fractionation units are controlled by local decentralized MPC controllers whose set-points are
manipulated by a supervisory MPC controller. The coordinating action of the supervisory MPC controller
accomplishes the transition between different optimum operating conditions and helps to reject distur-
bances without violating any constraints. Simulations illustrate the applicability of the proposed method
on the industrial process.
© 2013 Elsevier Ltd. All rights reserved.

1. Introduction been validated under both steady-state and dynamic conditions


using industrial plant data. Promising results have provided enough
Hydrocracking is a catalytic chemical process which converts fidelity in the use of the model for real-time optimization and con-
high-boiling hydrocarbons to more valuable lighter products like trol purposes. In this paper we model the whole plant by including
diesel, kerosene, naphtha and light ends. Hydrocracking is carried the fractionator. Interaction of the hydrocracker with the fraction-
out in multiple catalytic beds in the presence of excess hydrogen at ator is exploited and a hierarchical plant-wide optimization and
high temperatures and pressures. Due to highly exothermic nature control strategy is developed using cascaded Model Predictive Con-
of the process, hydrogen quench is used for inter-stage cooling. trollers (MPCs).
Sulfur and nitrogen compounds are removed in the hydrotreater In refineries hydrocracking plants operate with large through-
to yield low-impurity reactor effluent. A significant amount of puts; they process different quality feed-stocks; and they have to
hydrogen is consumed in cracking reactions. To keep hydrogen cir- comply with varying product specifications dictated by the market.
culation constant, make-up hydrogen is added as shown in Fig. 1 In such a dynamic operating environment, the potential economic
(dashed line). In the fractionation part of the plant, the reactor efflu- benefits of real-time optimization (RTO) and control are quite high.
ent is separated into the final valuable products. Fig. 1 shows the However in order to fully realize these benefits, interactions among
flow-sheet of the industrial plant under study. The feed is HVGO different plant subsystems have to be explored; and model based
(Heavy Vacuum Gas Oil) and the products are light ends (LE), light optimization and control strategies have to be carefully coordi-
naphtha (LN), heavy naphtha (HN), kerosene (Krs), diesel (Dsl) and nated at all levels of plant operation. For these reasons we have
bottom (Btm). In an earlier work [1], we have developed a non- developed a hierarchical control structure which is based on the
isothermal model for the hydrocracking reactor. The model has spatial decomposition of the plant into the reactor and fraction-
ation subsystems and the temporal decomposition of the control
tasks. While doing so, we have considered the characterization of
∗ Corresponding author. Tel.: +90 212 338 1313; fax: +90 212 338 1548. disturbances, availability of measurements, frequency and interac-
E-mail address: yarkun@ku.edu.tr (Y. Arkun). tion of control actions. Since the regulatory and optimizing control

0959-1524/$ – see front matter © 2013 Elsevier Ltd. All rights reserved.
http://dx.doi.org/10.1016/j.jprocont.2013.07.007
1230 H. Sildir et al. / Journal of Process Control 23 (2013) 1229–1240

Fig. 1. Simplified process flow diagram of hydrocracking plant.

tasks will use model-based techniques, we first present the models function is used to describe the yield function ([4,5]):
developed for the hydrocracker and the fractionator.   2   2
a
1 (k/K) 0 − 0.5 0.5
p(k, K) = √ exp − − exp −
S0 2 a1 a1
2. Modeling
 1 − k 
Modeling approaches for hydrocracking reactors can be clas- +ı (3)
sified under mechanistic kinetic modeling and lumped kinetic K
modeling. For a review the reader is referred to [2]. Due to their where a0 , a1 , ı are parameters to estimate and S0 is a constant used
complexity and large number of parameters, mechanistic models for normalization.
have not found significant applications in industry. Instead lumped Unsteady-state energy balance is given by:
models (discrete [3] or continuous [4]) were applied to several
∂T (z, t) ∂T (z, t)
industrial systems successfully. Because of their good predictive = −v
∂t ∂z
capabilities and easiness to tune the parameters, we have chosen
the continuous lumping framework to model the hydrocracking

kmax
0
k0 e−(Ea /R)((1/T0 )−(1/T )) c(k, z, t)(−Hro (k))D(k) dk
reactors. Next we present the salient features of the hydrocracker +
kmax
model to the extent it is needed for the RTO and control purposes. 0
c(k, z, t)Cp (k)D(k) dk
For details the reader is referred to [1]. (4)

Cp (k) is the specific heat capacity for the species with reactivity k;
2.1. Hydrocracker modeling and Hro (k) is the heat of cracking reaction for the species with
reactivity k. These parameters can be obtained from available cor-
We assume a non-isothermal plug flow reactor operating under relations or estimated from plant data [1].
adiabatic conditions with excess hydrogen. Reactions are modeled After parameter estimation, the above model’s predictions have
as first-order pseudo-homogeneous reactions. been found remarkably close to plant data [1]. Errors in product
Unsteady-state mass balance is given by: yields are less than 10% and reactor exit temperature errors are
less than a degree and are within process and measurement noise.
∂c(k, z, t) ∂c(k, z, t)
= −v − k0 e−(Ea /R)((1/T0 )−(1/T )) c(k, z, t) Prediction of hydrogen quench flows and hydrogen consumption
∂t ∂z
 kmax
are both acceptable as well. The major manipulated variables for the
reactor are the inlet bed temperatures. Response of the dynamic
+ p(k, K) · K0 e−(Ea /R)((1/T0 )−(1/T )) c(k, z, t)D(k) dk
model to the inlet temperature changes compares well with the
k
(1) step changes made in the plant. Therefore the model predicts the
overall dynamic behavior of the hydrocracker as well [1].
where c(k, z, t) is the mass fraction of species with reactivity k at
axial position z at time t; v is the mass average velocity; Ea is the 2.2. Fractionator model
activation energy; k0 and K0 are reactivities at some reference tem-
perature T0 . The term on the left hand side of Eq. (1) denotes the RTO has to predict and optimize the amounts of individual distil-
accumulation of mass; the first term on the right hand side is the lation products. After the product concentration distribution c(k, z,
net rate of addition of mass by convection; the second term is the t) is calculated by solving the reactor equations, the weight fraction
consumption of the species with reactivity k due to its cracking to of different species types, i.e. pseudo-components can be calculated
lighter species; and the last term is the generation of the species as a function of true boiling point (TBP) of the mixture. The result-
with reactivity k by cracking heavier species. D(k) is the species- ing TBP curve is shown in Fig. 2 where  denotes the normalized
type distribution function where D(k)dk represents the number of true boiling point:
species with reactivity between k and k + dk. In all the studies, the
following species-type distribution function has been used: TBP − TBP(l)
= (5)
TBP(h) − TBP(l)
˛
D(k) = N ˛ k˛−1 (2) TBP(l) and TBP(h) are the lowest and highest boiling points of the
kmax
mixture. Each of the six products is characterized by an interval
where N is the number of species; ˛ and kmax are parameters to be or a particular temperature cut [ 1 ,  2 ]. These Temperature Cut
estimated. The yield function p(k, K) in Eq. (1) represents the forma- Points (TCPs) and the amounts of the corresponding products are
tion of the species with reactivity k from cracking of heavier species determined in the following fashion. The historical database of dis-
that has reactivity K. Often a skewed Gaussian-type distribution tillation curves of individual products is available from their assays
H. Sildir et al. / Journal of Process Control 23 (2013) 1229–1240 1231

0.8
Weight Fraction

LE LN HN Kerosene Diesel Bottom


0.6

0.4

0.2

0
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1

Fig. 2. TBP curve and temperature cut points for different fractions. Vertical dashed
lines represent the temperature cut points – TCPs.

obtained in the lab. These individual products are blended using


HYSYS to yield the mixture’s TBP curve for the reactor effluent.
Next let P() define a polynomial that relates the normalized
TBP  to the corresponding cumulative weight fraction of product Fig. 4. Cut point and 95% BP relationship.
mixture which satisfies the following

P(1) = 1 (6) developed based on historical plant data. The relationship between
95% BP and corresponding TCP is presented in Fig. 4.
P(0) = 0 (7) Since online adjustment of 95% BP of LE is not practical in the
refinery,  LE-LN is kept constant at all times. Thus, there are four
The coefficients of P() are determined using the least-squares TCPs as shown in Fig. 4.
approach to match the plant’s TBP curve. There are 5 temperature The existing fractionation control system in the plant is an MPC
cut points for 6 products as shown in Fig. 2. For instance,  Dsl-Btm controller. This local MPC controller is responsible for the control
is the cut point temperature between diesel and bottom product. of four 95% BPs (LN, HN, Krs, Dsl). There are eight manipulated
Thus  Dsl-Btm should satisfy the following variables available. These are: fractionator top pressure, fractiona-
P(Dsl-Btm ) = 1 − wBtm (8) tor top temperature, kerosene withdrawal rate, diesel withdrawal
rate, fractionator middle reflux, splitter top pressure, splitter mid-
where wBtm is the weight fraction of bottom product, which is dle tray temperature and splitter reflux. These variables are shown
measured in the plant. Similarly for  Krs-Dsl in Fig. 5. Product withdrawals are the primary manipulated vari-
ables. Increasing the product withdrawal directly increases 95% BP
P(Krs-Dsl ) = 1 − wBtm − wDsl (9)
of the corresponding product by withdrawing heavier hydrocar-
where wDsl is the weight fraction of diesel which is also measured. bons that would be otherwise moving down the column. In the
This procedure is followed to yield five temperature cut points plant 95% BPs are estimated by an on-line soft sensor that uses
for six products for each data set that cover 30 days of various an empirical model which predicts the 95% BPs from tray tem-
processing regimes and operating conditions. peratures and the column pressure readings. The temperature and
In the plant 95% boiling point temperatures (95% BPs) are con- pressure of trays from which products are withdrawn show high
trolled since these temperature values are typically used in the correlation with the corresponding 95% BPs of the products. The
market as product specification. 95% boiling point temperature locations of the pressure and temperature transmitters are marked
(95% BP) corresponds to the temperature at which 95% of the mix- by PT and TT in Fig. 5. The model has been built using historical
ture is distilled as shown in Fig. 3. data and is updated on-line on a daily basis when the laboratory
We should note that the reactor model predicts the true boiling distillation assay measurements become available [6].
point curve of the reactor effluent. However, the fractionator’s con- For MPC design and implementation, step response models
trol system controls the 95% BPs. Therefore, the true boiling point between eight manipulated variables and four 95% BPs have been
curve must be related to the 95% BPs to predict the effect of reac- constructed from actual plant data. The existing MPC controller
tor operating conditions on the distillation product distribution. To uses these step response models and is able to control the 95% BPs
this end, an empirical model between 95% BPs and the TCPs were satisfactorily. Since the operating range of the 95% BPs is narrow,

Fig. 3. Product distillation curves and 95%◦ C boiling points. The intersections of 95% weight fraction line with the individual curves specify the normalized 95%◦ C boiling
points.
1232 H. Sildir et al. / Journal of Process Control 23 (2013) 1229–1240

TF,Krs

Prediction
Error [C ]
o
5
0
-5
0 200 400 600 800
Sample Number
TF,Dsl

Prediction
Error [C ]
o
5
0
-5
0 200 400 600 800
Sample Number
HN5%

Prediction
Error [C ]
o
5
0
-5
0 200 400 600 800
Sample Number

Fig. 6. Prediction errors of product property models.

constrained to maintain safe operation without thermal runaway.


Hydrogen is produced from natural gas or gasoline which in turn
limits the make-up hydrogen consumption in the plant. Similarly,
quench flows which are used for inter-stage cooling are limited by
the available hydrogen in the plant and for safety issues a minimum
quench amount is required. The catalyst is uniformly distributed in
Fig. 5. Fractionation subsystem with its controlled outputs and manipulated vari-
each reactor bed. Therefore Weighted Average Bed Temperature
ables.
(WABT) is equal to the average bed temperature given:

L
the effect of plant-model mismatch on control performance is T (z) dz
0
acceptable. We have used these step response models in our WABT = (13)
L
plant-wide control system design and simulations.
Other than 95% BPs, kerosene and diesel have flash points that where L is the length of the bed and T(z) is the temperature at axial
should satisfy minimum levels for safety purposes. In the literature, position, z. For each bed WABT and temperature rise (T) have
various empirical correlations are derived for prediction of flash to be regulated within limits to keep the catalyst active. Thus the
point of diesel and kerosene [7]. We have correlated the flash point constraints for the hydrocracker are:
with the 95% BPs using a linear multivariable fit:
• Reactor bed inlet and exit constraints:
TF,Krs = −19.16 + 0.4045 · HN95% + 0.02105 · Krs95% (10)
Tin,mini ≤ Tin,i ≤ Tin,maxi , i = 1, 2, 3, 4
where TF,Krs is the flash point of kerosene (◦ C), HN95% is the 95% (14)
BP of HN; Krs95% is the 95% BP of kerosene. It must be noted that Texit,mini ≤ Texit,i ≤ Texit,maxi , i = 1, 2, 3, 4
the flash point of kerosene is estimated from the properties of two • Reactor bed temperature rise and weighted average temperature
adjacent products. A similar approach is used for diesel flash point
constraints:
estimation which gives:
0 ≤ Ti ≤ Tmax,i , i = 1, 2, 3, 4
TF,Dsl = −32.34 + 0.06073 · Krs95% + 0.08035 · Dsl95% (11) (15)
WABTmini ≤ WABTi ≤ WABTmaxi , i = 1, 2, 3, 4
where TF,Dsl is the flash point of diesel (◦ C); Krs95% is the 95% BP of
kerosene; Dsl95% is the 95% BP of diesel. Finally, heavy naphtha has • Hydrogen make-up and quench flow constraints:
a 5% boiling point temperature constraint (HN5% ). LN95% (95% BP of
LN) and HN95% (95% BP of HN) are used to estimate the 5% boiling Qmakeup ≤ Qmakeup,max
(16)
point temperature of HN: Qmini ≤ Qi ≤ Qmaxi , i = 1, 2, 3
HN5% = 31.61 + 0.2603 · HN95% + 0.5086 · LN95% (12)

Fig. 6 shows the prediction errors of the above product property Above temperatures and flow-rates are all measured in the plant.
models. In all cases the prediction errors are at acceptable levels In the fractionator 95% boiling point temperatures must be
(i.e. within the limits set in the plant). In addition model param- within ranges determined by the market and refinery require-
eters can be updated on-line and predictions improved as new ments. In addition kerosene and diesel products must have
measurements become available. flash-points above their safe limits; thus, they are constrained as
well. Heavy naphtha has a 5% boiling point temperature constraint
3. Plant wide control problem formulation (HN5% ) determined by the downstream processing in the gasoline
unit. Thus, the fractionator constraints related to the product spec-
3.1. Operational constraints ifications are given by:

95% BPmin,i ≤ 95% BPi ≤ 95% BPmax,i , i = 1, 2, 3, 4


The hydrocracking plant is highly complex with many correlated
process variables. Several important process constraints limit the TF,Krs,min ≤ TF,Krs
operation of the reactor and the fractionator. Constraints on the (17)
TF,Dsl,min ≤ TF,Dsl
exothermic reactor beds are well defined by the plant engineers
and the catalyst company. Both bed exit and inlet temperatures are HN5%,min ≤ HN5%
H. Sildir et al. / Journal of Process Control 23 (2013) 1229–1240 1233

3.2. Economic objective important feature of hierarchical systems is that the hierarchi-
cal whole gives new properties to its individual parts, which, in
Any advanced process control system has to satisfy the above turn, fulfills functions which did not exist previously. As an exam-
operational constraints. In addition the plant has to be operated in ple chemical plants, such as the hydrocracking process, satisfy
the most profitable fashion. For a given HVGO feed, the total profit the definition of a hierarchically organized complex system. At
of the hydrocracker plant is given by: the lowest level of the hierarchy we have the building blocks of
 a chemical plant which consist of basic unit operations such as

6
tanks, heat exchangers, reactors and separators. At the next level
= wi pi − QH pH − pf mf (18)
of hierarchy these units are grouped together as subsystems to ful-
i=1
fill distinct operational objectives. Finally the subsystems come
where wi is the weight fraction of ith product, pi is the correspond- together through material and energy integration to meet the
ing price ($/kg), QH is the hydrogen consumption per kg of feed, objectives of the whole chemical plant. The resulting system is a
pH is the price of hydrogen ($/kg), mf is the mass flow rate of the complex nonlinear dynamical system with many parts that interact
liquid feed (kg/h) and pf ($/kg) is the cost of the feed. In (14) the in a nontrivial way. It is this hierarchical thinking and organization
hydrogen consumption QH is a function of the weight fractions of that guides both the way chemical plants are optimally designed
the product. Therefore for a given feed and set of prices, the objec- and controlled by engineers today.
tive function  is solely determined by the weight fractions, i.e. Complex systems, like the hydrocracker plant, have to fulfill cer-
 = (w) where w = [w1 w2 . . .w6 ]T . Reactor bed inlet temperatures tain operational objectives in an optimal way. The basic functions
and the 95% boiling point temperatures are the major independent of feedback and optimization are implemented by hierarchical con-
variables which affect the weight fractions of products and thus the trol architectures which are organized both in time and space. These
profit. hierarchical structures were originally articulated by Lefkowitz [10]
and Mesarovic et al. [11]. Their first application to chemical pro-
3.3. Disturbances cesses in the context of synthesis of regulatory and optimizing
control structures appeared in [8]. Around the same time, con-
Different types of disturbances can influence the operation straint control or in its most general form MPC emerged [12].
of the hydrocracking plant. These disturbances can be classified After a long period of theoretical advances, improvements in com-
according to their frequencies and impact [8]. Slow disturbances puter power and successful industrial applications using MPC, we
with high economic impact require re-optimization and may initi- are now witnessing a resurgence of hierarchical control concepts
ate a change in the steady-state operating conditions. The feed stock for real-time plant-wide optimization and operation. Attention
quality (e.g. aromaticity, chemical structure), catalyst deactivation, is now focused on decentralized MPC, alternative coordination
product and hydrogen prices belong to this class of disturbances. schemes and integration of RTO with MPC. For a review the reader
These changes may persist for days or weeks depending on the is referred to [12,13]. Next we present a hierarchical plant-wide
crude feedstock and market demand. For such cases the model control scheme which we have adopted for the hydrocracking pro-
parameters can be updated on-line and steady-state economic opti- cess.
mization is performed to determine the new operating conditions.
Since these disturbances do not change frequently, the plant-wide
controllers will have enough time to make the necessary transition 5. Cascaded MPC for plant wide control
between the steady-state operating points. For faster disturbances
or for those without significant economic impact, on-line optimiza- We propose a hierarchical control structure that consists of a
tion is not warranted. The temporary excursions caused by these cascade of MPC controllers operating in tandem with economic
disturbances are handled by the regulatory controllers. For example optimization and refinery planning as shown in Fig. 7. Starting from
impurities in the reactor feed, hydrodynamic effects in the reactor the top, each block in Fig. 7 is explained next.
are of this type of disturbances.
It is clear that the plant-wide control problem in hand has to 5.1. Management layer
address two types of control objectives. One is regulation; the other
is optimization. Furthermore these control tasks have to be con- The highest level in the hierarchy is the management layer
tinuously met in a dynamic environment due to the existence of which considers the demand for the products by the market and by
disturbances and changing product requirements. We have devel- different units in the refinery. A refinery-wide linear programming
oped a hierarchical control structure which is based on the spatial is performed to compute the prices of feed, hydrogen and products.
decomposition of the plant into reactor and fractionation subsys- In addition product specifications and operating constraints for the
tems and temporal decomposition of the control tasks based on the hydrocracking plant are also defined.
characterization of disturbances, availability of measurements and
frequency of control actions.
5.2. Steady-state optimization
4. Hierarchical plant wide control structure
The next layer below in the hierarchy is steady-state economic
Complex systems are made up of large number of parts that optimization. Steady-state optimization makes use of the steady-
interact in a non-simple way. In particular these interactions are state predictions of the nonlinear hydrocracking model. Based on
often dynamic, nonlinear, stochastic, and delayed. In his pioneer- prices, product specifications and operating constraints set by the
ing article [9] in 1962 Nobel laureate economist Herbert Simon management, steady-state optimization maximizes profit by cal-
discussed the evolution of complex systems and concluded that culating the optimal product distribution (i.e. the relative amounts
complex systems are less affected by external disturbances if their of light ends, light naphtha, heavy naphtha, diesel, kerosene, and
structures are hierarchically organized and decomposable into sta- bottoms), 95% BPs and the optimal reactor bed inlet and exit
ble parts. A hierarchy consists of a number of subsystems organized temperatures. Next the optimal economic operating conditions
in a functional and spatial relationship to one another and, in are converted to feedback implementation. This is accomplished
their totality, possesses the character of an integral whole. A very through a cascade of coordinated MPCs.
1234 H. Sildir et al. / Journal of Process Control 23 (2013) 1229–1240

Fig. 7. Plant-wide control structure for hydrocracking.

5.3. Cascade of coordinated MPCs as the controlled outputs to the supervisory MPC. The task of the
supervisory MPC is to control these economic outputs at their set-
sp
At the core of the proposed hierarchical control structure in Fig. 7 points yp determined by steady-state economic optimization. It
is a cascade of MPCs. Cascaded or nested MPCs appeared in the liter- accomplishes this by specifying appropriate set-point trajectories
sp sp
ature in different contexts to serve different purposes. For example y1 , y2 to the local MPCs. Thus, within the cascade loop, the super-
in [14] cascaded MPCs are designed for different time scales to con- visory MPC acts like a coordinator which guides the local MPCs
trol a power system. In [15] a two-tiered approach is developed to toward the plant-wide economic steady-state optimum.
coordinate distributed controllers for recycle processes that exhibit The control structure proposed for the hydrocracking plant in
time scale separation. In [16] a two-stage QP-MPC cascade structure Fig. 7 is an application of the cascaded MPC structure shown in Fig. 8.
was proposed to update the RTO set-points to make them con- The inner controllers are the decentralized reactor and fractionator
sistent (i.e. achievable) for the linear MPCs. This is done by an LP MPC controllers. Reactor MPC controls the bed exit temperatures
or QP that computes the feasible set-points closest to the steady- by manipulating the set-points of bed inlet temperatures. PID con-
state optimal values given by RTO. MPC implements these feasible trollers regulate the bed inlet temperatures at the set-points sent
set points. In a similar context in [17] a price-driven coordination by MPC by changing the hydrogen quench flow rates. These quench
method is proposed to compute the targets for the decentralized PID controllers are hidden inside the reactor block in Fig. 7. Frac-
MPCs. A cooperation based coordination of decentralized MPCs is tionator MPC controls the 95% BPs by adjusting the set-points
developed in [18]. In cooperation based coordination, decentralized of the fractionation PID controllers shown in Fig. 5. Temperature
MPCs use the plant objective function as their local objectives and measurements and 95% BP estimates through the soft sensor are
exchange local state and input information, thereby eliminating available every second.
potential conflicts.
The main task of the proposed cascaded MPC structure is to coor-
dinate a set of decentralized MPCs toward attaining the plant-wide
economic steady-state optimum. We have applied a new coordi-
nation mechanism that is based on cascade control and this makes
our problem formulation different than the available coordination
mechanisms. The mechanism can be best understood if one focuses
on its general hierarchical structure given in Fig. 8. Without any loss
of generality a 2-subsystem plant is shown for simplicity. In Fig. 8
two sets of MPCs (locals and supervisory) operate in tandem under
a cascade feedback configuration. In the classical cascade controller,
the error in an (outer) primary control loop drives the set-point of
an (inner) secondary control loop. Similarly here, the supervisory
MPC functions like the (outer) controller of the primary control
loop. Local decentralized model predictive controllers (MPC1 and
MPC2 ) are the (inner) controllers of the secondary control loop. A
set of plant-wide economic variables (denoted by yp ) are assigned Fig. 8. Cascaded MPC for plant-wide coordination.
H. Sildir et al. / Journal of Process Control 23 (2013) 1229–1240 1235

Fig. 9. Response of product weight fractions.

The control cycles of decentralized MPC controllers are 3 min. the reactor exit temperatures and the 95% BPs as shown in Fig. 7. In
The task of the Supervisory MPC is to control the plant-wide this fashion, it coordinates the local MPCs. The control cycle for the
economic output variables. In our case the product distributions Supervisory MPC is 15 min which is much slower than the decen-
are chosen as the economic outputs. Supervisory MPC keeps these tralized MPCs. There is a 2-hr delay between the reactor exit and
outputs at their optimal set-points by adjusting the set-points of the fractionator.
When there are slow, step-like disturbances, supervisory MPC
Table 1 tries to keep the plant-wide objective at its optimal steady-state
Product distribution before and after optimization. value by making the necessary set-point changes in the local MPCs.
Without this coordination, the plant-wide objective would drift
Initial Final
from its economic optimum when persistent disturbances enter
Btm 0.079 0.059 the subsystems. In addition, when steady-state optimization calls
Dsl 0.222 0.211
Krs 0.408 0.425
for a change in the product distribution, supervisory MPC provides
HN 0.170 0.180 new optimal set-point trajectories to the decentralized MPCs to
LN 0.071 0.076 perform the necessary transition between steady-states. Since the
LE 0.042 0.049 supervisory MPC responds to the effects of slower disturbances, it

Table 2
Transfer functions that are used to design the fractionation MPC.

95% BPs (CV)

Dsl95% Krs95% HN95% LN95%

Fractionator top pressure (−14.4, 0.25, 0) (−1.8, 0.3, 0.13)


Fractionator top temperature (1.2, 0.36, 0.0116) (0.9, 0.25, 0.0116)
Kerosene withdrawal (1.5, 0.1, 0.13) (2.3, 0.45, 0.016)
Diesel withdrawal (1.45, 0.8, 0) (1.4, 0.14, 0)
MVs
Middle reflux (0.5, 0.36, 0.05)
Splitter top pressure (−17.3, 0.202, 0)
Splitter tray temperature (2.2, 0.65, 0.09)
Splitter reflux (−0.2, 0.12, 0.03)

Table 3
Transfer functions that are used to design the supervisory MPC.

Product weight fractions (CV)

Btm Dsl HN Krs LE LN

B1exit (−0.0016118, 0.65, 3) (−0.001798, 0.65, 3) (0.0012, 0.65, 3) (0.0006, 0.65, 3) (0.0006, 0.65, 3) (0.0007, 0.65, 3)
B2exit (−0.0023, 0.65, 2.75) (−0.0027, 0.65, 2.75) (0.0018, 0.65, 2.75) (0.0009, 0.65, 2.75) (0.0010, 0.65, 2.75) (0.0011, 0.65, 2.75)
B3exit (−0.0023, 0.65, 2.5) (−0.0026, 0.65, 2.5) (0.0018, 0.65, 2.5) (0.0010, 0.65, 2.5) (0.0010, 0.65, 2.5) (0.0011, 0.65, 2.5)
B4exit (−0.0025, 0.65, 2.25) (−0.0028, 0.65, 2.25) (0.0019, 0.65, 2.25) (0.0010, 0.65, 2.25) (0.0010, 0.65, 2.25) (0.0012, 0.65, 2.25)
MVs
Dsl95% (−0.0019, 0.35, 0) (0.0019, 0.35, 0)
HN95% (0.0011, 0.30, 0) (−0.0011, 0.30, 0)
Krs95% (−0.0029, 0.45, 0) (0.0029, 0.45, 0)
LN95% (−0.0043, 0.42, 0) (0.0043, 0.42, 0)
1236 H. Sildir et al. / Journal of Process Control 23 (2013) 1229–1240

Fig. 10. Dynamic behavior of bed exit temperatures (for proprietary reasons actual temperatures are scaled by a constant value without distorting the general trends).

executes its coordinating control action much less frequently than distribution is lighter; therefore, higher cracking activity in the
the decentralized local MPCs. hydrocracker is needed.

6. Results
6.1. MPC models
Proposed plant-wide control structure is tested against its abil-
ity to adapt to new economic conditions and to reject disturbances. All the MPC designs were implemented using MATLAB’s MPC
In the hydrocracking process the optimal steady-state operating Toolbox. Reactor MPC uses a step response model obtained from
conditions change in response to different product specifications the dynamic reactor model. All the reactor constraints (14)–(16) are
and fluctuations in raw material and product prices. Due to large included in the MPC optimization. The fractionator MPC uses the
throughputs, a slight modification in processing conditions yields step response model between four 95% BPs and eight manipulated
significant profit increase on annual basis. variables (fractionator top pressure, fractionator top temperature,
We consider a case where the plant is operating with the prod- kerosene withdrawal rate, diesel withdrawal rate, middle reflux,
uct distribution given in Table 1. Next the prices change and splitter top pressure, splitter middle tray temperature and split-
new optimal operating conditions are calculated by steady-state ter reflux set-points). This model was constructed from step tests
optimization. Corresponding new product distribution is given implemented on the actual plant. Corresponding transfer functions
in Table 1 as well. For this case, it is seen that desired product are given in Table 2.

Fig. 11. Dynamic behavior of 95% BPs (for proprietary reasons actual temperatures are scaled by a constant value without distorting the general trends).
H. Sildir et al. / Journal of Process Control 23 (2013) 1229–1240 1237

Fig. 12. Dynamic behavior of manipulated variables of fractionation MPC for set point tracking.

The parameters of the individual transfer functions appear in and 95% BP set-points of the local MPCs (see Fig. 8), and the response
parentheses as “gain, time constant, time delay”, respectively. Val- of the product distribution was recorded. Local MPCs have been
ues are slightly modified from plant data for proprietary reasons. designed so that the closed-loop responses of 95% BPs are smooth
When there is negligible interaction between MV and CV, the cor- first order responses. In addition, since the product distributions are
responding cell is left blank in the table. directly correlated with 95% BPs through temperature cut-points
Supervisory MPC’s manipulated inputs are (four) reactor exit (see Fig. 4), they also exhibit smooth first order responses. There-
temperature set-points and (four) 95% BP set-points. Its controlled fore, we were able to approximate the transfer functions between
outputs are (six) product distributions. As shown in Fig. 8, the the product distributions and 95% BP set-points and reactor tem-
dynamic relationships between these variables are governed by perature set-points by simple first order systems. Corresponding
the closed-loop action of decentralized MPC controllers. Therefore transfer functions are given in Table 3.
we have constructed the transfer functions between these inputs Next these transfer functions were used by the supervisory MPC
and outputs (48 of them) by simulating the plant model under to control the product distributions at their economically opti-
closed-loop conditions by including the local MPCs. Specifically, mum set-points. All the constraints including those for the reactor
step changes were made in the reactor exit temperature set-points (14)–(16) and those for the fractionator (17) are addressed in the

Fig. 13. Output disturbances.


1238 H. Sildir et al. / Journal of Process Control 23 (2013) 1229–1240

Fig. 14. Controlled responses of product weight fractions to disturbances.

supervisory MPC computation. Therefore, the set-point changes simulations using the empirical model have matched the real
demanded by the supervisory MPC controller are feasible for the closed-loop plant data closely. This is due to the fact that the operat-
decentralized MPCs. ing window of the fractionator is narrow and the local fractionation
MPC can be tuned so that the closed-loop model responses are close
6.2. Plant model to those of the plant.
For the scenario listed in Table 1, the closed-loop response of
The plant model used in the closed-loop simulations consists product distribution is presented in Fig. 9. Optimal product dis-
of the first principle nonlinear reactor model and the empirical tribution is reached in about 5 hr. The set points supplied by the
fractionator model. Both models were validated against plant data. supervisory MPC to the reactor MPC and the reactor’s response are
The empirical fractionation model includes both the static cor- shown in Fig. 10. Note that increase of bed temperatures is in line
relations that describe the relationships between 95% BPs, TCPs, with the demanded transition to a lighter product distribution.
weight fractions and the transfer functions given in Tables 2 and 3 Supervisory MPC also affects the fractionator MPC by changing
which represent the dynamics. We have chosen to use this model the 95% BP set-points as shown in Fig. 11. The impact of fractionator
in place of a more detailed rigorous model because our closed-loop MPC on the products is observed instantly since 95% BPs are directly

Fig. 15. Dynamic behavior of bed exit temperatures for disturbance rejection (for proprietary reasons actual temperatures are scaled by a constant value without distorting
the general trends).
H. Sildir et al. / Journal of Process Control 23 (2013) 1229–1240 1239

Fig. 16. Dynamic behavior of 95% BPs for disturbance rejection (for proprietary reasons actual temperatures are scaled by a constant value without distorting the general
trends).

correlated with the product weight fractions. However the influ- Supervisory MPC takes into account the interactions among the
ence of reactor temperature is felt after 2–3 hr of delay. Therefore reactor and fractionator and the long time delay between them and
the initial impact of fractionator MPC results in a pseudo-steady coordinates the operation of the decentralized MPCs by making the
state in products around t = 1–2 hr as seen in Fig. 9. This effect right set-point changes.
is followed by the delayed effect of changes made in the reac- The 95% BPs in Fig. 11 are realized by adjusting 8 manipulated
tor temperature which is seen in the transient response from the variables in the fractionation subplant. The behaviors of fraction-
initial pseudo-steady state to the final product. For a slight shift ation manipulated variables are shown in Fig. 12. Those are in
in product distribution, changes only in the fractionator (i.e. 95% deviations from nominal values.
BP set-points) are adequate; but significant changes in product Measurement of disturbances and modeling their effects is not
distribution require manipulations in the reactor temperature set- easy in such a complex system. For that reason, disturbances are
points as well. As a result, settling to the new steady state takes considered as output disturbances and they are modeled as inte-
much longer time than the time constant of fractionator alone. grated white noise processes. This modeling represents randomly

Fig. 17. Dynamic behavior of manipulated variables of fractionation MPC for disturbance rejection.
1240 H. Sildir et al. / Journal of Process Control 23 (2013) 1229–1240

varying step-like disturbances which are common in chemical pro- determined by economic optimization. Through this study, the
cesses. In addition output disturbance models are used in MPC to potential benefits of implementing real-time optimization for the
prevent steady-state offset. In this study, disturbances are added hydrocracking plant have been found to be significant and imple-
on product weight fractions and bed exit temperatures, which are mentation of the proposed hierarchical system on the industrial
shown in Fig. 13. The persistent effects of these disturbances on the plant is being considered by the plant management.
products are successfully rejected with an acceptable variance as
shown in Fig. 14. Acknowledgement
In order to reject the disturbances in Fig. 13, supervisory MPC
changes the reactor and fractionator operating conditions as shown The authors gratefully acknowledge the financial support of
in Figs. 15 and 16, respectively. TUPRAS Refineries.
Required manipulated variable changes to reject disturbances
are shown in Fig. 17. References

[1] H. Sildir, Y. Arkun, B. Cakal, D. Gokce, E. Kuzu, A dynamic non-isothermal model


7. Conclusions for a hydrocracking reactor: model development by the method of continuous
lumping and application to an industrial unit, Journal of Process Control 22
For real-time optimization and control purposes, a hierarchi- (2012) 1956–1965.
[2] T.C. Ho, Modeling of reaction kinetics for petroleum fractions, in: C.S. Hsu, P.
cal plant-wide control structure is systematically constructed for Robinson (Eds.), Practical Advances in Petroleum Processing, Springer, New
a complex refinery process such as hydrocracking. Economic opti- York, 2006.
mization and regulation tasks of this hierarchical control structure [3] N. Bhutani, A.K. Ray, G.P. Rangaiah, Modeling, simulation, and multi-objective
optimization of an industrial hydrocracking unit, Industrial & Engineering
require reliable steady-state and dynamic models. For this purpose Chemistry Research 45 (2006) 1354–1372.
both the reactor and the fractionator models have been developed [4] C.S. Laxminarasimhan, R.P. Verma, P.A. Ramachandran, Continuous lumping
and validated under steady-state and dynamic conditions using model for simulation of hydrocracking, AIChE Journal 42 (1996) 2645–2653.
[5] B.E. Stangeland, Kinetic model for prediction of hydrocracker yields, Industrial
refinery data. The reactor model has appeared earlier [1] but the & Engineering Chemistry Process Design and Development 13 (1974) 71–76.
fractionator model is new. It is an empirical model developed from [6] S. Kemaloglu, E.Ö. Kuzu, D. Gökçe, Ö. Cetin, Model predictive control of a crude
plant data and it correlates the 95% boiling points used in the frac- distillation unit: an industrial application, in: 7th IFAC International Sympo-
sium on Advanced Control of Chemical Processes, Istanbul, 2009, pp. 880–885.
tionator with the weight fractions of the product in the reactor. As [7] M.R. Riazi, Characterization and Properties of Petroleum Fractions, ASTM Inter-
such it is used to predict the effect of reactor operating conditions national, West Conshohocken, PA, 2005.
on the distillation product distribution. In addition several impor- [8] M. Morari, Y. Arkun, G. Stephanopoulos, Studies in the synthesis of control-
structures for chemical processes. 1. Formulation of the Problem. Process
tant distillation product specifications are successfully correlated
decomposition and the classification of the control tasks. Analysis of the opti-
and validated with the 95% boiling points. These models are next mizing control-structures, AIChE Journal 26 (1980) 220–232.
used in the design of the local decentralized MPC controllers for the [9] H.A. Simon, The architecture of complexity, Proceedings of the American Philo-
reactor and fractionator. sophical Society 106 (1962) 467–482.
[10] I. Lefkowitz, Multilevel approach applied to control system design, Journal of
A novel feature of the plant-wide hierarchical control system Basic Engineering 88 (1966) 392–398.
is that cascade control is used for coordination of decentralized [11] M.D. Mesarovic, D. Macko, Y. Takahara, Theory of Hierarchical, Multilevel, Sys-
MPC controllers. In this cascade, a supervisory MPC coordinates tems, Academic Press, New York, 1979.
[12] M.L. Darby, M. Nikolaou, J. Jones, D. Nicholson, RTO: an overview and assess-
the actions of the decentralized reactor and fractionator MPC ment of current practice, Journal of Process Control 21 (2011) 874–884.
controllers by adjusting their set-points and moving the whole [13] R. Scattolini, Architectures for distributed and hierarchical model predictive
plant toward the optimum operating conditions. While decentral- control – a review, Journal of Process Control 19 (2009) 723–731.
[14] A. Ulbig, M. Arnold, S. Chatzivasileiadis, G. Andersson, Framework for multiple
ized MPCs reject the local disturbances and keep their units (i.e. time-scale cascaded MPC application in power systems, in: IFAC Proceedings
reactor and fractionator) within limits, the supervisory MPC coor- Volumes (IFAC-PapersOnline), 18, 2011, pp. 10472–10480.
dinates the local MPCs to achieve a smooth and fast transition [15] A. Kumar, P. Daoutidis, Nonlinear dynamics and control of process systems with
recycle, Journal of Process Control 12 (2002) 475–484.
between different steady-states. The proposed methodology and [16] C.M. Ying, B. Joseph, Performance and stability analysis of LP-MPC and QP-MPC
cascaded MPC structure can find applications in many other com- cascade control systems, AIChE Journal 45 (1999) 1521–1534.
plex plants. [17] R. Cheng, J.F. Forbes, W.S. Yip, Price-driven coordination method for solving
plant-wide MPC problems, Journal of Process Control 17 (2007) 429–438.
Simulations show that the proposed control system is able to
[18] J.B. Rawlings, B.T. Stewart, Coordinating multiple optimization-based con-
make the necessary transition in product distributions successfully trollers: new opportunities and challenges, Journal of Process Control 18 (2008)
by operating the reactor and fractionator at the optimal conditions 839–845.

You might also like