Reference kinetic parameters of pyrolysis reactions [26].

## Abstract

Hydrocarbon steam cracking is the most important process for producing industrial chemicals such as olefin and aromatics. Steam cracking modelling and optimization is an effective way for increasing production and saving energy. In this chapter, multi-scale modelling and elementary reaction networks are established and used in the modelling and optimization of steam cracking. However, the large scale of the optimization model makes it difficult to obtain a solution. Thus, a surrogate coke thickness model for long-term steam cracking is proposed in this chapter to remove the connection between different periods of steam cracking process. By so doing, a parallel simulation can be used to accelerate optimization. An industrial case study showed optimization time to be significantly reduced from 17.78 hours to 2.08 hours using multi-period optimization with parallel simulation and the surrogate coke thickness model. It has been shown that a 0.62% increase in ethylene yield can be obtained via operating condition optimization, which demonstrates the effectiveness of the multi-scale steam cracking model and multi-period optimization with parallel simulation.

### Keywords

- Steam cracking
- multi-scale modelling
- elementary reaction network
- parallel simulation
- surrogate model

## 1. Introduction

Hydrocarbon steam cracking is the most important process for producing industrial chemicals such as olefin and aromatics. Mathematical models for steam cracking simulation have been studied for several decades and various models have been developed such as SPYRO [1] and COILSIM [2]. Meanwhile, the steam cracking model can be applied to the steam furnace design and optimization [3]. As various feedstock and furnaces are used in steam cracking, a more accurate and robust model is needed.

A mathematical model is a collection of relations among variables representing certain properties of a system, using equations and inequalities. By solving a model, one can predict the values of some properties of the system, given the values of some other properties, or predict the distributions of the values of some properties in particular domains, given certain boundary conditions. To meet the scientific and engineering demands in terms of revealing the characteristics of a system in-depth, a mathematical model may involve relations of properties at different scales of the system [4], referred to as a multi-scale model. The multi-scale model often consists of nonlinear equations and differential equations, and is not easy to solve. The information communication between scales is the key factor in multi-scale models [5]. In recent years, multi-scale modelling has been applied in all fields of chemical engineering such as thermodynamics, reaction engineering, polymer materials and CFD (computational fluid dynamics), among others. Multi-scale modelling is used in steam cracking models to reveal the nature of steam cracking and to establish a more accurate and robust model.

The kernel part of the steam cracking model is the reaction network. Researchers have developed various reaction models to describe the steam cracking process. There are three different types of reaction models: empirical models, molecular models and elementary reaction models. Empirical models use a large database of experimental results to regress a number of empirical correlations for the yields of the main products as a function of a number of easily measurable process variables [6]. Empirical reaction models need a large number of experiment data to render a regression. Once the feedstock or the furnaces change, the reaction model has to be re-established to obtain accurate simulation results. On the basis of empirical reaction models, molecular reaction models have been developed and frequently used [7-9], e.g., the Kumar reaction model [10]; 22 molecular reactions are involved in Kumar’s reaction model: one primary reaction and 21 secondary reactions. The primary reaction is shown as eq. (1). The selective coefficients of the primary reaction (_{1}_{10}) have been regressed from experimental data. If the feedstock or operating conditions change, the selective coefficients of the primary reaction should be regressed again.

Nowadays, elementary reaction models have been widely used to develop a more reliable and robust mathematical model. Since the pioneering work of Rice [11-13] there has been a general consensus about the elementary reaction mechanism. As the mathematical difficulties encountered for solving the detailed kinetic models can be overcome by the development of stiff solvers [14], detailed elementary reaction networks are widely used to accurately describe chemical processes in a wide range of process conditions and feedstock. Sundaram et al. [15] established a radical reaction model for the pyrolysis of simple paraffins, olefins and their mixtures. Scharfe et al. [16] established a radical reaction model for n-hexane pyrolysis. Joo et al. [17] established a radical reaction model for industrial naphtha cracking furnaces.

However, it has remained problematic to generate thousands of elementary reactions and to determine the reaction rate constants of these reactions until an automatic reaction network generation technique was studied. Today, computers are used not only to solve the simulation numerically, but also to generate the elementary reaction network, construct the model and calculate the kinetic parameters [2]. Many research groups have developed computer tools for automatically generating these mechanisms [18-23] such as RMG [24] and CRACKSIM [25]. The elementary reaction model is expected to be used in furnace design and operating condition optimization. However, the huge number of reactions in the elementary reaction network usually requires significant CPU time during simulation. Thus, the steam cracking simulation model has to be reduced before it can be used in operating condition optimization, in order to make real-time optimization (RTO) realistic.

There are multiple methods for creating model reduction. In terms of chemistry, quasi-steady-state approximation (QSSA) [26], reaction rate analysis [27] and reaction path analysis [28], among others, can be used to reduce a reaction model. In terms of mathematics, principle component analysis [29] and sensitivity analysis [30] can also be used. On the other hand, data driven methods can also be used in model reduction, for example, the black box model, a neural network [31] and PCA based ROMs [32]. Several assumptions can also be applied to help retain the mechanism at a manageable size. The most important assumption is the * μ*radical hypothesis, which assumes that bimolecular reactions can be neglected for radicals with more than five carbon atoms [33]. The latter are also referred to as

*radicals. Thus, the QSSA method can be applied to remove*μ

*radicals from the reaction network.*μ

