A method and system for reconstructing temperature field of furnace tubes of cracking furnace
Through the long short-term memory network based on the ethylene cracking mechanism model and the adaptive genetic algorithm, the infrared radiation map is used to reconstruct the furnace tube temperature field of the cracking furnace, which solves the problems of insufficient temperature measurement accuracy and missing data in the existing technology, and improves Improved precision and safety in ethylene production.
Patent Information
- Application Number
- CN202210799483.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-06
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2042-07-06
AI Technical Summary
Existing cracking furnace temperature measurement technology cannot accurately reflect the temperature distribution and gas residence time in the furnace tube, resulting in insufficient ethylene production accuracy and safety. Non-contact temperature measurement is difficult to achieve continuous online monitoring and is prone to data errors and missing data.
The long short-term memory network trained based on the ethylene cracking mechanism model and adaptive genetic algorithm is used to reconstruct the furnace tube temperature field through the infrared radiation spectrum, correct and supplement the temperature measurement data.
The accuracy and safety of ethylene production are improved. Through the accurate reconstruction of the furnace tube temperature field, data errors and missing data are reduced, and more accurate and real-time temperature monitoring is achieved.
Smart Images

Figure CN115165112B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of data detection and monitoring, and in particular to a method and system for reconstructing the temperature field of a furnace tube of a cracking furnace. Background Art
[0002] The cracking furnace is a device that makes hydrocarbons undergo cracking reactions to produce ethylene. In industry, the outlet temperature of the cracking furnace is often used as an indicator to control the cracking depth, but this indicator cannot reflect the temperature distribution and gas residence time in the cracking furnace. For the same raw material, even if the outlet temperature is the same, the cracking depth and product yield distribution may not be the same when the temperature distribution of the furnace is different or the residence time in the cracking furnace is different. After the cracking furnace has been in service for a period of time, a coking layer will form on the inner wall of the internal furnace tube, and the coking layer will continue to thicken, making the inner diameter of the furnace tube smaller, the residence time of the raw material reduced, and the pressure drop in the furnace tube increased. In addition, the heat transfer coefficient of the coking layer is much smaller than that of the furnace tube, which reduces the heat transfer efficiency of the furnace tube. To obtain the same cracking temperature, the furnace tube with a coking layer needs to increase the flue gas temperature in the furnace chamber. Therefore, accurate furnace tube temperature field information can make up for the lack of outlet temperature to reflect the cracking depth, and to a certain extent, it also reflects the coking condition of the furnace tube, providing reference information for safe production to the staff.
[0003] The temperature measurement technology of cracking furnace can be divided into contact temperature measurement and non-contact temperature measurement. Contact temperature measurement adopts the thermocouple element measurement method, which has high detection accuracy, but the temperature measurement result has a delay and can only measure the local temperature of the measured object, and cannot reflect the temperature field of the entire element. Non-contact temperature measurement uses radiation temperature measurement, which has a rapid temperature measurement response and a wide temperature measurement range (it can measure the temperature of moving objects); in addition, non-contact temperature measurement does not need to contact the measured object, so it will not destroy the temperature field of the measured target body, and is widely used in actual industrial production. However, non-contact temperature measurement uses a handheld infrared thermometer to detect the temperature in the furnace on site, which can only measure the temperature at a single point, and cannot achieve continuous and online monitoring, and is easy to miss. In order to improve the accuracy and real-time performance of temperature measurement, near-infrared thermal imaging technology and spectral analysis principles are currently widely used. According to the process requirements of the cracking furnace device, the temperature monitoring probe is installed in a suitable position to obtain a large range of furnace tube infrared radiation spectrum, which is sent to the computer for analysis and processing via optical cable. However, the detection probe still needs to be fixed at a specific position at a certain angle. For overlapping monitoring areas, there will be inconsistencies in the values between the detection probes. For occluded areas, data will be missing. Summary of the invention
[0004] The purpose of the present invention is to provide a method and system for reconstructing the temperature field of a furnace tube of a cracking furnace, which can reconstruct the temperature field of the furnace tube, thereby correcting and supplementing the furnace tube temperature measurement data with errors and omissions, thereby improving the accuracy and safety of ethylene production.
[0005] To achieve the above object, the present invention provides the following solutions:
[0006] A method for reconstructing a temperature field of a furnace tube of a cracking furnace, comprising:
[0007] Determine any furnace tube in the cracking furnace as the current furnace tube;
[0008] According to the infrared radiation spectra corresponding to the multiple monitoring probes at the current furnace tube, the points to be corrected and the standard points on the current furnace tube are divided to obtain a current set of points to be corrected and a current set of standard points;
[0009] Determine any point to be corrected in the current set of points to be corrected as the current point to be corrected;
[0010] The temperatures of the first preset number of standard points on the current furnace tube within the preset range from the current point to be corrected are obtained as a standard temperature group; the temperatures of the standard points are obtained from the infrared radiation spectrum;
[0011] The standard temperature group is input into the furnace tube temperature reconstruction model to obtain the reconstruction temperature of the current point to be corrected; the furnace tube temperature reconstruction model is based on the ethylene cracking mechanism model and is obtained by training the long short-term memory network using an adaptive genetic algorithm;
[0012] Update the current point to be corrected and return to step "obtaining the temperatures of the first preset number of standard points on the current furnace tube within the preset range from the current point to be corrected as the standard temperature group" until all points to be corrected on the current furnace tube are traversed.
[0013] Optionally, after updating the current point to be corrected and returning to the step of "obtaining the temperatures of the first preset number of standard points on the current furnace tube within a preset range from the current point to be corrected as a standard temperature group" until all points to be corrected on the current furnace tube are traversed, the method further includes:
[0014] Update the current furnace tube and return to step "divide the points to be corrected and the standard points on the current furnace tube according to the infrared radiation spectrum corresponding to the multiple monitoring probes at the current furnace tube to obtain the current set of points to be corrected and the current set of standard points" until all the furnace tubes in the cracking furnace are traversed.
[0015] Optionally, dividing the points to be corrected and the standard points on the current furnace tube according to the infrared radiation spectra corresponding to the multiple monitoring probes at the current furnace tube to obtain the current set of points to be corrected and the current set of standard points includes:
[0016] Obtain infrared radiation spectra corresponding to multiple monitoring probes at the current furnace tube;
[0017] Determine the set of measurement points corresponding to each infrared radiation spectrum on the current furnace tube;
[0018] Determine a union of a plurality of the measurement point sets as the total measurement point set;
[0019] Determine points on the current furnace tube other than the total set of measurement points as missing points;
[0020] Determine the error point on the current furnace tube according to the plurality of measurement point sets;
[0021] Determine the missing point and the error point as points to be corrected, and obtain a current set of points to be corrected;
[0022] Points on the current furnace tube other than the point to be corrected are determined as standard points to obtain a current standard point set.
[0023] Optionally, determining the error point on the current furnace tube according to the plurality of measurement point sets includes:
[0024] Determine any measurement point set as a first current measurement point set;
[0025] Determine any measurement point set other than the first current measurement point set as a second current measurement point set;
[0026] Determine the intersection of the first current measurement point set and the second current measurement point set as a current undetermined error point set;
[0027] Determine any point in the current pending error point set as the current pending error point;
[0028] Determine a first temperature of a current undetermined error point based on an infrared radiation spectrum corresponding to a first current measurement point set;
[0029] Determine a second temperature of the current undetermined error point based on the infrared radiation spectrum corresponding to the second current measurement point set;
[0030] Based on the first temperature and the second temperature, determining whether the current pending error point is an error point;
[0031] Update the current pending error point and return to the step of "determining the first temperature of the current pending error point based on the infrared radiation spectrum corresponding to the first current measurement point set";
[0032] Until the current pending error point set is traversed, the second current measurement point set is updated and the process returns to the step of "determining the intersection of the first current measurement point set and the second current measurement point set as the current pending error point set";
[0033] Until all measurement point sets other than the first current measurement point set are traversed, the first current measurement point set is deleted and the process returns to step "determining any measurement point set as the first current measurement point set" until the number of measurement point sets other than the first current measurement point set is 0, and the error point on the current furnace tube is obtained.
[0034] Optionally, determining whether the current undetermined error point is an error point based on the first temperature and the second temperature includes:
[0035] Determine whether the absolute value of the difference between the first temperature and the second temperature is greater than a temperature difference threshold, and obtain a determination result;
[0036] If the judgment result is yes, then determining the current pending error point as the error point;
[0037] If the judgment result is no, the current undetermined error point is determined to be the standard point.
[0038] Optionally, before determining any furnace tube in the cracking furnace as the current furnace tube, the method further includes:
[0039] Based on the geometric data of the cracking furnace, a cracking furnace geometric model is constructed;
[0040] The cracking furnace geometric model is meshed to obtain a meshed cracking furnace geometric model;
[0041] Applying the operating data of each furnace tube to the gridded cracking furnace geometry model;
[0042] The SIMPLE algorithm is used to solve the gridded cracking furnace geometry model with operating data to obtain the temperature distribution of each furnace tube;
[0043] A plurality of training temperature groups are constructed according to the temperature distribution of the furnace tube; the same training temperature group includes the temperatures of a second preset number of adjacent points on the same furnace tube.
[0044] Optionally, the second preset number minus the first preset number equals 1.
[0045] Optionally, before determining any furnace tube in the cracking furnace as the current furnace tube, the method further includes:
[0046] Constructing long short-term memory networks based on adaptive genetic algorithms;
[0047] Determine any temperature in the training temperature group as the target point temperature;
[0048] The temperatures of multiple non-target points in the training temperature group are used as inputs and the target point temperature is used as the expected output, and the long short-term memory network is trained to obtain the furnace tube temperature reconstruction model.
[0049] A furnace tube temperature field reconstruction system for a cracking furnace, comprising:
[0050] A current furnace tube determination module is used to determine any furnace tube in the cracking furnace as the current furnace tube;
[0051] A module for determining points to be corrected, for dividing the points to be corrected and the standard points on the current furnace tube according to the infrared radiation spectra corresponding to the multiple monitoring probes at the current furnace tube, and obtaining a current set of points to be corrected and a current set of standard points;
[0052] A current to-be-corrected point determination module is used to determine any to-be-corrected point in the current to-be-corrected point set as the current to-be-corrected point;
[0053] A standard temperature group determination module is used to obtain the temperatures of the first preset number of standard points on the current furnace tube within a preset range from the current point to be corrected as a standard temperature group; the temperatures of the standard points are obtained from an infrared radiation spectrum;
[0054] A reconstruction temperature determination module is used to input the standard temperature group into the furnace tube temperature reconstruction model to obtain the reconstruction temperature of the current point to be corrected; the furnace tube temperature reconstruction model is based on the ethylene cracking mechanism model and is obtained by training the long short-term memory network using an adaptive genetic algorithm;
[0055] The current point to be corrected updating module is used to update the current point to be corrected and call the standard temperature group determination module until all the points to be corrected on the current furnace tube are traversed.
[0056] Optionally, the system further includes:
[0057] The furnace tube updating module is used to update the current furnace tube and call the to-be-corrected point determination module until all the furnace tubes in the cracking furnace are traversed.
[0058] According to the specific embodiments provided by the present invention, the present invention discloses the following technical effects:
[0059] The invention provides a furnace tube temperature field reconstruction method and system for a cracking furnace, comprising determining any furnace tube in the cracking furnace as the current furnace tube; dividing the to-be-corrected points and standard points on the current furnace tube according to the infrared radiation spectrum corresponding to multiple monitoring probes at the current furnace tube to obtain a current to-be-corrected point set and a current standard point set; determining any to-be-corrected point in the current to-be-corrected point set as the current to-be-corrected point; obtaining the temperature of the first preset number of standard points on the current furnace tube within a preset range from the current to-be-corrected point as a standard temperature group; the temperature of the standard point is obtained from the infrared radiation spectrum; inputting the standard temperature group into a furnace tube temperature reconstruction model to obtain the reconstructed temperature of the current to-be-corrected point; the furnace tube temperature reconstruction model is based on an ethylene cracking mechanism model and is obtained by training a long short-term memory network using an adaptive genetic algorithm; updating the current to-be-corrected point and returning to the step of "obtaining the temperature of the first preset number of standard points on the current furnace tube within a preset range from the current to-be-corrected point as a standard temperature group" until all to-be-corrected points on the current furnace tube are traversed. The present invention constructs a furnace tube temperature reconstruction model based on an ethylene cracking mechanism model, an adaptive genetic algorithm and a long short-term memory network, and can reconstruct the furnace tube temperature field, thereby correcting and supplementing erroneous and missing furnace tube temperature measurement data, thereby improving the accuracy and safety of ethylene production. BRIEF DESCRIPTION OF THE DRAWINGS
[0060] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0061] Figure 1 This is a flow chart of a method for reconstructing the temperature field of a furnace tube of a cracking furnace in Example 1 of the present invention;
[0062] Figure 2 is a flow chart of a method for reconstructing the temperature field of a furnace tube of a cracking furnace in Example 2 of the present invention;
[0063] Figure 3 This is a schematic diagram of the structure of a cracking furnace in Example 2 of the present invention;
[0064] Figure 4 This is a schematic diagram of a furnace tube microelement segment in Example 2 of the present invention;
[0065] Figure 5 This is a schematic diagram of the mechanism model data-LSTM neural network in Example 2 of the present invention;
[0066] Figure 6 This is a schematic diagram of a bidirectional LSTM model in Example 2 of the present invention;
[0067] Figure 7 This is a flow chart of LSTM network training in Example 2 of the present invention;
[0068] Figure 8 This is a comparison diagram of the temperature reconstruction effects of multiple network models in Example 2 of the present invention;
[0069] Fig. 9 This is a schematic diagram of the fire viewing window in Example 2 of the present invention. DETAILED DESCRIPTION
[0070] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0071] The purpose of the present invention is to provide a method and system for reconstructing the temperature field of a furnace tube of a cracking furnace, which can reconstruct the temperature field of the furnace tube, thereby correcting and supplementing the furnace tube temperature measurement data with errors and omissions, thereby improving the accuracy and safety of ethylene production.
[0072] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.
[0073] Example 1
[0074] like Figure 1 This embodiment provides a method for reconstructing the temperature field of a cracking furnace tube, comprising:
[0075] Step 101: Determine any furnace tube in a cracking furnace as the current furnace tube.
[0076] Step 102: according to the infrared radiation spectra corresponding to the multiple monitoring probes at the current furnace tube, the points to be corrected and the standard points on the current furnace tube are divided to obtain a current set of points to be corrected and a current set of standard points.
[0077] Step 103: Determine any point to be corrected in the current set of points to be corrected as the current point to be corrected.
[0078] Step 104: obtaining the temperatures of the first preset number of standard points on the current furnace tube within a preset range from the current point to be corrected as a standard temperature group; the temperatures of the standard points are obtained from the infrared radiation spectrum.
[0079] Step 105: input the standard temperature group into the furnace tube temperature reconstruction model to obtain the reconstruction temperature of the current point to be corrected; the furnace tube temperature reconstruction model is based on the ethylene cracking mechanism model and is obtained by training the long short-term memory network using an adaptive genetic algorithm.
[0080] Step 106: Update the current point to be corrected and return to step 104 until all points to be corrected on the current furnace tube are traversed. Update the current furnace tube and return to step 102 until all furnace tubes in the cracking furnace are traversed.
[0081] Step 102 includes: obtaining infrared radiation spectra corresponding to multiple monitoring probes at the current furnace tube; determining the measurement point set corresponding to each infrared radiation spectrum on the current furnace tube; determining the union of multiple measurement point sets as the total measurement point set; determining the points on the current furnace tube other than the total measurement point set as missing points; determining the error points on the current furnace tube based on the multiple measurement point sets; determining the missing points and the error points as points to be corrected, and obtaining the current set of points to be corrected; determining the points on the current furnace tube other than the points to be corrected as standard points, and obtaining the current set of standard points.
[0082] Wherein, determining the error point on the current furnace tube according to multiple measurement point sets includes: determining any measurement point set as the first current measurement point set; determining any measurement point set outside the first current measurement point set as the second current measurement point set; determining the intersection of the first current measurement point set and the second current measurement point set as the current pending error point set; determining any point in the current pending error point set as the current pending error point; determining the first temperature of the current pending error point based on the infrared radiation spectrum corresponding to the first current measurement point set; determining the second temperature of the current pending error point based on the infrared radiation spectrum corresponding to the second current measurement point set; determining the current pending error point based on the first temperature and the second temperature. Determine whether the error point is an error point; update the current pending error point and return to the step "determine the first temperature of the current pending error point based on the infrared radiation spectrum corresponding to the first current measurement point set"; until the current pending error point set is traversed, the second current measurement point set is updated and the step "determine the intersection of the first current measurement point set and the second current measurement point set is the current pending error point set" is returned; until all measurement point sets outside the first current measurement point set are traversed, the first current measurement point set is deleted and the step "determine any measurement point set as the first current measurement point set" is returned until the number of measurement point sets outside the first current measurement point set is 0, and the error point on the current furnace tube is obtained. Specifically, based on the first temperature and the second temperature, determine whether the current pending error point is an error point, including: determine whether the absolute value of the difference between the first temperature and the second temperature is greater than the temperature difference threshold, and obtain a judgment result; if the judgment result is yes, determine the current pending error point to be an error point; if the judgment result is no, determine the current pending error point to be a standard point.
[0083] In addition, the method for reconstructing the temperature field of a cracking furnace tube provided in the present embodiment, before step 101, further includes: constructing a cracking furnace geometric model based on the geometric data of the cracking furnace; gridding the cracking furnace geometric model to obtain a grid cracking furnace geometric model; applying the operation data of each furnace tube to the grid cracking furnace geometric model; solving the grid cracking furnace geometric model with the operation data using the SIMPLE algorithm to obtain the temperature distribution of each furnace tube; constructing multiple training temperature groups according to the furnace tube temperature distribution; the same training temperature group includes the temperatures of the second preset number of adjacent points on the same furnace tube. Wherein, the second preset number minus the first preset number is equal to 1. Constructing a long short-term memory network based on an adaptive genetic algorithm; determining any temperature in the training temperature group as the target point temperature; using the temperatures of multiple non-target points in the training temperature group as input and the target point temperature as the expected output, training the long short-term memory network to obtain a furnace tube temperature reconstruction model.
[0084] Example 2
[0085] This embodiment is mainly divided into two parts. The first part is to model the ethylene cracking mechanism model using Ansys Fluent simulation software, and the second part is to input the data of the mechanism model into the constructed AGA-LSTM model for training. The operation process is as follows: Figure 2 .
[0086] 1. CFD method to build mechanism model
[0087] 1.1 Geometry model construction
[0088] To construct a geometric structure model, it is necessary to first analyze the structure of the model. Figure 3 Taking the H-115 ethylene cracking furnace of Maoming Petrochemical Company as an example, there are 4 groups of U-shaped furnace tubes installed inside, each group has 12 furnace tubes distributed side by side, and 12 burners are installed on both sides of the bottom of the furnace, for a total of 24. The fuel gas is injected from the burner to heat the furnace and discharged from the air outlet on one side above the furnace. Industrial data is obtained by intelligent infrared temperature measurement devices, such as Fig. 9 The temperature monitoring probe collects temperature information at each fire viewing window to obtain the overall temperature data of the furnace tube. At the same time, the temperature information of multiple furnace tubes can be monitored in the same fire viewing window. In order to obtain more accurate temperature data, it is necessary to obtain temperature information multiple times in the same fire viewing window and obtain the final furnace tube temperature information through the temperature calculation formula.
[0089] Considering that the full-scale three-dimensional numerical simulation of the mechanism model requires huge hardware resources and time costs, and the cracking furnace can be divided into four mutually symmetrical regions, that is, only one group of furnace tubes and their furnace area are modeled. The geometric structure model includes one-quarter of the furnace area of the cracking furnace, 6 bottom burners and a group (12) of furnace tubes. The structural parameters of the model are shown in Table 1.
[0090] Table 1 Model structure parameters
[0091]
[0092]
[0093] 1.2 Model Meshing
[0094] The geometric structure model only contains the structural information of the cracking furnace. In order to enable the model to simulate and calculate the input parameters, the model needs to be meshed.
[0095] The spatial geometric structure of the cracking furnace can be divided into four parts, including the furnace area, burner, furnace tube, and the internal area of the furnace tube. Ansys Fluent uses a general CFD solver, which is based on unstructured grids and finite volume methods. It divides the spatial area into many interconnected sub-areas, solves equations in each sub-area, and further derives the approximate solution of the entire spatial area through the solution of the sub-area.
[0096] Therefore, each solution area needs to be divided into multiple sub-areas, which are called grids. Since the metal thickness of the furnace tube is relatively small, in order to obtain more accurate furnace tube simulation values, the selected grid size also needs to be reduced accordingly, and the bottom area of the furnace tube is a curved tube structure with a certain curvature, which requires surface refinement. For the furnace area, it is mainly used to calculate the combustion process of fuel gas, the turbulence process of high-temperature flue gas, and the radiation process of high-temperature flue gas. These parameters indirectly affect the simulation value of the furnace tube. The grid can be selected to be larger in size, which can speed up the calculation of the model without affecting the accuracy of the model.
[0097] In the process of calculation and solution, the sizes of two adjacent grids need to be equal, otherwise gradient explosion will occur. Since the grids at the junction of the furnace and the furnace tube, and the furnace and the burner have a large size transition, the minimum allowable size of the furnace grid needs to be set to a value equivalent to the size of the furnace tube or burner grid.
[0098] 1.3 Simulation Training
[0099] The grid model is already calculable and various mechanism models can be set for it.
[0100] Turbulence model: The standard k-epsilon model is selected. This model assumes that the flow is completely turbulent and the influence of molecular viscosity can be ignored. It is suitable for simulating completely turbulent flow processes. Here it is used to simulate the turbulent process of high-temperature flue gas.
[0101] Radiation model: The Discrete Ordinate Method (DO) is used. This method discretizes the spatial area and angles to obtain multiple discrete spatial units and angles and solves the energy separately. It is used here to simulate the radiation heat transfer process of high-temperature flue gas.
[0102] Combustion model: The finite rate eddy dissipation model (Eddy-Dissipation Model, EDM) is selected, which not only takes into account the influence of reaction kinetics, but also the influence of turbulence on reaction rate. It is used here to simulate the combustion process of fuel gas.
[0103] Chemical reaction kinetics model: The Kumar cracking reaction kinetics model is selected. It not only publishes the detailed composition of the model and the values of relevant kinetic parameters, but also the calculation results are consistent with the laboratory test results and the actual industrial production situation. It is the basic molecular reaction model for studying the naphtha cracking process worldwide.
[0104] Since the combustion reaction of fuel gas is carried out in the furnace and the cracking reaction of cracking gas is carried out, the reaction mechanism and process model of the two are different, and the heat equation of the two parts inside and outside the furnace tube cannot be solved directly in Fluent. It is necessary to select SIMPLE algorithm (Simple algorithm from a geometric perspective) in the solver, solve the mathematical model of the furnace and the mathematical model of the furnace tube respectively, calculate the corresponding furnace tube temperature values respectively, and use the iterative trial and error method for coupled calculation. The solution process is as follows:
[0105] (1) Assume an initial temperature value T0 of the furnace tube metal;
[0106] (2) Calculate and solve the combustion, flow, and radiation processes of the fuel in the furnace to obtain the heat supply of the flue gas to the furnace tube;
[0107] (3) Calculate and solve the flow, cracking reaction, heat transfer, and mass transfer process of the furnace tube to obtain the new furnace tube metal temperature T i+1 , calculate T i and T i+1 The difference θ;
[0108] (4) Setting the threshold θ s , repeat steps (2)-(3) until their difference θ is less than θ s .
[0109] After iterative calculation, the ethylene cracking mechanism model was obtained, and the simulation operation parameters are shown in Table 2.
[0110] Table 2 Operation parameters
[0111]
[0112]
[0113] 2. Hybrid model calculation
[0114] 2.1 Input Data Analysis
[0115] The furnace tube is subdivided into multiple micro-element segments, such as Figure 4 , the heat supply Q of the furnace is t,i And the output of the infinitesimal segment i-1 is used as input, and the mechanism model equations are expressed as follows:
[0116] z i , T i =f(z i-1 , Q t,i ) (1)
[0117] Among them, z i is the set of cracking gas properties of micro-segment i; T i is the metal temperature of the furnace tube; i-1 is the set of cracking gas properties of micro-segment i-1.
[0118] like Figure 5 , LSTM neural network can store and update useful information in micro-element sequence data during the training process. Its model information is stored in the unit state, and the information is updated and output through the forget gate, input gate, and output gate.
[0119] The heat supply Q of each micro-element segment t,i and cracking gas properties z i Calculated by fluent simulation software, the furnace tube temperature T of each microelement segment is obtained through simulation calculation. j , so the network input X j That is T j :
[0120] X j =T j (2)
[0121] Before inputting data, it is also necessary to standardize the data, which can eliminate the impact of dimensions between features, make the feature data at the same order of magnitude, speed up the convergence of the model, and improve the accuracy of the model. The standardized expression is as follows:
[0122]
[0123] X j,norm is the network input data after standardization; max(X) is the maximum value of the network input data; min(X) is the minimum value of the network input data. This paper uses a bidirectional LSTM model, which obtains information from the forward and backward directions of the input data, improves the efficiency of the input data, and can correct the errors in the information. The network structure is as follows Figure 6 For the convenience of discussion and analysis, it is assumed that the furnace tube is divided into 2m+1 segments X i (i=1, 2, 3, ..., 2m+1) where X j (j=1, 3, 5, ..., 2m+1) are training samples, and training samples are measurable data points. Input X j is the furnace tube metal temperature T i .X k (k=2, 4, 6, ..., 2m) are test samples, and the test samples are data deviation points and missing points.
[0124] The first part (Part 1) is the input layer, input X j ;
[0125] The second part (Part2) is the LSTM layer. The input data is extracted through a bidirectional LSTM network to extract feature information, and the outputs of the two layers of the network are merged through a splicing operation.
[0126] The third part (Part 3) is the output layer, which consists of several fully connected layers, which converts the multi-dimensional feature information into the prediction result X we need. pred,k , X pred,k The information included is the furnace tube metal temperature.
[0127] 2.2 Optimizing network structure
[0128] AGA can be used to optimize the parameters of the LSTM network model. The optimization objects are the number of network layers and the number of hidden layer neurons of the LSTM and its output fully connected layer.
[0129] The first step is to establish a primary population, which consists of several chromosome individuals, each of which encodes the parameters of the optimized model. Establish a primary population containing n chromosomes, each chromosome is a solution, and the genes of the chromosome represent the structural parameters of the neural network. The primary population is represented as follows:
[0130]
[0131] Among them, POP is population; chrom is chromosome; l lstm is the number of LSTM layers; l fc is the number of fully connected layers; is the number of neurons in the i-th hidden layer of LSTM; is the number of neurons in the i-th hidden layer of the fully connected layer.
[0132] The second step is to build a network model with each chromosome of the population, train it with training samples, and calculate the fitness of each chromosome through the fitness function, which is used as an indicator of population update. The inverse of the mean square error (MSE) of the network model training process is selected as the fitness, which is expressed as follows:
[0133]
[0134]
[0135] Among them, fit i is the fitness of the i-th chromosome; loss is the mean square error of the training samples; N is the number of training samples; y i is the true value; is the predicted value.
[0136] The third step is that the contemporary population performs selection operations according to the fitness of the chromosomes using certain algorithmic rules, and then gene crossover and gene mutation operations between individuals occur. During the selection operation process, the probability of a chromosome being selected is expressed as follows:
[0137]
[0138] During the crossover and mutation process, the crossover rate and mutation rate of each chromosome will change according to its fitness. The update probability of chromosomes with high fitness will decrease, and on the contrary, the update probability of chromosomes with low fitness will increase. The crossover rate and mutation rate are the sum of their basic update rate and the update factor. Based on the basic update rate, the Gaussian distribution function is used to generate the update factor set, and then each update factor is assigned to the corresponding chromosome according to the fitness, which is expressed as follows:
[0139] r i,c =r base,c +τ(r base,c , fit i )(0<r i,c <1) (8)
[0140] r i,m =r base,m +τ(r base,m , fit i )(0<r i,m <1) (9)
[0141] Among them, r i,cis the crossover rate of the i-th chromosome; r i,m is the mutation rate of the i-th chromosome; r base,c is the basic crossover rate; r base,m is the basic mutation rate; τ is the update factor function.
[0142] The fourth step is to determine the end condition of the iteration of the population. The determination is based on the following:
[0143] (1) When the fitness of the optimal individual reaches a given threshold;
[0144] (2) The number of iterations reaches a preset number of generations;
[0145] If the iteration end condition is met, the optimal chromosome is obtained. The optimal network model is constructed by decoding the chromosome gene information. The model is trained and tested through the training set and the test set to obtain the final required model. The specific training process is as follows: Figure 7 shown.
[0146] If the end condition is not met, the process from the second to the fourth step is repeated using a new population.
[0147] Figure 8 The temperature reconstruction effects of this embodiment are compared with those of AGA-LSTM, bp network, rnn neural network and LSTM network. True is industrial data, and each network model can reconstruct the metal temperature field of the furnace tube to a certain extent. The result deviations of RNN and LSTM are slightly larger than those of other models, while AGA-LSTM can calculate the value of the temperature field more accurately.
[0148] Example 3
[0149] This embodiment provides a furnace tube temperature field reconstruction system for a cracking furnace, comprising:
[0150] The current furnace tube determination module is used to determine any furnace tube in the cracking furnace as the current furnace tube.
[0151] The module for determining points to be corrected is used to divide the points to be corrected and the standard points on the current furnace tube according to the infrared radiation spectra corresponding to the multiple monitoring probes at the current furnace tube, and obtain the current set of points to be corrected and the current set of standard points;
[0152] A current to-be-corrected point determination module is used to determine any to-be-corrected point in the current to-be-corrected point set as the current to-be-corrected point;
[0153] The standard temperature group determination module is used to obtain the temperatures of the first preset number of standard points on the current furnace tube within a preset range from the current point to be corrected as the standard temperature group; the temperatures of the standard points are obtained from the infrared radiation spectrum.
[0154] The reconstruction temperature determination module is used to input the standard temperature group into the furnace tube temperature reconstruction model to obtain the reconstruction temperature of the current point to be corrected; the furnace tube temperature reconstruction model is based on the ethylene cracking mechanism model and is obtained by training the long short-term memory network using an adaptive genetic algorithm.
[0155] The current point to be corrected updating module is used to update the current point to be corrected and call the standard temperature group determination module until all the points to be corrected on the current furnace tube are traversed.
[0156] The furnace tube update module is used to update the current furnace tube and call the to-be-corrected point determination module until all the furnace tubes in the cracking furnace are traversed.
[0157] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the system disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.
[0158] The principles and implementation methods of the present invention are described in this article using specific examples. The description of the above embodiments is only used to help understand the method and core idea of the present invention. At the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as limiting the present invention.
Claims
1. A method for reconstructing the temperature field of a cracking furnace tube, characterized in that: include: Determine any tube in the cracking furnace as the current tube; Dividing the points to be corrected and the standard points on the current furnace tube according to the infrared radiation patterns corresponding to the multiple monitoring probes at the current furnace tube to obtain a current set of points to be corrected and a current set of standard points; Determine any point to be corrected in the current set of points to be corrected as the current point to be corrected; Acquire the temperatures of the first preset number of standard points on the current furnace tube within a preset range from the current point to be corrected as a standard temperature group; The temperature of the standard point is obtained from the infrared radiation spectrum; Inputting the standard temperature group into the furnace tube temperature reconstruction model to obtain the reconstructed temperature of the current point to be corrected; the furnace tube temperature reconstruction model is based on the ethylene cracking mechanism model and is obtained by training the long short-term memory network using an adaptive genetic algorithm; Update the current point to be corrected and return to step "obtaining the temperatures of the first preset number of standard points on the current furnace tube within a preset range from the current point to be corrected as a standard temperature group" until all points to be corrected on the current furnace tube are traversed; The method of dividing the points to be corrected and the standard points on the current furnace tube according to the infrared radiation patterns corresponding to the multiple monitoring probes at the current furnace tube to obtain the current set of points to be corrected and the current set of standard points includes: Obtain infrared radiation patterns corresponding to multiple monitoring probes at the current furnace tube; Determine the measurement point set corresponding to each infrared radiation spectrum on the current furnace tube; Determine a union of a plurality of the measurement point sets as the total measurement point set; Determining points on the current furnace tube other than the total set of measurement points as missing points; Determine the error point on the current furnace tube according to the plurality of measurement point sets; Determine the missing point and the error point as points to be corrected, and obtain a current set of points to be corrected; Determine points on the current furnace tube other than the point to be corrected as standard points to obtain a current standard point set; Determining the error point on the current furnace tube according to the plurality of measurement point sets includes: Determining any measurement point set as a first current measurement point set; determining any measurement point set other than the first current measurement point set as a second current measurement point set; Determine the intersection of the first current measurement point set and the second current measurement point set as a current undetermined error point set; Determine any point in the current pending error point set as the current pending error point; Determining a first temperature of a current undetermined error point based on an infrared radiation spectrum corresponding to the first current measurement point set; Determining a second temperature of a current undetermined error point based on an infrared radiation spectrum corresponding to a second current measurement point set; determining, based on the first temperature and the second temperature, whether a current undetermined error point is an error point; Update the current pending error point and return to step "determining the first temperature of the current pending error point based on the infrared radiation spectrum corresponding to the first current measurement point set"; Until the current pending error point set is traversed, the second current measurement point set is updated and the process returns to step "determining the intersection of the first current measurement point set and the second current measurement point set as the current pending error point set"; After all measurement point sets other than the first current measurement point set are traversed, the first current measurement point set is deleted and the process returns to step "determining any measurement point set as the first current measurement point set" until the number of measurement point sets other than the first current measurement point set is 0, thereby obtaining the error points on the current furnace tube.
2. The method for reconstructing the temperature field of a cracking furnace tube according to claim 1, wherein: After updating the current point to be corrected and returning to the step of "obtaining the temperatures of the first preset number of standard points on the current furnace tube within a preset range from the current point to be corrected as a standard temperature group" until all points to be corrected on the current furnace tube are traversed, the method further includes: Update the current furnace tube and return to step "divide the points to be corrected and the standard points on the current furnace tube according to the infrared radiation patterns corresponding to the multiple monitoring probes at the current furnace tube to obtain a current set of points to be corrected and a current set of standard points" until all furnace tubes in the cracking furnace are traversed.
3. The method for reconstructing the temperature field of a cracking furnace tube according to claim 1, wherein: The determining, based on the first temperature and the second temperature, whether the current undetermined error point is an error point includes: Determine whether the absolute value of the difference between the first temperature and the second temperature is greater than a temperature difference threshold, and obtain a determination result; If the judgment result is yes, then determining the current undetermined error point as the error point; If the judgment result is no, the current undetermined error point is determined to be the standard point.
4. The method for reconstructing the temperature field of a cracking furnace tube according to claim 1, wherein: Before determining any tube in the cracking furnace as the current tube, the method further includes: Based on the geometric data of the cracking furnace, a cracking furnace geometric model is constructed; Performing mesh processing on the cracking furnace geometric model to obtain a mesh cracking furnace geometric model; Applying the operating data of each furnace tube to the gridded cracking furnace geometry model; The SIMPLE algorithm is used to solve the gridded cracking furnace geometry model with operating data to obtain the temperature distribution of each furnace tube; A plurality of training temperature groups are constructed according to the temperature distribution of the furnace tubes; the same training temperature group includes the temperatures of a second preset number of adjacent points on the same furnace tube.
5. The method for reconstructing the temperature field of a cracking furnace tube according to claim 4, wherein: The second preset number minus the first preset number equals 1.
6. The method for reconstructing the temperature field of a cracking furnace tube according to claim 4, wherein: Before determining any tube in the cracking furnace as the current tube, the method further includes: Constructing long short-term memory networks based on adaptive genetic algorithms; Determine any temperature in the training temperature group as the target point temperature; The long short-term memory network is trained with the temperatures of multiple non-target points in the training temperature group as input and the target point temperature as the expected output to obtain the furnace tube temperature reconstruction model.
7. A cracking furnace tube temperature field reconstruction system, characterized in that: The cracking furnace tube temperature field reconstruction system applies the cracking furnace tube temperature field reconstruction method according to any one of claims 1 to 6, and the cracking furnace tube temperature field reconstruction system includes: A current furnace tube determination module is used to determine any furnace tube in the cracking furnace as the current furnace tube; a module for determining points to be corrected, for dividing the points to be corrected and the standard points on the current furnace tube according to the infrared radiation patterns corresponding to the multiple monitoring probes at the current furnace tube, and obtaining a current set of points to be corrected and a current set of standard points; A current point to be corrected determination module is used to determine any point to be corrected in the current set of points to be corrected as the current point to be corrected; a standard temperature group determination module, configured to obtain the temperatures of the first preset number of standard points on the current furnace tube within a preset range from the current point to be corrected as a standard temperature group; the temperatures of the standard points are obtained from an infrared radiation spectrum; A reconstruction temperature determination module is used to input the standard temperature group into the furnace tube temperature reconstruction model to obtain the reconstruction temperature of the current point to be corrected; the furnace tube temperature reconstruction model is based on the ethylene cracking mechanism model and is obtained by training a long short-term memory network using an adaptive genetic algorithm; The current point to be corrected updating module is used to update the current point to be corrected and call the standard temperature group determination module until all points to be corrected on the current furnace tube are traversed.
8. The cracking furnace tube temperature field reconstruction system according to claim 7, characterized in that: The system further comprises: The furnace tube updating module is used to update the current furnace tube and call the to-be-corrected point determination module until all the furnace tubes in the cracking furnace are traversed.
