Molecular reaction trend optimization method and apparatus, device, and storage medium
Through the structure-oriented lumping method and the division of micro-element reaction sections, the direction of molecular reactions in the petroleum processing process is optimized, which solves the problem of difficulty in determining the molecular transformation path in the existing technology and improves the value and quality of oil products.
Patent Information
- Application Number
- PCT/CN2023/123474
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-02-20
- Filing Date
- 2023-10-09
- Publication Date
- 2024-08-29
AI Technical Summary
It is difficult to determine the conversion path of molecules in the petroleum processing process with existing technology. The lumped model has flaws in the expanded adaptability of new raw materials and new catalysts and cannot optimize the conversion path of molecules.
The structure-oriented lumping method is used to generate a reaction network based on the set of preset reaction rules corresponding to the device model, divide the micro-element reaction sections, track the reaction trend of the target crude oil fraction molecules, and adjust the reaction operating conditions to establish the molecular direction and reaction operating conditions The corresponding relationship between them meets the preset content requirements of the target molecule.
Optimize reaction operating conditions through molecular level calculations and simulations, improve the value or quality of oil products, and achieve accurate calculation and display of the reaction paths of crude oil molecules.
Smart Images

Figure CN2023123474_29082024_PF_FP_ABST
Abstract
Description
A molecular reaction trend optimization method, device, equipment and storage medium Technical Field
[0001] The present disclosure relates to the field of petrochemical technology, and in particular to a method and device, equipment, and storage medium for optimizing the trend of molecular reactions. Background Art
[0002] With the advancement of chemical and chemical research, new compounds continue to emerge. By 2012, the number of substances registered by the Chemical Abstracts Service (CAS) had reached 66 million. During chemical reactions, molecules break down into atoms, which then rearrange and recombine to form new molecules. Due to the complexity of chemical reactions, reactants, intermediates, and final products are intermingled, making it difficult to determine and, consequently, track the molecular transformation pathways.
[0003] Prior art primarily uses lumped models to establish reaction networks in petroleum processing. Lumped models categorize various components based on their macroscopic physical properties, structural characteristics, and other kinetic properties. Reaction networks between these lumped components are then constructed and reaction parameters calculated. Each lumped component is actually composed of a large number of pure molecules, yet the modeling process treats them as a single, virtual component with uniform properties. Consequently, lumped models have significant limitations in their adaptability to new feedstocks and catalysts, and are unable to optimize molecular transformation pathways.
[0004] In order to solve the above problems, it is necessary to design a molecular reaction trend optimization method and device, equipment and storage medium.
[0005] Summary of the Invention
[0006] In order to solve the above technical problems or at least partially solve the above technical problems, the embodiments of the present disclosure provide a molecular reaction trend optimization method and apparatus, equipment and storage medium.
[0007] In a first aspect, an embodiment of the present disclosure provides a method for optimizing molecular reaction trends, the method comprising:
[0008] For each secondary processing unit model, based on the preset reaction rule set corresponding to the unit model, crude oil fraction molecules that meet the physical property requirements of the current unit model are used as reactants to generate the corresponding reaction network of the unit model. The crude oil fraction molecules and each reaction rule in the preset reaction rule set are represented using the structure-guided lumping method.
[0009] Divide the device into micro-element reaction sections, and determine the molecular composition and physical properties after the reaction at the nodes formed by the micro-element reaction sections, as well as the reaction operating conditions;
[0010] Blend oil products from different secondary processing equipment models;
[0011] For target molecules in blended oil products, the target crude oil fraction molecules containing the molecular structure of the target molecules are determined based on the structure-guided lumping method, and the reaction trends of the target crude oil fraction molecules in various reaction networks are tracked;
[0012] Adjust the reaction operating conditions at the nodes and establish the corresponding relationship between the reaction trend of the target crude oil fraction molecules and the reaction operating conditions;
[0013] Based on the correspondence between the molecular trends and the reaction operating conditions, the reaction operating conditions that meet the preset content requirements of the target molecule are determined.
[0014] In one possible embodiment, for each secondary processing device model, based on a preset reaction rule set corresponding to the device model, crude oil fraction molecules that meet the physical property requirements of the current device model are used as reactants to generate a reaction network corresponding to the device model, including:
[0015] For each secondary processing unit model, the structure-guided lumped representation of each crude oil fraction molecule that meets the physical property requirements of the current unit model is traversed according to each reaction rule in the preset reaction rule set corresponding to the unit model, and the reaction path corresponding to each raw material molecule and the structure-guided lumped representation of the product molecule of each reaction path are obtained;
[0016] The reaction paths corresponding to the crude oil fraction molecules that meet the physical property requirements of the current device model are combined into a reaction network.
[0017] In one possible embodiment, dividing the micro-element reaction segments according to the device and determining the molecular composition and physical properties after the reaction at the nodes formed by the micro-element reaction segments and the reaction operating conditions include:
[0018] Divide the reaction time of the current device into multiple micro-element reaction segments, and construct an ordinary differential equation for each micro-element reaction segment. Solve the ordinary differential equation based on the preset initial value of the reaction rate constant and the content of each reactant molecule to obtain the molecular composition and physical properties after the reaction in the micro-element reaction segment;
[0019] Each micro-element reaction segment outlet node on the reaction path stores the molecular composition and physical properties after the reaction in the micro-element reaction segment as well as the reaction operating conditions.
[0020] In one possible embodiment, the reaction time of the current device is divided into multiple microelement reaction segments, and an ordinary differential equation is constructed for each microelement reaction segment. The ordinary differential equation is solved according to a preset initial value of the reaction rate constant and the content of each reactant molecule to obtain the molecular composition and physical properties after the reaction in the microelement reaction segment, including:
[0021] The reaction time of the current device is evenly divided into n micro-element reaction segments, and the reaction time of each micro-element reaction segment is Δt = t / n;
[0022] The reaction temperature, pressure, enthalpy and specific heat capacity at the inlet of the actual production unit are used as the initial temperature, initial pressure, initial enthalpy and initial specific heat capacity at the inlet of the first micro-element reaction section;
[0023] For each microelement reaction segment, the Runge-Kutta algorithm is used to solve the reaction rate constant k corresponding to each reaction rule. i The ordinary differential equations under the equation are used to obtain the reactant concentration at the outlet of the infinitesimal reaction section and the change of concentration with time dc / dt. The ordinary differential equations include: zero-order reaction, dc / dt = -k i ; first-order reaction, Second order reaction, dc / dt = -k i c 2 ;
[0024] Calculate the change of enthalpy over time dH / dt based on dC / dt and the inlet enthalpy of the microelement reaction section;
[0025] Based on dH / dt and specific heat capacity, calculate the temperature change over time dT / dt to obtain the temperature at the outlet of the micro-element reaction section;
[0026] The pressure change over time dp / dt is calculated based on the ideal gas constant R and the temperature change over time dT / dt to obtain the pressure at the outlet of the microelement reaction section;
[0027] The temperature, pressure, enthalpy value and concentration of each product at the outlet of the micro-element reaction section are used as the inlet parameters of the next micro-element reaction section, and the parameters of the outlet of the next micro-element reaction section are calculated.
[0028] In one possible embodiment, tracking the reaction trends of target crude oil fraction molecules in each reaction network includes:
[0029] Search the reaction network for all reaction paths with the target crude oil fraction molecule as reactant and the target molecule as product;
[0030] The molecular composition of each reactant and product on all the reaction paths is taken as the reaction trend.
[0031] In one possible embodiment, the molecular composition includes the type and content of molecules.
[0032] In a possible embodiment, the target molecule is a molecule containing heteroatoms, and the preset content of the target molecule is required to be less than a first preset threshold.
[0033] In one possible embodiment, the target molecule is a key molecule, and the preset content requirement of the target molecule is greater than a second preset threshold, wherein the key molecule is used to improve at least one of the octane number, cetane number, olefin yield and aromatic yield of the blended oil.
[0034] In one possible embodiment, the crude oil fraction molecules meeting the physical property requirements of the device model are obtained by the following steps:
[0035] Determine the molecular composition of crude oil;
[0036] Crude oil is cut according to boiling point to obtain the molecular composition of different crude oil fractions;
[0037] Calculate the molecular properties of each crude oil fraction;
[0038] Each crude oil fraction is matched with the secondary processing equipment model according to the physical property requirements of the equipment model.
[0039] In one possible embodiment, determining the target crude oil fraction molecules containing the molecular structure of the target molecule includes:
[0040] Representing the molecular composition of crude oil based on structure-oriented lumping method;
[0041] Determine the molecular composition of target crude oil containing the molecular structure of target molecules;
[0042] The crude oil fraction corresponding to the target crude oil molecular composition is used as the target crude oil fraction molecule.
[0043] In one possible embodiment, the secondary processing is one of residue oil hydrogenation, catalytic cracking, catalytic cracking, delayed coking, hydrocracking, catalytic reforming, alkylation, gasoline hydrogenation, diesel hydrogenation, wax oil hydrogenation, gasoline and diesel hydrogenation, gas fractionation, aromatics extraction and hydrogen production.
[0044] In one possible embodiment, the reaction operating conditions include at least one of reaction temperature, reaction time and reaction pressure.
[0045] In a second aspect, an embodiment of the present disclosure provides a molecular reaction trend optimization device, comprising:
[0046] a generation module for generating, for each secondary processing device model, a reaction network corresponding to the device model using crude oil fraction molecules that meet the physical property requirements of the current device model as reactants based on a preset reaction rule set corresponding to the device model, wherein the crude oil fraction molecules and each reaction rule in the preset reaction rule set are represented based on a structure-guided lumping method;
[0047] The first determination module is used to determine the molecular composition and physical properties after the reaction occurs at each node in the reaction network, as well as the reaction operating conditions;
[0048] Blending module, used to blend oil products from different secondary processing device models;
[0049] The second determination module is used to determine the target crude oil fraction molecules containing the molecular structure of the target molecule in the blended oil based on the structure-guided lumping method, and track the reaction trends of the target crude oil fraction molecules in various reaction networks;
[0050] An adjustment module is used to adjust the reaction operating conditions at the node and establish a corresponding relationship between the reaction trend of the target crude oil fraction molecules and the reaction operating conditions;
[0051] The third determination module is used to determine the reaction operating conditions that meet the preset content requirements of the target molecule based on the corresponding relationship between the molecular trend and the reaction operating conditions.
[0052] In a third aspect, an embodiment of the present disclosure provides an electronic device, including a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other via the communication bus;
[0053] Memory for storing computer programs;
[0054] The processor is used to implement the above-mentioned molecular reaction trend optimization method when executing the program stored in the memory.
[0055] In a fourth aspect, an embodiment of the present disclosure provides a computer-readable storage medium having a computer program stored thereon, which implements the above-mentioned molecular reaction trend optimization method when executed by a processor.
[0056] The above technical solutions provided by the embodiments of the present disclosure have at least some or all of the following advantages compared to the prior art:
[0057] The molecular reaction trend optimization method described in the embodiment of the present disclosure is, for each secondary processing device model, based on the preset reaction rule set corresponding to the device model, using the crude oil fraction molecules that meet the physical property requirements of the current device model as reactants, and generating a reaction network corresponding to the device model, wherein the crude oil fraction molecules and each reaction rule in the preset reaction rule set are represented based on the structure-guided lumping method; the device is divided into microelement reaction sections, and the molecular composition and physical properties after the reaction at the nodes formed by the microelement reaction sections and the reaction operating conditions are determined; the products of different secondary processing device models are blended; for the target molecules in the blended oil products, based on the structure-guided lumping method, the molecules containing The target crude oil fraction molecules of the target molecule molecular structure are tracked, and the reaction trends of the target crude oil fraction molecules in each reaction network are tracked; the reaction operating conditions at the nodes are adjusted to establish a corresponding relationship between the reaction trends of the target crude oil fraction molecules and the reaction operating conditions; based on the corresponding relationship between the molecular trends and the reaction operating conditions, the reaction operating conditions that meet the preset content requirements of the target molecules are determined. The present disclosure calculates and displays the reaction paths of crude oil molecules at the molecular level, and by tracking the trends of the molecules of the target molecular structure in the crude oil molecules, the relationship between their reaction trends and the reaction operating conditions is found through simulation, and the reaction operating conditions are optimized based on this to achieve an improvement in the value or quality of the oil products. BRIEF DESCRIPTION OF THE DRAWINGS
[0058] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0059] In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or related technical descriptions. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0060] FIG1 schematically shows a flow chart of a method for optimizing the trend of molecular reactions according to an embodiment of the present disclosure;
[0061] FIG2 schematically shows a structural block diagram of a molecular reaction trend optimization device model according to an embodiment of the present disclosure; and
[0062] FIG3 schematically shows a structural block diagram of an electronic device according to an embodiment of the present disclosure. DETAILED DESCRIPTION
[0063] To make the objectives, technical solutions, and advantages of the embodiments of the present disclosure more clear, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present disclosure, not all of the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present disclosure without making any creative efforts shall fall within the scope of protection of the present disclosure.
[0064] 1 , an embodiment of the present disclosure provides a method for optimizing molecular reaction trends, comprising the following steps:
[0065] S1. For each secondary processing unit model, based on the preset reaction rule set corresponding to the unit model, crude oil fraction molecules that meet the physical property requirements of the current unit model are used as reactants to generate a reaction network corresponding to the unit model, where the crude oil fraction molecules and each reaction rule in the preset reaction rule set are represented based on a structure-guided lumping method;
[0066] In some embodiments, the crude oil fraction molecules meeting the physical property requirements of the device model are obtained by the following steps:
[0067] Determine the molecular composition of crude oil;
[0068] Crude oil is cut according to boiling point to obtain the molecular composition of different crude oil fractions;
[0069] Calculate the molecular properties of each crude oil fraction;
[0070] Each crude oil fraction is matched with the secondary processing equipment model according to the physical property requirements of the equipment model.
[0071] In some embodiments, the secondary processing is one of residue oil hydrogenation, catalytic cracking, catalytic cracking, delayed coking, hydrocracking, catalytic reforming, alkylation, gasoline hydrogenation, diesel hydrogenation, wax oil hydrogenation, gasoline and diesel hydrogenation, gas fractionation, aromatics extraction and hydrogen production.
[0072] S2, dividing the device into micro-element reaction segments, and determining the molecular composition and physical properties after the reaction at the nodes formed by the micro-element reaction segments, as well as the reaction operating conditions;
[0073] S3, blending the oil products from different secondary processing device models;
[0074] S4, for the target molecules in the blended oil, based on the structure-guided lumping method, determine the target crude oil fraction molecules containing the molecular structure of the target molecules, and track the reaction trends of the target crude oil fraction molecules in each reaction network;
[0075] In some embodiments, the target molecule is a molecule containing heteroatoms, and the preset content of the target molecule is required to be less than a first preset threshold, such as a molecule containing S, N, or a metal element; the target molecule is a key molecule, and the preset content of the target molecule is required to be greater than a second preset threshold, wherein the key molecule is used to improve at least one of the octane number, cetane number, olefin yield, and aromatic yield of the blended oil.
[0076] In some embodiments, determining the target crude oil fraction molecules containing the molecular structure of the target molecule comprises:
[0077] Representing the molecular composition of crude oil based on structure-oriented lumping method;
[0078] Determine the molecular composition of target crude oil containing the molecular structure of target molecules;
[0079] The crude oil fraction corresponding to the target crude oil molecular composition is used as the target crude oil fraction molecule.
[0080] S5, adjusting the reaction operating conditions at the node to establish a corresponding relationship between the reaction trend of the target crude oil fraction molecules and the reaction operating conditions;
[0081] In some embodiments, the reaction operating conditions include at least one of reaction temperature, reaction time, and reaction pressure.
[0082] In some embodiments, when the target molecule is a molecule containing heteroatoms, the reaction operating conditions at the node are adjusted so that the molecules containing heteroatoms are reduced until the content of molecules containing heteroatoms is less than a first preset threshold; when the target molecule is a key molecule, the reaction operating conditions at the node are adjusted so that the key molecule is increased until the content of the key molecule is greater than a second preset threshold.
[0083] In some embodiments, the correspondence between the reaction direction of the target crude oil fraction molecules and the reaction operating conditions is essentially the relationship between the molecular composition and physical properties after the reaction at the node between the target crude oil fraction molecules as the reactants and the target molecules as the products and the reaction operating conditions at the node.
[0084] S6, based on the correspondence between the molecular trends and the reaction operating conditions, determining the reaction operating conditions that meet the preset content requirements of the target molecule.
[0085] In this embodiment, in step S1, for each secondary processing device model, based on a preset reaction rule set corresponding to the device model, crude oil fraction molecules that meet the physical property requirements of the current device model are used as reactants to generate a reaction network corresponding to the device model, including:
[0086] For each secondary processing unit model, the structure-guided lumped representation of each crude oil fraction molecule that meets the physical property requirements of the current unit model is traversed according to each reaction rule in the preset reaction rule set corresponding to the unit model, and the reaction path corresponding to each raw material molecule and the structure-guided lumped representation of the product molecule of each reaction path are obtained;
[0087] The reaction paths corresponding to the crude oil fraction molecules that meet the physical property requirements of the current device model are combined into a reaction network.
[0088] In this embodiment, in step S2, dividing the device into micro-element reaction segments and determining the molecular composition and physical properties after the reaction at the nodes formed by the micro-element reaction segments and the reaction operating conditions include:
[0089] Divide the reaction time of the current device into multiple microelement reaction segments, and construct an ordinary differential equation for each microelement reaction segment. Solve the ordinary differential equation based on a preset initial value of the reaction rate constant and the content of each reactant molecule to obtain the molecular composition and physical properties after the reaction in the microelement reaction segment, wherein the molecular composition includes the type and content of the molecules;
[0090] Each micro-element reaction segment outlet node on the reaction path stores the molecular composition and physical properties after the reaction in the micro-element reaction segment as well as the reaction operating conditions.
[0091] In this embodiment, the reaction time of the current device is divided into multiple micro-element reaction segments, and an ordinary differential equation is constructed for each micro-element reaction segment. The ordinary differential equation is solved according to the preset initial value of the reaction rate constant and the content of each reactant molecule to obtain the molecular composition and physical properties after the reaction in the micro-element reaction segment, including:
[0092] The reaction time of the current device is evenly divided into n micro-element reaction segments, and the reaction time of each micro-element reaction segment is Δt = t / n;
[0093] The reaction temperature, pressure, enthalpy and specific heat capacity at the inlet of the actual production unit are used as the initial temperature, initial pressure, initial enthalpy and initial specific heat capacity at the inlet of the first micro-element reaction section;
[0094] For each microelement reaction segment, the Runge-Kutta algorithm is used to solve the reaction rate constant k corresponding to each reaction rule. i The ordinary differential equations under the equation are used to obtain the reactant concentration at the outlet of the infinitesimal reaction section and the change of concentration with time dc / dt. The ordinary differential equations include: zero-order reaction, dc / dt = -k i ; first-order reaction, dc / dt = -k i c; Second order reaction, dc / dt = -k i c 2 ;
[0095] Calculate the change of enthalpy over time dH / dt based on dC / dt and the inlet enthalpy of the microelement reaction section;
[0096] Based on dH / dt and specific heat capacity, calculate the temperature change over time dT / dt to obtain the temperature at the outlet of the micro-element reaction section;
[0097] The pressure change over time dp / dt is calculated based on the ideal gas constant R and the temperature change over time dT / dt to obtain the pressure at the outlet of the microelement reaction section;
[0098] The temperature, pressure, enthalpy value and concentration of each product at the outlet of the micro-element reaction section are used as the inlet parameters of the next micro-element reaction section, and the parameters of the outlet of the next micro-element reaction section are calculated.
[0099] In this embodiment, in step S4, tracking the reaction trends of target crude oil fraction molecules in each reaction network includes:
[0100] Search the reaction network for all reaction paths with the target crude oil fraction molecule as reactant and the target molecule as product;
[0101] The molecular composition of each reactant and product on all the reaction paths is taken as the reaction trend.
[0102] In this embodiment, the method further includes:
[0103] Highlight each reactant and product in the reaction trend to display the reaction trend, so as to adjust the reaction operating conditions at the node and quickly establish the corresponding relationship between the reaction trend of the target crude oil fraction molecules and the reaction operating conditions.
[0104] This method not only determines the molecular trajectory of target molecules, but also calculates the concentration of each molecule at each node through a molecular-level computational engine, providing a more intuitive understanding of the molecular trajectory and concentration changes. This approach focuses on the molecular trajectory of the target molecule structure and, through multiple simulations, explores the relationship between its molecular trajectory and operating conditions or removal processes. By adjusting these operating conditions or removal processes, the value or quality of the oil product can be improved.
[0105] The present disclosure is based on a structure-guided lumping method, which is different from the traditional lumped model. It tracks the reaction transformation paths of all crude oil molecules at the molecular level, especially the reaction trends of crude oil molecules with key molecules or molecular structures containing heteroatoms. Through simulation, it finds the relationship between the reaction trend and the reaction operating conditions, and optimizes the reaction operating conditions based on this to achieve an improvement in the value or quality of oil products.
[0106] The present invention is based on a structure-guided lumping method, which realizes the automatic generation of reaction networks and molecular reaction path query at the molecular level. With the help of a molecular-level calculation engine, the concentration and other data of each molecule at each microelement reaction time node are calculated, which can more intuitively observe the direction and concentration changes of the reaction molecules.
[0107] 2 , an embodiment of the present disclosure provides a molecular reaction trend optimization device, comprising:
[0108] A generation module 11 is configured to generate, for each secondary processing device model, a reaction network corresponding to the device model using crude oil fraction molecules that meet the physical property requirements of the current device model as reactants based on a preset reaction rule set corresponding to the device model, wherein the crude oil fraction molecules and each reaction rule in the preset reaction rule set are represented based on a structure-guided lumping method;
[0109] The first determination module 12 is used to determine the molecular composition and physical properties after the reaction occurs at each node in the reaction network, as well as the reaction operating conditions;
[0110] The blending module 13 is used to blend the oil products of different secondary processing device models;
[0111] The second determination module 14 is used to determine the target crude oil fraction molecules containing the molecular structure of the target molecule in the blended oil product based on the structure-guided lumping method, and track the reaction trends of the target crude oil fraction molecules in each reaction network;
[0112] An adjustment module 15 is used to adjust the reaction operating conditions at the node and establish a corresponding relationship between the reaction trend of the target crude oil fraction molecules and the reaction operating conditions;
[0113] The third determining module 16 is configured to determine the reaction operating conditions that meet the preset content requirement of the target molecule based on the corresponding relationship between the molecular trends and the reaction operating conditions.
[0114] The implementation process of the functions and effects of each unit in the above device model is specifically described in the implementation process of the corresponding steps in the above method, and will not be repeated here.
[0115] For the device model embodiment, since it basically corresponds to the method embodiment, the relevant parts can be referred to the partial description of the method embodiment. The device model embodiment described above is only illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed 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 modules can be selected according to actual needs to achieve the purpose of the solution of the present invention. Ordinary technicians in this field can understand and implement it without making any creative efforts.
[0116] In the second embodiment described above, any multiple of the generation module 11, the first determination module 12, the reconciliation module 13, the second determination module 14, the adjustment module 15, and the third determination module 16 can be combined into a single module, or any one of these modules can be split into multiple modules. Alternatively, at least part of the functionality of one or more of these modules can be combined with at least part of the functionality of other modules and implemented in a single module. At least one of the generation module 11, the first determination module 12, the reconciliation module 13, the second determination module 14, the adjustment module 15, and the third determination module 16 can be at least partially implemented as a hardware circuit, such as a field programmable gate array (FPGA), a programmable logic array (PLA), a system on a chip, a system on a substrate, a system on a package, an application-specific integrated circuit (ASIC), or can be implemented in hardware or firmware by any other reasonable means of integrating or packaging circuits, or can be implemented in any one of the three implementation methods of software, hardware, and firmware, or in any appropriate combination of any of these. Alternatively, at least one of the generation module 11, the first determination module 12, the reconciliation module 13, the second determination module 14, the adjustment module 15 and the third determination module 16 can be at least partially implemented as a computer program module, which can perform corresponding functions when executed.
[0117] 3 , an electronic device provided by an embodiment of the present disclosure includes a processor 1110 , a communication interface 1120 , a memory 1130 , and a communication bus 1140 , wherein the processor 1110 , the communication interface 1120 , and the memory 1130 communicate with each other via the communication bus 1140 ;
[0118] Memory 1130, for storing computer programs;
[0119] The processor 1110 is configured to implement the following molecular reaction trend optimization method when executing the program stored in the memory 1130:
[0120] For each secondary processing unit model, based on the preset reaction rule set corresponding to the unit model, crude oil fraction molecules that meet the physical property requirements of the current unit model are used as reactants to generate the corresponding reaction network of the unit model. The crude oil fraction molecules and each reaction rule in the preset reaction rule set are represented using the structure-guided lumping method.
[0121] Divide the device into micro-element reaction sections, and determine the molecular composition and physical properties after the reaction at the nodes formed by the micro-element reaction sections, as well as the reaction operating conditions;
[0122] Blend oil products from different secondary processing equipment models;
[0123] For target molecules in blended oil products, the target crude oil fraction molecules containing the molecular structure of the target molecules are determined based on the structure-guided lumping method, and the reaction trends of the target crude oil fraction molecules in various reaction networks are tracked;
[0124] Adjust the reaction operating conditions at the nodes and establish the corresponding relationship between the reaction trend of the target crude oil fraction molecules and the reaction operating conditions;
[0125] Based on the correspondence between the molecular trends and the reaction operating conditions, the reaction operating conditions that meet the preset content requirements of the target molecule are determined.
[0126] The communication bus 1140 may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The communication bus 1140 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, the figure shows only one thick line, but this does not imply that there is only one bus or only one type of bus.
[0127] The communication interface 1120 is used for communication between the electronic device and other devices.
[0128] The memory 1130 may include random access memory (RAM) or non-volatile memory, such as at least one disk storage. Alternatively, the memory 1130 may be at least one storage device located away from the processor 1110.
[0129] The above-mentioned processor 1110 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, and discrete hardware components.
[0130] The embodiments of the present disclosure further provide a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the molecular reaction trend optimization method described above.
[0131] The computer-readable storage medium may be included in the device / apparatus model described in the above embodiments, or may exist independently without being incorporated into the device / apparatus model. The computer-readable storage medium carries one or more programs that, when executed, implement the molecular reaction trend optimization method according to the embodiments of the present disclosure.
[0132] According to an embodiment of the present disclosure, a computer-readable storage medium may be a non-volatile computer-readable storage medium, such as, but not limited to, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, an apparatus model, or a device.
[0133] It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the terms "comprises," "comprising," or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article, or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or device. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or device comprising the element.
[0134] The foregoing description is intended only to provide specific embodiments of the present disclosure, intended to enable those skilled in the art to understand and implement the present disclosure. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure is not to be limited to the embodiments shown herein, but is to be construed in the broadest manner consistent with the principles and novel features claimed herein.
Claims
1. A method for optimizing the trend of molecular reactions, characterized in that: The method comprises: For each secondary processing device model, based on the preset reaction rule set corresponding to the device model, the crude oil fraction molecules that meet the physical property requirements of the current device model are used as reactants to generate a reaction network corresponding to the device model, wherein the crude oil fraction molecules and each reaction rule in the preset reaction rule set are represented based on the structure-guided lumping method; Divide the device into micro-element reaction sections, and determine the molecular composition and physical properties of the nodes formed by the micro-element reaction sections after the reaction and the reaction operation conditions; Blending oil products from different secondary processing unit models; For the target molecules in the blended oil products, the target crude oil fraction molecules containing the molecular structure of the target molecules are determined based on the structure-guided lumping method, and the reaction trends of the target crude oil fraction molecules in each reaction network are tracked; Adjust the reaction operating conditions at the nodes to establish the corresponding relationship between the reaction trend of the target crude oil fraction molecules and the reaction operating conditions; Based on the correspondence between the molecular trends and the reaction operating conditions, the reaction operating conditions that meet the preset content requirements of the target molecules are determined.
2. The method according to claim 1, characterized in that For each secondary processing device model, based on a preset reaction rule set corresponding to the device model, crude oil fraction molecules that meet the physical property requirements of the current device model are used as reactants to generate a reaction network corresponding to the device model, including: For each secondary processing device model, according to each reaction rule in the preset reaction rule set corresponding to the device model, the structure-oriented lumped representation of each crude oil fraction molecule that meets the physical property requirements of the current device model is traversed to obtain the reaction path corresponding to each raw material molecule and the structure-oriented lumped representation of the product molecule of each reaction path; The reaction paths corresponding to the crude oil fraction molecules that meet the physical property requirements of the current device model are combined into a reaction network.
3. The method according to claim 1, characterized in that The method of dividing the micro-element reaction sections according to the device and determining the molecular composition and physical properties after the reaction at the nodes formed by the micro-element reaction sections and the reaction operation conditions includes: The reaction time of the current device is divided into multiple micro-element reaction sections, and an ordinary differential equation is constructed for each micro-element reaction section. The ordinary differential equation is solved according to the preset initial value of the reaction rate constant and the content of each reactant molecule to obtain the molecular composition and physical properties after the reaction in the micro-element reaction section; Each micro-element reaction section outlet node on the reaction path stores the molecular composition and physical properties after the reaction in the micro-element reaction section as well as the reaction operating conditions.
4. The method according to claim 3, characterized in that The reaction time of the current device is divided into multiple micro-element reaction sections, and an ordinary differential equation is constructed for each micro-element reaction section. The ordinary differential equation is solved according to the preset initial value of the reaction rate constant and the content of each reactant molecule to obtain the molecular composition and physical properties after the reaction in the micro-element reaction section, including: The reaction time of the current device is evenly divided into n micro-element reaction segments, and the reaction time of each micro-element reaction segment is Δt=t / n; The reaction temperature, pressure, enthalpy and specific heat at the inlet of the actual production unit are used as the initial temperature, initial pressure, initial enthalpy and initial specific heat at the inlet of the first micro-element reaction section; For each microelement reaction segment, the Runge-Kutta algorithm is used to solve the reaction rate constant k corresponding to each reaction rule. i The ordinary differential equations under the condition of dc / dt are obtained to obtain the reactant concentration at the outlet of the microelement reaction section and the change of concentration with time dc / dt. The ordinary differential equations include: zero-order reaction, dc / dt = -k i ; first-order reaction, dc / dt=-k i c; Secondary reaction, According to dc / dt and the inlet enthalpy of the microelement reaction section, calculate the change of enthalpy over time dH / dt; According to dH / dt and specific heat capacity, calculate the change of temperature over time dT / dt to obtain the temperature at the outlet of the micro-element reaction section; The change of pressure over time dP / dt is calculated according to the ideal gas constant R and the change of temperature over time dT / dt, so as to obtain the pressure at the outlet of the micro-element reaction section; The temperature, pressure, enthalpy value and concentration of each product at the outlet of the micro-element reaction section are used as the inlet parameters of the next micro-element reaction section, and the parameters of the outlet of the next micro-element reaction section are calculated.
5. The method according to claim 1, characterized in that The tracking of the reaction trends of the target crude oil fraction molecules in each reaction network includes: Searching for all reaction paths in the reaction network with the target crude oil fraction molecules as reactants and the target molecules as products; The molecular composition of each reactant and product on all the reaction paths is taken as the reaction trend.
6. The method according to claim 5, characterized in that The molecular composition includes the types and contents of molecules.
7. The method according to claim 1, characterized in that The target molecule is a molecule containing heteroatoms, and the preset content of the target molecule is required to be less than a first preset threshold.
8. The method according to claim 1, characterized in that The target molecule is a key molecule, and a preset content requirement of the target molecule is greater than a second preset threshold value, wherein the key molecule is used to improve at least one of the octane number, cetane number, olefin yield and aromatic yield of the blended oil.
9. The method according to claim 1, characterized in that: The crude oil fraction molecules meeting the physical property requirements of the device model are obtained by the following steps: Determine the molecular composition of crude oil; Crude oil is cut according to boiling point to obtain the molecular composition of different crude oil fractions; Calculate the molecular properties of each crude oil fraction; Each crude oil fraction is matched to the secondary processing unit model according to the physical property requirements of the unit model.
10. The method according to claim 9, characterized in that The step of determining the target crude oil fraction molecules containing the molecular structure of the target molecules comprises: Representation of crude oil molecular composition based on structure-oriented lumping method; Determine the molecular composition of target crude oil containing the molecular structure of target molecules; The crude oil fraction corresponding to the target crude oil molecular composition is taken as the target crude oil fraction molecule.
11. The method according to claim 1, characterized in that: The secondary processing is one of residue oil hydrogenation, catalytic cracking, catalytic cracking, delayed coking, hydrocracking, catalytic reforming, alkylation, gasoline hydrogenation, diesel hydrogenation, wax oil hydrogenation, gasoline and diesel hydrogenation, gas fractionation, aromatics extraction and hydrogen production.
12. The method according to claim 1, characterized in that The reaction operating conditions include at least one of reaction temperature, reaction time and reaction pressure.
13. An electronic device, characterized in that: It includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus; Memory, used to store computer programs; The processor is used to implement the following molecular reaction trend optimization method when executing the program stored in the memory: For each secondary processing device model, based on the preset reaction rule set corresponding to the device model, the crude oil fraction molecules that meet the physical property requirements of the current device model are used as reactants to generate a reaction network corresponding to the device model, wherein the crude oil fraction molecules and each reaction rule in the preset reaction rule set are represented based on the structure-guided lumping method; Divide the device into micro-element reaction sections, and determine the molecular composition and physical properties of the nodes formed by the micro-element reaction sections after the reaction and the reaction operation conditions; Blending oil products from different secondary processing unit models; For the target molecules in the blended oil products, the target crude oil fraction molecules containing the molecular structure of the target molecules are determined based on the structure-guided lumping method, and the reaction trends of the target crude oil fraction molecules in each reaction network are tracked; Adjust the reaction operating conditions at the nodes to establish the corresponding relationship between the reaction trend of the target crude oil fraction molecules and the reaction operating conditions; Based on the correspondence between the molecular trends and the reaction operating conditions, the reaction operating conditions that meet the preset content requirements of the target molecules are determined.
14. The electronic device according to claim 13, characterized in that: For each secondary processing device model, based on a preset reaction rule set corresponding to the device model, crude oil fraction molecules that meet the physical property requirements of the current device model are used as reactants to generate a reaction network corresponding to the device model, including: For each secondary processing device model, according to each reaction rule in the preset reaction rule set corresponding to the device model, the structure-oriented lumped representation of each crude oil fraction molecule that meets the physical property requirements of the current device model is traversed to obtain the reaction path corresponding to each raw material molecule and the structure-oriented lumped representation of the product molecule of each reaction path; The reaction paths corresponding to the crude oil fraction molecules that meet the physical property requirements of the current device model are combined into a reaction network.
15. The electronic device according to claim 13, characterized in that: The method of dividing the micro-element reaction sections according to the device and determining the molecular composition and physical properties after the reaction at the nodes formed by the micro-element reaction sections and the reaction operation conditions includes: The reaction time of the current device is divided into multiple micro-element reaction sections, and an ordinary differential equation is constructed for each micro-element reaction section. The ordinary differential equation is solved according to the preset initial value of the reaction rate constant and the content of each reactant molecule to obtain the molecular composition and physical properties after the reaction in the micro-element reaction section; Each micro-element reaction section outlet node on the reaction path stores the molecular composition and physical properties after the reaction in the micro-element reaction section as well as the reaction operating conditions.
16. The electronic device according to claim 15, characterized in that: The reaction time of the current device is divided into multiple micro-element reaction sections, and an ordinary differential equation is constructed for each micro-element reaction section. The ordinary differential equation is solved according to the preset initial value of the reaction rate constant and the content of each reactant molecule to obtain the molecular composition and physical properties after the reaction in the micro-element reaction section, including: The reaction time of the current device is evenly divided into n micro-element reaction segments, and the reaction time of each micro-element reaction segment is Δt=t / n; The reaction temperature, pressure, enthalpy and specific heat at the inlet of the actual production unit are used as the initial temperature, initial pressure, initial enthalpy and initial specific heat at the inlet of the first micro-element reaction section; For each microelement reaction segment, the Runge-Kutta algorithm is used to solve the reaction rate constant k corresponding to each reaction rule. i The ordinary differential equations under the condition of , the reactant concentration at the outlet of the microelement reaction section and the change of concentration with time dC / dt are obtained, wherein the ordinary differential equations include: zero-order reaction, First order reaction, Second order reaction, dc / dt = -k i c 2 ; According to dc / dt and the inlet enthalpy of the microelement reaction section, calculate the change of enthalpy over time dH / dt; According to dH / dt and specific heat capacity, calculate the change of temperature over time dT / dt to obtain the temperature at the outlet of the micro-element reaction section; The change of pressure over time dp / dt is calculated according to the ideal gas constant R and the change of temperature over time dT / dt, so as to obtain the pressure at the outlet of the micro-element reaction section; The temperature, pressure, enthalpy value and concentration of each product at the outlet of the micro-element reaction section are used as the inlet parameters of the next micro-element reaction section, and the parameters of the outlet of the next micro-element reaction section are calculated.
17. The electronic device according to claim 13, characterized in that: The tracking of the reaction trends of the target crude oil fraction molecules in each reaction network includes: Searching for all reaction paths in the reaction network with the target crude oil fraction molecules as reactants and the target molecules as products; The molecular composition of each reactant and product on all the reaction paths is taken as the reaction trend.
18. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by the processor, the following molecular reaction trend optimization method is implemented: For each secondary processing device model, based on the preset reaction rule set corresponding to the device model, the crude oil fraction molecules that meet the physical property requirements of the current device model are used as reactants to generate a reaction network corresponding to the device model, wherein the crude oil fraction molecules and each reaction rule in the preset reaction rule set are represented based on the structure-guided lumping method; Divide the device into micro-element reaction sections, and determine the molecular composition and physical properties after the reaction at the nodes formed by the micro-element reaction sections, as well as the reaction operating conditions; Blending oil products from different secondary processing unit models; For the target molecules in the blended oil products, the target crude oil fraction molecules containing the molecular structure of the target molecules are determined based on the structure-guided lumping method, and the reaction trends of the target crude oil fraction molecules in each reaction network are tracked; Adjust the reaction operating conditions at the nodes to establish the corresponding relationship between the reaction trend of the target crude oil fraction molecules and the reaction operating conditions; Based on the correspondence between the molecular trends and the reaction operating conditions, the reaction operating conditions that meet the preset content requirements of the target molecules are determined.
19. The computer-readable storage medium according to claim 18, wherein: For each secondary processing device model, based on a preset reaction rule set corresponding to the device model, crude oil fraction molecules that meet the physical property requirements of the current device model are used as reactants to generate a reaction network corresponding to the device model, including: For each secondary processing device model, according to each reaction rule in the preset reaction rule set corresponding to the device model, the structure-oriented lumped representation of each crude oil fraction molecule that meets the physical property requirements of the current device model is traversed to obtain the reaction path corresponding to each raw material molecule and the structure-oriented lumped representation of the product molecule of each reaction path; The reaction paths corresponding to the crude oil fraction molecules that meet the physical property requirements of the current device model are combined into a reaction network.
20. The computer-readable storage medium of claim 18, wherein: The method of dividing the micro-element reaction sections according to the device and determining the molecular composition and physical properties after the reaction at the nodes formed by the micro-element reaction sections and the reaction operation conditions includes: The reaction time of the current device is divided into multiple micro-element reaction sections, and an ordinary differential equation is constructed for each micro-element reaction section. The ordinary differential equation is solved according to the preset initial value of the reaction rate constant and the content of each reactant molecule to obtain the molecular composition and physical properties after the reaction in the micro-element reaction section; Each micro-element reaction section outlet node on the reaction path stores the molecular composition and physical properties after the reaction in the micro-element reaction section as well as the reaction operating conditions.
Citation Information
Patent Citations
Method for modelling oil catalytic cracking reaction regeneration part
CN105701267A
Method for optimizing reaction conditions of hydrocracking process
CN106778008A
UV-PAA coupled reactor design optimization method based on numerical simulation
CN111524556A
Method, system and apparatus for determining conversion paths of molecules of crude oil, and storage medium
CN111892953A
Crude oil data management method, system and device, and storage medium
CN111899798A