A multi-scale model for the steam cracking process is established in this chapter. The multi-period steam cracking process is also studied in the context of the established multi-scale model. Coking is an unavoidable factor during the multi-period steam cracking process. Coking increases pressure drops in the reaction tube, decreases the coefficient of heat transfer between the furnace and tube, and most importantly, increases the outer-wall temperature of the tubes. If one of the tubes in the furnace reaches the maximum allowance temperature of the tube material, the furnace must be shut down to execute a decoking process, otherwise the tube will be destroyed. The operation conditions are generally maintained constant during the long-term steam cracking process. Thus, dynamic operating conditions need to be optimized using a detailed steam cracking model in order to achieve a higher profit. Abel et al. [34] used the SQP method to solve a real-time optimization problem in the olefins production process. Tarafder et al. [35] proposed a multi-objective optimization problem in the operation and design of a styrene manufacturing process. Li et al. [36] applied an artificial neural network (ANN) hybrid model in the operation optimization of a naphtha industrial cracking furnace. Gao et al. [3] used a new parallel hybrid algorithm combining NSGA-II with SQP on multi-objective optimization for the periodic operation of the naphtha pyrolysis process. However, due to the complexity of the elementary reaction model, the researchers did not use this reaction model in the optimization problem. In this chapter, an elementary reaction model is applied to the operating condition optimization problem to obtain a more reliable optimization result. Based on this, a surrogate coke thickness model is proposed to make multi-period optimization with parallel simulation possible.

The general idea of this chapter is outlined in Figure 1. The first step in the conceptual development of a detailed molecule-based model for a complex feedstock is to determine an accurate molecular representation of the feedstock. Then, a multi-scale steam cracking model is established following the feedstock prediction. Finally, operating condition optimization of multi-period steam cracking is carried out using the established multi-scale model.

This chapter is structured as follows. Section 2 offers a detailed discussion of the establishment of the multi-scale steam cracking model; a case study for naphtha steam cracking simulation is presented. Section 3 provides the operating condition optimization model; surrogate coke thickness model and parallel simulation are used to accelerate the computing of the optimization model. A case study of operating condition optimization is presented and the results are presented and discussed. Finally, section 4 offers conclusions from this study.

## 2. Steam cracking model

### 2.1. Multi-scale model for steam cracking

A multi-scale model is proposed in this chapter to reveal the nature of the steam cracking process and to generate a reliable and robust model for accurately predicting the yields of products. The multi-scale model is built up from the molecular level, to the reaction level to the process level. The establishment of the multi-scale model is discussed in detail in the following sections.

Feedstock composition prediction

Conventional analytical techniques are generally incapable of directly measuring the identities of all the molecules in complex feedstock, especially for the high carbon number range; however, this applies only to indirect characteristics [37]. Here, the Shannon entropy method [38] and probability density function were used to predict detailed feedstock composition, based on the analytical data. A detailed model for feedstock composition prediction can be found in [39]. The objective function of this NLP (non-linear programming) problem is shown in eq. (2), where * S(x)*is Shannon entropy and

x

_{i}is the mole fraction of component

*.*i

Figure 2 shows the predicted feedstock composition using Shannon entropy, compared with the experimental data. The predicted results show the effectiveness of the Shannon entropy theory in obtaining the missing information for models of the steam cracking process.

Process-level model

A process-level model consists of mass balance equations, momentum balance equation and energy balance equation (eqs. (3-5)) [40, 41]. For the simulation of smooth tubular reactor types, the use of a one-dimensional reactor plug-flow model is generally recognized as providing a sufficient degree of accuracy, as all radical profiles are wiped out due to the high turbulence corresponding to Reynolds numbers of over 250 000. The plug-flow reactor model implicitly assumes that there is no mixing in the axial direction, but rather, perfect mixing in the transverse direction [2].

In eq. (3), _{m}is the concentration of species * m*and

*is the length of the reactor tube.*L

*is the flow area,*S

*is the volume flow rate,*V

μ

_{im}is the stoichiometric coefficient of reaction

*and*i

r

_{i}is the reaction rate of reaction

*. In eq. (4),*i

*is the pressure of the mass flow,*P

*is the Fanning friction factor,*f

E(L)=L

_{e}

*,*/L

L

_{e}is the equivalent length of the reactor tube,

*is the mass flow rate,*G

D

_{i}is the internal diameter of the tube and

*is the density of the gas mixture. In eq. (5),*ρ

*is the temperature of the mass flow,*T

D

_{o}is the outer diameter of the tube,

*is the overall heat transfer coefficient,*k

T

_{w}is the outer wall temperature of the tube,

ΔH

_{fm}

^{0}is the standard heat of formation of species

*and*m

c

_{pm}is the specific heat of species

*.*m

It should be noted that the measuring point of the COT (coil-outlet temperature) of an industrial furnace is usually on the outer wall of the tube. Thus, the measured COT has a temperature difference from the outlet temperature of the gas mixture. Eq. (6) has been derived from heat balance equations in order to adjust to the temperature difference; the results show that there exists a 15-20K temperature difference, which agrees well with what has previously been reported.

In eq. (6), _{isolation}is the heat transfer coefficient of the isolation layer. _{isolation_o}is the outer wall temperature of the isolation layer, _{o}is the external diameter of the tube, _{i}is the interior diameter of the tube, _{isolation}is the thickness of isolation layer, _{coke}is the thickness of coke and _{mixture}is the heat transfer coefficient of the gas mixture in the tube.

Reaction-level model

The reaction model is the most important part of the steam cracking model. Many researchers have conducted in-depth studies on the elementary reaction model. An elementary reaction model can contain thousands of reactions and hundreds of species. The reaction model can be extremely hard to solve due to its stiffness. An accurate and robust elementary reaction model is developed in this chapter, and a Gear algorithm is used to solve the stiff ODEs. Generally, a detailed reaction network is generated by allowing the feedstock components to react according to different reaction families. The reaction families can be summarized as follows: (1) initiation reaction and termination reaction: _{1}_{2}_{1}_{2}* ∙*; (2) hydrogen abstraction reaction:

R

_{1}

—H+R

_{2}

R

_{1}

∙+R

_{2}

*; (3) radical addition and*—H

*-scission reaction:*β

R

_{1}

∙+R

_{2}

=R

_{3}

R

_{1}

—R

_{2}

—R

_{3}

*.*∙

The hydrocarbon steam cracking elementary reaction network can be separated into several sub-models. based on the composition of feedstock as shown in Figure 3. The sub-models are generated separately, based on the reaction families described above.

