Storage, refining process full process simulation method, device and equipment
By using a method that combines nuclear magnetic spectra with mass transfer-reaction equations, the problem of errors in data conversion and calculation during the refining process is solved, and the accuracy of the simulation results and the optimization of the process flow are improved.
Patent Information
- Application Number
- CN202011115171.0
- 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 full-process simulation scheme of the refining and chemical process, multiple errors introduced during the data conversion and calculation process lead to poor accuracy of results, which affects the optimization effect of the process flow.
The nuclear magnetic spectrum is used as the characteristic vector of oil properties, and the simulation results are generated through the mass transfer-reaction solver combined with the mass transfer-reaction equation to avoid fitting empirical formulas and ignoring the influence of mass transfer factors, and using progressive time steps to calculate and adjust Compute matrices to improve accuracy.
It effectively reduces error links, improves the accuracy of refining process simulation, reduces errors in physical property data conversion and calculation processes, and improves the effect of process optimization.
Smart Images

Figure CN114446398B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of chemical production, and in particular to a storage device, a method, a device and equipment for simulating the entire process of a refining process. 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 full-process simulation scheme of the refining process, 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, since 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 existing technology introduces multiple errors into the full-process simulation scheme of the refining process, 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 the entire process of a refining process, 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, generating mass transfer-reaction equations corresponding to each device according to the device type and process parameters of each device in the refining process;
[0012] S14, using the raw material NMR spectrum as a characteristic vector of oil product properties, and using the characteristic vector and the mass transfer-reaction equations of each device as input, and generating a simulation result in the form of a NMR spectrum through the mass transfer-reaction solver;
[0013] S15, performing physical property calculations according to the simulation results, and parsing the simulation results in the form of spectra into product physical property data.
[0014] In the present invention, the raw material NMR spectrum is used as a characteristic vector of oil properties, the characteristic vector and the mass transfer-reaction equation of each device are used as input, and the simulation result in the form of NMR spectrum is generated by the mass transfer-reaction solver, including:
[0015] 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.
[0016] In the present invention, the characteristic vector in the form of a nuclear magnetic spectrum is used as a source term, brought into the mass transfer-reaction equation, and the simulation result in the form of a nuclear magnetic spectrum is calculated and generated, including:
[0017] According to the simulation settings, constraint parameters and setting parameters, a full-process calculation matrix including each of the mass transfer-reaction equations is constructed;
[0018] Solve the whole process calculation matrix through synchronous iteration mode, adopt progressive time step calculation, judge the convergence of the whole process after each step, and if it has not converged, return to initialize the mass transfer-reaction equation and build the whole process calculation matrix;
[0019] When the calculation results meet the preset convergence requirements, the simulation results in the form of NMR spectra are generated.
[0020] The present invention also includes:
[0021] The full-process calculation matrix is corrected by product property data and / or the spectrum data; the product property data is generated by analyzing the simulation results in the form of nuclear magnetic resonance spectrum.
[0022] In the present invention, the step of generating raw material physical property data corresponding to the raw oil product includes:
[0023] 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.
[0024] In the present invention, the step of generating raw material physical property data corresponding to the raw oil product includes:
[0025] Determining the type of the raw oil product;
[0026] 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.
[0027] In the present invention, the step of determining the oil type of the raw oil product comprises:
[0028] Calculating preliminary physical property data of the raw oil product according to the raw material nuclear magnetic spectrum;
[0029] 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.
[0030] In the present invention, the mass transfer-reaction equations corresponding to the devices are generated according to the device types and process parameters of the devices in the refining process, including:
[0031] According to the device type of the device, determining the corresponding basic mass transfer equation;
[0032] Calculate mass transfer parameters based on device size, media, catalyst and boundary conditions and substitute them into the basic mass transfer equation;
[0033] 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.
[0034] In the present invention, the mass transfer-reaction equations corresponding to the devices are generated according to the device types and process parameters of the devices in the refining process, including:
[0035] The reactor of the device may include a fixed bed reactor, a moving bed reactor or a fluidized bed reactor;
[0036] The axial diffusion, radial diffusion and radial convection terms in the mass transfer-reaction equation of the fixed bed reactor are taken as 0;
[0037] The radial diffusion and radial convection terms in the mass transfer-reaction equation of the moving bed reactor are taken as 0;
[0038] 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;
[0039] The values of each item in the mass transfer-reaction equation of the gas-liquid-solid fluidized bed reactor are not 0;
[0040] When the device is a container pipeline type equipment, the source item takes a value of 0.
[0041] In another aspect of the present invention, a full-process simulation device for a refining process is also provided, comprising:
[0042] A spectrum generation unit, used to obtain a raw material nuclear magnetic spectrum of the raw oil product;
[0043] A raw material property data unit, used to generate raw material property data corresponding to the raw oil product;
[0044] An equation generating unit, for generating mass transfer-reaction equations corresponding to each device according to the device type and process parameters of each device in the refining process;
[0045] A result calculation unit, used for taking the raw material NMR spectrum as a characteristic vector of oil product properties, taking the characteristic vector and the mass transfer-reaction equation of each device as input, and generating a simulation result in the form of a NMR spectrum through the mass transfer-reaction solver;
[0046] The parsing unit is used to calculate the physical properties according to the simulation results, and parse the simulation results in the form of spectra into product physical property data.
[0047] 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 segmented simulation method for a refining process as claimed in any one of claims 1 to 9. The method for optimizing a refining process comprises the steps of:
[0048] 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;
[0049] S02. Determine the adjustment plan of process parameters according to the selected problem type;
[0050] 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;
[0051] S04. Determine a composition scheme of optimal process parameters according to a comparison result between the reference simulation result and the comparative simulation result.
[0052] 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 method for simulating the entire refining process.
[0053] On the other hand, an embodiment of the present invention further provides a full-process simulation device for a refining process, 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.
[0054] Compared with the prior art, the present invention has the following beneficial effects:
[0055] 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.
[0056] In 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 mass transfer-reaction equations of each device are combined into an overall calculation matrix, and the calculation is performed using a progressive time step. After each step, the convergence of the entire process is judged. If it has not converged yet, the initialization equation and the calculation matrix are returned again; when convergence is achieved, a simulation result in the form of a nuclear magnetic spectrum is generated. Since the characteristic vectors of the properties of the oil products transmitted between the devices in the simulation of the refining process are data in the form of a nuclear magnetic spectrum, not only the errors generated when fitting other properties according to the empirical formula of the simulation system are avoided, but also the errors caused by the calculation of the empirical reaction kinetic model that ignores the influence of mass transfer factors are 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.
[0057] 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
[0058] Figure 1 It is a step diagram of the whole process simulation method of the refining process described in the present invention;
[0059] Figure 2 It is a schematic diagram of the nuclear magnetic spectrum data of the raw oil described in the present invention;
[0060] Figure 3It is a schematic diagram of the process simulation of the device described in the present invention;
[0061] Figure 4 It is a schematic diagram of simulation results in the form of NMR spectrum data of the product oil described in the present invention;
[0062] Figure 5 It is a schematic diagram of the structure of the whole process simulation device of the refining process described in the present invention;
[0063] Figure 6 It is a step diagram of the method for optimizing the refining process described in the present invention;
[0064] Figure 7 It is a schematic diagram of the structure of the full-process simulation equipment of the refining process described in the present invention. DETAILED DESCRIPTION
[0065] 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.
[0066] 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.
[0067] 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.
[0068] Embodiment 1
[0069] 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 the entire process of a refining process is provided, comprising the steps of:
[0070] S11, obtaining a raw material nuclear magnetic resonance spectrum of the raw oil product;
[0071] In the embodiment of the present invention, firstly, a corresponding nuclear magnetic resonance spectrum is generated according to the mixed crude oil using nuclear magnetic resonance technology. In the embodiment of the present invention, the nuclear magnetic resonance spectrum generated according to the mixed crude oil 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.
[0072] In practical applications, the data required for full-process simulation of the refining process also includes:
[0073] 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.
[0074] The upstream and downstream relationships of each device in the refining process can be determined through the topological structure data of each device.
[0075] S12, generating raw material physical property data corresponding to the raw oil product;
[0076] 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.
[0077] 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.
[0078] S13, generating mass transfer-reaction equations corresponding to each device according to the device type and process parameters of each device in the refining process;
[0079] According to the device type and process parameters of each device in the refining process, the mass transfer-reaction equation corresponding to each device is generated respectively, which may specifically include:
[0080] 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.
[0081] 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:
[0082] In the embodiment of the present invention, the same mass transfer-reaction equation (as shown in Formula 1) can be used for the devices (or process equipment) of the reactor, container and pipeline type:
[0083]
[0084] 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.
[0085] 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.
[0086] 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.
[0087] S14, using the raw material NMR spectrum as a characteristic vector of oil product properties, taking the characteristic vector and the mass transfer-reaction equation of each device as input, and generating a simulation result in the form of a NMR spectrum through a mass transfer-reaction solver;
[0088] The specific method of this step can be: the mass transfer-reaction equations of each device are combined into an overall calculation matrix, and the calculation is performed using a progressive time step. After each step, the convergence of the entire process is judged. If it has not converged, the initialization equation and the calculation matrix are returned again; when convergence is achieved, the simulation results in the form of NMR spectra are generated;
[0089] 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).
[0090] S15, performing physical property calculations according to the simulation results, and parsing the simulation results in the form of spectra into product physical property data.
[0091] 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. Instead, the oil properties in the form of NMR spectra are transferred as feature vectors in the simulation calculation of the process simulation of the simulating refining process.
[0092] The embodiment of the present invention uses the transfer and reaction conversion calculation of the NMR spectrum to avoid the information loss caused by the transfer and conversion between conventional lumped components in the process flow simulation process of the device, and uses the NMR spectrum as a universal transfer variable; when the process flow simulation process 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 embodiment 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.
[0093] In practical applications, the method of analyzing and generating product physical property data based on simulation results in the form of NMR spectra can be specifically to calculate the physical property data based on the raw material NMR spectra through one of the mechanism models, empirical models, machine learning fitting models and deep learning fitting models and any combination thereof.
[0094] In summary, in the embodiment of the present invention, after 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, the mass transfer-reaction equations of each device are combined into an overall calculation matrix, and the calculation is performed using a progressive time step. After each step, the convergence of the entire process is judged. If it has not converged yet, the initialization equation and the calculation matrix are returned again; when convergence is achieved, a simulation result in the form of a nuclear magnetic spectrum is generated. Since the characteristic vectors of the properties of the oil products transmitted between the devices in the embodiment of the present invention are data in the form of a nuclear magnetic spectrum when simulating the refining process, not only the errors generated when fitting other properties according to the empirical formula of the simulation system are avoided, but also the errors caused by the calculation using the empirical reaction kinetic model that ignores the influence of mass transfer factors are avoided; therefore, the links that introduce errors can be effectively reduced through the embodiment of the present invention, and thus the accuracy of the simulation of the refining process can be effectively improved.
[0095] In an example (Example 1) according to an embodiment of the present invention, a full process model of a fuel type refinery is established, and its process flow chart is as follows: Figure 3As shown. The mixed crude oil comes from the tank area and enters the atmospheric and vacuum separation device to be cut into gas, naphtha, diesel, light wax oil, wax oil, heavy wax oil and vacuum residue oil. Each component enters the corresponding processing device respectively. Naphtha enters the reforming pre-hydrogenation, catalytic reforming, and aromatic extraction devices for processing to generate aromatics, raffinate oil, etc.; diesel enters the diesel hydrotreating device to obtain refined diesel; light wax oil enters the hydrocracking device to obtain naphtha, diesel, tail oil and other products; heavy wax oil enters the catalytic cracking unit to obtain gasoline, catalytic diesel and slurry products; vacuum residue oil enters the boiling bed residue oil hydrogenation unit to obtain naphtha, diesel, wax oil and tail oil and other products. Catalytic gasoline, raffinate oil and other products enter the gasoline pool to blend gasoline; boiling bed diesel, wax oil, etc. enter the diesel hydrotreating, hydrocracking and catalytic cracking units for processing respectively; boiling bed tail oil is blended with wax oil, diesel, etc. to obtain fuel oil.
[0096] The reforming reactor adopts a simplified one-dimensional mass transfer equation, in which the radial diffusion and convection terms are 0, the axial convection term is 0, and the diffusion term is molecular diffusion. The calculation method adopts the porous media Knudsen diffusion equation. The aromatics extraction unit adopts an ideal one-dimensional mass transfer equation, that is, the axial, radial diffusion, and convection terms are all 0. The adsorption process of aromatics and non-aromatics is calculated using linear adsorption kinetics, and the adsorbent equilibrium concentration is calculated according to the Langmuir adsorption equation. The reforming pre-hydrogenation, diesel hydrotreating, and hydrocracking reactors adopt a simplified one-dimensional mass transfer equation, in which the radial diffusion and convection terms are 0, the axial convection term is 0, and the diffusion term is porous media diffusion. The calculation method adopts Darcy's law. The boiling bed residue hydrogenation and catalytic cracking reactors adopt a simplified one-dimensional mass transfer equation, in which the radial diffusion and convection terms are 0, the axial convection term is 0, and the diffusion term is the enhanced axial diffusion coefficient. The following formula is used for calculation according to the reactor size:
[0097] D e =0.31V l D t
[0098] The oil slurry desolidification device is a physical filtration process and does not require spectrum calculation.
[0099] The NMR spectrum analysis of all process oil products was carried out using a 60 MHz NMR data benchmark, and the data format was a 700-dimensional vector; the reaction kinetics used the first-order Arrhenius equation.
[0100] The raw material NMR spectrum of Example 1 is shown in Figure 2 After the whole process calculation and simulation, the NMR spectra of each product are obtained. Figure 4 .
[0101] The comparison of the raw material and product properties of Example 1 with the properties predicted by simulation calculation is shown in Table 1;
[0102] Table 1
[0103]
[0104]
[0105] Note: The full fraction data in Table 1 are TBP, and the others are D86 data.
[0106] The above is a specific simulation result and an error value of the simulation result obtained in an example (Example 1) according to the full-process simulation method of the refining process in an embodiment of the present invention.
[0107] It can be seen from the above that the method provided by the embodiment of the present invention has high calculation accuracy, realizes the use of a unified spectrum data system throughout the entire refining process, and avoids errors caused by mismatching and conversion of oil physical property analysis data formats between different devices.
[0108] Embodiment 2
[0109] In another aspect of the embodiment of the present invention, a whole-process simulation device for a refining process is also provided. Figure 5 The schematic diagram of the structure of the whole process simulation device of the refining process provided by the embodiment of the present invention is shown. Figure 1 The device corresponding to the whole process 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 whole process simulation method of the refining process, each virtual module constituting the whole process simulation device of the refining process can be executed by an electronic device, such as a network device, a terminal device, or a server. Specifically, the whole process simulation device of the refining process in the embodiment of the present invention includes:
[0110] The spectrum generation unit 01 is used to obtain the raw material nuclear magnetic spectrum of the raw material oil product;
[0111] The raw material physical property data unit 02 is used to generate raw material physical property data corresponding to the raw oil product;
[0112] The equation generation unit 03 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;
[0113] The result calculation unit 04 is used to use the raw material NMR spectrum as the characteristic vector of the oil property, and use the characteristic vector and the mass transfer-reaction equation of each device as input to generate the simulation result in the form of NMR spectrum through the mass transfer-reaction solver;
[0114] The analysis unit 05 is used to calculate physical properties according to the simulation results, and analyze the simulation results in the form of spectra into product physical property data.
[0115] Since the working principle and beneficial effects of the whole process simulation device of the refining process in the embodiment of the present invention have been Figure 1 The corresponding full-process simulation method of the refining process is also recorded and explained, so they can be referenced with each other and will not be repeated here.
[0116] Embodiment 3
[0117] 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 method for simulating the entire refining process in the first embodiment. Figure 6 As shown, the refinery process optimization method in the embodiment of the present invention includes the following steps:
[0118] S01. Using current process parameters as input, simulating the process flow of the refining process according to the full process simulation method of the refining process, and generating a reference simulation result;
[0119] The refining process flow optimization method in the embodiment of the present invention is a specific application scheme of the refining process full-flow simulation method described in Example 1. That is to say, since the simulation results of the refining process full-flow simulation method in Example 1 are highly accurate, the simulation results can be used to optimize the refining process flow.
[0120] 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 full-process simulation method, so as to facilitate the correction of subsequent simulation results.
[0121] S02. Determine the adjustment plan of process parameters according to the selected problem type;
[0122] S03, using the process parameters adjusted according to the adjustment plan as input, simulating the process flow of the refining process according to the full process simulation method of the refining process, and generating comparative simulation results;
[0123] S04. Determine a composition scheme of optimal process parameters according to a comparison result between the reference simulation result and the comparative simulation result.
[0124] 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.
[0125] It should be noted that the specific implementation method and technical effects of the full-process simulation method of the refining process in the embodiment of the present invention can be referred to Figure 1 The corresponding full-process simulation method of the refining process will not be elaborated here.
[0126] Embodiment 4
[0127] 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 full-process simulation method of the refining process.
[0128] 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 full-process simulation method of the refining process 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.
[0129] Embodiment 5
[0130] In an embodiment of the present invention, a full-process simulation device for a refining process is also provided. The memory included in the full-process simulation device for a refining process 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 full-process simulation method for the refining process described in the above aspects and achieve the same technical effects.
[0131] Figure 7 Schematic diagram of the hardware structure of the whole process simulation device of the refining process as an electronic device according to an embodiment of the present invention. Figure 7 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.
[0132] 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 7 The example of connecting through bus is taken in the following.
[0133] 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.
[0134] 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.
[0135] 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.
[0136] The one or more modules are stored in the memory 620, and when executed by the one or more processors 610, perform:
[0137] S11, obtaining a raw material nuclear magnetic resonance spectrum of the raw oil product;
[0138] S12, generating raw material physical property data corresponding to the raw oil product;
[0139] S13, 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;
[0140] S14, using the raw material NMR spectrum as a characteristic vector of oil product properties, and using the characteristic vector and the mass transfer-reaction equations of each device as input, and generating a simulation result in the form of a NMR spectrum through the mass transfer-reaction solver;
[0141] S15, performing physical property calculations according to the simulation results, and parsing the simulation results in the form of spectra into product physical property data.
[0142] 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.
[0143] 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.
[0144] 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.
[0145] 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.
[0146] 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.
[0147] 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 method for simulating the entire process of a refining process, 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, generating mass transfer-reaction equations corresponding to each device according to the device type and process parameters of each 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 taken as 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; S14, using the raw material NMR spectrum as a characteristic vector of oil product properties, using the characteristic vector and the mass transfer-reaction equation of each device as input, and generating a simulation result in the form of a NMR spectrum through a mass transfer-reaction solver, including: The characteristic vector in the form of NMR spectrum is used as the source term and brought into the mass transfer-reaction equation to calculate and generate the simulation results in the form of NMR spectrum, including: According to the simulation settings, constraint parameters and setting parameters, a full-process calculation matrix including each of the mass transfer-reaction equations is constructed; Solving the full process calculation matrix through synchronous iteration mode, using progressive time step calculation, judging the convergence of the full process after each step, and returning to initialize the mass transfer-reaction equation and the full process calculation matrix if it has not converged; When the calculation results meet the preset convergence requirements, the simulation results in the form of NMR spectra are generated; The full-process calculation matrix is corrected by product property data and / or the spectrum data; the product property data is generated by analyzing the simulation results in the form of nuclear magnetic resonance spectrum; S15. Calculate physical properties according to the simulation results, and analyze the simulation results in the form of nuclear magnetic resonance spectra into product physical property data.
2. The method for simulating the entire refining process according to claim 1, 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. The method for simulating the entire refining process according to claim 1 or 2, 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 method for simulating the entire refining process according to claim 3, 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 full-process simulation device for a refining process, 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 equation generating unit is used to generate the mass transfer-reaction equations corresponding to each device according to the device type and process parameters of each 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 taken as 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 result calculation unit is used to use the raw material nuclear magnetic resonance spectrum as a characteristic vector of oil product properties, and use the characteristic vector and the mass transfer-reaction equation of each device as input to generate a simulation result in the form of a nuclear magnetic resonance spectrum through the mass transfer-reaction solver, including: The characteristic vector in the form of NMR spectrum is used as the source term and brought into the mass transfer-reaction equation to calculate and generate the simulation results in the form of NMR spectrum, including: According to the simulation settings, constraint parameters and setting parameters, a full-process calculation matrix including each of the mass transfer-reaction equations is constructed; Solving the full process calculation matrix through synchronous iteration mode, using progressive time step calculation, judging the convergence of the full process after each step, and returning to initialize the mass transfer-reaction equation and the full process calculation matrix if it has not converged; When the calculation results meet the preset convergence requirements, the simulation results in the form of NMR spectra are generated; The full-process calculation matrix is corrected by product property data and / or the spectrum data; the product property data is generated by analyzing the simulation results in the form of nuclear magnetic resonance spectrum; The parsing unit is used to calculate the physical properties according to the simulation results, and parse the simulation results in the form of spectra into product physical property data.
6. A method for optimizing a refining process, characterized in that: The refinery process optimization method is based on the refinery process simulation method as claimed in any one of claims 1 to 4, and the refinery process optimization method comprises the steps of: S01. Using current process parameters as input, simulating the process flow of the refining process according to the full process simulation method of the refining process, and generating a reference simulation result; 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, characterized in that: It comprises a software program, which is suitable for a processor to execute the whole-process simulation method of a refining process as claimed in any one of claims 1 to 4.
8. A full-process simulation device for a refining process, 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.
