Storage, refining process flow segmentation simulation and optimization method, device and equipment
Through the segmented simulation method of the refining process, NMR spectra and mass transfer-reaction equations are used for direct simulation, which solves the error problems introduced by maintaining the consistency of physical property packages and data conversion in the existing technology, and improves the accuracy of refining process simulation. Accuracy and process optimization effects.
Patent Information
- Application Number
- CN202011115155.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-10-19
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2040-10-19
AI Technical Summary
In the existing refining process flow simulation scheme, due to the consistency maintenance of physical property packages and the introduction of multiple errors in data conversion, the accuracy of the simulation results is poor, which in turn affects the optimization effect of the process flow.
The refining process flow segmentation simulation method is used to obtain the nuclear magnetic spectrum of the raw oil products, generate physical property data, and generate mass transfer-reaction equations based on the device type and process parameters. The mass transfer-reaction solver is used for simulation to avoid experience The errors of formula fitting and mass transfer factors are ignored, and simulation results in the form of NMR spectra are directly generated.
It effectively reduces the error link, improves the accuracy of the refining process simulation and the effect of process optimization, and improves the calculation accuracy and robustness.
Smart Images

Figure CN114446397B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of chemical production, and in particular to a storage device, a refinery process flow segmentation simulation and optimization method, a device and equipment. Background Art
[0002] In the field of oil refining and chemical technology, process simulation methods are the theoretical basis for realizing applications such as process design, device optimization selection, and production optimization.
[0003] Existing process simulation software all adopt a unified architecture model, namely, physical property package-PFD modeling-iterative calculation. The physical property package is the basis of process simulation software. Existing software uses physical property equations based on pure components. The PR equation is usually used in the refining process calculation process, and the molar composition is used as the calculation basis. In each calculation process of process simulation, the components of the physical property package need to be consistent. However, for the refining process, complex oil hydrocarbon mixtures cannot be divided by pure components, and it is also difficult to determine the molecular weight to calculate the molar composition, and the error is large when switching the molar composition.
[0004] After research, the inventors found that in the prior art refining process simulation scheme, in order to make the data of the oil product streams actually produced, calibrated, tested and analyzed online in the industrial device consistent with the physical property package in the process simulation software, the actual detected data needs to be converted into virtual narrow-fraction physical property package components, which will introduce the first error; then, it is necessary to fit the narrow-fraction physical property package to other properties according to the empirical formula of the simulation system, thereby introducing the second error; then, because the empirical reaction kinetic model that ignores the influence of mass transfer factors is used for calculation in the process simulation environment, a third error will be introduced; finally, if the calculated results are to be applied to the industrial device, it is necessary to convert the logistics parameters in the process simulation software and system back into macroscopic, continuous production analysis data, thus introducing the fourth error.
[0005] As can be seen from the above, the prior art refining process simulation scheme introduces multiple errors, so the accuracy of the results is poor, which in turn leads to poor results when used for process optimization.
[0006] The information disclosed in this background technology section is only intended to enhance the understanding of the overall background of the invention and should not be regarded as an acknowledgment or any form of suggestion that the information constitutes the prior art already known to a person skilled in the art. Summary of the invention
[0007] The purpose of the present invention is to improve the accuracy of the results when simulating the refining process flow.
[0008] The present invention provides a method for simulating a refining process by segmentation, comprising the steps of:
[0009] S11, obtaining a raw material nuclear magnetic resonance spectrum of the raw oil product;
[0010] S12, generating raw material physical property data corresponding to the raw oil product;
[0011] S13. According to the upstream and downstream sequence of each device in the refining process, the process flow of each device is simulated in turn, including:
[0012] Generate a mass transfer-reaction equation corresponding to the device according to the device type and process parameters of the device in the refining process;
[0013] The device simulation result in the form of the nuclear magnetic spectrum of the raw material or the nuclear magnetic spectrum of the previous device is used as a characteristic vector of the oil property, and the characteristic vector and the mass transfer-reaction equation are used as input to generate the device simulation result in the form of the nuclear magnetic spectrum of the device through a mass transfer-reaction solver;
[0014] S14, performing physical property calculations according to the device simulation results of the device, and parsing the device simulation results in the form of nuclear magnetic resonance spectra into product physical property data of the device.
[0015] In the present invention, the device simulation result in the form of the nuclear magnetic spectrum of the raw material or the nuclear magnetic spectrum of the previous device is used as the characteristic vector of the oil property, and the characteristic vector and the mass transfer-reaction equation are used as input to generate the device simulation result in the form of the nuclear magnetic spectrum of the device through the mass transfer-reaction solver, including:
[0016] The characteristic vector in the form of a nuclear magnetic spectrum is used as a source term and is introduced into the mass transfer-reaction equation to calculate and generate the device simulation result in the form of a nuclear magnetic spectrum of the device.
[0017] In the present invention, the device simulation result in the form of the nuclear magnetic spectrum of the raw material or the nuclear magnetic spectrum of the previous device is used as the characteristic vector of the oil property, and the characteristic vector and the mass transfer-reaction equation are used as input to generate the device simulation result in the form of the nuclear magnetic spectrum of the device through the mass transfer-reaction solver, including:
[0018] According to the simulation settings, constraint parameters and setting parameters, the asynchronous iteration method is adopted to build a segmented process calculation matrix corresponding to the device based on the mass transfer-reaction equation of the device;
[0019] The calculation matrix of each segmented process is iterated and converged in turn according to the upstream and downstream order of each device in the refining process;
[0020] Finally, the whole process calculation convergence is determined. If it has not converged yet, the process returns to initialize the mass transfer-reaction equation and build the segmented process calculation matrix;
[0021] When the calculation result of the segmented process calculation matrix meets the preset convergence requirement, the device simulation result in the form of a nuclear magnetic resonance spectrum is generated.
[0022] The present invention also includes:
[0023] The segmented process calculation matrix is corrected by product property data and / or the spectrum data; the product property data is generated by analyzing the device simulation results in the form of nuclear magnetic resonance spectrum.
[0024] In the present invention, the step of generating raw material physical property data corresponding to the raw oil product includes:
[0025] According to the NMR spectrum of the raw material, the physical property data is calculated by using one of the mechanism model, empirical model, machine learning fitting model and deep learning fitting model and any combination thereof.
[0026] In the present invention, the step of generating raw material physical property data corresponding to the raw oil product includes:
[0027] Determining the type of the raw oil product;
[0028] The raw material physical property data of the oil product are calculated according to the oil type and the raw material nuclear magnetic resonance spectrum.
[0029] In the present invention, the step of determining the oil type of the raw oil product comprises:
[0030] Calculating preliminary physical property data of the raw oil product according to the raw material nuclear magnetic spectrum;
[0031] The oil type of the raw oil product is matched from a preset physical property model database according to the preliminary physical property data; the physical property model database includes the correspondence between the oil type and physical property data of multiple types of oil products.
[0032] In the present invention, the mass transfer-reaction equation corresponding to the device is generated according to the device type and process parameters of the device in the refining process, including:
[0033] According to the device type of the device, determining the corresponding basic mass transfer equation;
[0034] Calculate mass transfer parameters based on device size, media, catalyst and boundary conditions and substitute them into the basic mass transfer equation;
[0035] By converting the reaction kinetic parameters or directly using the preset reaction network and reaction kinetic parameters, the reaction equation is integrated with the basic mass transfer equation to generate a mass transfer-reaction equation corresponding to the device.
[0036] In the present invention, the mass transfer-reaction equation corresponding to the device is generated according to the device type and process parameters of the device in the refining process, including:
[0037] The reactor of the device may include a fixed bed reactor, a moving bed reactor or a fluidized bed reactor;
[0038] The axial diffusion, radial diffusion and radial convection terms in the mass transfer-reaction equation of the fixed bed reactor are taken as 0;
[0039] The radial diffusion and radial convection terms in the mass transfer-reaction equation of the moving bed reactor are taken as 0;
[0040] The radial diffusion term and radial convection term in the mass transfer-reaction equation of the gas-solid fluidized bed reactor are set to 0;
[0041] The values of each item in the mass transfer-reaction equation of the gas-liquid-solid fluidized bed reactor are not 0;
[0042] When the device is a container pipeline type equipment, the source item takes a value of 0.
[0043] In another aspect of the present invention, a method for optimizing a refining process is also provided. The method for optimizing a refining process is based on the above-mentioned refining process segmentation simulation method. The method for optimizing a refining process comprises the following steps:
[0044] S01. Using current process parameters as input, simulating the refining process flow according to the refining process flow segmentation simulation method, and generating reference simulation results;
[0045] S02. Determine the adjustment plan of process parameters according to the selected problem type;
[0046] S03, using the process parameters adjusted according to the adjustment plan as input, simulating the process flow of the refining process according to the refining process segmented simulation method, and generating comparative simulation results;
[0047] S04. Determine a composition scheme of optimal process parameters according to a comparison result between the reference simulation result and the comparative simulation result.
[0048] In another aspect of the present invention, a refining process flow segmentation simulation device is also provided, comprising:
[0049] A spectrum generation unit, used to obtain a raw material nuclear magnetic spectrum of the raw oil product;
[0050] A raw material property data unit, used to generate raw material property data corresponding to the raw oil product;
[0051] The simulation calculation unit is used to simulate the process flow of each device in turn according to the upstream and downstream sequence of each device in the refining process, including:
[0052] An equation generation module, for generating a mass transfer-reaction equation corresponding to the device according to the device type and process parameters of the device in the refining process;
[0053] A solving module, used for taking the device simulation result in the form of the nuclear magnetic spectrum of the raw material or the nuclear magnetic spectrum of the previous device as a characteristic vector of the oil property, taking the characteristic vector and the mass transfer-reaction equation as input, and generating the device simulation result in the form of the nuclear magnetic spectrum of the device through the mass transfer-reaction solver;
[0054] The analyzing unit is used to calculate the physical properties according to the device simulation results of the device, and analyze the device simulation results in the form of nuclear magnetic resonance spectra into product physical property data of the device.
[0055] In another aspect of the present invention, a memory is provided, comprising a software program, wherein the software program is suitable for a processor to execute the steps of the above-mentioned refinery process flow segmentation simulation method or the refinery process flow optimization method.
[0056] On the other hand, an embodiment of the present invention further provides a refining process flow segmentation simulation device, which includes a computer program stored in a memory, and the computer program includes program instructions. When the program instructions are executed by a computer, the computer executes the methods described in the above aspects and achieves the same technical effects.
[0057] Compared with the prior art, the present invention has the following beneficial effects:
[0058] In the prior art, a physical property package-PFD modeling-iterative calculation method is used to realize the simulation of the refining process. In order to maintain the consistency of the physical property package, multiple errors need to be introduced in the process of generating, converting and calculating the physical property data, resulting in poor accuracy of the final simulation results.
[0059] In the present invention, after generating a mass transfer-reaction equation corresponding to the device according to the device type and process parameters of the device in the refining process, the device simulation result in the form of the raw material nuclear magnetic spectrum or the nuclear magnetic spectrum of the previous device is used as the characteristic vector of the oil property; in this way, the characteristic vector and the mass transfer-reaction equation are used as input, and the device simulation result in the form of the nuclear magnetic spectrum of the device is generated by the mass transfer-reaction solver. Since the characteristic vector of the oil property transferred between the devices in the simulation of the refining process flow is data in the form of nuclear magnetic spectrum, not only the error generated when fitting other properties according to the empirical formula of the simulation system is avoided, but also the error caused by the calculation of the empirical reaction kinetic model that ignores the influence of mass transfer factors is avoided; therefore, the present invention can effectively reduce the links that introduce errors, and thus can effectively improve the accuracy of the simulation of the refining process flow.
[0060] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention and implement it according to the contents of the specification, and to make the above and other purposes, technical features and advantages of the present invention easier to understand, one or more preferred embodiments are listed below and described in detail with the accompanying drawings as follows. BRIEF DESCRIPTION OF THE DRAWINGS
[0061] Figure 1 It is a step diagram of the segmented simulation method of the refining process flow in the present invention;
[0062] Figure 2 It is a schematic diagram of the nuclear magnetic spectrum data of the raw oil described in the present invention;
[0063] Figure 3 It is a schematic diagram of the process simulation of the device described in the present invention;
[0064] Figure 4 It is a schematic diagram of the process flow of the ebullated bed residue oil hydrogenation device of the present invention;
[0065] Figure 5 It is a schematic diagram of simulation results in the form of NMR spectrum data of the product oil described in the present invention;
[0066] Figure 6 It is a schematic diagram of the structure of the segmented simulation device for the refining process described in the present invention;
[0067] Figure 7 It is a step diagram of the method for optimizing the refining process described in the present invention;
[0068] Figure 8 It is a schematic diagram of the structure of the segmented simulation equipment for the refining process described in the present invention. DETAILED DESCRIPTION
[0069] The specific implementation modes of the present invention are described in detail below in conjunction with the accompanying drawings, but it should be understood that the protection scope of the present invention is not limited by the specific implementation modes.
[0070] Unless explicitly stated otherwise, throughout the specification and claims, the term “comprise” or variations such as “include” or “comprising”, etc., will be understood to include the stated elements or components but not to exclude other elements or components.
[0071] In this document, the terms "first", "second", etc. are used to distinguish two different elements or parts, and are not used to limit a specific position or relative relationship. In other words, in some embodiments, the terms "first", "second", etc. can also be interchangeable.
[0072] Embodiment 1
[0073] In order to improve the accuracy of the simulation results of the refining process, such as Figure 1 As shown, in an embodiment of the present invention, a method for simulating a refining process flow segmentation is provided, comprising the steps of:
[0074] S11, obtaining a raw material nuclear magnetic resonance spectrum of the raw oil product;
[0075] In the embodiment of the present invention, firstly, a corresponding nuclear magnetic resonance spectrum is generated according to the raw oil product using nuclear magnetic resonance technology. In the embodiment of the present invention, the nuclear magnetic resonance spectrum generated according to the raw oil product can be referred to as a raw material nuclear magnetic resonance spectrum. The raw oil product in the embodiment of the present invention refers to the feed of the refinery, such as mixed crude oil, naphtha or gasoline and diesel.
[0076] In practical applications, the data required for segmented simulation of the refining process also include:
[0077] It includes the topological structure data of each device in the refining process, as well as the type of device, process parameters, operating parameters and stream parameters.
[0078] The upstream and downstream relationships of each device in the refining process can be determined through the topological structure data of each device.
[0079] S12, generating raw material physical property data corresponding to the raw oil product;
[0080] The physical properties of the raw oil products can be analyzed based on the raw material NMR spectrum, thereby generating the raw material physical property data of the raw oil products.
[0081] In practical applications, the type of raw oil product can be determined based on the raw material NMR spectrum, and then the required physical property model (such as mixed crude oil, naphtha, gasoline and diesel property model, etc.) can be determined. Then, the raw oil product can be analyzed for corresponding physical properties according to the corresponding physical property model to generate raw material physical property data. Specifically, the raw material NMR spectrum of the raw oil product can be obtained and then pattern matched with the physical properties of the oil product in the crude oil / product oil database to determine the type of oil; then the corresponding physical property model is called to perform physical property calculation to generate corresponding raw material physical property data. In the embodiment of the present invention, the physical property model is used to analyze the physical properties according to the NMR spectrum.
[0082] S13. According to the upstream and downstream sequence of each device in the refining process, the process flow of each device is simulated in turn, including:
[0083] The mass transfer-reaction equation corresponding to the device is generated according to the device type and process parameters of the device in the refining process, which may specifically include:
[0084] According to the device type of the device, the corresponding basic mass transfer equation is determined; that is, according to the preset process device model type, the basic mass transfer equation is established; then, the mass transfer parameters are calculated according to the device size, medium, catalyst and boundary conditions and substituted into the basic mass transfer equation; by converting the reaction kinetic parameters or directly using the preset reaction network and reaction kinetic parameters, the reaction equation is integrated with the basic mass transfer equation to generate a mass transfer-reaction equation corresponding to the device.
[0085] Using the device simulation result in the form of a raw material nuclear magnetic spectrum or a nuclear magnetic spectrum of a previous device as a characteristic vector of oil product properties, and using the characteristic vector and the mass transfer-reaction equation as input, generating the device simulation result in the form of a nuclear magnetic spectrum of the device through a mass transfer-reaction solver;
[0086] It should be noted that the first device of the entire refining process (assuming it is device A), when the process flow is simulated, the input data should be the raw material nuclear magnetic spectrum generated according to the raw oil product. Correspondingly, when the process flow is simulated for each subsequent device, the input data of each device is the device simulation result in the form of nuclear magnetic spectrum generated by the simulation calculation of the previous device. In the embodiment of the present invention, it is no longer necessary to fit the conversion step of other properties and other data according to the empirical formula of the simulation system, but the oil product properties in the form of nuclear magnetic spectrum are used as feature vectors in the simulation calculation of the process flow simulation of each device in the simulation refining process. Specifically, according to the upstream and downstream order of each device in the refining process (taking the upstream and downstream order as device A, device B, device C, device D... as an example), for a certain device (device B), the device simulation result in the form of nuclear magnetic spectrum obtained by the simulation calculation of its previous device (device A) can be used as the input data for the simulation calculation of device B; then, with the input data as a parameter, the process flow simulation of device B is realized through the mass transfer-reaction solver of device B, and then the device simulation result of device B is generated, and the device simulation result is also in the form of nuclear magnetic spectrum. The device simulation results in the form of NMR spectra of device B can be used as input data for the simulation calculation of the next device (device C), and so on, to achieve the simulation of the entire refining process.
[0087] In the embodiment of the present invention, the method of generating the device simulation result in the form of a nuclear magnetic spectrum of the device by the mass transfer-reaction solver may be: taking the characteristic vector in the form of a nuclear magnetic spectrum as the source term, bringing it into the mass transfer-reaction equation, and calculating and generating the device simulation result in the form of a nuclear magnetic spectrum of the device, which may specifically include:
[0088] The same mass transfer-reaction equation (as shown in Equation 1) is used for reactor, vessel and pipeline type devices (or process equipment)
[0089]
[0090] The left side of formula 1 is the instantaneous term, and the right side is axial diffusion, radial diffusion, axial convection, radial convection and source term in sequence; in the mass transfer-reaction equation of the reactor in formula 1, f is the nuclear magnetic spectrum data of the oil product, and the data format is as follows: Figure 2 As shown, it can be a vector of 500 to 3000 dimensions. In practical applications, the specific dimension of the NMR spectrum data can be determined according to the frequency and resolution of the NMR instrument; in Formula 1, S(f) is the source term, which represents the reaction conversion relationship between each peak of the NMR spectrum vector data f. The conversion relationship between the NMR peaks of different oil products can be obtained by calculating the source term S(f), and then the device simulation result in the form of the NMR spectrum of the product oil of the device (or process equipment) can be obtained.
[0091] In practical applications, when generating the mass transfer-reaction equation corresponding to the device according to the device type and process parameters of the device in the refining process, the following may be specifically included:
[0092] The reactor of the device may include a fixed bed reactor, a moving bed reactor or a fluidized bed reactor; the axial diffusion, radial diffusion and radial convection terms in the mass transfer-reaction equation of the fixed bed reactor are taken as 0; the radial diffusion and radial convection terms in the mass transfer-reaction equation of the moving bed reactor are taken as 0; the radial diffusion term and radial convection term in the mass transfer-reaction equation of the gas-solid fluidized bed reactor are taken as 0; the values of each term in the mass transfer-reaction equation of the gas-liquid-solid fluidized bed reactor are not 0; when the device is a container and pipeline type equipment, the source term is taken as 0.
[0093] Other types of reaction devices generate reaction equations based on the input or preset reaction network and kinetic parameters; for other reactor forms, the flow field can be solved by the fluid mechanics model, and the various coefficients can be obtained by fitting the residence time distribution curve to intelligently generate the mass transfer-reaction equation; the temperature change of the reactor is determined by the difference in the molar enthalpy of formation of the reactants and products, and the reaction exotherm is directly calculated by the change in the enthalpy of formation, and then the component temperature is calculated based on the heat capacity of each component; the discrete format of the partial differential equation can be the finite difference method, the finite element method and the finite volume method, preferably the finite volume method.
[0094] In the embodiment of the present invention, the sequential module method is used to simulate the entire refining process. The specific simulation steps may be:
[0095] S31. According to the simulation settings, constraint parameters and setting parameters, an asynchronous iteration method is adopted to build a segmented process calculation matrix corresponding to the device based on the mass transfer-reaction equation of the device; preferably, in an embodiment of the present invention, the segmented process calculation matrix can also be corrected according to the raw material physical property data and nuclear magnetic resonance spectrum data.
[0096] After generating the mass transfer-reaction equations for each device, it is necessary to build a calculation matrix for each device respectively; the calculation matrix is used to simulate the process flow of a single device and is part of the entire refining process. In the embodiment of the present invention, the calculation matrix is called a segmented process calculation matrix.
[0097] S32, performing self-iteration and convergence of the calculation matrix of each segmented process in sequence according to the upstream and downstream order of each device in the refining process;
[0098] S33, finally, the whole process calculation convergence is determined. If it has not converged yet, the process returns to the initialization of the mass transfer-reaction equation and the construction of the segmented process calculation matrix;
[0099] S34. When the calculation result of the segmented process calculation matrix meets the preset convergence requirement, the device simulation result in the form of a nuclear magnetic resonance spectrum is generated.
[0100] S14. Calculate physical properties based on the device simulation results of the device, and interpret the device simulation results in the form of nuclear magnetic resonance spectra into product physical property data of the device.
[0101] In the embodiment of the present invention, the process flow simulation of the device is similar to the process flow simulation of the overall refining process. The device can be further subdivided into multiple discrete units using the finite volume method; and each discrete unit (i.e. Figure 3 The characteristic peaks of the NMR spectrum vector in the microelement (in the microelement) are transferred and calculated to form the distribution of the NMR spectrum of the oil products inside the process equipment such as the reactor. The NMR spectrum is used throughout the entire calculation process. In this way, the conversion error between physical properties is avoided and the physical property data can be analyzed from the spectrum vector at any time with high accuracy. The calculation principle is as follows Figure 3 As shown:
[0102] By calculating the transfer and reaction conversion of the NMR spectrum, the process flow simulation of the device avoids the information loss caused by the transfer and conversion between conventional lumped components, and uses the NMR spectrum as a universal transfer variable; when the process flow simulation requires parameters such as physical property data, the physical property variables of the oil product can be analyzed by reading the characteristic information in the NMR spectrum; through the embodiments of the present invention, the four-order error introduced in the process flow simulation process in the prior art is reduced to only one-order error, thereby greatly improving the accuracy of the process flow simulation.
[0103] In practical applications, the method of analyzing and generating product physical property data based on the device simulation results in the form of nuclear magnetic resonance spectra can be specifically to calculate the physical property data based on the raw material nuclear magnetic resonance spectrum through one of the mechanism models, empirical models, machine learning fitting models and deep learning fitting models and any combination thereof.
[0104] In summary, in the embodiment of the present invention, after generating the mass transfer-reaction equation corresponding to the device according to the device type and process parameters of the device in the refining process, the device simulation result in the form of the raw material nuclear magnetic spectrum or the nuclear magnetic spectrum of the previous device is used as the characteristic vector of the oil property; in this way, the device simulation result in the form of the nuclear magnetic spectrum of the device is generated by the mass transfer-reaction solver with the characteristic vector and the mass transfer-reaction equation as input. Since in the embodiment of the present invention, the characteristic vector of the oil property transferred between the devices is data in the form of nuclear magnetic spectrum, not only the error generated when fitting other properties according to the empirical formula of the simulation system is avoided, but also the error caused by the calculation of the empirical reaction kinetic model that ignores the influence of mass transfer factors is avoided; therefore, the embodiment of the present invention can effectively reduce the links that introduce errors, and thus can effectively improve the accuracy of the simulation of the refining process.
[0105] In an example (Example 1) according to an embodiment of the present invention, a full process model of an ebullated bed residue oil hydrogenation unit was established. The process flow is as follows: Figure 4 As shown, the residual oil is mixed with new hydrogen and then enters the ebullated bed reactor for hydrocracking reaction after heat exchange. The generated oil enters the desulfurization device and the fractionation device in sequence after hot high fractionation, cold high fractionation and hot low fractionation flash evaporation to obtain products such as hydrogenated naphtha, hydrogenated diesel, hydrogenated vacuum wax oil and hydrogenated residual oil; the gas discharged from the cold high fractionation is purified by membrane separation and then pressurized by the compressor and returned to the reactor as circulating hydrogen; the tail gas from the membrane separation and ebullated bed reactor leaves the boundary area.
[0106] The calculation model of the fluidized bed reactor adopts a simplified one-dimensional mass transfer equation, that is, the radial diffusion and convection terms are 0; the NMR spectrum analysis of all process oil products is carried out using a 60MHz NMR data benchmark, and the data format is a 700-dimensional vector; the reaction kinetics adopts the first-order reaction Arrhenius equation.
[0107] The raw material properties and product distribution of Example 1 are shown in Table 1; the NMR spectra data of the raw material oil and product oil are shown in Figure 2 ;
[0108] Table 1
[0109]
[0110] The simulation results (product oil simulation results) in the form of NMR spectra calculated by the segmented simulation method of the refining process in the embodiment of the present invention are as follows: Figure 5 As shown; the product physical property data generated by analyzing the simulation results in the form of NMR spectrum are shown in Table 2;
[0111] Table 2:
[0112]
[0113] The above is a specific simulation result and an error value of the simulation result obtained in an example (Example 1) according to the segmented simulation method of the refining process in an embodiment of the present invention.
[0114] For comparison, the same application scenario of the full-process model of the boiling bed residue oil hydrotreating unit in Example 1 is used, and the same simulation process is performed using the Aspen HYSYS software commonly used in the prior art as a comparative calculation. The simulation results are shown in Table 3. This calculation uses a plug flow reactor, and the calculation process uses a 6-lumped reaction kinetic network.
[0115] Table 3:
[0116]
[0117]
[0118] It can be seen from the above that the method provided by the embodiment of the present invention not only has high calculation accuracy, but also has significantly higher robustness and calculation efficiency than existing commercial software.
[0119] Embodiment 2
[0120] In another aspect of the embodiment of the present invention, a device for simulating the segmentation of a refining process is also provided. Figure 6 The schematic diagram of the structure of the refining process flow segmentation simulation device provided by the embodiment of the present invention is shown. The refining process flow segmentation simulation device is Figure 1 The device corresponding to the segmented simulation method of the refining process described in the corresponding embodiment, that is, the virtual device is used to realize Figure 1 In the corresponding embodiment, the refining process flow segmentation simulation method and each virtual module constituting the refining process flow segmentation simulation device can be executed by an electronic device, such as a network device, a terminal device, or a server. Specifically, the refining process flow segmentation simulation device in the embodiment of the present invention includes:
[0121] Spectrum generation unit 01, used to obtain the raw material nuclear magnetic spectrum of the raw oil product;
[0122] Raw material physical property data unit 02, used to generate raw material physical property data corresponding to the raw oil product;
[0123] The simulation calculation unit 03 includes an equation generation module 31 and a solution module 32, which are used to simulate the process flow of each device in turn according to the upstream and downstream sequence of each device in the refining process, wherein:
[0124] An equation generation module 31 is used to generate a mass transfer-reaction equation corresponding to the device according to the device type and process parameters of the device in the refining process;
[0125] A solving module 32, for using the device simulation result in the form of the NMR spectrum of the raw material or the NMR spectrum of the previous device as a characteristic vector of the oil property, and using the characteristic vector and the mass transfer-reaction equation as input to generate the device simulation result in the form of the NMR spectrum of the device through the mass transfer-reaction solver;
[0126] The analyzing unit 04 is used to calculate the physical properties according to the device simulation results of the device, and analyze the device simulation results in the form of nuclear magnetic resonance spectra into product physical property data of the device.
[0127] Since the working principle and beneficial effects of the refining process flow segmentation simulation device in the embodiment of the present invention have been Figure 1 The corresponding refining process flow segmented simulation method is also recorded and explained, so they can be referenced with each other and will not be repeated here.
[0128] Embodiment 3
[0129] In another aspect of the embodiment of the present invention, a method for optimizing a refining process is also provided. The method for optimizing a refining process is based on the segmented simulation method of the refining process in the first embodiment. Figure 7 As shown, the refinery process optimization method in the embodiment of the present invention includes the following steps:
[0130] S01. Using current process parameters as input, simulating the refining process flow according to the refining process flow segmentation simulation method, and generating reference simulation results;
[0131] The refining process flow optimization method in the embodiment of the present invention is a specific application scheme of the refining process flow segmentation simulation method described in Example 1. That is to say, since the simulation results of the refining process flow segmentation simulation method in Example 1 are highly accurate, the simulation results can be used for optimizing the refining process flow.
[0132] In this step, by simulating the process flow with the current process parameters as input to generate a reference simulation result, on the one hand, it can be used as a reference simulation result to facilitate the comparison of simulation results after the subsequent optimization of process parameters. Preferably, the simulation result of this time can also be compared with the physical properties of the actual product oil to determine the accuracy and error coefficient of the current refining process flow segmentation simulation method, so as to facilitate the correction of subsequent simulation results.
[0133] S02. Determine the adjustment plan of process parameters according to the selected problem type;
[0134] S03, using the process parameters adjusted according to the adjustment plan as input, simulating the process flow of the refining process according to the refining process segmented simulation method, and generating comparative simulation results;
[0135] S04. Determine a composition scheme of optimal process parameters according to a comparison result between the reference simulation result and the comparative simulation result.
[0136] Since accurate simulation results can be obtained by using the process parameters adjusted by each adjustment scheme as input through the embodiments of the present invention, the optimal process parameter composition scheme can be conveniently determined by referring to the simulation results or by comparing different comparative simulation results.
[0137] It should be noted that the specific implementation method and technical effect of the refining process flow segmentation simulation method in the embodiment of the present invention can be referred to Figure 1 The corresponding segmented simulation method of the refining process will not be elaborated here.
[0138] Embodiment 4
[0139] In an embodiment of the present invention, a memory is further provided, wherein the memory includes a software program, and the software program is suitable for the processor to execute Figure 1 The corresponding steps in the segmented simulation method of the refining process flow.
[0140] The embodiments of the present invention can be implemented by means of a software program, that is, by writing a program for implementing Figure 1 The corresponding software program (and instruction set) for each step in the refining process flow segmentation simulation method is stored in a storage device, and the storage device is arranged in a computer device, so that the software program can be called by the processor of the computer device to achieve the purpose of the embodiment of the present invention.
[0141] Embodiment 5
[0142] In an embodiment of the present invention, a refining process flow segmentation simulation device is also provided. The memory included in the refining process flow segmentation simulation device includes a corresponding computer program product. When the program instructions included in the computer program product are executed by a computer, the computer can execute the refining process flow segmentation simulation method described in the above aspects and achieve the same technical effect.
[0143] Figure 8 Schematic diagram of the hardware structure of the refining process flow segmentation simulation device as an electronic device according to an embodiment of the present invention, such as Figure 8 As shown, the device includes one or more processors 610, a bus 630, and a memory 620. Taking one processor 610 as an example, the device may also include: an input device 640, and an output device 650.
[0144] The processor 610, the memory 620, the input device 640 and the output device 650 may be connected via a bus or other means. Figure 8 The example of connecting through bus is taken in the following.
[0145] The memory 620 is a non-transitory computer-readable storage medium that can be used to store non-transitory software programs, non-transitory computer executable programs, and modules. The processor 610 executes various functional applications and data processing of the electronic device by running the non-transitory software programs, instructions, and modules stored in the memory 620, that is, the processing method of the above method embodiment is implemented.
[0146] The memory 620 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data, etc. In addition, the memory 620 may include a high-speed random access memory, and may also include a non-transitory memory, such as at least one disk storage device, a flash memory device, or other non-transitory solid-state storage device. In some embodiments, the memory 620 may optionally include a memory remotely arranged relative to the processor 610, and these remote memories may be connected to the processing device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0147] The input device 640 can receive input digital or character information and generate signal input. The output device 650 can include a display device such as a display screen.
[0148] The one or more modules are stored in the memory 620, and when executed by the one or more processors 610, perform:
[0149] S11, obtaining a raw material nuclear magnetic resonance spectrum of the raw oil product;
[0150] S12, generating raw material physical property data corresponding to the raw oil product;
[0151] S13. According to the upstream and downstream sequence of each device in the refining process, the process flow of each device is simulated in turn, including:
[0152] Generate a mass transfer-reaction equation corresponding to the device according to the device type and process parameters of the device in the refining process;
[0153] The device simulation result in the form of the nuclear magnetic spectrum of the raw material or the nuclear magnetic spectrum of the previous device is used as a characteristic vector of the oil property, and the characteristic vector and the mass transfer-reaction equation are used as input to generate the device simulation result in the form of the nuclear magnetic spectrum of the device through a mass transfer-reaction solver;
[0154] S14, performing physical property calculations according to the device simulation results of the device, and parsing the device simulation results in the form of nuclear magnetic resonance spectra into product physical property data of the device.
[0155] In addition, in an embodiment of the present invention, a refining process flow optimization device is also provided. The memory included in the refining process flow optimization device includes a corresponding computer program product. When the program instructions included in the computer program product are executed by a computer, the computer can execute the refining process flow optimization method described in the above aspects and achieve the same technical effect.
[0156] The above product can execute the method provided by the embodiment of the present invention, and has the functional modules and beneficial effects corresponding to the execution method. For technical details not described in detail in this embodiment, please refer to the method provided by the embodiment of the present invention.
[0157] In the several embodiments provided by the present invention, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.
[0158] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0159] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0160] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage device, including several instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage device includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), ReRAM, MRAM, PCM, NAND Flash, NOR Flash, Memristor, disk or optical disk and other media that can store program codes.
[0161] As described above, the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features thereof may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A segmented simulation method for a refining process. It is characterized in that Includes steps: S11, obtaining a raw material nuclear magnetic resonance spectrum of the raw oil product; S12, generating raw material physical property data corresponding to the raw oil product; S13. According to the upstream and downstream sequence of each device in the refining process, the process flow of each device is simulated in turn, including: The mass transfer-reaction equation corresponding to the device is generated according to the device type and process parameters of the device in the refining process, including: According to the device type of the device, determining the corresponding basic mass transfer equation; Calculate mass transfer parameters based on device size, media, catalyst and boundary conditions and substitute them into the basic mass transfer equation; By converting reaction kinetic parameters or directly using a preset reaction network and reaction kinetic parameters, the reaction equation is integrated with the basic mass transfer equation to generate a mass transfer-reaction equation corresponding to the device; The same mass transfer-reaction equation is used for reactor, container and pipeline type devices or process equipment as shown in Equation 1: The left side of formula 1 is the instantaneous term, and the right side is axial diffusion, radial diffusion, axial convection, radial convection and source term respectively; f is the NMR spectrum data of the oil product; S (f) is the source term, which represents the reaction conversion relationship between each peak of the NMR spectrum vector data f; The reactor of the device includes a fixed bed reactor, a moving bed reactor or a fluidized bed reactor; The axial diffusion, radial diffusion and radial convection terms in the mass transfer-reaction equation of the fixed bed reactor are taken as 0; The radial diffusion and radial convection terms in the mass transfer-reaction equation of the moving bed reactor are taken as 0; When the fluidized bed reactor is a gas-solid fluidized bed reactor, the radial diffusion term and the radial convection term in the mass transfer-reaction equation are set to 0; When the fluidized bed reactor is a gas-liquid-solid fluidized bed reactor, the values of each item in the mass transfer-reaction equation are not 0; When the device is a container-pipe type device, the source item has a value of 0; The device simulation result in the form of the nuclear magnetic spectrum of the raw material or the nuclear magnetic spectrum of the previous device is used as a characteristic vector of the oil property, and the characteristic vector and the mass transfer-reaction equation are used as input to generate the device simulation result in the form of the nuclear magnetic spectrum of the device through a mass transfer-reaction solver, including: Taking the characteristic vector in the form of nuclear magnetic spectrum as the source term, bringing it into the mass transfer-reaction equation, and calculating and generating the device simulation result in the form of nuclear magnetic spectrum of the device; According to the simulation settings, constraint parameters and setting parameters, the asynchronous iteration method is adopted to build a segmented process calculation matrix corresponding to the device based on the mass transfer-reaction equation of the device; The calculation matrix of each segmented process is iterated and converged in turn according to the upstream and downstream order of each device in the refining process; Finally, the whole process calculation convergence is determined. If it has not converged yet, the process returns to initialize the mass transfer-reaction equation and build the segmented process calculation matrix; When the calculation result of the segmented process calculation matrix meets the preset convergence requirement, the device simulation result in the form of a nuclear magnetic spectrum is generated; The segmented process calculation matrix is modified by product property data and / or the spectrum data; the product property data is generated by analyzing the device simulation results in the form of nuclear magnetic spectrum; S14, performing physical property calculations according to the device simulation results of the device, and parsing the device simulation results in the form of nuclear magnetic resonance spectra into product physical property data of the device.
2. The refining process flow segmentation simulation method according to claim 1, It is characterized in that The generating of raw material physical property data corresponding to the raw oil product includes: According to the NMR spectrum of the raw material, the physical property data is calculated by using one of the mechanism model, empirical model and machine learning fitting model and any combination thereof.
3. According to the refining process flow segmentation simulation method described in claim 1 or 2, It is characterized in that The generating of raw material physical property data corresponding to the raw oil product includes: Determining the type of the raw oil product; The raw material physical property data of the oil product are calculated according to the oil type and the raw material nuclear magnetic resonance spectrum.
4. The whole-process simulation method of the refining process according to claim 3, It is characterized in that Determining the oil type of the raw oil product includes: Calculating preliminary physical property data of the raw oil product according to the raw material nuclear magnetic spectrum; The oil type of the raw oil product is matched from a preset physical property model database according to the preliminary physical property data; the physical property model database includes the correspondence between the oil type and physical property data of multiple types of oil products.
5. A refining process flow segmentation simulation device, It is characterized in that include: A spectrum generation unit, used to obtain a raw material nuclear magnetic spectrum of the raw oil product; A raw material property data unit, used to generate raw material property data corresponding to the raw oil product; The simulation calculation unit includes an equation generation module and a solution module, which are used to simulate the process flow of each device in turn according to the upstream and downstream sequence of each device in the refining process, wherein: The equation generation module is used to generate a mass transfer-reaction equation corresponding to the device according to the device type and process parameters of the device in the refining process, including: According to the device type of the device, determining the corresponding basic mass transfer equation; Calculate mass transfer parameters based on device size, media, catalyst and boundary conditions and substitute them into the basic mass transfer equation; By converting reaction kinetic parameters or directly using a preset reaction network and reaction kinetic parameters, the reaction equation is integrated with the basic mass transfer equation to generate a mass transfer-reaction equation corresponding to the device; The same mass transfer-reaction equation is used for reactor, container and pipeline type devices or process equipment as shown in Equation 1: The left side of formula 1 is the instantaneous term, and the right side is axial diffusion, radial diffusion, axial convection, radial convection and source term respectively; f is the NMR spectrum data of the oil product; S (f) is the source term, which represents the reaction conversion relationship between each peak of the NMR spectrum vector data f; The reactor of the device includes a fixed bed reactor, a moving bed reactor or a fluidized bed reactor; The axial diffusion, radial diffusion and radial convection terms in the mass transfer-reaction equation of the fixed bed reactor are taken as 0; The radial diffusion and radial convection terms in the mass transfer-reaction equation of the moving bed reactor are taken as 0; When the fluidized bed reactor is a gas-solid fluidized bed reactor, the radial diffusion term and the radial convection term in the mass transfer-reaction equation are set to 0; When the fluidized bed reactor is a gas-liquid-solid fluidized bed reactor, the values of each item in the mass transfer-reaction equation are not 0; When the device is a container-pipe type device, the source item has a value of 0; A solving module, used for taking the device simulation result in the form of the nuclear magnetic spectrum of the raw material or the nuclear magnetic spectrum of the previous device as a characteristic vector of the oil property, taking the characteristic vector and the mass transfer-reaction equation as input, and generating the device simulation result in the form of the nuclear magnetic spectrum of the device through the mass transfer-reaction solver, comprising: Taking the characteristic vector in the form of nuclear magnetic spectrum as the source term, bringing it into the mass transfer-reaction equation, and calculating and generating the device simulation result in the form of nuclear magnetic spectrum of the device; According to the simulation settings, constraint parameters and setting parameters, the asynchronous iteration method is adopted to build a segmented process calculation matrix corresponding to the device based on the mass transfer-reaction equation of the device; The calculation matrix of each segmented process is iterated and converged in turn according to the upstream and downstream order of each device in the refining process; Finally, the whole process calculation convergence is determined. If it has not converged yet, the process returns to initialize the mass transfer-reaction equation and build the segmented process calculation matrix; When the calculation result of the segmented process calculation matrix meets the preset convergence requirement, the device simulation result in the form of a nuclear magnetic spectrum is generated; The segmented process calculation matrix is modified by product property data and / or the spectrum data; the product property data is generated by analyzing the device simulation results in the form of nuclear magnetic spectrum; The analyzing unit is used to calculate the physical properties according to the device simulation results of the device, and analyze the device simulation results in the form of nuclear magnetic resonance spectra into product physical property data of the device.
6. A method for optimizing a refining process, It is characterized in that The refinery process flow optimization method is based on the refinery process flow segmentation simulation method as claimed in any one of claims 1 to 4, and the refinery process flow optimization method comprises the steps of: S01. Using current process parameters as input, simulating the refining process flow according to the refining process flow segmentation simulation method, and generating reference simulation results; S02. Determine the adjustment plan of process parameters according to the selected problem type; S03, using the process parameters adjusted according to the adjustment plan as input, simulating the process flow of the refining process according to the refining process segmented simulation method, and generating comparative simulation results; S04. Determine a composition scheme of optimal process parameters according to a comparison result between the reference simulation result and the comparative simulation result.
7. A memory, It is characterized in that It comprises a software program, which is suitable for a processor to execute the refinery process flow segmentation simulation method as described in any one of claims 1 to 4, or the refinery process flow optimization method as described in claim 6.
8. A refining process flow segmentation simulation device, It is characterized in that comprising a bus, a processor and a memory as claimed in claim 7; The bus is used to connect the memory and the processor; The processor is configured to execute an instruction set in the memory.