An elementary reaction model for light hydrocarbon can be found in much of the literature and databases, and it is more accurate than the automatic generated elementary reaction model. Thus, the elementary model for steam cracking is separated into two parts: a light hydrocarbon and heavy hydrocarbon reaction model (carbon number greater than five). The light hydrocarbon reaction model is generated using RMG [24]. RMG considers each species as unique and comprising a set of molecular structural isomers. When a reaction network is generated using RMG, it need not consider all the isomers in the real steam cracking process; instead, only a set of representative species are considered during the generation of a reaction network. The heavy reaction model is combined using different reaction models of pure compound feedstock and each reaction model is generated from the reaction families. The reaction coefficients can be obtained from the summary of experimental data (Table 1) in the work of Dente et al. [26]. The heavy hydrocarbon reaction model was generated using our own code.

The automatic generated reaction network may contain a large number of unimportant reactions and species. These reactions can increase the complexity of the model and make the model hard to solve. Thus, reaction model reduction is needed following the automatic model generation. The QSSA method is introduced first to remove the * μ*radicals in the reaction network [33]. As eq. (6) shows, the reaction rate of

*radicals can be treated as zero, based on the assumption.*μ

_{3}-Csec | |||

5×10^{16}exp(-83,500/RT) | 5×10^{16}exp(-81,000/RT) | 5×10^{16}exp(-80,000/RT) | 5×10^{16}exp(-78,000/RT) |

Primary H-atom | Secondary H-atom | Tertiary H-atom | |

Primary radical | 10^{8}exp(-13,500/RT) | 10^{8}exp(-11,200/RT) | 10^{8}exp(-9,000/RT) |

Secondary radical | 10^{8}exp(-14,500/RT) | 10^{8}exp(-12,200/RT) | 10^{8}exp(-10,000/RT) |

Tertiary radical | 10^{8}exp(-15,000/RT) | 10^{8}exp(-12,700/RT) | 10^{8}exp(-10,500/RT) |

1-4 H-transfer | 1-5 H-transfer | 1-6 H-transfer | |

Primary radical | 10^{11}exp(-20,600/RT) | 1.58×10^{10}exp(-14,500/RT) | 3.16×10^{9}exp(-19,500/RT) |

Secondary radical | 10^{11}exp(-21,600/RT) | 1.58×10^{10}exp(-15,500/RT) | 3.16×10^{9}exp(-20,500/RT) |

Tertiary radical | 10^{11}exp(-22,100/RT) | 1.58×10^{10}exp(-16,000/RT) | 3.16×10^{9}exp(-21,000/RT) |

Primary radical | Secondary radical | Tertiary radical | |

10^{14}exp(-30,000/RT) | 10^{14}exp(-31,000/RT) | 10^{14}exp(-31,500/RT) | |

Methyl radical | Secondary radical | Tertiary radical | Alkyl radical |

exp(-2,500/RT) | exp(1,500/RT) | exp(2,500/RT) | 0.316×exp(8,000/RT) |

Thus, eq. (8) can be derived from eq. (7):

In eq. (8), _{j}is the rate of direct formation of * j*-radical,

k

_{i,j}is the rate constant for the isomerization reaction (

R

_{i}

R

_{j}) and

k

_{dj}is the total rate constant for the decomposition reactions of

R

_{j};

*radicals are reduced using eq. (8). The number of species included in the model is decreased.*μ

Reaction rate analysis is used to reduce the unimportant reactions in the reaction network. The average reaction rate in the reaction network reflects the importance of the reaction in the network. Thus, we can rank the reactions based on the average reaction rate and reduce the reactions where the reaction rate is less than _{min}[44].

The flowchart of the automatic generation and reduction of the reaction network is shown in Figure 4.

Molecular-level model

The physical properties of some species (radical, non-common substances, etc.) involved in the model are difficult to obtain from databases. The physical properties of these species can be calculated using the group contribution method [42]. RMG also supplies a thermochemistry estimates utility using the group contribution method and was used in our model to automatically calculate the physical properties of these species.

CH3J+CH3J | 8.26E+17 | -1.4 | 1 | BUT-2+C2H5J | 3.36E+12 | 0 | 12.39 |

CH3J+C2H5J | 1.37E+13 | 0 | 0 | BUT-1+HJ | 1.40E+04 | 2.36 | 1.11 |

C2H5J+C2H5J | 1.15E+13 | 0 | 0 | BUT-2+HJ | 2.60E+06 | 2.38 | 2.8 |

C2H5J+HJ | 1.00E+14 | 0 | 0 | BUT-1+C3H7J | 1.94E+02 | 2.96 | 6.79 |

C2H4+HJ | 1.55E+14 | 0 | 2.8 | BUT-2+C3H7J | 1.72E+12 | 0 | 12.29 |

C2H6+HJ | 2.27E+08 | 1.75 | 7.51 | BUT-1+C3H7J | 3.12E-04 | 4.31 | 3.39 |

HJ+HJ | 1.09E+11 | 0 | 1.5 | BUT-2+C3H7J | 3.36E+12 | 0 | 12.39 |

C3H7J+HJ | 2.00E+13 | 0 | 0 | BUT-1+C2H3J | 5.11E+00 | 3.59 | 5.06 |

CH3J+C3H7J | 6.64E+14 | -0.57 | 0 | BUT-2+C2H3J | 4.64E+13 | 0 | 7.5 |

C3H8+C2H5J | 3.08E+03 | 2.66 | 10.1 | BUT-1+C4H7J | 3.12E-04 | 4.31 | 3.39 |

C3H8+HJ | 1.60E+08 | 1.69 | 4.78 | BUT-2+C4H7J | 3.36E+12 | 0 | 12.39 |

C3H6+HJ | 2.01E+13 | 0 | 2.1 | C4H7J | 2.82E+08 | 1.28 | 27.89 |

C3H7J+HJ | 1.00E+14 | 0 | 0 | C4H7J+BUT-1 | 3.12E-04 | 4.31 | 3.39 |

CH3J+C3H7J | 3.37E+13 | 0 | 0 | C2H3J+C2H3J | 7.23E+13 | 0 | 0 |

C2H4+CH3J | 1.94E+13 | 0 | 9 | C4H6+HJ | 5.70E+13 | 0 | 4.3 |

