Abstract
The present research activity is aimed at demonstrating the feasibility of dynamic realtime optimization (D-RTO) on the industrial scale. Some well-established and fieldproven tools, such as ROMeo for real-time optimization (RTO) and DynSim for
dynamic simulation, are combined with very performing solvers for differential systems
(BzzMath library) and specific methods (multiple shooting) to obtain a full-integrated
solution for D-RTO. A steam-cracking furnace is selected as validation case: the
SPYRO-based dynamic simulation is developed using FORTRAN, C++, and
DynSim and it is integrated in ROMeo to perform the D-RTO. A quantitative
comparison between the traditional RTO and the D-RTO is also provided.
Keywords: Dynamic Optimization; ROMeo; DynSim; BzzMath; SPYRO.
1. Introduction
Process dynamic optimization is a challenging issue for many research groups of the
computer-aided process engineering community (Kadam et al., 2002; Tosukhowong et
al., 2004; Lang and Biegler, 2007; Manenti and Rovaglio, 2008; Dones et al., 2010)
with the need of finding at the same time efficient and robust solutions as well as of
ensuring its on-line feasibility for large-scale systems typical of process industry. In
addition, no well-established field-proven solutions are nowadays able to overcome the
traditionally strong inertia of process industries in implementing novel control and
optimization methodologies, apart from their relevant effectiveness and economical
benefits. From this perspective, it is not surprising that the process dynamic
optimization is still perceived as an academic concept rather than as an industrial one
and it seems to be far from a massive application by the field. The background above
summarizes the main reasons pushing us to exploit the best architecture and the
potential evolution of an existing, well-established, reliable, and widespread package
like ROMeo. This real-time optimizer is a commercial tool and field-proven in many
industrial applications such as oil refineries, gas plants or petrochemicals. The idea of
starting from ROMeo relies on the concept that, assembling and evolving a
commercial/reliable tools, will create an easier and more suitable transition to dynamic
real-time optimization applications (D-RTO) in the process industries.
F. Manenti et al.
control hierarchy (Busch et al., 2007). They are based on the moving horizon
methodology (Rawlings, 2000) and lead to multidimensional, constrained, nonlinear
programming (NLP) problems based on convolution models, often requiring specific
optimizers and differential solvers (Manenti et al., 2009; Buzzi-Ferraris and Manenti,
2010a). Differences between D-RTO and NMPC problems and the solution strategies
are summarized in many papers (Biegler and Grossmann, 2004). Very performing
solvers and the use of parallel computing are also explained elsewhere (Manenti et al.,
2009; Buzzi-Ferraris and Manenti, 2010a). The multiple shooting technique belonging
to the family of simultaneous methods is adopted in the present research activity.
3. Software integration
The kernel of the present research activity is to combine three worlds to achieve an
integrated and reliable tool for the D-RTO:
DynSim (Invensys): powerful dynamic simulator for a wide set of processes.
ROMeo (Invensys): package for RTO. ROMeo provides a complex and wellestablished architecture for the process optimization.
BzzMath library (Politecnico di Milano): a comprehensive numerical library to
significantly speed-up calculations, especially to integrate large-scale differentialalgebraic systems (Buzzi-Ferraris, 2010).
to which it is necessary to add a fourth point to set up the selected study to check the
industrial feasibility of the D-RTO and to validate the newborn integrated tool:
SPYRO (Pyrotec-Technip): a well-established tool to simulate the coil of the
radiant section of the steam cracking furnaces of olefins plants.
ROMeo
DYNSIM
BZZMATH
...
LARGE-SCALE
ALGEBRAIC SYSTEMS
BZ
ZM
AT
ROBUST and
EFFICIENT
OPTIMIZERS
LI
B
RA
RY
ODE/DAE and
PDE/PDAE SYSTEMS
NUMERICAL
SOLVERS
COT
Feed
RADIANT SECTION
Breeching
Olefins
Convection
Section
PV
OUT
High
Pressure
Steam
Steam
Coil Outlet
Temperature
(COT)
FC
Transfer Line
Exchanger (TLE)
>800C
400C
Main
Factionator
Temperature
Controller
TC
PV
Fuel
PV
Flowrate Ratio
SP
Controller
OUT
Air
Radiant
Section
Burners / Air Blowers
Figure 2. Half plan slice of a thermal cracking furnace (left-hand side); radiant section and related
control scheme considered for the D-RTO: PV stays for Process Variable, OUT stays for
controller OUTput; and SP stays for Setpoint (right-hand side).
F. Manenti et al.
5. Numerical results
An all-in-one tool for SPYRO-based smart dynamic simulation and optimization of
olefins plants is developed to check the D-RTO feasibility on a steam-cracking furnace.
It has required a complex programming activity. A mixed-language approach (BuzziFerraris and Manenti, 2010b) was adopted to implement the SPYRO, completely
written in FORTRAN, a coil model into the C++ dynamic model developed for
simulating the radiant section of the thermal furnace. The very performing solver of
differential-algebraic systems from BzzMath library was implemented to obtain an
efficient and stable (in the following smart) solution of the SPYRO-based dynamic
simulation. The smart solution was implemented in DynSim to avail from the userfriendly interface and component, properties, and thermo database of such a commercial
dynamic simulation suite. At last, the smart dynamic simulation was fully integrated
and synchronized into ROMeo environment by means of the multiple shooting
method. This step was possible thanks to the structure of OPERA solver currently
included in ROMeo and to the peculiarities of BzzDae solver from BzzMath library.
A short selection of numerical results is reported in Figure 3. A severity change is
imposed by the higher propylene price (current worldwide market situation). The
traditional RTO approach presents a marked instability in driving the furnace from the
initial condition to the optimized one. Also, the convergence towards the new optimal
point is significantly slower than the D-RTO optimal path. Moreover, the variations in
the fuel flowrate supplied to the furnace are so high throughout the RTO severity
change that overcomes the physical upper bound of 7000kg/h. Consequently, the RTO
must unavoidably perform a two-steps severity change (Figures 3e-3f) by significantly
prolonging the process transient.
1.05
1.1
TRADITIONAL
4 SHOOTS
0.95
C3H6/C2H4
CH4/C3H6
0.9
0.8
0.7
TRADITIONAL
4 SHOOTS
0.9
0.85
0.8
0.75
16, 32 SHOOTS
0.7
0.6
0.65
16, 32 SHOOTS
0.5
0.6
0
20
40
60
80
100
120
Time [min]
40
60
80
100
120
Time [min]
9000
9000
TRADITIONAL
TRADITIONAL
8000
8000
7000
FUEL FLOWRATE
FUEL FLOWRATE
20
4 SHOOTS
6000
5000
STARTING POINT
7000
4 SHOOTS
6000
5000
4000
4000
3000
3000
16, 32 SHOOTS
OPTIMUM
STARTING
POINT
16, 32 SHOOTS
OPTIMUM
2000
0.5
0.6
0.7
0.8
0.9
2000
0.6
1.1
5000
0.7
0.75
0.8
0.85
0.9
0.95
1.05
C3H6/C2H4 SEVERITY
4000
Traditional RTO
4500
3800
FUEL FLOWRATE
FUEL FLOWRATE
0.65
c d
CH4/C3H6 SEVERITY
4000
3500
3000
32-shoots D-RTO
2500
3600
3400
32-shoots D-RTO
3200
2000
0
50
100
150
200
TIME [min]
250
3000
0
300
50
100
150
200
TIME [min]
250
300
Figure 3.
CH4/C3H6 (a) and
C3H6/C2H4 (b)
severity changes;
convergence
comparison
between the RTO
and the D-RTO
for CH4/C3H6 (c)
and C3H6/C2H4 (d)
severity changes;
comparison
between the fuel
flowrate supplied
using the RTO and
the D-RTO (e, f).
6. Conclusions
The present activity showed the industrial feasibility of the dynamic optimization (DRTO). Main benefits of D-RTO versus the traditional RTO have been discussed and
quantified, showing, for example, that D-RTO practically halves the off-spec during
process transients. Computational efforts required to solve the RTO and D-RTO are
practically comparable, by making even the D-RTO feasibility on the industrial scale.
Moreover, looking at the traditional inertia of process industries and oil refineries, no
visible changes to ROMeos user were introduced so as to preserve to current ROMeos
interface and to have an easy-to-use tool for the fast industrial application of D-RTO.
7. Disclaimer
ROMEO and DynSim are trademarks of Invensys Operations Management. SPYRO is a
registered product of Technip-Pyrotec, originally developed by Politecnico di Milano.
References
Biegler, L.T., & Grossmann, I.E., 2004, Retrospective on optimization. Computers & Chemical
Engineering 28(8), 1169-1192.
Busch, J., Oldenburg, J., Santos, M., Cruse, A., & Marquardt, W., 2007, Dynamic Predictive
Scheduling of Operational Strategies for Continuous Processes Using Mixed-logic Dynamic
Optimization. Computers & Chemical Engineering 31, 574-587.
Buzzi-Ferraris, G., & Manenti, F., 2010a, A Combination of Parallel Computing and ObjectOriented Programming to Improve Optimizer Robustness and Efficiency. Computer Aided
Chemical Engineering 28, 337-342.
Buzzi-Ferraris, G. (2010). BzzMath: Numerical library in C++. Politecnico di Milano,
http://chem.polimi.it/homes/gbuzzi.
Buzzi-Ferraris, G., & Manenti, F., 2010b, Fundamentals and Linear Algebra for the Chemical
Engineer: Solving Numerical Problems. Wiley-VCH, Weinheim, Germany.
Dente, M., Pierucci, S., Ranzi, E., & Bussani, G., 1992, New Improvements in Modeling Kinetic
Schemes for Hydrocarbon Pyrolysis Reactors. Chemical Engineering Science 47, 2629-2634.
Dones, I., Manenti, F., Preisig, H.A., & Buzzi-Ferraris, G., 2010, Nonlinear Model Predictive
Control: a Self-Adaptive Approach. Industrial & Engineering Chemistry Research 49(10),
4782-4791.
Kadam, J.V., Schlegel, M., Marquardt, W., Tousain, R.L., van Hessem, D.H., van der Berg, J., et
al., 2002, A Two-level Strategy of Integrated Dynamic Optimization and Control of Industrial
Processes - a Case Study. ESCAPE-12, The Hague, The Netherlands, 511-516.
Lang, Y.D., & Biegler, L.T., 2007, A Software Environment for Simultaneous Dynamic
Optimization. Computers & Chemical Engineering 31, 931-942.
Manenti, F., & Rovaglio, M., 2008, Integrated multilevel optimization in large-scale
poly(ethylene terephthalate) plants. Industrial & Engineering Chemistry Research 47(1), 92104.
Manenti, F., Dones, I., Buzzi-Ferraris, G., & Preisig, H.A., 2009, Efficient Numerical Solver for
Partially Structured Differential and Algebraic Equation Systems. Industrial & Engineering
Chemistry Research 48(22), 9979-9984.
Pierucci, S., Brandani, P., Ranzi, E., & Sogaro, A., 1996, An industrial application of an on-line
data reconciliation and optimization problem. Computers & Chemical Engineering 20, S1539S1544.
Rawlings, J.B., 2000, Tutorial Overview of Model Predictive Control. IEEE Control Systems
Magazine 20(3), 38-52.
Tosukhowong, T., Lee, J.M., Lee, J.H., & Lu, J., 2004, An Introduction to a Dynamic Plant-wide
Optimization Strategy for an Integrated Plant. Computers & Chemical Engineering 29(1), 199208.