Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
1993,32, 866-881
866
In this work, we propose a framework for integrated design and operation of single-stage batch or
semibatch reactors. This includes systematic decoupling of optimization and design through
conceptual decomposition of the reactor dynamics into two subsystems with distinct characteristics.
In this framework, notions of feasibility, flexibility, controllability, and safety of the design for batch
processes are introduced for the first time and some criteria for their assessment are presented. The
proposed framework includes (a) mathematical modeling of the process dynamics, (b) dynamic
optimization that involves simultaneous optimization of loading conditions and operating temperature
and/or concentration profiles, (c) design of the heat exchange and/or feeding system(s) and
investigation of process operability (feasibility, flexibility, controllability, and safety of the design),
and (d) design of a control scheme for automatic startup and optimal operation of the reactor.
Introduction
Batch processes play a very important role in the
chemical process industry. Because of their great flexibility, they are extensively used in the production of fine
and specialty chemicals, pharmaceuticals, polymers, and
bioproducts, as well as other products for which efficient
continuous production is not feasible. Thus, batch processes contribute to a significant proportion of the worlds
chemical production (especially in value). The increasing
technological trends toward the manufacture of specialty
chemicals (Anderson, 1984) make the efficient design and
operation of batch processes even more important.
Batch processes are different from continuousprocesses
in the following major aspects:
1. Mode of operation: Their mode of operation is
intrinsically dynamic (the operating conditions are timevarying).
2. Role of initial loading: The role of initial conditions
(initial loading of batch processes) is very important in
the operation of batch processes, while the loading
conditions of continuous processes becomes a major
operational issue when there is a possibility for existence
of multiple steady states.
3. Flexibility of operation: Batch processes possess
greater flexibility of operation and ability to cope with the
fluctuations in the market conditions.
4. Small-volume production: Batch processes are
usually used for the manufacture of low-volume high-value
products such as pharmaceuticals and other fine chemicals.
5. Finite time of operation (limited batch cycle time).
6. Wide range of operation: This makes the control of
operating conditions difficult and necessitates the use of
measuring instruments with much wider measuring ranges.
Moreover, because a batch process model will have to
describe the behavior of the system over a wide range of
conditions, the requirement for accuracy of the batch
process model is somewhat more rigorous than that of a
continuous process model.
7. Irreversible behavior: Once an off-specification
material was produced, because of an upset in the operating
conditions, they may be no means for any correction, and
this may lead to shutdown of the process and discard of
the reacting mixture. This is in contrast to continuous
processes, where upsets in operating conditions eventually
~~
~~
~~~
wash out of the system and the process can return to the
desired steady state.
During the past decades, there have been significant
contributions in the area of design of continuousprocesses
[see, e.g., the recent review paper by Seider et al. (1991)l.
Steady-state chemical process simulators, which were first
developed in the early 1960s, now play a very significant
role in process simulation and design work in the chemical,
petrochemical, and petroleum industries. Also, for continuous processes, on-line calculation of the optimum
steady-state control is rapidly becoming state-of-the-art
in several companies, e.g., IC1 and Shell (Fisher et al.,
1988b).
Because of the transient mode of operation of batch
processes, the contributions in the area of continuous
process design (e.g., Grossmann and Morari, 1983; Lang
et al., 1988; Fisher and Douglas, 1985; Palazoglu et al.,
1985; Birewar and Grossmann, 1989) are usually not
applicable to batch processes. On the other hand, in the
area of batch process design, a major research direction
has been the study of batch scheduling (e.g., Wellons and
Reklaitis, 1989;Karimi and Modi, 1989;Faqir and Karimi,
19891, that is, optimization of a set of batch equipment in
which each equipment is counted as a static system. In
todays competitive industry, efficient design, planning,
and operation of batch chemical plants have become
extremely important due to competitive pressure, increasing difficulties in discovering new products and
obtaining official approval for their production (Rippin,
1983).
In many batch reactors, because of the higher value of
the product compared to the value of reactants and the
cost of energy, the process economics depend much more
on the product quality and/or yield than the amount of
energy or reactant used. Thus, significant economic
benefits can be realized from maximizing product quality
and/or yield rather than minimizing the capital and/or
operating cost(s). For example, a key factor that should
be considered in the selection of a design candidate for
polymer products is the product quality as reflected in
the polymer molecular weight and composition distribution
(Malone and McKenna, 1990). On the other hand, only
computation of the optimal operating conditions [as in
Thomas and Kiparissides (1984), Tsoukas et al., (1982),
and Wu et al. (198211 of a batch reactor does not guarantee
the feasibility of implementation of such optimal trajectories. Manoquinand Luyben (1973)have addressed some
P..
..
.............
..........
Modeling
Design
,--
Mathematical Model 0
Reactor Sizing
<
Mathematical Model I1
...
dCs - Rs(Cl,...,C,,n
-dt
dt
PC
In other words, model 0 essentially consists of all the rate
expressions that describe the physical and chemical
phenomena in the reactor. The variables of model 0
(dependent variables of the ordinary differential equations) will be called the operation variables, since they
characterize the operation of the reactor. It is of course
understood that, for a complete model, one must be able
to precisely specify all performance indices (which will be
defined in the next step) in terms of the operation variables;
this will be done in the next step.
2. Formulation of Performance Indices and Selection of Mode of Operation. The purpose in this step
is to do the following:
performance index
optimizing variables
polymerization
polymerization
polymerization
polymerization
polymerization
polymerization
polymerization
polymerization
polymerization
bioreaction
bioreaction
bioreaction
bioreaction
bioreaction
classical reactions
A+P,E1 # Ez
A * P, E1 =El
A + P + W , E i #E2
A+P+W,El=Ez
PDI
PDI
end time
end time
copolymer comp drift
copolymer comp drift
AMW drift
AMW drift and conversion
AMW and PDI drifts
final enzyme activity
final conversion
yield of product
biomass growth
yield of product
temperature
temperature and initiator concn
temperature
temperature and initiator concn
temperature
monomer concentration
temperature and initiator concn
temperature and initiator concn
temperature
temperature
temperature
temperature and pH
substrate concentration
substrate concentration
temperature
concentrations of A and/or P
temperature
concentrations of A and/or P
selectivity
concentration of A
selectivity
temperature
El and Ez = activation energies; AMW = average molecular weight; PDI = polydispersity index.
dC2
= R2(Cl,&,T)
dt
...
- Fl
TC2
....
..
...
. . I
...
and assuming Cl,, # C1for all t 1 0 (for semibatch reactors
usually CI,, > Cl), the model of eq 2 becomes
I n all the cases (i, ii, iii), the reduced-order model has the
optimizing Variables as inputs. In general, a reducedorder model of the form
...
...
-dCs
=
dt
R,(C I,...,
c,,n
(4)
i = 3,(z,"u)
(7)
is obtained. Here "u is the vector of optimizing variables,
and z is the vector of remaining operation variables (not
included in "u). 31is a vector function. The dynamic
system of eq 7 is called the inner system for reasons that
will become clear later. At this point one must note that
the inner system depends on the physics and chemistry
only and not on the design parameters of the system.
Also, all the variables of the inner system are intensive
variables.
Remark 3: One must emphasize once again the
advantage of reduction of order of the model: It helps
encounter fewer numerical difficulties in the computation
of optimal operating profiles or possibly finds an analytical
solution for the problem. It is also a basis for the
decoupling of optimization from design as will be seen
later. One must also point out that this model reduction
is standard in the theoretical optimal control literature.
The above change of variables is a special case of Kelley's
transformation (Kelley, 1964).
Remark 4: The development of the reduced-order
model (eq 7) and then the calculation of the optimal
operating conditions in terms of a subset of operating
conditions ("u), which are independent of design, is in
complete analogy with the calculation of optimal operating
conditions for continuous systems in a stage prior to the
design stage. For example, operating conditions of a
continuous tank reactor are usually defined in terms of
reactor temperature, concentrations, etc. (intensive variables), rather than the steam pressure and flow rate in the
jacket and flow rate of the reactants and products. These
desirable operating conditions (intensive variables) are
usually fixed prior to the design stage.
4. Dynamic Optimization (Computationof Optimal
LoadingConcentrations and OperatingConditions).
In this step, we formulate an optimization index J to be
minimized as well as the pertinent constraints. The
optimization index will be one of the performance indices
or a weighted sum of some performance indices. The
constraints will include the inner system (eq 7), the
remaining performance indices which were not included
(8)
subject to
8 0 ) = S,(z(t),W(t)) (inner system)
h(z(t),t)I O
g,(z(O),O) = 0, go E Rjo
gf(z(tf),tf)= 0, g f E RJf
(initial constraints)
(terminal constraints)
tv*(tf*)=
v,
reactor temperature
reactor temperature
reactor temperature
reactor temperature
reactor temperature
concentration of species y"
UiO),tl(Oi
=FoTo(z,U,~,u:Pd)
Outer System
...
UA
- Tj) + -(
T - Tj)
cwmo
dTj
dt
PW
F,-(TCw
m,
UA
- Tj) + -(T
cwmo
dt
- Tj)
dV
dt = Fl
or in the general form of eq 9, i.e.,
Y =u
(13)
The optimal conditions z*(t) and U*(t) will be feasible,
if the input/output system described by eq 13is invertible
at Y(t) = U*(t) [Le., there exists au(t) that produces Y(t)
= CU*(t) under appropriate initialization] and the corresponding u(t) lies within the bounds imposed by the
design.
Remark 11: The invertibility property can be guaranteed under relatively mild assumptions, and standard
techniques are available in the literature (Hirschorn, 1979)
for calculating the corresponding inputs.
In order to illustrate this feasibility criterion, consider
the typical outer system described by eq 11. Here, the
and
V*(t) = v, x
then
PCV*(t)
Tj*(t)= P(t)+ Q*(t)-----
UA
finally
F,*(t) =
and
dV*(t)
dt
Questions that may arise here are what should be done
if the optimal operation is not feasible, and what can cause
this infeasibility. If the optimal operation is not feasible,
then this may be due to any of the following reasons:
(a) The unacceptable shape of the optimal profile(s) of
temperature and/or concentration(s), e.g., sharp slopes,
too high value, or too low value of the profile(s) at some
times. 1nthiaease.onehastoimpsesomenewcomtraints
on the optimizing variables and/or their derivatives (see
remark 6). and redo step 4.
(b) The improper design of the H/C and/or feeding
systems. In this case the design parameters (pd) should
be adjusted (e.g., larger surface area, lower coolant
temperature), or maybe the method of H/C should be
replaced hy one which is capable of providing such
optimizing variable profiles (return to step 6).
Remark 12 In certain cases, in order to produce a
product with very high quality, one has to enforce very
special profile(s) to the reactor optimizing variable(s). In
such cases, one should either use more expensive equipment in the design (e.g., a coolant with a freezing
temperature instead of cooling water),to be able to enforce
that profile to the reactor, or add constraints on the
optimization and then use cheaper equipment. The
decision on what to do depends on the equipment cost
and the profit from the high-quality product.
In every design, there are uncertain parameters, e.g.,
feed or ambient conditions,which may vary widely during
the plant operation. It is always a major design objective
to ensure that the chemical plant has the required
flexibilitytooperateoveragivenrangeof parametervalues.
The study of operational flexibility or static resiliency for
F,*(t) = -
A
where yonis the vector of nominal values of the uncertain
parameters in the outer system (e.g., ambient temperature,
coolant temperature, heat transfer coefficient) and 6y0 is
the vector of the deviations of the uncertain parameters
from their nominal values.
Definition of Flexibility: Consider the outer system
described by eq 14 with the operation variables z ( t ) at
z*(t) Gz*(t;yf
by^), u as input, and "u as output:
[Et':']
3,(z*(t)+6z*(t;r,"+br,),"u(t),S(t),u(t)rP,,yon+Gy,)
Y(t) = U ( t )
(15)
The designed outer system will be flexible, if the input/
output system described by eq 15 is invertible at Y(t) =
"u*(t)and the corresponding u(t) lies within the bounds
imposed by the design for ally E Q,. Here, y is the vector
+ 6yolT,
of all uncertain parameters, i.e., y = 171"+ Gy~Iyo~
and Q, is the set of all possible values of y.
In order to determine the actual set of parameter values
y, for which the optimal conditions z * ( t ) and U * ( t )are
feasible (for a f i e d design),the following parametric region
of feasibility is defined
Y1
Figure 6. (a, top) Parametric feasible region of operation a,, for a
fixed design. (b, middle) Feasible parameter set. (c, bottom)
Infeasible parameter set.
conditions.
L8?i = 1,...,np
L,,are the safety
s,(Z+(t),Pl+(t)s+(t))5
5 z+(t) -< P d ,
...,
...,
[Lg1L7-lhi(x)... LgmL7-'hi(x)1 [O
...
01
where
n
a(L;-lhi(x))
)=I
axj
L:hi(x)
fj(x),
V. Tune the parameters Bik, K,,, and TI, [see e.g., the
tuning guidelines given in Soroush and Kravaris (1992a)l.
In the case that a state variable is not measured on-line
a state observer should be utilized (Daoutidis et al., 1991;
Soroush and Kravaris, 1992b).
10. Checking Servo and Regulatory Performance
and Robustness of the Controller. In this step, the
performance of the controller is examined through simulations, to ensure that the controller is able to (a) force
the system to track the optimal output yi*(t), (b) reject
the effect of disturbances, and (c) be insensitive to
modeling errors and unwanted changes in feed quality
and environmental conditions, accidental error in loading,
etc. Substep c is very crucial since batch reactors do not
have long periods of steady-state operation with the luxury
of time for on-line controller tuning, and exothermic
reactions have the potential for dangerous runaway. The
design engineer will often have to assess control system
robustness before actual implementation (Hugo, 1980).
This robustness evaluation can be done through simulations. Moreover, optimal operation of the reactor also
depends on how well the controller can perform in the
above sense. Unsatisfactory performanceof the controller
may result in serious deterioration of the product quality.
The satisfactory performance of the controller in the
senses (a) and (b) can be attained by proper tuning of the
controller parameters and then examination of its performance through simulations. For satisfactoryrobustness
of the controller, the controller should be sufficiently
detuned.
Conclusions
rl
I
J
+
minimize J = K(z(tf),W(t,),T( tr),tf,z(0),W(O),~(O))
S,L(z(t),W(t),B(t),u(t))
dt
subject to
(overall system)
uj, 5 u j ( t )Iujh, j = 1,..., q
g,,(z(O),~(O),v(O),O)
= 0, go E R
(initial constraints)
g;(z(t,),U(tf),v(t,),t,)= 0, gf E R
(terminal constraints)
to calculate the optimal manipulated input profiles
ul*(t), ..., um*(t),the optimal loading conditions z*(O),
W*(O), arid ~*(0),
and the optimal terminal time tf*.
(11) In general, use open-loop control: varying the
manipulated inputs ul, ..., urnaccording to ul*(t),...,
u,*(t), respectively.
Acknowledgment
Financial support from the National ScienceFoundation
through Grant CTS-8912836 is gratefully acknowledged.
Nomenclature
A = species A (reactant)
A = heat-transfer area of H/C equipment, m2
with respect
variables e*@),
which minimize J, is the global (absolute)
minimizer of Hamiltonian H which is defined by (for the
problem of eq 8):
and
where uk's and oh's are constant parameters, and the initial
and terminal constraints are
These initial and terminal constraints and the above
transversality conditions eqs A.2-A.4 provide 2p conditions
for the solution of the dynamic optimization problem of
eq 8. Based on the minimum principle of Pontryagin
(Pontryagin, 1962)' a first-order necessary condition for
optimality is that the derivative of the Hamiltonian H
with respect to the optimizing variables ?
must
l be zero
along the optimal trajectory,
for the cases when Ui*(t) # iCi1 and "Ui*(t)# Uih, for all
t E [O,tfl. Generally,the optimal profiles of the optimizing
variables Vi*@)must satisfy the inequality:
Literature Cited
Anderson, E. Specialty Chemicals are Mixed Bag for Growth. Chem.
Eng. News 1984,June 4,20-25.
Birewar, D. B.; Grossmann, I. E. Incorporating Scheduling in the
Optimal Design of Multiproduct Batch Plants. Comput. Chem.
Eng. 1989,13,141-161.
Bryson, A. E.; Ho, Yu-Chi. Applied Optimal Control; Hemisphere:
New York, 1975;pp 216-232.
Daoutidis, P.; Soroush, M.; Kravaris, C. Dynamic Output Feedback
Control of Multivariable Nonlinear Processes. Presented at the
AIChE Annual Meeting, Los Angeles, CA, 1991;paper no. 149b.
Faqir, N. M.; Karimi, I. F. Optimal Design of Batch Plants with
Single Production Routes. Znd. Eng. Chem. Res. 1989,28,11911202.
Fisher, W. R.; Doherty, M. F.; Douglas, J. M. The Interface between
Design and Control. 1. Process Controllability. Znd. Eng. Chem.
Res. 1988a,27,597-605.
Fisher, W. R.;Doherty, M. F.; Douglas, J. M. The Interface between
Design and Control. 2. Process Operability. Znd. Eng. Chem.
Res. 1988b,27,606-611.
Fisher, W. R.;Doherty, M. F.; Douglas, J. M. The Interface between
Design and Control. 3. Selecting a Set of Controlled Variables.
Znd. Eng. Chem. Res. 1988c,27,612-615.