C3H8+C2H5J | 3.95E+03 | 2.71 | 12.91 | C4H6+HJ | 7.42E+13 | 0 | 1 |

C3H8+HJ | 3.77E+08 | 1.75 | 7.51 | C3H5J+HJ | 5.00E+13 | 0 | 0 |

C3H6+HJ | 1.18E+13 | 0 | 3.8 | C3H5J+CH3J | 1.00E+13 | 0 | 0 |

C3H7J+C3H8 | 3.08E+03 | 2.66 | 10.1 | C3H6+CH3J | 2.41E+02 | 2.92 | 7.16 |

C3H7J | 1.94E+10 | 0.89 | 35.78 | C3H6+C2H5J | 1.01E-04 | 4.75 | 4.13 |

C2H6+CH3J | 1.67E+06 | 1.9 | 11.04 | C3H6+HJ | 1.30E+06 | 2.38 | 2.8 |

C3H8+CH3J | 1.67E+06 | 1.9 | 11.04 | C3H6+C3H7J | 8.61E+11 | 0 | 12.29 |

C3H8+CH3 | 2.90E+06 | 1.77 | 8.53 | C3H6+C3H7J | 1.01E-04 | 4.75 | 4.13 |

HJ+CH3J | 1.93E+14 | 0 | 0.27 | C3H6+C2H3J | 2.32E+13 | 0 | 7.5 |

HJ+CH4 | 1.22E+08 | 1.87 | 10.59 | C3H6+C4H7 | 1.01E-04 | 4.75 | 4.13 |

C2H3J+HJ | 5.36E+14 | 0 | 0.98 | C3H5J+BUT-1 | 3.12E-04 | 4.31 | 3.39 |

C2H3J+CH3J | 7.23E+13 | 0 | 0 | C3H5J+BUT-2 | 3.47E+13 | 0 | 21.39 |

C2H3J+C2H5J | 1.00E+13 | 0 | 0 | C4H7J+C2H3J | 1.00E+13 | 0 | 0 |

C2H3J+CH4 | 5.36E+14 | 0 | 13.69 | C3H5J+C3H5J | 1.00E+13 | 0 | 0 |

C2H3J+C2H6 | 5.30E+04 | 2.44 | 5.5 | C4H6+CH3J | 1.46E+13 | 0 | 5.7 |

C2H3J+H2 | 8.98E+12 | 0 | 10.3 | C2H4+C3H5J | 1.43E+12 | 0 | 14.39 |

C2H3J+C3H8 | 1.02E+03 | 3.1 | 8.82 | C5H9 | 3.32E+08 | 1.1 | 29.39 |

C2H3J+C3H8 | 9.30E+04 | 2.44 | 5.5 | C4H9J+H | 1.00E+14 | 0 | 0 |

C4H7J+HJ | 1.00E+14 | 0 | 0 | n-C4H10+CH3 | 1.67E+06 | 1.9 | 11.04 |

BUT-1+CH3J | 8.34E+05 | 1.9 | 11.04 | C4H9J+C2H6 | 1.93E-05 | 5.28 | 7.78 |

C4H7J+C2H6 | 1.93E-05 | 5.28 | 7.78 | C2H4+C2H5J | 3.98E+03 | 2.44 | 5.37 |

BUT-1+HJ | 1.88E+08 | 1.75 | 7.51 | n-C4H10+HJ | 3.77E+08 | 1.75 | 7.51 |

C4H7J+C3H8 | 3.08E+03 | 2.66 | 10.1 | BUT-1+HJ | 1.18E+13 | 0 | 3.8 |

C4H7J+C3H8 | 3.95E+03 | 2.71 | 12.91 | C4H9J+C3H8 | 3.08E+03 | 2.66 | 10.1 |

BUT-1+C2H3J | 4.65E+04 | 2.44 | 5.5 | C4H9J+C3H8 | 3.95E+03 | 2.71 | 12.91 |

C2H4+C2H3J | 4.18E+10 | 0 | 5.2 | n-C4H10+C2H3 | 9.30E+04 | 2.44 | 5.5 |

C4H7J+HJ | 5.00E+13 | 0 | 0 | n-C4H10+C4H7J | 3.95E+03 | 2.71 | 12.9 |

C4H7J+HJ | 5.00E+13 | 0 | 0 | C4H9J+BUT-1 | 3.12E-04 | 4.31 | 3.39 |

BUT-1+CH3J | 5.46E+13 | 0 | 10.39 | C4H9J+BUT-2 | 3.36E+12 | 0 | 12.39 |

BUT-2+CH3J | 4.82E+02 | 2.92 | 7.16 | C4H9J+C3H6 | 1.01E-04 | 4.75 | 4.13 |

BUT-1+C2H5J | 3.12E-04 | 4.31 | 3.39 |

### 2.2. Case study: Naphtha steam cracking model simulation

A light hydrocarbon reaction model was generated using RMG, which contained 91 reactions and 26 species (Table 2). A naphtha steam cracking reaction network was generated based on the light hydrocarbon network. The naphtha reaction network contained 2424 reactions and 125 species.

Thirteen sets of industrial data (Table 3) were used here to verify the established multi-scale steam cracking model. The industrial data were taken from a steam cracking furnace designed by KBR (Kellogg Brown & Root). The data were collected twice a day and each set of data was the average value of these two parallel experiments as a means for preventing any errors. The multi-scale steam cracking simulation took roughly 70s CPU time. The simulation results and the industrial data of the mass fraction of the main products are shown in Figure 5, where the x-axis represents the industrial data and y-axis represents the simulation results. All points in Figure 5 are around the 1:1 diagonal line, which shows that the error of most results were small. Thus, the established multi-scale model was defined as accurate and robust; it satisfies industrial needs and can be applied further in our study of operating conditions optimization.

## 3. Multi-period steam cracking optimization

### 3.1. Multi-period optimization model for steam cracking

Coking is an unavoidable factor in the long-term steam cracking process. During the steam cracking process, coke forms on the inner walls of the tube. With coke formation, the internal diameter of the tube decreases, pressure drops increase and outer wall temperature increases. It is generally accepted that coke forms from unsaturated hydrocarbons and aromatics [43]; on this basis, an empirical model for coke formation rate is proposed, as shown in eq. (9).

In eq. (9): 1=C_{2}H_{2}; 2=C_{2}H_{4}; 3=C_{3}H_{6}; 4=1-C_{4}H_{8}; 5=C_{4}H_{6}; 6=C_{6}H_{6}; 7=C_{7}H_{8}; 8=xylene; 9=C_{2}H_{3}-C_{6}H_{5}.

Steam cracking is a dynamic process, as coke grows inside the tube. However, coke formation is slow enough that we can divide the entire cracking period into a series of virtual steady state periods. Thus, the established multi-scale model can be used in each steady state period, with coke thickness updated between periods.

D15 | 0.7091 | 0.7106 | 0.7109 | 0.7099 | 0.7122 | 0.694 | 0.7099 | 0.6981 | 0.7109 | 0.6796 | 0.7121 | 0.7115 | 0.7109 | |

M | 94.1 | 94.76 | 94.68 | 94.29 | 94.31 | 94.43 | 94.6 | 93.67 | 94.74 | 95.26 | 95.26 | 95.41 | 94.83 | |

T | °C | 99.3 | 101.7 | 101.6 | 103.38 | 101.7 | 99.6 | 96.4 | 99 | 100.9 | 101.2 | 103.3 | 98.2 | 97 |

K | 12.45 | 12.45 | 12.45 | 12.48 | 12.41 | 12.71 | 11.17 | 12.64 | 12.44 | 13.02 | 12.44 | 12.4 | 12.39 | |

F | t/h | 6.3686 | 5.413 | 5.4166 | 6.0792 | 5.1948 | 5.2302 | 4.9632 | 4.9812 | 5.3286 | 5.397 | 5.3726 | 5.431 | 5.5722 |

W/O | t/t | 0.5 | 0.53 | 0.53 | 0.5 | 0.53 | 0.53 | 0.54 | 0.53 | 0.52 | 0.54 | 0.53 | 0.52 | 0.53 |

CIT | °C | 639.6 | 639.4 | 639.5 | 633.4 | 640.9 | 639.8 | 642.5 | 641.4 | 636.5 | 634.8 | 638.8 | 640.8 | 639.1 |

COT | °C | 871.6 | 867.6 | 867.2 | 872.6 | 865.6 | 869.2 | 865.8 | 861.6 | 865.4 | 863.4 | 868.4 | 865.8 | 867 |

CIP | Mpa | 0.366 | 0.314 | 0.312 | 0.345 | 0.641 | 0.303 | 0.292 | 0.289 | 0.302 | 0.312 | 0.311 | 0.313 | 0.326 |

COP | Mpa | 0.044 | 0.043 | 0.042 | 0.039 | 0.043 | 0.048 | 0.044 | 0.04 | 0.044 | 0.044 | 0.043 | 0.042 | 0.045 |

H_{2} | wt% | 1.07 | 0.99 | 1.09 | 1.10 | 0.99 | 1.07 | 0.87 | 1.01 | 0.93 | 1.15 | 1.19 | 1.06 | 1.15 |

CH_{4} | wt% | 16.55 | 15.62 | 16.73 | 16.83 | 15.39 | 16.73 | 13.90 | 15.76 | 15.15 | 18.09 | 18.80 | 16.98 | 17.64 |

C_{2}H_{4} | wt% | 30.65 | 28.62 | 29.59 | 30.03 | 28.57 | 30.52 | 29.23 | 28.45 | 30.91 | 30.64 | 30.82 | 30.55 | 29.56 |

C_{2}H_{6} | wt% | 3.79 | 3.44 | 3.54 | 3.56 | 3.34 | 3.64 | 3.49 | 3.69 | 3.61 | 3.63 | 3.65 | 3.68 | 3.60 |

C_{3}H_{6} | wt% | 16.13 | 17.38 | 16.51 | 16.09 | 14.88 | 14.95 | 15.72 | 16.95 | 17.22 | 15.89 | 16.50 | 17.08 | 16.72 |

C_{3}H_{8} | wt% | 0.90 | 1.74 | 0.87 | 0.82 | 0.83 | 0.69 | 0.99 | 0.88 | 1.53 | 0.96 | 1.05 | 1.21 | 1.17 |

C_{4}H_{6} | wt% | 6.02 | 6.13 | 6.09 | 6.03 | 5.74 | 5.76 | 5.51 | 6.06 | 5.63 | 5.62 | 5.80 | 5.57 | 5.48 |

N-C_{4}H_{8} | wt% | 1.41 | 1.59 | 1.70 | 1.54 | 1.40 | 1.31 | 1.46 | 2.07 | 1.38 | 1.37 | 1.43 | 1.58 | 1.57 |

I-C_{4}H_{8} | wt% | 2.66 | 2.83 | 2.98 | 2.70 | 2.38 | 2.32 | 2.57 | 3.18 | 2.79 | 2.67 | 2.88 | 3.09 | 3.09 |

others | wt% | 20.82 | 21.66 | 20.9 | 21.3 | 26.48 | 23.01 | 26.26 | 21.95 | 20.85 | 19.98 | 17.88 | 19.2 | 20.02 |

Operation condition optimization is carried out based on the multi-period process model. Coil outlet temperature (COT) is selected as the variable to be optimized. Thus, the COT of all time periods of the multi-period model is discretized as [_{1}_{2}_{n}].

The optimization model is summarized below.

Subject to:

In objective function (10), * M*is the number of considered species,

*is the period number,*N

ω

_{t}(

*=1, 2,...,*t

*) are weighted fractions based on the price of each species and*M

y

^{o}

_{j,t}is the mass fraction of selected species

*in products of period*j

*. Eqs. (11-13) describes mass balance, momentum balance and energy balance equations in period*t

*(*t

*=1, 2,...,*t

*). In eq. (14), the internal diameter of period*N

*+1*t

D

_{i,t+1}equals the internal diameter of the previous period

D

_{i,t}minus the coke layer thickness. In eq. (16), peak outer-wall temperature should not exceed the maximum temperature of the tube material. Eq. (17) shows that the adjacent COT difference is restricted to a certain region to keep the operation stable. Eq. (18) shows the upper and lower boundaries of optimization variables.

The optimization procedure is shown in Figure 6.

### 3.2. Surrogate coke thickness model

The most time-consuming part of the optimization is the simulation of the multi-period model. As Figure 6 shows, the only connection between adjacent periods is the coke thickness. Coke thickness is related to the feedstock component, furnace running time and operating conditions. As it has been assumed that the feedstock component is fixed between periods and only COT changes in operating conditions, as eq. (19) shows, then _{t}is the coke thickness in period * t*.

The accumulated coke thickness within a certain period _{t}is assumed to only be related to the furnace running time and _{t}(* t*=1, 2,...,

*-1), shown as eqs. (20) and (21).*N

Thus, _{t}in period * t*can be regressed using the polynomial function shown as eq. (20). Here, the coke thickness data is generated using the original multi-period simulation model and based on this, a surrogate coke thickness model is obtained through regression. The coke thickness using the surrogate model and original multi-period simulation model are shown in Figure 7. Dots in Figure 7 are coke thickness from the original multi-period simulation model and the surface is from surrogate model.

The coke thickness from the surrogate model fits well with the original model; thus, the decoupled multi-period cracking model, combined with the surrogate coke thickness model was used in the multi-period simulation. The initial coke distribution along the serial operation periods was carried out using the surrogate model. Thus, the multi-period simulation problem was decoupled into * N*sub-problems and simulated, respectively, in parallel, as shown in Figure 8.

### 3.3. Optimization with parallel simulation

Figure 8 shows optimization with a parallel simulation procedure using the surrogate coke thickness model.

In Figure 8, a surrogate coke thickness model is regressed from the results of the original multi-period model and the surrogate coke thickness model generates the coke thickness distribution for each period prior to the simulation. Once the surrogate model is regressed, the process for each period can be simulated in parallel. The simulation results are sent to the optimization model. If the criteria are satisfied, the optimization stops; if not, the optimization model generates a new set of COT and returns it to the simulation model.

There are several common types of parallel computing methods: phase parallel, divide and conquer parallel, pipeline parallel, master-slave parallel and work pool parallel methods. In this instance, the work pool parallel job partitioning method was used in the optimization. Simulation for one period can be treated as one job in the parallel simulation. All the jobs are stored in the work pool; processors fetch jobs from the work pool as long as the work pool is not empty. A detailed scheme for parallel simulation is shown in Figure 9.

In Figure 9, * NP*is the resources that can be used in a parallel simulation (

*=computer number×processor number for each computer) and*NP

*is the period number in the multi-period simulation. If*NJ

*, that means all jobs can be calculated in one iteration. Otherwise,*NP≥NJ

*jobs must be fetched from the work pool and be postponed until all processors are idle before the next iteration. Simulation will continue until the work pool is empty.*NP

Another benefit of using parallel simulation is a warm start. To accelerate the steam cracking simulation, iteration information is stored after the first simulation, which is called a warm start. If the iteration information is recorded, it can be used as an initial value in the next simulation for reducing CPU time. A comparison between a warm start for serial and parallel simulation is shown in Figure 10.

Iteration information for the most recent period is stored in serial simulation. The iteration information for each period is not entirely the same. Inconsistency of iteration information makes the simulation slow. In a parallel simulation, however, iteration information for each period can be stored. This delivers a faster simulation for each period.

### 3.4. Case study: Naphtha steam cracking model optimization

An industrial multi-period steam cracking instance was used as a case study. Input data is shown in Table 4. The detailed feedstock composition was calculated using the Shannon entropy method [39]. An elementary reaction model and optimization with parallel simulation was used in this case study. The computer used in this optimization had eight cores of i7-2600 CPU and 4GB memory.

The optimization results show a 0.62% ethylene increase compared to the invariant operating condition that was implemented in the practice. The comparison of the serial optimization results and optimization with parallel simulation results are shown in Figure 11 and Figure 12. It can be seen that the tendency of serial and parallel optimization results were the same. There was a high outlet temperature and high conversion of the major products in the beginning and intermediate periods, and the outlet temperature of final periods were rather low for reducing the coke formation and for avoiding a high outer-wall temperature.

Molecular weight | 95.26 | |||||||||

H/C | 2.11 | |||||||||

P | I | N | A | |||||||

PINA | 0.3096 | 0.3223 | 0.2856 | 0.0825 | ||||||

IBP | 10% | 30% | 50% | 70% | 90% | EBP | ||||

ASTM (°C) | 41.2 | 58.2 | 80.1 | 99.0 | 119.6 | 148.9 | 175.9 | |||

Feed rate (t/h) | 5.4 | |||||||||

Water/Oil (t/t) | 0.54 | |||||||||

Coil inlet temperature (°C) | 636.5 | |||||||||

Coil inlet pressure (Mpa) | 0.31 | |||||||||

Coil outlet pressure (Mpa) | 0.04 | |||||||||

Objective function | ||||||||||

Furnace runtime (day) | 50 | |||||||||

8 | ||||||||||

(°C)_{M} | 1000.0 | |||||||||

(°C) | 5.0 | |||||||||

(°C) | 855.0 | |||||||||

(°C) | 872.0 |

The error of parallel simulation compared to serial simulation is shown in Table 5.

The CPU time of serial optimization was 17.78hr, while the CPU time of parallel optimization was 2.08hr. There was a 8.55 x speedup compared with serial optimization, because parallel calculation and a warm start strategy were used. Thus, the operating conditions could be dynamically optimized to track the changing market conditions.

The error in optimization with the parallel simulation model was caused by the surrogate coke thickness model. In eq. (22),

The feedstock composition and operating conditions, except COT, were fixed. However,

Accumulate coke thickness in each period was related to the operating conditions of all previous periods. Eq. (23) is simplified as eq. (22) to make the model easier to regress and the error caused by the simplification is acceptable according to the error shown in Table 5.

_{2}H_{4} | _{3}H_{6} | ||||||||

1 | 872.00 | 872.00 | 0.00 | 32.13 | 32.13 | 0.01 | 16.54 | 16.54 | 0.00 |

2 | 872.00 | 872.00 | 0.00 | 32.22 | 32.24 | 0.05 | 16.55 | 16.55 | 0.00 |

3 | 872.00 | 872.00 | 0.00 | 32.31 | 32.36 | 0.14 | 16.57 | 16.57 | 0.01 |

4 | 872.00 | 872.00 | 0.00 | 32.42 | 32.48 | 0.21 | 16.59 | 16.59 | 0.02 |

5 | 872.00 | 872.00 | 0.00 | 32.56 | 32.65 | 0.27 | 16.58 | 16.56 | 0.14 |

6 | 872.00 | 872.00 | 0.00 | 32.70 | 32.84 | 0.44 | 16.55 | 16.49 | 0.34 |

7 | 870.58 | 871.38 | 0.09 | 32.84 | 33.02 | 0.54 | 16.46 | 16.40 | 0.34 |

8 | 865.58 | 866.38 | 0.09 | 32.89 | 33.07 | 0.54 | 16.31 | 16.22 | 0.52 |

9 | 860.58 | 861.38 | 0.09 | 32.98 | 33.09 | 0.35 | 16.11 | 16.04 | 0.39 |

10 | 855.58 | 856.38 | 0.09 | 33.11 | 33.09 | 0.04 | 15.87 | 15.88 | 0.07 |

Average error | - | - | 0.04 | - | - | 0.26 | - | - | 0.18 |

## 4. Conclusion

A multi-scale steam cracking model was established in this chapter. An elementary reaction network was generated to obtain a more accurate and robust model. The results showed that the established multi-scale model agrees well with the industrial data. A surrogate coke thickness model is thus proposed to make multi-period optimization with parallel simulation possible. A case study showed that multi-period optimization with parallel computing possesses an 8.55 x speedup compared to optimization with serial simulation. Parallel computing makes real-time optimization (RTO) possible in multi-period optimization. The average error of optimization using a parallel simulation model was 0.04% compared to optimization using a serial model. The error was deemed acceptable for the optimization of large-scale industrial steam cracking processes.

Optimization using the parallel computing method can also be used in other aspects of chemical processes. Due to the complexity of chemical processes, it is always difficult to conduct a simulation or optimization using a multi-scale model. The connections of different levels in a multi-scale model or different equipment in chemical process can be decoupled and transferred to a multiple sub-system model, which can be simulated in parallel. This method can bring powerful computing performance into play in chemical engineering.

## Acknowledgments

The authors gratefully acknowledge the financial support of the National Basic Research Programme (No. 2012CB720500) and the NSFC (No. 21306100).

## References

- 1.
Van Goethem, Marco et al. Equation-based SPYRO model and solver for the simulation of the steam cracking process. Computers & Chemical Engineering. 2001; 25(4): 905-911. - 2.
Van Geem, K. Single event microkinetic model for steam cracking of hydrocarbons. Ph.D. thesis. Ghent University; 2006. - 3.
Gao, X., Chen, B., He, X., Qiu, T., Li, J., Wang, C., Zhang, L. Multi-objective optimization for the periodic operation of the naphtha pyrolysis process using a new parallel hybrid algorithm combining NSGA-II with SQP. Computers & Chemical Engineering. 2008; 32 (11): 2801-2811. - 4.
Yang, A., Marquardt, W. An ontological conceptualization of multiscale models. Computers & Chemical Engineering. 2009; 33(4): 822-837. - 5.
Lucia, A. Multi-scale methods and complex processes: A survey and look ahead. Computers & chemical engineering. 2010; 34(9): 1467-1475. - 6.
Davis, H. G., Farrell, T. J. Relative and absolute rates of decomposition of light paraffins under practical operating conditions. Industrial & Engineering Chemistry Process Design and Development. 1973; 12(2): 171-181. - 7.
Sundaram, K. M., Froment, G. F. Modeling of thermal cracking kinetics-I: Thermal cracking of ethane, propane and their mixtures. Chemical Engineering Science. 1977; 32(6): 601-608. - 8.
Sundaram, K. M., Froment, G. F. Modeling of thermal cracking kinetics-II: Cracking of iso-butane, of n-butane and of mixtures ethane-propane-n-butane. Chemical Engineering Science. 1977; 32(6): 609-617. - 9.
Hirato, M., Yoshioka, S. Simulation of pyrolysis of naphtha, kerosene, and gas oil with a tubular reactor. International Chemical Engineering. 1973; 13(2): 347-355. - 10.
Kumar, P., Kunzru, D. Modeling of naphtha pyrolysis. Industrial & Engineering Chemistry Process Design and Development. 1985; 24(3): 774-782. - 11.
Rice, F. O. The thermal decomposition of organic compounds from the standpoint of free radicals. I. Saturated hydrocarbons. Journal of the American Chemical Society. 1931; 53(5): 1959-1972. - 12.
Rice, F. O., Herzfeld, K. F. The thermal decomposition of organic compounds from the standpoint of free radicals. VI. The mechanism of some chain reactions. Journal of the American Chemical Society. 1934; 56(2): 284-289. - 13.
Kossiakoff, A., Rice, F. O. Thermal Decomposition of Hydrocarbons, Resonance Stabilization and Isomerization of Free Radicals. Journal of the American Chemical Society. 1943; 65(4): 590-595. - 14.
Gear, C. W. The automatic integration of ordinary differential equations. Communications of the ACM. 1971; 14(3): 176-179. - 15.
Sundaram, K. M., Froment, G. F. Modeling of thermal cracking kinetics. 3. Radical mechanisms for the pyrolysis of simple paraffins, olefins, and their mixtures. Industrial & Engineering Chemistry Fundamentals. 1978; 17(3): 174-182. - 16.
Scharfe, M., Ederer, H. J., Stabel, U., Ebert, K. H. Modeling of n-hexane pyrolysis: experimental investigations in a flow reactor at normal pressure. German chemical engineering. 1985; 8(2): 119-129. - 17.
Joo, E., Park, S., Lee, M. Pyrolysis reaction mechanism for industrial naphtha cracking furnaces. Industrial & engineering chemistry research. 2001; 40(11): 2409-2415. - 18.
Battin-Leclerc, F. Development of kinetic models for the formation and degradation of unsaturated hydrocarbons at high temperature. Physical Chemistry Chemical Physics. 2002; 4(11): 2072-2078. - 19.
Warth, V., Battin-Leclerc, F., Fournet, R., Glaude, P. A., Côme, G. M., Scacchi, G. Computer based generation of reaction mechanisms for gas-phase oxidation. Computers & chemistry. 2000; 24(5): 541-560. - 20.
Broadbelt, L. J., Stark, S. M., Klein, M. T. Computer generated pyrolysis modeling: on-the-fly generation of species, reactions, and rates. Industrial & Engineering Chemistry Research. 1994; 33(4): 790-799. - 21.
Quann, R. J., Jaffe, S. B. Structure-oriented lumping: describing the chemistry of complex hydrocarbon mixtures. Industrial & engineering chemistry research. 1992; 31(11): 2483-2497. - 22.
Di Maio, F. P., Lignola, P. G. KING, a kinetic network generator. Chemical engineering science. 1992; 47(9): 2713-2718. - 23.
Hillewaert, L. P., Dierickx, J. L., Froment, G. F. Computer generation of reaction schemes and rate equations for thermal cracking. AIChE Journal. 1988; 34(1): 17-24. - 24.
Song, J., Raman, S., Yu, J., Wijaya, C. D., Stephanopoulos, G., Green, W. H. RMG: the Next Generation of Automatic Chemical Reaction Mechanism Generator. proceedings. 2003. In AIChE Annual Meeting. - 25.
Clymans, P. J., Froment, G. F. Computer-generation of reaction paths and rate equations in the thermal cracking of normal and branched paraffins. Computers & chemical engineering. 1984; 8(2): 137-142. - 26.
Ranzi, E., Dente, M., Goldaniga, A., Bozzano, G., Faravelli, T. Lumping procedures in detailed kinetic modeling of gasification, pyrolysis, partial oxidation and combustion of hydrocarbon mixtures. Progress in Energy and Combustion Science. 2001; 27(1): 99-139. - 27.
Turanyi, T., Berces, T., Vajda, S. Reaction rate analysis of complex kinetic systems. International Journal of Chemical Kinetics. 1989; 21(2): 83-99. - 28.
Ravikeerthi, T., Thyagarajan, R., Kaisare, N. S., Aghalayam, P. Microkinetic model for NO–CO reaction: Model reduction. International Journal of Chemical Kinetics. 2012; 44(9): 577-585. - 29.
Vajda, S., Valko, P., Turanyi, T. Principal component analysis of kinetic models. International Journal of Chemical Kinetics. 1985; 17(1): 55-81. - 30.
Turanyi, T. Applications of sensitivity analysis to combustion chemistry. Reliability Engineering & System Safety. 1997; 57(1): 41-48. - 31.
Bellamine, F. H., Elkamel, A. Model order reduction using neural network principal component analysis and generalized dimensional analysis. Engineering Computations. 2008; 25(5): 443-463. - 32.
Lang, Y. D., Malacina, A., Biegler, L. T., Munteanu, S., Madsen, J. I., Zitney, S. E. Reduced Order Model Based on Principal Component Analysis for Process Simulation and Optimization. Energy & Fuels. 2009; 23(3): 1695-1706. - 33.
Ranzi, E., Dente, M., Pierucci, S., Biardi, G. Initial product distributions from pyrolysis of normal and branched paraffins. Industrial & Engineering Chemistry Fundamentals. 1983; 22(1): 132-139. - 34.
Abel, O., Birk, J. Real Time Optimization of Chemical Processes with Application to Olefins Production. AUTOMATISIERUNGSTECHNIK. 2002; 50(12): 586-596. - 35.
Tarafder, A., Rangaiah, G. P., Ray, A. K. Multiobjective optimization of an industrial styrene monomer manufacturing process. Chemical Engineering Science. 2005; 60(2): 347-363. - 36.
Li, C., Zhu, Q., Geng, Z. Multi-objective particle swarm optimization hybrid algorithm: An application on industrial cracking furnace. Industrial & engineering chemistry research. 2007; 46(11): 3602-3609. - 37.
Klein, M. T., Hou, G., Bertolacini, R., Broadbelt, L. J., Kumar, A. Molecular modeling in heavy hydrocarbon conversions. CRC Press; 2010. - 38.
Shannon, C. E. A mathematical theory of communication. ACM SIGMOBILE Mobile Computing and Communications Review. 2011; 5(1): 3-55. - 39.
Zhang, L., Chen, B. Applications of Shannon's entropy theory to naphtha pyrolysis simulation. Chemical Engineering & Technology. 2012; 35(2): 281-286. - 40.
Jae Lee, W., Froment, G. F. Ethylbenzene dehydrogenation into styrene: kinetic modeling and reactor simulation. Industrial & Engineering Chemistry Research. 2008; 47(23): 9183-9194. - 41.
Xu Q., Chen, B., He, X. A fast simulation algorithm for industrial cracking furnaces. Hydrocarbon processing. 2002; 81: 65-68. - 42.
Constantinou, L., Gani, R. New group contribution method for estimating properties of pure compounds. AIChE Journal. 1994; 40(10): 1697-1710. - 43.
Kumar, P., Kunzru, D. Coke formation during naphtha pyrolysis in a tubular reactor. The Canadian Journal of Chemical Engineering. 1987; 65(2): 280-285. - 44.
Zhang, L. Radical Reaction Model Based Simulation and Optimization Method for Steam Cracking Process. Ph.D. thesis. Tsinghua University; 2014.