A mixture molecular composition detection method, system, device and storage medium

By querying the preset database and adjusting the concentration of the target molecule composition, the problem of high cost and long time for detecting the molecular composition of mixtures in the existing technology is solved, a low-cost and fast detection process is achieved, and the production level of petroleum products is improved.

CN111899810BActive Publication Date: 2024-08-27PETROCHINA CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010533871.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-06-12
Publication Date
2024-08-27
Estimated Expiration
2040-06-12

AI Technical Summary

Technical Problem

In the existing technology, the detection cost of the molecular composition of the mixture is high and the detection time is long, which limits the improvement of the production level of petroleum products.

Method used

By obtaining the physical properties of the mixture to be analyzed, querying the preset database, calculating the physical property deviation value, adjusting the concentration of the target molecular composition to match the physical properties of the mixture, the molecular composition of the mixture is determined.

Benefits of technology

It achieves low-cost and rapid detection of the molecular composition of mixtures, simplifies the detection process, and reduces the cost and time constraints of petroleum product production.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111899810B
    Figure CN111899810B
Patent Text Reader

Abstract

The present invention discloses a method, system, device and storage medium for detecting the molecular composition of a mixture. The method comprises: obtaining the physical properties of a mixture to be analyzed; querying a preset first database according to the physical properties of the mixture; the first database comprises: a plurality of sample molecular compositions and the physical properties of each of the sample molecular compositions; calculating the physical property deviation value between the mixture and each of the sample molecular compositions; selecting a target molecular composition from one or more sample molecular compositions whose physical property deviation value with the mixture is less than a preset first deviation threshold; adjusting the concentration of various single molecules in the target molecular composition so that the physical properties of the adjusted target molecular composition are the same as those of the mixture, and determining the adjusted target molecular composition as the molecular composition of the mixture. The mixture molecular composition detection method of the present invention has low detection cost, and the detection method is simple and easy to operate.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of computer technology, and in particular to a method, system, device, and storage medium for detecting the molecular composition of mixtures. Background Technology

[0002] With the increasing scarcity of petroleum resources and the growing demand for clean fuels and environmental awareness worldwide, producing clean and environmentally friendly fuels and reducing environmental pollution has become a top priority. Therefore, researchers are focusing on improving existing gasoline production processes or developing new technologies to produce cleaner petroleum products and maximize the production of aromatics, ethylene, and other important chemical products.

[0003] In the production of petroleum products, understanding the molecular composition of mixtures is crucial for improving production technology and enhancing economic efficiency. However, current technologies require multiple procedures, including distillation, gas chromatography, high-performance liquid chromatography, ultra-high resolution mass spectrometry, and nuclear magnetic resonance (NMR), resulting in expensive equipment, complex techniques, and lengthy processing times. Consequently, most oil refineries are hampered by the high cost of current molecular composition analysis and lack the capability to perform such analysis, thus limiting the improvement of petroleum product production levels. Summary of the Invention

[0004] The main objective of this invention is to provide a method, system, device, and storage medium for detecting the molecular composition of mixtures, so as to solve the problems of high cost and long detection time in existing methods for detecting the molecular composition of mixtures.

[0005] To address the aforementioned technical problems, the present invention provides the following technical solution:

[0006] This invention discloses a method for detecting the molecular composition of a mixture, comprising: acquiring the physical properties of the mixture to be analyzed; querying a preset first database based on the physical properties of the mixture; the first database including: multiple sample molecular compositions and the physical properties of each sample molecular composition; calculating the deviation value of the physical properties of the mixture from each sample molecular composition; selecting a target molecular composition from one or more sample molecular compositions whose physical property deviation value from the mixture is less than a preset first deviation threshold; adjusting the concentration of various single molecules in the target molecular composition so that the physical properties of the adjusted target molecular composition are the same as the physical properties of the mixture, and determining the adjusted target molecular composition as the molecular composition of the mixture.

[0007] According to a preferred embodiment of the present invention, the method further includes: if among one or more sample molecular compositions whose property deviation value from the mixture is less than a preset first deviation threshold, there exists a sample molecular composition whose property deviation value from the mixture is zero, then the sample molecular composition whose property deviation value from the mixture is zero is determined as the molecular composition of the mixture.

[0008] According to a preferred embodiment of the present invention, the method further includes: storing the correspondence between the adjusted target molecular composition and the physical properties of the mixture in the first database; wherein the adjusted target molecular composition is used as the sample molecular composition in the first database, and the physical properties of the mixture are used as the physical properties of the sample molecular composition.

[0009] According to a preferred embodiment of the present invention, when the mixture has multiple physical properties, calculating the deviation value of the physical property between the mixture and each of the sample molecular compositions includes: selecting a corresponding deviation algorithm for each physical property of the mixture; calculating the deviation value between each physical property of the mixture and the corresponding physical property of the sample molecular composition based on the deviation algorithm corresponding to each physical property of the mixture; and determining the deviation value between the physical property of the mixture and the sample molecular composition based on the deviation values ​​between the multiple physical properties of the mixture and the corresponding physical properties of the sample molecular composition.

[0010] According to a preferred embodiment of the present invention, selecting a corresponding deviation algorithm for each property of the mixture includes: determining whether each property of the mixture is less than a preset standard threshold; selecting an absolute deviation algorithm for the properties of the mixture that are less than the standard threshold, so as to calculate the absolute deviation value of the property less than the standard threshold and the corresponding property of the sample molecule composition; and selecting a relative deviation algorithm for the properties of the mixture that are greater than or equal to the standard threshold, so as to calculate the relative deviation value of the property greater than or equal to the standard threshold and the corresponding property of the sample molecule composition.

[0011] According to a preferred embodiment of the present invention, determining the deviation value of the physical properties of the mixture from the corresponding physical properties of the sample molecular composition based on the deviation values ​​of the various physical properties of the mixture from the corresponding physical properties of the sample molecular composition includes: calculating the sum of squares of the deviation values ​​of the various physical properties of the mixture from the corresponding physical properties of the sample molecular composition, and determining the arithmetic square root of the sum of squares of the deviation values ​​as the deviation value of the physical properties of the mixture from the sample molecular composition.

[0012] According to a preferred embodiment of the present invention, determining the property deviation value between the mixture and the sample molecular composition based on the deviation values ​​of various properties of the mixture from the corresponding properties of the sample molecular composition includes: obtaining a weight pre-set for each property of the mixture; for each property of the mixture, calculating the product of the square of the deviation value between the property and the corresponding property of the sample molecular composition and the weight of the property to obtain the weight deviation value corresponding to the property; calculating the sum of squares of the weight deviation values ​​corresponding to the various properties of the mixture, and determining the arithmetic square root of the sum of squares of the weight deviation values ​​as the property deviation value between the mixture and the sample molecular composition.

[0013] According to a preferred embodiment of the present invention, selecting a target sample molecular composition from one or more sample molecular compositions whose property deviation value from the mixture is less than a preset first deviation threshold includes: if there is only one sample molecular composition whose property deviation value from the mixture is less than the preset first deviation threshold, then the sample molecular composition is directly selected as the target molecular composition; if there are multiple sample molecular compositions whose property deviation value from the mixture is less than the preset first deviation threshold, then the sample molecular compositions corresponding to the first M property deviation values ​​are selected in ascending order of property deviation value, and the same molecular compositions are merged to form the target molecular composition; wherein, M is a positive integer greater than or equal to 1.

[0014] According to a preferred embodiment of the present invention, adjusting the concentration of various monomers in the target molecular composition includes: dividing the various monomers in the target molecular composition into multiple groups; sequentially selecting one group and adjusting the concentration of monomers in the selected group; if the physical properties of the adjusted target molecular composition are different from the physical properties of the mixture, then selecting the next group and continuing to adjust the concentration of monomers in the selected group until the physical properties of the adjusted target molecular composition are the same as the physical properties of the mixture.

[0015] According to a preferred embodiment of the present invention, the various single molecules in the target molecular composition are divided into multiple groups, including: calculating the physical property corresponding to each single molecule in the target molecular composition; dividing multiple ranges of physical property values, and determining the range of physical property values ​​to which each single molecule in the target molecular composition belongs; wherein, each single molecule in the target molecular composition whose physical property belongs to the same range of physical property values ​​is considered as a group.

[0016] According to a preferred embodiment of the present invention, adjusting the concentration of various monomers in the target molecular composition includes: determining the molecular characteristics of various monomers in the target molecular composition; adjusting the concentrations of monomers with different molecular characteristics in the target molecular composition proportionally; if the physical properties of the adjusted target molecular composition are different from the physical properties of the mixture, then continuing to adjust the concentrations of monomers with different molecular characteristics in the target molecular composition proportionally until the physical properties of the adjusted target molecular composition are the same as those of the mixture.

[0017] According to a preferred embodiment of the present invention, adjusting the concentration of various monomers in the target molecular composition includes: determining the distribution characteristics of the concentration of various monomers in the target molecular composition; adjusting the concentration of various monomers in the target molecular composition, and maintaining the distribution characteristics of the concentration of various monomers in the adjusted target molecular composition; if the physical properties of the adjusted target molecular composition are different from the physical properties of the mixture, then continuing to adjust the concentration of each monomer in the target molecular composition, and maintaining the distribution characteristics of the concentration of various monomers in the adjusted target molecular composition, until the physical properties of the adjusted target molecular composition are the same as those of the mixture.

[0018] According to a preferred embodiment of the present invention, adjusting the concentration of various monomers in the target molecular composition so that the properties of the adjusted target molecular composition are the same as those of the mixture includes: adjusting the concentration of various monomers in the target molecular composition; calculating the properties of the adjusted target molecular composition; comparing the properties of the target molecular composition and the properties of the mixture; if the properties of the target molecular composition and the mixture are different, then continuing to adjust the concentration of various monomers in the target molecular composition until the properties of the adjusted target molecular composition and the mixture are the same.

[0019] According to a preferred embodiment of the present invention, calculating the physical properties of the adjusted target molecular composition includes: determining the single molecules contained in the adjusted target molecular composition; calculating the physical properties of the single molecules based on the number of each group contained in each single molecule and the contribution value of each group to the physical properties; and calculating the physical properties of the adjusted target molecular composition based on the physical properties of the various single molecules in the adjusted target molecular composition.

[0020] According to a preferred embodiment of the present invention, before calculating the physical properties of the single molecule, the method further includes: comparing the number of each group constituting the single molecule with molecular information of template single molecules with known physical properties pre-stored in a second database; wherein the molecular information includes: the number of each group constituting the template single molecule; determining whether there is a template single molecule identical to the single molecule; if there is a template single molecule identical to the single molecule, then outputting the physical properties of the template single molecule as the physical properties of the single molecule; if there is no template single molecule identical to the single molecule, then calculating the physical properties of the single molecule.

[0021] According to a preferred embodiment of the present invention, calculating the physical properties of the monomolecule includes: obtaining the number of various groups constituting the monomolecule and obtaining the contribution value of each group to the physical properties; inputting the number of each group constituting the monomolecule and the contribution value of each group to the physical properties into a pre-trained physical property calculation model to obtain the physical properties of the monomolecule output by the physical property calculation model; wherein, the physical property calculation model is used to calculate the physical properties of the monomolecule based on the number of each group contained in the monomolecule and the contribution value of each group to the physical properties.

[0022] According to a preferred embodiment of the present invention, the step of training the property calculation model includes: constructing a property calculation model for a single molecule; obtaining the number of each group constituting the sample single molecule; wherein the property of the sample single molecule is known; inputting the number of each group constituting the sample single molecule into the property calculation model; obtaining the predicted property of the sample single molecule output by the property calculation model; if the deviation between the predicted property and the known property is less than a preset second deviation threshold, then determining that the property calculation model has converged, obtaining the contribution value of each group to the property in the converged property calculation model, and storing the contribution value of each group to the property; if the deviation between the predicted property and the known property is greater than or equal to the second deviation threshold, then adjusting the contribution value of each group to the property in the property calculation model until the property calculation model converges.

[0023] According to a preferred embodiment of the present invention, a single-molecule property calculation model is constructed, comprising:

[0024] The property calculation model for the single molecule determines the properties of the single molecule in the following manner:

[0025] Obtain the product of the number of each group in the monomolecule and the contribution value of each group to the physical property;

[0026] The physical properties of a single molecule are determined based on the sum of the products.

[0027] For example, the following physical property calculation model can be established:

[0028]

[0029] Where f represents the physical property of the single molecule, and n i Let Δf be the number of groups of the i-th type. i denoted as , where is the contribution of the i-th group to the physical property, and 'a' is the correlation constant.

[0030] According to a preferred embodiment of the present invention, primary groups and secondary groups are determined among all groups of the monomolecule; wherein, all groups constituting the monomolecule are designated as primary groups; multiple groups that coexist and contribute to the common existence of the same physical property are designated as secondary groups, and the number of the multiple groups is designated as the level of the secondary groups.

[0031] According to a preferred embodiment of the present invention, constructing a single-molecule property calculation model includes:

[0032] The property calculation model for the single molecule determines the properties of the single molecule in the following manner:

[0033] In each level group of the monomolecule, the product of the number of various groups contained therein and the contribution value of each group to the physical property is obtained. Then, the sum of the corresponding products of various groups is obtained and recorded as the contribution value of that level group to the physical property.

[0034] The properties of the single molecule are obtained by summing the contributions of each group to the physical properties.

[0035] For example, the following property calculation model can be established:

[0036]

[0037] Where f represents the physical property of the single molecule, and m 1i Δf represents the number of groups of the i-th type in the primary groups. 1i m is the contribution of the i-th group in the primary group to the physical property. 2j Δf represents the number of groups of the j-th type in the secondary groups. 2j The contribution of the j-th group in the secondary group to the physical property; m Nl Δf represents the number of groups of type l in the N-order groups. Nl denoted as l, where l is the contribution of the l-th group in the N-order group to the physical property; a is the correlation constant; and N is a positive integer greater than or equal to 2.

[0038] According to a preferred embodiment of the present invention, primary groups and secondary groups are determined among all groups of the monomolecule; wherein, all groups constituting the monomolecule are designated as primary groups; multiple groups that coexist and contribute to the common existence of the same physical property are designated as secondary groups, and the number of the multiple groups is designated as the level of the secondary groups.

[0039] According to a preferred embodiment of the present invention, the physical properties of the unimolecular molecule include: the boiling point of the unimolecular molecule;

[0040] The calculation of the physical properties of the single molecule includes:

[0041] For example, the boiling point of the unimolecular molecules can be calculated using the following property calculation model:

[0042]

[0043] Where T is the boiling point of the monomolecule, SOL is the monomolecule vector converted based on the number of each group constituting the monomolecule, GROUP1 is the first contribution value vector converted based on the contribution value of the primary group to the boiling point, GROUP2 is the second contribution value vector converted based on the contribution value of the secondary group to the boiling point, and GROUP... N The Nth contribution value vector is obtained by converting the contribution value of the Nth-level group to the boiling point. Numh is the number of atoms other than hydrogen atoms in a single molecule, d is the first preset constant, b is the second preset constant, and c is the third preset constant; N is a positive integer greater than or equal to 2.

[0044] According to a preferred embodiment of the present invention, the physical properties of the single molecule include: the density of the single molecule;

[0045] The calculation of the physical properties of the single molecule includes:

[0046] A single-molecule vector is obtained by converting the number of each group that constitutes the single molecule.

[0047] The contribution vector of each level of group to the density is obtained by converting the contribution value of each level of group to the density.

[0048] Obtain the product of the single-molecule vector with the contribution vector of each level of group, and then obtain the sum of the products of the single-molecule vector with the corresponding groups of each level;

[0049] The density of a single molecule is obtained by taking into account the proportion of the product of the single molecule vector and the contribution vector of the primary group in the sum of the products of the single molecule vector and the corresponding products of each level of group.

[0050] For example, the density of the single molecule can be calculated using the following physical property calculation model:

[0051]

[0052] Where D is the density of the single molecule, SOL is the single molecule vector obtained by converting the number of each group constituting the single molecule, and GROUP 21 GROUP is the (N+1)th contribution value vector obtained by transforming the contribution values ​​of the primary groups to the density. 22 The (N+2)th contribution value vector is obtained by transforming the contribution values ​​of secondary groups to the density. 2N The vector is the 2Nth contribution value vector obtained by converting the contribution value of the Nth level group to the density, where e is the fourth preset constant; and N is a positive integer greater than or equal to 2.

[0053] According to a preferred embodiment of the present invention, the physical properties of the monomolecule include: the octane number of the monomolecule;

[0054] The calculation of the physical properties of the single molecule includes:

[0055] A single-molecule vector is obtained by converting the number of each group that constitutes the single molecule.

[0056] The contribution vector of each level group to the octane number is obtained by converting the contribution value of each level group to the octane number.

[0057] Obtain the product of the single-molecule vector and the contribution vector of each group;

[0058] The octane number of the monomolecule is obtained by summing the products of the monomolecule vector and the corresponding groups at each level.

[0059] For example, the octane number of the unimolecular molecules can be calculated using the following property calculation model:

[0060] X = SOL × GROUP 31 +SOL×GROUP 32 +......+SOL×GROUP 3N +h;

[0061] Where X is the octane number of the monomolecule, SOL is the monomolecule vector obtained by converting the number of each group constituting the monomolecule, and GROUP 31 This is the 2N+1 contribution value vector obtained from the conversion of the contribution value of primary groups to the octane number. 32 This is the 2N+2 contribution value vector obtained from the conversion of secondary groups to the octane number. 3N The vector is the 3N contribution value vector obtained by converting the contribution value of N-level groups to the octane number; where N is a positive integer greater than or equal to 2; and h is the fifth preset constant.

[0062] According to a preferred embodiment of the present invention, the physical properties of the adjusted target molecular composition include: density, cloud point, pour point, aniline point, and octane number.

[0063] According to a preferred embodiment of the present invention, when the physical property of the adjusted target molecular composition is density, calculating the physical property of the adjusted target molecular composition includes:

[0064] Obtain the product of the density of each of the said monomers and the content of that monomer;

[0065] The density of the mixture is obtained by summing the corresponding products of the various monomolecules.

[0066] For example, the density of the adjusted target molecular composition can be calculated using the following formula:

[0067] density=∑(D i ×x i_volume );

[0068] Where density is the density of the mixed product, D i Let x be the density of the i-th type of single molecule. i_volume The content of the second component of the i-th type of monomolecule.

[0069] According to a preferred embodiment of the present invention, when the physical property of the adjusted target molecular composition is a cloud point, calculating the physical property of the adjusted target molecular composition includes: calculating the cloud point contribution value of each monomer based on the density and boiling point of each monomer; and calculating the cloud point of the adjusted target molecular composition based on the cloud point contribution value of each monomer in the adjusted target molecular composition and the content of each monomer in the adjusted target molecular composition.

[0070] According to a preferred embodiment of the present invention, when the physical property of the adjusted target molecular composition is the pour point, calculating the physical property of the adjusted target molecular composition includes: calculating the pour point contribution value of each monomolecule based on the density and molecular weight of each monomolecule; and calculating the pour point of the adjusted target molecular composition based on the pour point contribution value of each monomolecule in the adjusted target molecular composition and the content of each monomolecule in the adjusted target molecular composition.

[0071] According to a preferred embodiment of the present invention, when the physical property of the adjusted target molecular composition is the aniline point, calculating the physical property of the adjusted target molecular composition includes: calculating the aniline point contribution value of each monomer based on the density and boiling point of each monomer; and calculating the aniline point of the adjusted target molecular composition based on the aniline point contribution value of each monomer in the adjusted target molecular composition and the content of each monomer in the adjusted target molecular composition.

[0072] According to a preferred embodiment of the present invention, when the adjusted target molecule composition has an octane number, calculating the properties of the adjusted target molecule composition includes:

[0073] The octane number of the adjusted target molecule composition is calculated using the following formula:

[0074]

[0075]

[0076]

[0077]

[0078]

[0079]

[0080]

[0081] Wherein, ON is the octane number of the target molecule, HISQFG is a molecular set, H is a molecular set of n-alkanes, I is a molecular set of isoalkanes, S is a molecular set of cycloalkanes, Q is a molecular set of alkenes, F is a molecular set of aromatics, G is a molecular set of oxygen-containing compounds, and υ i The content of each molecule in the target molecule composition; υ H υ I υ S υ Q υ F υ G These represent the total content of n-alkanes, isoalkanes, cycloalkanes, alkenes, aromatics, and oxygen-containing compounds in the composition of the target molecule, respectively; β i For each molecule in the target molecular composition, the regression parameter is; ON i The octane number of each molecule in the target molecular composition; C H The coefficient representing the interaction coefficient between n-alkanes and other molecules; C IThe interaction coefficient between isoalkanes and other molecules is represented by C. S The coefficient of interaction between cycloalkanes and other molecules; C Q The coefficient representing the interaction between olefins and other molecules; C F The interaction coefficient between aromatic hydrocarbons and other molecules; C G This represents the interaction coefficient between oxygen-containing compounds and other molecules; The first constant coefficient representing the relationship between n-alkanes and isoalkanes. The first constant coefficient representing the relationship between n-alkanes and cycloalkanes. The first constant coefficient representing the relationship between n-alkanes and alkenes. The first constant coefficient representing the relationship between n-alkanes and aromatics. The first constant coefficient representing the relationship between n-alkanes and oxygen-containing compounds, The first constant coefficient representing the relationship between isoalkanes and cycloalkanes. The first constant coefficient representing the relationship between isoalkanes and alkenes, The first constant coefficient representing the relationship between isoalkanes and aromatic hydrocarbons, The first constant coefficient representing the relationship between isoalkanes and oxygen-containing compounds, The first constant coefficient representing the relationship between cycloalkanes and alkenes, The first constant coefficient representing the relationship between cycloalkanes and aromatics. The first constant coefficient representing the relationship between cycloalkanes and oxygen-containing compounds, The first constant coefficient representing the relationship between alkenes and aromatic hydrocarbons, The first constant coefficient representing the relationship between alkenes and oxygen-containing compounds, The first constant coefficient representing the relationship between aromatic hydrocarbons and oxygen-containing compounds, The second constant coefficient representing the relationship between n-alkanes and isoalkanes. The second constant coefficient representing the relationship between n-alkanes and cycloalkanes. The second constant coefficient representing the relationship between n-alkanes and alkenes. The second constant coefficient representing the relationship between n-alkanes and aromatics. The second constant coefficient representing the relationship between n-alkanes and oxygen-containing compounds, The second constant coefficient representing the relationship between isoalkanes and cycloalkanes. The second constant coefficient representing the relationship between isoalkanes and alkenes, The second constant coefficient representing the relationship between isoalkanes and aromatic hydrocarbons. The second constant coefficient representing the relationship between isoalkanes and oxygen-containing compounds, The second constant coefficient representing the relationship between cycloalkanes and alkenes, The second constant coefficient representing the relationship between cycloalkanes and aromatics. The second constant coefficient representing the relationship between cycloalkanes and oxygen-containing compounds, The second constant coefficient representing the relationship between alkenes and aromatic hydrocarbons, The second constant coefficient representing the relationship between alkenes and oxygen-containing compounds, The second constant coefficient represents the relationship between aromatic hydrocarbons and oxygen-containing compounds; wherein the octane number includes: research octane number and motor octane number.

[0082] According to a preferred embodiment of the present invention, the method further includes: storing the group composition of the mixture and the physical properties of the mixture in the first database; wherein the group composition of the mixture is used as the sample molecular composition, and the physical properties of the mixture are used as the physical properties corresponding to the sample molecular composition.

[0083] According to a preferred embodiment of the present invention, the mixture is a mixture of petroleum hydrocarbons.

[0084] This invention provides a system for detecting the molecular composition of mixtures, the system comprising:

[0085] The selection unit is used to obtain the physical properties of the mixture to be analyzed;

[0086] The query unit is used to query a preset first database based on the physical properties of the mixture; the first database includes: multiple sample molecular compositions and the physical properties of each sample molecular composition;

[0087] A calculation unit is used to calculate the physical property deviation value of the mixture from each of the sample molecular compositions;

[0088] The first processing unit is used to select a target molecular composition from one or more sample molecular compositions whose physical property deviation value from the mixture is less than a preset first deviation threshold.

[0089] The second processing unit is used to adjust the concentration of various monomers in the target molecular composition so that the physical properties of the adjusted target molecular composition are the same as those of the mixture, and to determine the adjusted target molecular composition as the molecular composition of the mixture.

[0090] According to a preferred embodiment of the present invention, the system further includes a third processing unit, configured to determine the sample molecular composition with a zero physical property deviation from the mixture as the molecular composition of the mixture if, among one or more sample molecular compositions whose physical property deviation from the mixture is less than a preset first deviation threshold, there exists a sample molecular composition with a zero physical property deviation from the mixture.

[0091] According to a preferred embodiment of the present invention, the system further includes a fourth processing unit for storing the correspondence between the adjusted target molecular composition and the physical properties of the mixture in the first database; wherein the adjusted target molecular composition is used as the sample molecular composition in the first database, and the physical properties of the mixture are used as the physical properties of the sample molecular composition.

[0092] According to a preferred embodiment of the present invention, the fourth processing unit is specifically configured to determine whether each property of the mixture is less than a preset standard threshold; select an absolute deviation algorithm for the properties of the mixture that are less than the standard threshold, so as to calculate the absolute deviation value of the property less than the standard threshold and the corresponding property of the sample molecule composition; and select a relative deviation algorithm for the properties of the mixture that are greater than or equal to the standard threshold, so as to calculate the relative deviation value of the property greater than or equal to the standard threshold and the corresponding property of the sample molecule composition.

[0093] According to a preferred embodiment of the present invention, the fourth processing unit is specifically used to calculate the sum of squares of the deviation values ​​of various physical properties of the mixture from the corresponding physical properties of the sample molecular composition, and to determine the arithmetic square root of the sum of squares of the deviation values ​​as the physical property deviation value between the mixture and the sample molecular composition.

[0094] According to a preferred embodiment of the present invention, the fourth processing unit is specifically configured to obtain a weight pre-set for each physical property of the mixture; for each physical property of the mixture, calculate the product of the square of the deviation value between the physical property and the corresponding physical property of the sample molecule composition and the weight corresponding to the physical property, to obtain the weight deviation value corresponding to the physical property; calculate the sum of squares of the weight deviation values ​​corresponding to the various physical properties of the mixture, and determine the arithmetic square root of the sum of squares of the weight deviation values ​​as the physical property deviation value between the mixture and the sample molecule composition.

[0095] According to a preferred embodiment of the present invention, the calculation unit is specifically configured to select a corresponding deviation algorithm for each property of the mixture; calculate the deviation value between each property of the mixture and the corresponding property of the sample molecule composition according to the deviation algorithm corresponding to each property of the mixture; and determine the property deviation value between the mixture and the sample molecule composition according to the deviation values ​​between the various properties of the mixture and the corresponding properties of the sample molecule composition.

[0096] According to a preferred embodiment of the present invention, the first processing unit is specifically configured to: if there is only one type of sample molecular composition whose property deviation value from the mixture is less than a preset first deviation threshold, then directly select the sample molecular composition as the target molecular composition; if there are multiple types of sample molecular compositions whose property deviation value from the mixture is less than the preset first deviation threshold, then sort them in ascending order of property deviation value, select the sample molecular compositions corresponding to the first M property deviation values ​​respectively, and merge the same molecular compositions to form the target molecular composition; wherein, M is a positive integer greater than or equal to 1.

[0097] According to a preferred embodiment of the present invention, the second processing unit is specifically used to adjust the concentration of various monomers in the target molecular composition; calculate the physical properties of the adjusted target molecular composition; compare the physical properties of the target molecular composition and the physical properties of the mixture; if the physical properties of the target molecular composition and the physical properties of the mixture are different, then continue to adjust the concentration of various monomers in the target molecular composition until the physical properties of the adjusted target molecular composition and the physical properties of the mixture are the same.

[0098] The present invention also provides a mixture molecular composition detection device, the mixture molecular composition detection device including a processor and a memory; the processor is used to execute a mixture molecular composition detection program stored in the memory to implement the above-described mixture molecular composition detection method.

[0099] The present invention also provides a storage medium storing one or more programs, which can be executed by one or more processors to implement the above-described method for detecting the molecular composition of mixtures.

[0100] The beneficial effects of this invention are as follows:

[0101] After obtaining the physical properties of a mixture, this invention first determines whether a sample molecular composition corresponding to that property already exists in a first database. If it does, the molecular composition of the mixture is directly determined. If it does not exist, one or more sample molecular compositions with properties similar to the mixture are obtained. The concentration of each molecule in the obtained sample molecular compositions is adjusted so that the macroscopic physical properties of the obtained sample molecular compositions are the same as those of the mixture. This invention's method for detecting the molecular composition of mixtures has low detection cost, is simple and easy to operate, and has a short detection time. Attached Figure Description

[0102] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0103] Figure 1 This is a flowchart of a method for detecting the molecular composition of a mixture according to an embodiment of the present invention;

[0104] Figure 2 This is a flowchart illustrating the steps for calculating the physical property deviation value according to an embodiment of the present invention;

[0105] Figure 3 This is a flowchart of the steps for adjusting the concentration of various single molecules in the composition of a target molecule according to an embodiment of the present invention;

[0106] Figure 4 This is a flowchart of the steps for adjusting the concentration of various single molecules in the composition of a target molecule according to another embodiment of the present invention;

[0107] Figure 5 This is a flowchart of the steps for adjusting the concentration of various monomolecules in the composition of a target molecule according to another embodiment of the present invention;

[0108] Figure 6 This is a flowchart illustrating the steps for determining whether physical properties are identical according to an embodiment of the present invention;

[0109] Figure 7 This is a flowchart of the steps for calculating physical properties according to an embodiment of the present invention;

[0110] Figure 8 This is a flowchart illustrating the steps for calculating the physical properties of a single molecule according to an embodiment of the present invention;

[0111] Figure 9 This is a flowchart of the steps for training a physical property calculation model according to an embodiment of the present invention;

[0112] Figure 10 This is a structural diagram of a mixture molecular composition detection system according to an embodiment of the present invention;

[0113] Figure 11 This is a structural diagram of a mixture molecular composition detection device according to an embodiment of the present invention. Detailed Implementation

[0114] To make the objectives, technical solutions, and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.

[0115] In this invention, a molecular characterization method based on SOL (Structure-Oriented Lumping) can be used to characterize single molecules. Based on the single molecules characterized by this method, the physical properties of various single molecules in the mixture are determined, and the physical properties of the mixture are calculated based on these properties. Specifically, the SOL-based molecular characterization method can utilize 24 functional groups to characterize the structure of hydrocarbon molecules. A functional group is a characteristic structural component of a molecule, and each functional group generally undergoes a chemical reaction as a whole.

[0116] Furthermore, SOL (Simplified Osmotic Analysis) is a lumped representation at the molecular scale, reducing the number of molecules in a real system from millions to thousands, significantly reducing the complexity of property detection. This SOL-based molecular characterization method can represent not only alkanes and cycloalkanes, but also complex aromatic structures containing 50-60 carbon atoms, as well as alkenes or cycloalkenes as intermediates or secondary reaction products. It also considers compounds containing heteroatoms such as sulfur, nitrogen, and oxygen.

[0117] According to embodiments of the present invention, a method for detecting the molecular composition of a mixture is provided. For example... Figure 1 The diagram shown is a flowchart of a method for detecting the molecular composition of a mixture according to an embodiment of the present invention.

[0118] Step S110: Obtain the physical properties of the mixture to be analyzed.

[0119] In this embodiment, the mixture is a mixture of petroleum hydrocarbons.

[0120] In this embodiment, the physical properties of the mixture include, but are not limited to, density, cloud point, pour point, aniline point, and octane number. Of course, the physical properties of the mixture may also include, cetane number, freezing point, cold filter plugging point, etc.

[0121] Step S120: Query a preset first database based on the physical properties of the mixture.

[0122] The first database includes: multiple sample molecular compositions and the physical properties of each sample molecular composition.

[0123] Information about the sample's molecular composition, which consists of various molecules (monomers). For example: the types of monomers included in the sample's molecular composition, and the volume and quantity of each type of monomer.

[0124] Step S130: Calculate the physical property deviation value of the mixture from that of each of the sample molecules.

[0125] The method for calculating the deviation of the physical properties of the mixture from those of the sample molecules will be described later and will not be repeated here.

[0126] Step S140: Select the target molecular composition from one or more sample molecular compositions whose physical property deviation value from the mixture is less than a preset first deviation threshold.

[0127] If the number of sample molecular compositions whose physical property deviation value from the mixture is less than a preset first deviation threshold is one, then the sample molecular composition is directly selected as the target molecular composition.

[0128] If there are multiple sample molecular compositions whose property deviation values ​​from the mixture are less than a preset first deviation threshold, then the sample molecular compositions are sorted in ascending order of their property deviation values, and the first M property deviation values ​​corresponding to each sample molecular composition are selected. Identical molecular compositions are then merged to form the target molecular composition; where M is a positive integer greater than or equal to 1. Furthermore, if multiple sample molecular compositions are selected, the target molecular composition is a mixture of these multiple sample molecular compositions.

[0129] Step S150: Adjust the concentration of each monomer in the target molecular composition so that the physical properties of the adjusted target molecular composition are the same as those of the mixture, and determine the adjusted target molecular composition as the molecular composition of the mixture.

[0130] Furthermore, the concentration of each monomer in the target molecule composition can be adjusted, including: volume percentage, mass percentage, or molar percentage of each monomer.

[0131] The steps for determining whether the physical properties of the adjusted target molecular composition are the same as those of the mixture will be described later and will not be repeated here.

[0132] If the target molecule composition includes multiple sample molecules, then the physical properties of the target molecule composition are the macroscopic physical properties of those multiple sample molecules.

[0133] In this embodiment, after determining the adjusted target molecular composition as the molecular composition of the mixture, the correspondence between the adjusted target molecular composition and the physical properties of the mixture is stored in the first database. The adjusted target molecular composition is used as the sample molecular composition in the first database, and the physical properties of the mixture are used as the physical properties of the sample molecular composition. This continuously increases the variety of sample molecular compositions in the first database, effectively shortening the detection time when performing subsequent mixture molecular composition detection.

[0134] In this embodiment, if among one or more sample molecular compositions whose property deviation from the mixture is less than a preset first deviation threshold, there exists a sample molecular composition whose property deviation from the mixture is zero, then the sample molecular composition with zero property deviation from the mixture is determined as the molecular composition of the mixture. This eliminates the need for adjusting the single-molecule concentration and determining whether the target molecular composition and the mixture have the same properties, effectively shortening the computation time.

[0135] In this embodiment, after obtaining the physical properties of the mixture, it can first determine whether a sample molecular composition corresponding to that physical property already exists through a first database. If it does, the molecular composition of the mixture is directly determined. If it does not exist, one or more sample molecular compositions with similar physical properties to the mixture are obtained. The concentration of each molecule in the obtained one or more sample molecular compositions is adjusted so that the macroscopic physical properties of the obtained one or more sample molecular compositions are the same as the physical properties of the mixture. The mixture molecular composition detection method of this embodiment has low detection cost, is simple and easy to operate, and has a short detection time.

[0136] The following section provides a further description of the deviation values ​​of physical properties between the mixture and the sample molecular composition.

[0137] like Figure 2 The diagram shown is a flowchart illustrating the steps for calculating the physical property deviation value according to an embodiment of the present invention.

[0138] Step S210: Select the corresponding deviation algorithm for each property of the mixture.

[0139] The following provides a more specific method for selecting the deviation algorithm. Those skilled in the art should know that this method is only used to illustrate this embodiment and is not intended to limit this embodiment.

[0140] Determine whether each property of the mixture is less than a preset standard threshold; select an absolute deviation algorithm for the properties of the mixture that are less than the standard threshold in order to calculate the absolute deviation value of the property of the mixture that is less than the standard threshold and the corresponding property of the sample molecule composition; select a relative deviation algorithm for the properties of the mixture that are greater than or equal to the standard threshold in order to calculate the relative deviation value of the property of the mixture that is greater than or equal to the standard threshold and the corresponding property of the sample molecule composition.

[0141] The specific steps are as follows:

[0142] Step S1: For each property of the mixture, determine whether the property is less than a preset standard threshold; if yes, proceed to step S2; if no, proceed to step S3.

[0143] The standard threshold can be an empirical value or a value obtained through experimentation.

[0144] For example: the standard threshold is 10. -4 .

[0145] Step S2: If the property is less than the standard threshold, then select an absolute deviation algorithm for the property to calculate the absolute deviation value between the property and the corresponding property of the sample molecule composition.

[0146] Step S3: If the property is greater than or equal to the standard threshold, then a relative deviation algorithm is selected for the property to calculate the relative deviation value between the property and the corresponding property of the sample molecule composition.

[0147] Step S220: Calculate the deviation value between each property of the mixture and the corresponding property of the sample molecule composition according to the deviation algorithm corresponding to each property of the mixture.

[0148] For example: The mixture includes a first property p1, a second property p2, a third property p3, and a fourth property p4, where p1 and p3 are both less than the standard threshold, and p2 and p4 are both greater than the standard threshold. In this case, p1 and p3 correspond to the absolute deviation algorithm, and p2 and p4 correspond to the relative deviation algorithm. Calculate the absolute deviation value of the mixture's p1 and the first property q1 corresponding to the composition of the sample molecules, calculate the relative deviation value of the mixture's p2 and the second property q2 corresponding to the composition of the sample molecules, calculate the absolute deviation value of the mixture's p3 and the third property q3 corresponding to the composition of the sample molecules, and calculate the relative deviation value of the mixture's p4 and the fourth property q4 corresponding to the composition of the sample molecules.

[0149] Step S230: Determine the deviation value of the physical properties of the mixture from the corresponding physical properties of the sample molecular composition based on the deviation values ​​of the various physical properties of the mixture from the corresponding physical properties of the sample molecular composition.

[0150] In one embodiment, the sum of squares of the deviations of various physical properties of the mixture from the corresponding physical properties of the sample molecular composition is calculated, and the arithmetic square root of the sum of squares of the deviations is determined as the deviation value of the physical property between the mixture and the sample molecular composition.

[0151] For example: calculate the absolute deviation between the first physical property p1 of the mixture and the corresponding first physical property q1 of the sample molecular composition; calculate the relative deviation between the second physical property p2 of the mixture and the corresponding second physical property q2 of the sample molecular composition; calculate the absolute deviation between the third physical property p3 of the mixture and the corresponding third physical property q3 of the sample molecular composition; calculate the relative deviation between the fourth physical property p4 of the mixture and the corresponding fourth physical property q4 of the sample molecular composition; the deviation value ε between the physical property of the mixture and the sample molecular composition is:

[0152]

[0153] In another embodiment, a weight is pre-set for each property of the mixture; for each property of the mixture, the product of the square of the deviation value between the property and the corresponding property of the sample molecule composition and the weight corresponding to the property is calculated to obtain the weight deviation value corresponding to the property; the sum of the squares of the weight deviation values ​​corresponding to the various properties of the mixture is calculated, and the arithmetic square root of the sum of the squares of the weight deviation values ​​is determined as the property deviation value between the mixture and the sample molecule composition. The weights set for each property of the mixture can be empirical values ​​or values ​​obtained through experiments.

[0154] For example: Obtain the first weight w1 corresponding to the first physical property of the mixture, the second weight w2 corresponding to the second physical property, the third weight w3 corresponding to the third physical property, and the fourth weight w4 corresponding to the fourth physical property; calculate the absolute deviation between the first physical property p1 of the mixture and the first physical property q1 corresponding to the sample molecular composition; calculate the relative deviation between the second physical property p2 of the mixture and the second physical property q2 corresponding to the sample molecular composition; calculate the absolute deviation between the third physical property p3 of the mixture and the third physical property q3 corresponding to the sample molecular composition; calculate the relative deviation between the fourth physical property p4 of the mixture and the fourth physical property q4 corresponding to the sample molecular composition; the physical property deviation ε between the mixture and the sample molecular composition is:

[0155]

[0156] The following section further describes how to adjust the concentration of various monomers in the target molecule composition.

[0157] like Figure 3 The diagram shown is a flowchart illustrating the steps for adjusting the concentrations of various monomolecules in the composition of a target molecule according to an embodiment of the present invention.

[0158] Step S310: Divide the various single molecules in the target molecule composition into multiple groups.

[0159] The following is a more specific grouping method:

[0160] Step S1: Calculate the physical properties of each single molecule in the target molecular composition.

[0161] The physical properties of a single molecule include, but are not limited to: density, boiling point, and octane number. For example, the physical properties of a single molecule may also include: viscosity, solubility parameters, cetane number, and degree of unsaturation.

[0162] Furthermore, calculate the same physical property corresponding to each monomer in the target molecular composition. For example, calculate the boiling point corresponding to each monomer in the target molecular composition.

[0163] Step S2: Divide multiple property value ranges and determine the property value range to which each single molecule in the target molecule composition belongs.

[0164] Step S3: Group the individual molecules in the target molecule composition that have properties within the same range of values ​​as a group.

[0165] For example: calculate the boiling point of each monomolecule in the target molecule composition; divide multiple boiling point value ranges, such as: [0,25], (25,50], (50,75], (75,100]; determine the boiling point value range to which the boiling point of each monomolecule belongs, and group monomolecules whose boiling points belong to the same boiling point value range as a group.

[0166] Step S320: Select a group sequentially and adjust the concentration of monomolecules in the selected group.

[0167] Step S330: Determine whether the physical properties of the adjusted target molecule composition and the physical properties of the mixture are the same; if yes, proceed to step S340; if no, proceed to step S320.

[0168] If the properties of the adjusted target molecule composition are different from those of the mixture, proceed to step S320, select the next group, and continue to adjust the concentration of the monomolecule in the selected group until the properties of the adjusted target molecule composition are the same as those of the mixture.

[0169] Step S340: Stop adjusting the concentration of each monomolecule in the target molecular composition.

[0170] like Figure 4 The diagram shown is a flowchart of the steps for adjusting the concentration of various monomolecules in the composition of a target molecule according to another embodiment of the present invention.

[0171] Step S410: Determine the molecular characteristics of each single molecule in the target molecule composition.

[0172] The molecular characteristics refer to the features of a molecule.

[0173] The types of molecular characteristics include, but are not limited to, carbon number, molecular weight, and molecular type. The molecular type includes, but is not limited to, alkanes, cycloalkanes, alkenes, and aromatic hydrocarbons.

[0174] Furthermore, determine the same type of molecular characteristics for each single molecule in the target molecule composition. For example: determine the number of carbon atoms in each single molecule in the target molecule composition. Another example: determine the molecular weight of each single molecule in the target molecule composition. Yet another example: determine the molecular type of each single molecule in the target molecule composition.

[0175] Step S420: The concentrations of single molecules with different molecular characteristics in the target molecular composition are adjusted proportionally.

[0176] Furthermore, the concentrations of single molecules of the same type but different molecular characteristics in the target molecule composition are adjusted proportionally.

[0177] The proportional adjustment includes: proportionally expanding or proportionally shrinking by a preset multiple.

[0178] For example: the molecular characteristic type is the number of carbon atoms; determine the number of carbon atoms in each monomer in the target molecule composition; if monomers have the same number of carbon atoms, their molecular characteristics are the same; if monomers have different numbers of carbon atoms, their molecular characteristics are different; adjust the concentration of monomers with different numbers of carbon atoms proportionally. Further, the target molecule composition includes C10 monomers, C13 monomers, and C20 monomers; adjust the concentration of C10, C13, and C20 monomers proportionally, where C represents carbon, and the number following C is the number of carbon atoms.

[0179] For example: the type of molecular feature is the molecular type; determine the molecular type of each single molecule in the target molecular composition; the molecular types include: alkanes, cycloalkanes, alkenes and aromatics; thus, single molecules containing alkanes, single molecules containing cycloalkanes, single molecules containing alkenes and single molecules containing aromatics are single molecules of the same type but with different molecular features, and adjust the concentrations of single molecules containing alkanes, single molecules containing cycloalkanes, single molecules containing alkenes and single molecules containing aromatics in proportion.

[0180] Step S430: Determine whether the physical properties of the adjusted target molecule composition and the physical properties of the mixture are the same; if yes, proceed to step S440; if no, proceed to step S420.

[0181] If the physical properties of the adjusted target molecular composition are different from those of the mixture, then proceed to step S420 to continue adjusting the concentrations of single molecules with different molecular characteristics in the target molecular composition proportionally until the physical properties of the adjusted target molecular composition are the same as those of the mixture.

[0182] Step S440: Stop adjusting the concentration of single molecules with different molecular characteristics in the target molecular composition by a proportional ratio.

[0183] like Figure 5 The diagram shown is a flowchart illustrating the steps for adjusting the concentrations of various monomolecules in the composition of a target molecule according to another embodiment of the present invention.

[0184] Step S510: Determine the distribution characteristics of the concentrations of various single molecules in the target molecular composition.

[0185] The distribution characteristics refer to the distribution characteristics of the concentration of various single molecules in the target molecule composition on a certain type of molecular characteristic.

[0186] For example, the concentrations of various single molecules in the target molecule at different carbon numbers exhibit a normal distribution.

[0187] Step S520: Adjust the concentration of various single molecules in the target molecular composition, and maintain the distribution characteristics of the concentration of various single molecules in the adjusted target molecular composition.

[0188] In this embodiment, while adjusting the concentration of each individual molecule of the target molecule, the distribution characteristics of the concentration of each individual molecule of the target molecule remain unchanged.

[0189] Step S530: Determine whether the physical properties of the adjusted target molecule composition and the physical properties of the mixture are the same; if yes, proceed to step S540; if no, proceed to step S520.

[0190] If the physical properties of the adjusted target molecular composition are different from those of the mixture, then proceed to step S520 to continue adjusting the concentration of each individual molecule in the target molecular composition, and maintain the distribution characteristics of the concentration of each individual molecule in the adjusted target molecular composition until the physical properties of the adjusted target molecular composition are the same as those of the mixture.

[0191] Step S540: Stop proportionally adjusting the concentrations of single molecules with different molecular characteristics in the target molecular composition.

[0192] The following describes the methods for determining whether the physical properties of the adjusted target molecular composition and the physical properties of the mixture are the same.

[0193] like Figure 6 The diagram shown is a flowchart illustrating the steps for determining whether physical properties are identical according to an embodiment of the present invention.

[0194] Step S610: Adjust the concentration of various monomolecules in the target molecule composition.

[0195] Step S620: Calculate the physical properties of the adjusted target molecule composition.

[0196] Step S630: Compare the physical properties of the target molecule composition and the physical properties of the mixture.

[0197] Step S640: Determine whether the physical properties of the target molecule composition and the physical properties of the mixture are the same; if yes, proceed to step S650; if no, proceed to step S610.

[0198] If the properties of the target molecule composition are different from those of the mixture, proceed to step S610 and continue to adjust the concentrations of various monomers in the target molecule composition until the properties of the adjusted target molecule composition are the same as those of the mixture.

[0199] Step S650: Stop adjusting the concentration of each single molecule in the target molecule composition.

[0200] The physical properties of the target molecule after calculation and adjustment are described below.

[0201] like Figure 7 The diagram shown is a flowchart of the steps for calculating physical properties according to an embodiment of the present invention.

[0202] Step S710: Determine the various monomolecules contained in the adjusted target molecular composition.

[0203] Determine the various single molecules contained in the adjusted target molecule composition, that is, determine the molecular composition of the adjusted target molecule composition.

[0204] Step S720: For each monomolecule in the adjusted target molecular composition, calculate the physical properties of the monomolecule based on the number of each group constituting the monomolecule and the contribution value of each group to the physical properties.

[0205] The physical properties of a single molecule include, but are not limited to: density, boiling point, and octane number. For example, the physical properties of a single molecule may also include: viscosity, solubility parameters, cetane number, and degree of unsaturation.

[0206] A functional group is part of a molecule, and functional groups generally participate in chemical reactions as a whole.

[0207] Based on the SOL-based molecular characterization method, the functional groups contained in each monomolecule are identified. Within each monomolecule, the number of each functional group and its contribution to the physical properties are determined. Since there are multiple physical properties in a monomolecule, it is necessary to determine the contribution of each functional group to each physical property individually.

[0208] The specific methods for calculating the physical properties of single molecules will be described later and will not be repeated here.

[0209] Step S730: Calculate the physical properties of the mixture based on the physical properties of each monomer in the adjusted target molecular composition and the content of each monomer in the adjusted target molecular composition.

[0210] Five methods for calculating the adjusted target molecule composition properties are provided below. However, those skilled in the art should know that these methods are only used to illustrate this embodiment and are not intended to limit this embodiment.

[0211] Method 1: When the physical property of the adjusted target molecular composition is density, the density of the mixture of the adjusted target molecular composition is calculated using the following formula:

[0212] density=∑(D i ×x i_volume );

[0213] Where density is the density of the mixture, D i Let x be the density of the i-th type of single molecule. i_volume The content of the second component of the i-th type of monomolecule.

[0214] Method 2: When the adjusted target molecular composition has a cloud point, calculate the physical properties of the adjusted target molecular composition, including:

[0215] Calculate the cloud point contribution value of each monomer based on its density and boiling point;

[0216] The cloud point of the adjusted target molecular composition is calculated based on the cloud point contribution value of each monomolecule in the adjusted target molecular composition and the content of each monomolecule in the adjusted target molecular composition.

[0217] Method 3: When the adjusted target molecular composition has the same physical property as its pour point, calculate the physical properties of the adjusted target molecular composition, including:

[0218] Calculate the pour point contribution value of each monomolecule based on its density and molecular weight;

[0219] The pour point of the adjusted target molecular composition is calculated based on the pour point contribution value of each monomolecule in the adjusted target molecular composition and the content of each monomolecule in the adjusted target molecular composition.

[0220] Method 4: When the adjusted target molecule composition has the aniline point as its physical property, calculate the physical properties of the adjusted target molecule composition, including:

[0221] Calculate the aniline point contribution value of each monomer based on its density and boiling point;

[0222] The aniline points of the adjusted target molecular composition are calculated based on the aniline point contribution value of each monomolecule in the adjusted target molecular composition and the content of each monomolecule in the adjusted target molecular composition.

[0223] Method 5: When the adjusted target molecule composition has an octane number, calculate the octane number of the adjusted target molecule composition using the following formula:

[0224]

[0225]

[0226]

[0227]

[0228]

[0229]

[0230]

[0231] Wherein, ON is the octane number of the target molecule, HISQFG is a molecular set, H is a molecular set of n-alkanes, I is a molecular set of isoalkanes, S is a molecular set of cycloalkanes, Q is a molecular set of alkenes, F is a molecular set of aromatics, G is a molecular set of oxygen-containing compounds, and υ i The content of each molecule in the target molecule composition; υ H υ I υ S υ Q υ F υ G These represent the total content of n-alkanes, isoalkanes, cycloalkanes, alkenes, aromatics, and oxygen-containing compounds in the composition of the target molecule, respectively; β i For each molecule in the target molecular composition, the regression parameter is; ON i The octane number of each molecule in the target molecular composition; C H The coefficient representing the interaction coefficient between n-alkanes and other molecules; C I The interaction coefficient between isoalkanes and other molecules is represented by C. S The coefficient of interaction between cycloalkanes and other molecules; C Q The coefficient representing the interaction between olefins and other molecules; C F The interaction coefficient between aromatic hydrocarbons and other molecules; C G This represents the interaction coefficient between oxygen-containing compounds and other molecules; The first constant coefficient representing the relationship between n-alkanes and isoalkanes. The first constant coefficient representing the relationship between n-alkanes and cycloalkanes. The first constant coefficient representing the relationship between n-alkanes and alkenes. The first constant coefficient representing the relationship between n-alkanes and aromatics. The first constant coefficient representing the relationship between n-alkanes and oxygen-containing compounds, The first constant coefficient representing the relationship between isoalkanes and cycloalkanes. The first constant coefficient representing the relationship between isoalkanes and alkenes, The first constant coefficient representing the relationship between isoalkanes and aromatic hydrocarbons, The first constant coefficient representing the relationship between isoalkanes and oxygen-containing compounds, The first constant coefficient representing the relationship between cycloalkanes and alkenes, The first constant coefficient representing the relationship between cycloalkanes and aromatics. The first constant coefficient representing the relationship between cycloalkanes and oxygen-containing compounds, The first constant coefficient representing the relationship between alkenes and aromatic hydrocarbons, The first constant coefficient representing the relationship between alkenes and oxygen-containing compounds, The first constant coefficient representing the relationship between aromatic hydrocarbons and oxygen-containing compounds, The second constant coefficient representing the relationship between n-alkanes and isoalkanes. The second constant coefficient representing the relationship between n-alkanes and cycloalkanes. The second constant coefficient representing the relationship between n-alkanes and alkenes. The second constant coefficient representing the relationship between n-alkanes and aromatics. The second constant coefficient representing the relationship between n-alkanes and oxygen-containing compounds, The second constant coefficient representing the relationship between isoalkanes and cycloalkanes. The second constant coefficient representing the relationship between isoalkanes and alkenes, The second constant coefficient representing the relationship between isoalkanes and aromatic hydrocarbons. The second constant coefficient representing the relationship between isoalkanes and oxygen-containing compounds, The second constant coefficient representing the relationship between cycloalkanes and alkenes, The second constant coefficient representing the relationship between cycloalkanes and aromatics. The second constant coefficient representing the relationship between cycloalkanes and oxygen-containing compounds, The second constant coefficient representing the relationship between alkenes and aromatic hydrocarbons, The second constant coefficient representing the relationship between alkenes and oxygen-containing compounds, The second constant coefficient represents the relationship between aromatic hydrocarbons and oxygen-containing compounds; wherein the octane number includes: research octane number and motor octane number.

[0232] In this embodiment, before calculating the physical properties of the single molecule, the number of each group constituting the single molecule can be compared with the molecular information of template single molecules with known physical properties pre-stored in the second database. The molecular information includes: the number of each group constituting the template single molecule; determining whether there is a template single molecule identical to the single molecule; if there is a template single molecule identical to the single molecule, the physical properties of the template single molecule are output as the physical properties of the single molecule; if there is no template single molecule identical to the single molecule, the physical properties of the single molecule are calculated. Further, if the types of groups constituting the template single molecule are the same as the types of groups constituting the single molecule, and the number of each group in the template single molecule is the same as the number of corresponding groups in the single molecule, then the template single molecule and the single molecule are determined to be the same; otherwise, the template single molecule and the single molecule are determined to be different.

[0233] In this embodiment, after obtaining the number of each group that constitutes a single molecule, the structure of the single molecule is confirmed to be stored in the database by comparing the corresponding number of groups. After confirming the existence of a template single molecule that is consistent with the single molecule, the physical properties of the single molecule are directly output, thereby improving the calculation efficiency of single molecule physical properties and reducing the amount of calculation.

[0234] The calculation of the properties of a single molecule is described in further detail below.

[0235] like Figure 8 The diagram shown is a flowchart illustrating the steps for calculating the physical properties of a single molecule according to an embodiment of the present invention.

[0236] Step S810: For each monomolecule in the adjusted target molecular composition, obtain the number of each group constituting the monomolecule, and obtain the contribution value of each group to the physical properties.

[0237] Furthermore, the types of functional groups contained in a single molecule are determined, the number of functional groups of each type is determined, and the contribution value of each type of functional group to the various physical properties of the adjusted target molecule composition is obtained.

[0238] Step S820: Input the number of each group constituting the monomolecule and the contribution value of each group to the physical properties into a pre-trained physical property calculation model to obtain the physical properties of the monomolecule output by the physical property calculation model.

[0239] In this embodiment, the property calculation model is used to calculate the properties of the monomolecule based on the number of each type of group contained in the monomolecule and the contribution value of each type of group to the properties.

[0240] Furthermore, the number of groups of each type in the single molecule is obtained, and the contribution value of each type of group to the various physical properties of the adjusted target molecule is obtained. This value is then input into a pre-trained physical property calculation model to obtain multiple physical properties of the single molecule output by the physical property calculation model.

[0241] The steps for training the physical property calculation model are described in further detail below.

[0242] like Figure 9 The diagram shown is a flowchart illustrating the steps of training a physical property calculation model according to an embodiment of the present invention.

[0243] Step S910: Construct a single-molecule property calculation model.

[0244] The property calculation model includes the contribution value of each functional group to the property. This contribution value is adjustable and is initialized during the first training. Furthermore, the property calculation model includes the contribution value of each functional group to each property.

[0245] The following presents two property calculation models that can be used for different physical properties. Those skilled in the art should understand that these two property calculation models are merely illustrative of this embodiment and are not intended to limit this embodiment.

[0246] Model 1: Establish the following physical property calculation model:

[0247]

[0248] Where f represents the physical property of the single molecule, and n i Let Δf be the number of groups of the i-th type. i denoted as , where is the contribution of the i-th group to the physical property, and 'a' is the correlation constant.

[0249] Groups constituting a single molecule can be further classified into hierarchical groups. Further, primary and hierarchical groups are identified among all groups in the single molecule; wherein all groups constituting the single molecule are considered primary groups; multiple groups that coexist and contribute to the same physical property are considered hierarchical groups, and the number of these multiple groups is considered the level of the hierarchical group. Furthermore, when groups exist individually in different molecules, they will have a certain influence on the physical property; when they coexist in one molecule, their contribution to the physical property will fluctuate based on their original contribution. The above-mentioned hierarchical group classification can also be based on the bond force range of the chemical bonds between groups. Different chemical bond forces will have different effects on different physical properties; specifically, the classification can be based on the influence of molecular stability on the physical property.

[0250] For example, regarding boiling point, in SOL-based molecular characterization methods, all 24 functional groups are considered primary functional groups. Among these 24 functional groups, one or more of N6, N5, N4, N3, me, AA, NN, RN, NO, RO, and KO, when present simultaneously, contribute to the boiling point. When classifying the functional groups of a monomolecule, all functional groups constituting the monomolecule are considered primary functional groups. It is then examined whether multiple functional groups that coexist and jointly contribute to the boiling point exist. If so, these multiple coexisting functional groups that jointly contribute to the boiling point are considered secondary functional groups. For instance, if N6 and N4 coexist in the monomolecule, then the number of functional groups that jointly contribute to the boiling point is two; therefore, the combination of N6 and N4 is considered a secondary functional group.

[0251] Model 2: Based on the division of multi-level groups, the following property calculation model can be established:

[0252]

[0253] Where f represents the physical property of the single molecule, and m 1i Δf represents the number of groups of the i-th type in the primary groups. 1i m is the contribution of the i-th group in the primary group to the physical property. 2j Δf represents the number of groups of the j-th type in the secondary groups. 2j The contribution of the j-th group in the secondary group to the physical property; m Nl Δf represents the number of groups of type l in the N-order groups. Nl denoted as l, where l is the contribution of the l-th group in the N-order group to the physical property; a is the correlation constant; and N is a positive integer greater than or equal to 2.

[0254] Step S920: Obtain the number of each group constituting the sample monomolecule; wherein the physical properties of the sample monomolecule are known.

[0255] A pre-set training sample set is provided. This set includes information on multiple single-molecule samples. This single-molecule information includes, but is not limited to: the number of each type of functional group constituting the single-molecule, and the physical properties of the single-molecule.

[0256] Step S930: Input the number of each group that constitutes a sample molecule into the property calculation model.

[0257] Step S940: Obtain the predicted physical properties of the sample single molecule output by the physical property calculation model.

[0258] Step S950: Determine whether the deviation between the predicted physical property and the known physical property is less than a preset second deviation threshold; if yes, proceed to step S960; if no, proceed to step S970.

[0259] If a single molecule of a sample has multiple physical properties, then the predicted physical properties of the single molecule of the sample will also be multiple when the physical property calculation model outputs them. In this case, the deviation value between each predicted physical property and the corresponding known physical property is calculated, and it is determined whether the deviation values ​​between all predicted physical properties and the corresponding known physical properties are less than the preset deviation value. If yes, then step S960 is executed; if no, then step S970 is executed.

[0260] In this embodiment, the relative or absolute deviation values ​​of the predicted property and the corresponding known property can be calculated.

[0261] Step S960: If the deviation between the predicted property and the known property is less than a preset second deviation threshold, the property calculation model is determined to be converged. The contribution value of each group to the property is obtained from the converged property calculation model and stored.

[0262] Since a single molecule may have multiple physical properties, the contribution value of each group to each physical property can be obtained from the converged physical property calculation model.

[0263] For different physical properties, the contribution value of a group to different physical properties may be inconsistent. However, the contribution value of the same group to the same physical property is consistent in different molecules. In this embodiment, the above-mentioned physical property calculation model is constructed. By training the constructed physical property calculation model, the physical property calculation model is made to converge. That is, the contribution value of each group to the physical property is obtained by training the physical property calculation model.

[0264] For each functional group, the contribution value of that functional group to each property is stored so that when calculating the properties of a single molecule, the contribution value of each functional group in the single molecule to the property to be known can be obtained. The number of each functional group in the single molecule and the contribution value of each functional group to the property to be known are used as inputs to the property calculation model. The property calculation model uses the number of each functional group in the single molecule as the model variable and the contribution value of each functional group to the property to be known as the model parameter (replacing the adjustable contribution value of each functional group to the property in the property calculation model) to calculate the property to be known.

[0265] In step S970, if the deviation between the predicted property and the known property is greater than or equal to the second deviation threshold, the contribution value of each group in the property calculation model to the property is adjusted, and the process jumps to step S950 until the property calculation model converges.

[0266] In addition to the general property calculation model mentioned above, property calculation models can also be constructed for each type of property according to its specific characteristics.

[0267] For example: Calculate the boiling point of a single molecule based on the following property calculation model:

[0268]

[0269] Where T is the boiling point of the monomolecule, SOL is the monomolecule vector converted based on the number of each group constituting the monomolecule, GROUP1 is the first contribution value vector converted based on the contribution value of the primary group to the boiling point, GROUP2 is the second contribution value vector converted based on the contribution value of the secondary group to the boiling point, and GROUP... N The Nth contribution value vector is obtained by converting the contribution value of the Nth-level group to the boiling point. Numh is the number of atoms other than hydrogen atoms in a single molecule, d is the first preset constant, b is the second preset constant, and c is the third preset constant; N is a positive integer greater than or equal to 2.

[0270] The single-molecule vector obtained by transforming the number of each group constituting the single molecule includes: using the number of all groups constituting the single molecule as the dimension of the single-molecule vector; and using the number of each group as the element value of the corresponding dimension in the single-molecule vector.

[0271] The first contribution value vector, obtained by converting the contribution values ​​of each primary group of the monomolecule to the boiling point, includes: using the number of primary groups as the dimension of the first contribution value vector; and using the contribution value of each primary group as the element value of the corresponding dimension in the first contribution value vector. The second contribution value vector, obtained by converting the contribution values ​​of each secondary group of the monomolecule to the boiling point, includes: using the number of secondary groups as the dimension of the second contribution value vector; and using the contribution value of each secondary group as the element value of the corresponding dimension in the second contribution value vector. Similarly, the Nth contribution value vector, obtained by converting the contribution values ​​of each Nth-level group of the monomolecule to the boiling point, includes: using the number of Nth-level groups as the dimension of the Nth contribution value vector; and using the contribution value of each Nth-level group as the element value of the corresponding dimension in the Nth contribution value vector.

[0272] For example: Calculate the density of a single molecule based on the following physical property calculation model:

[0273]

[0274] Where D is the density of the single molecule, SOL is the single molecule vector obtained by converting the number of each group constituting the single molecule, and GROUP 21 GROUP is the (N+1)th contribution value vector obtained by transforming the contribution values ​​of the primary groups to the density. 22The (N+2)th contribution value vector is obtained by transforming the contribution values ​​of secondary groups to the density. 2N The vector is the 2Nth contribution value vector obtained by converting the contribution value of the Nth level group to the density, where e is the fourth preset constant; and N is a positive integer greater than or equal to 2.

[0275] The single-molecule vector obtained by transforming the number of each type of group constituting the single molecule includes: using the number of types of groups constituting the single molecule as the dimension of the single-molecule vector; and using the number of each type of group as the element value of the corresponding dimension in the single-molecule vector.

[0276] The (N+1)th contribution value vector, obtained by converting the contribution values ​​of each primary group of the monomolecule to the density, includes: using the number of types of primary groups as the dimension of the (N+1)th contribution value vector; and using the contribution value of each type of primary group as the element value of the corresponding dimension in the (N+1)th contribution value vector. Similarly, the (N+2)th contribution value vector, obtained by converting the contribution values ​​of each secondary group of the monomolecule to the density, includes: using the number of types of secondary groups as the dimension of the (N+2)th contribution value vector; and using the contribution value of each type of secondary group as the element value of the corresponding dimension in the (N+2)th contribution value vector. Likewise, the (2N)th contribution value vector, obtained by converting the contribution values ​​of each Nth-level group of the monomolecule to the density, includes: using the number of types of Nth-level groups as the dimension of the (2N)th contribution value vector; and using the contribution value of each type of Nth-level group as the element value of the corresponding dimension in the (2N)th contribution value vector.

[0277] For example: Calculate the octane number of a single molecule based on the following property calculation model:

[0278] X = SOL × GROUP 31 +SOL×GROUP 32 +......+SOL×GROUP 3N +h;

[0279] Where X is the octane number of the monomolecule, SOL is the monomolecule vector obtained by converting the number of each group constituting the monomolecule, and GROUP 31 This is the 2N+1 contribution value vector obtained from the conversion of the contribution value of primary groups to the octane number. 32 This is the 2N+2 contribution value vector obtained from the conversion of secondary groups to the octane number. 3N The vector is the 3N contribution value vector obtained by converting the contribution value of N-level groups to the octane number; where N is a positive integer greater than or equal to 2; and h is the fifth preset constant.

[0280] The single-molecule vector obtained by transforming the number of each type of group constituting the single molecule includes: using the number of types of groups constituting the single molecule as the dimension of the single-molecule vector; and using the number of each type of group as the element value of the corresponding dimension in the single-molecule vector.

[0281] The 2N+1 contribution value vector, obtained by converting the contribution values ​​of each primary group of the monomolecule to the octane number, includes: using the number of types of primary groups as the dimension of the 2N+1 contribution value vector; and using the contribution value of each primary group as the element value of the corresponding dimension in the 2N+1 contribution value vector. Similarly, the 2N+2 contribution value vector, obtained by converting the contribution values ​​of each secondary group of the monomolecule to the octane number, includes: using the number of types of secondary groups as the dimension of the 2N+2 contribution value vector; and using the contribution value of each secondary group as the element value of the corresponding dimension in the 2N+2 contribution value vector. Likewise, the 3N contribution value vector, obtained by converting the contribution values ​​of each N-level group of the monomolecule to the octane number, includes: using the number of types of N-level groups as the dimension of the 3N contribution value vector; and using the contribution value of each N-level group as the element value of the corresponding dimension in the 3N contribution value vector.

[0282] This embodiment provides a system for detecting the molecular composition of mixtures. For example... Figure 10 The diagram shown is a structural diagram of a mixture molecular composition detection system according to an embodiment of the present invention. The detection system includes: a selection unit 11, a query unit 12, a calculation unit 13, a first processing unit 14, and a second processing unit 15.

[0283] In this embodiment, the selection unit 11 is used to obtain the physical properties of the mixture to be analyzed;

[0284] In this embodiment, the query unit 12 is used to query a preset first database based on the physical properties of the mixture; the first database includes: multiple sample molecular compositions and the physical properties of each sample molecular composition;

[0285] In this embodiment, the calculation unit 13 is used to calculate the physical property deviation value between the mixture and each of the sample molecules;

[0286] In this embodiment, the first processing unit 14 is used to select a target molecular composition from one or more sample molecular compositions whose physical property deviation value from the mixture is less than a preset first deviation threshold.

[0287] In this embodiment, the second processing unit 15 is used to adjust the concentration of various monomolecules in the target molecular composition so that the physical properties of the adjusted target molecular composition are the same as those of the mixture, and to determine the adjusted target molecular composition as the molecular composition of the mixture.

[0288] The detection system may further include a third processing unit, which is used to determine the sample molecular composition with zero physical property deviation from the mixture as the molecular composition of the mixture if there is a sample molecular composition with zero physical property deviation from the mixture among one or more sample molecular compositions whose physical property deviation value from the mixture is less than a preset first deviation threshold.

[0289] The detection system may further include a fourth processing unit for storing the correspondence between the adjusted target molecular composition and the physical properties of the mixture in the first database; wherein the adjusted target molecular composition is used as the sample molecular composition in the first database, and the physical properties of the mixture are used as the physical properties of the sample molecular composition.

[0290] Specifically, the calculation unit is used to select a corresponding deviation algorithm for each property of the mixture; calculate the deviation value between each property of the mixture and the corresponding property of the sample molecule composition according to the deviation algorithm corresponding to each property of the mixture; and determine the property deviation value between the mixture and the sample molecule composition according to the deviation values ​​between the various properties of the mixture and the corresponding properties of the sample molecule composition.

[0291] Specifically, the first processing unit is configured to: if there is only one type of sample molecular composition whose property deviation value from the mixture is less than a preset first deviation threshold, then directly select the sample molecular composition as the target molecular composition; if there are multiple types of sample molecular compositions whose property deviation value from the mixture is less than the preset first deviation threshold, then sort them in ascending order of property deviation value, select the sample molecular compositions corresponding to the first M property deviation values ​​respectively, and merge the same molecular compositions to form the target molecular composition; wherein M is a positive integer greater than or equal to 1.

[0292] Specifically, the second processing unit is used to adjust the concentration of various monomers in the target molecular composition; calculate the physical properties of the adjusted target molecular composition; compare the physical properties of the target molecular composition and the physical properties of the mixture; if the physical properties of the target molecular composition and the mixture are different, then continue to adjust the concentration of various monomers in the target molecular composition until the physical properties of the adjusted target molecular composition and the mixture are the same.

[0293] Specifically, the second processing unit is used to calculate the physical property corresponding to each single molecule in the target molecular composition; divide multiple physical property value ranges, and determine the physical property value range to which each single molecule in the target molecular composition belongs; wherein, each single molecule in the target molecular composition whose physical property belongs to the same physical property value range is grouped as a group.

[0294] Specifically, the second processing unit is used to determine the molecular characteristics of various single molecules in the target molecular composition; to adjust the concentration of single molecules with different molecular characteristics in the target molecular composition proportionally; if the physical properties of the adjusted target molecular composition are different from the physical properties of the mixture, then the concentration of single molecules with different molecular characteristics in the target molecular composition is adjusted proportionally until the physical properties of the adjusted target molecular composition are the same as those of the mixture.

[0295] Specifically, the second processing unit is used to determine the concentration distribution characteristics of various monomers in the target molecular composition; adjust the concentration of various monomers in the target molecular composition, and maintain the distribution characteristics of the adjusted concentration of various monomers in the target molecular composition; if the physical properties of the adjusted target molecular composition are different from the physical properties of the mixture, then continue to adjust the concentration of each monomer in the target molecular composition, and maintain the distribution characteristics of the adjusted concentration of various monomers in the target molecular composition, until the physical properties of the adjusted target molecular composition are the same as those of the mixture.

[0296] Specifically, the second processing unit is used to adjust the concentration of various monomers in the target molecular composition; calculate the physical properties of the adjusted target molecular composition; compare the physical properties of the target molecular composition and the physical properties of the mixture; if the physical properties of the target molecular composition and the mixture are different, then continue to adjust the concentration of various monomers in the target molecular composition until the physical properties of the adjusted target molecular composition and the mixture are the same.

[0297] Specifically, the second processing unit is used to determine the single molecules contained in the adjusted target molecular composition; calculate the physical properties of the single molecules based on the number of each group contained in each single molecule and the contribution value of each group to the physical properties; and calculate the physical properties of the adjusted target molecular composition based on the physical properties of the various single molecules in the adjusted target molecular composition.

[0298] The detection system further includes a single-molecule property template matching unit, used to compare the number of each group constituting the single molecule with the molecular information of template single molecules with known properties pre-stored in a second database; wherein the molecular information includes: the number of each group constituting the template single molecule; determining whether there is a template single molecule identical to the single molecule; if there is a template single molecule identical to the single molecule, then outputting the property of the template single molecule as the property of the single molecule; if there is no template single molecule identical to the single molecule, then calculating the property of the single molecule.

[0299] Specifically, the second processing unit is used to obtain the number of various groups constituting the monomolecule and the contribution value of each group to the physical properties; input the number of each group constituting the monomolecule and the contribution value of each group to the physical properties into a pre-trained physical property calculation model to obtain the physical properties of the monomolecule output by the physical property calculation model; wherein, the physical property calculation model is used to calculate the physical properties of the monomolecule based on the number of each group contained in the monomolecule and the contribution value of each group to the physical properties.

[0300] The second processing unit is specifically used to construct a property calculation model for a single molecule; obtain the number of each group constituting the sample single molecule; wherein the property of the sample single molecule is known; input the number of each group constituting the sample single molecule into the property calculation model; obtain the predicted property of the sample single molecule output by the property calculation model; if the deviation between the predicted property and the known property is less than a preset second deviation threshold, then the property calculation model is determined to have converged, and the contribution value of each group to the property is obtained and stored in the converged property calculation model; if the deviation between the predicted property and the known property is greater than or equal to the second deviation threshold, then the contribution value of each group to the property in the property calculation model is adjusted until the property calculation model converges.

[0301] Specifically, the second processing unit is used to establish the following physical property calculation model:

[0302]

[0303] Where f represents the physical property of the single molecule, and n i Let Δf be the number of groups of the i-th type. i denoted as , where is the contribution of the i-th group to the physical property, and 'a' is the correlation constant.

[0304] The second processing unit is specifically used to determine primary groups and secondary groups among all groups of the monomolecule; wherein all groups constituting the monomolecule are regarded as primary groups; multiple groups that coexist and contribute to the same physical property are regarded as secondary groups, and the number of the multiple groups is regarded as the level of the secondary groups.

[0305] Specifically, the second processing unit is used to establish the following property calculation model:

[0306]

[0307] Where f represents the physical property of the single molecule, and m 1i Δf represents the number of groups of the i-th type in the primary groups. 1i m is the contribution of the i-th group in the primary group to the physical property. 2j Δf represents the number of groups of the j-th type in the secondary groups. 2j The contribution of the j-th group in the secondary group to the physical property; m Nl Δf represents the number of groups of type l in the N-order groups. Nl denoted as l, where l is the contribution of the l-th group in the N-order group to the physical property; a is the correlation constant; and N is a positive integer greater than or equal to 2.

[0308] The second processing unit is specifically used to determine primary groups and secondary groups among all groups of the monomolecule; wherein all groups constituting the monomolecule are regarded as primary groups; multiple groups that coexist and contribute to the same physical property are regarded as secondary groups, and the number of the multiple groups is regarded as the level of the secondary groups.

[0309] Specifically, the second processing unit is used to calculate the boiling point of the unimolecular molecules according to the following property calculation model:

[0310]

[0311] Where T is the boiling point of the monomolecule, SOL is the monomolecule vector converted based on the number of each group constituting the monomolecule, GROUP1 is the first contribution value vector converted based on the contribution value of the primary group to the boiling point, GROUP2 is the second contribution value vector converted based on the contribution value of the secondary group to the boiling point, and GROUP... N The Nth contribution value vector is obtained by converting the contribution value of the Nth-level group to the boiling point. Numh is the number of atoms other than hydrogen atoms in a single molecule, d is the first preset constant, b is the second preset constant, and c is the third preset constant; N is a positive integer greater than or equal to 2.

[0312] Specifically, the second processing unit is used to calculate the density of the single molecule according to the following physical property calculation model:

[0313]

[0314] Where D is the density of the single molecule, SOL is the single molecule vector obtained by converting the number of each group constituting the single molecule, and GROUP 21 GROUP is the (N+1)th contribution value vector obtained by transforming the contribution values ​​of the primary groups to the density. 22 The (N+2)th contribution value vector is obtained by transforming the contribution values ​​of secondary groups to the density. 2N The vector is the 2Nth contribution value vector obtained by converting the contribution value of the Nth level group to the density, where e is the fourth preset constant; and N is a positive integer greater than or equal to 2.

[0315] Specifically, the second processing unit is used to calculate the octane number of the single molecule according to the following property calculation model:

[0316] X = SOL × GROUP 31 +SOL×GROUP 32 +......+SOL×GROUP 3N +h;

[0317] Where X is the octane number of the monomolecule, SOL is the monomolecule vector obtained by converting the number of each group constituting the monomolecule, and GROUP 31 This is the 2N+1 contribution value vector obtained from the conversion of the contribution value of primary groups to the octane number. 32 This is the 2N+2 contribution value vector obtained from the conversion of secondary groups to the octane number. 3N The vector is the 3N contribution value vector obtained by converting the contribution value of N-level groups to the octane number; where N is a positive integer greater than or equal to 2; and h is the fifth preset constant.

[0318] The physical properties of the adjusted target molecule composition include: density, cloud point, pour point, aniline point, and octane number.

[0319] Specifically, the second processing unit is used to calculate the density of each group of the mixed products using the following formula:

[0320] density=∑(D i ×x i_volume );

[0321] Where density is the density of the mixed product, D iLet x be the density of the i-th type of single molecule. i_volume The content of the second component of the i-th type of monomolecule.

[0322] According to a preferred embodiment of the present invention, the second processing unit is specifically configured to calculate the cloud point contribution value of each monomolecule based on its density and boiling point; and to calculate the cloud point of the adjusted target molecular composition based on the cloud point contribution value of each monomolecule in the adjusted target molecular composition and the content of each monomolecule in the adjusted target molecular composition.

[0323] Specifically, the second processing unit is used to calculate the pour point contribution value of each monomolecule based on its density and molecular weight; and to calculate the pour point of the adjusted target molecular composition based on the pour point contribution value of each monomolecule in the adjusted target molecular composition and the content of each monomolecule in the adjusted target molecular composition.

[0324] Specifically, the second processing unit is used to calculate the aniline point contribution value of each monomolecule based on its density and boiling point; and to calculate the aniline point of the adjusted target molecule composition based on the aniline point contribution value of each monomolecule in the adjusted target molecule composition and the content of each monomolecule in the adjusted target molecule composition.

[0325] Specifically, the second processing unit is used to calculate the octane number of the adjusted target molecule composition using the following formula:

[0326]

[0327]

[0328]

[0329]

[0330]

[0331]

[0332]

[0333] Wherein, ON is the octane number of the target molecule, HISQFG is a molecular set, H is a molecular set of n-alkanes, I is a molecular set of isoalkanes, S is a molecular set of cycloalkanes, Q is a molecular set of alkenes, F is a molecular set of aromatics, G is a molecular set of oxygen-containing compounds, and υ i The content of each molecule in the target molecule composition; υ H υI υ S υ Q υ F υ G These represent the total content of n-alkanes, isoalkanes, cycloalkanes, alkenes, aromatics, and oxygen-containing compounds in the composition of the target molecule, respectively; β i For each molecule in the target molecular composition, the regression parameter is; ON i The octane number of each molecule in the target molecular composition; C H The coefficient representing the interaction coefficient between n-alkanes and other molecules; C I The interaction coefficient between isoalkanes and other molecules is represented by C. S The coefficient of interaction between cycloalkanes and other molecules; C Q The coefficient representing the interaction between olefins and other molecules; C F The interaction coefficient between aromatic hydrocarbons and other molecules; C G This represents the interaction coefficient between oxygen-containing compounds and other molecules; The first constant coefficient representing the relationship between n-alkanes and isoalkanes. The first constant coefficient representing the relationship between n-alkanes and cycloalkanes. The first constant coefficient representing the relationship between n-alkanes and alkenes. The first constant coefficient representing the relationship between n-alkanes and aromatics. The first constant coefficient representing the relationship between n-alkanes and oxygen-containing compounds, The first constant coefficient representing the relationship between isoalkanes and cycloalkanes. The first constant coefficient representing the relationship between isoalkanes and alkenes, The first constant coefficient representing the relationship between isoalkanes and aromatic hydrocarbons, The first constant coefficient representing the relationship between isoalkanes and oxygen-containing compounds, The first constant coefficient representing the relationship between cycloalkanes and alkenes, The first constant coefficient representing the relationship between cycloalkanes and aromatics. The first constant coefficient representing the relationship between cycloalkanes and oxygen-containing compounds, The first constant coefficient representing the relationship between alkenes and aromatic hydrocarbons, The first constant coefficient representing the relationship between alkenes and oxygen-containing compounds, The first constant coefficient representing the relationship between aromatic hydrocarbons and oxygen-containing compounds, The second constant coefficient representing the relationship between n-alkanes and isoalkanes. The second constant coefficient representing the relationship between n-alkanes and cycloalkanes. The second constant coefficient representing the relationship between n-alkanes and alkenes. The second constant coefficient representing the relationship between n-alkanes and aromatics. The second constant coefficient representing the relationship between n-alkanes and oxygen-containing compounds, The second constant coefficient representing the relationship between isoalkanes and cycloalkanes. The second constant coefficient representing the relationship between isoalkanes and alkenes, The second constant coefficient representing the relationship between isoalkanes and aromatic hydrocarbons. The second constant coefficient representing the relationship between isoalkanes and oxygen-containing compounds, The second constant coefficient representing the relationship between cycloalkanes and alkenes, The second constant coefficient representing the relationship between cycloalkanes and aromatics. The second constant coefficient representing the relationship between cycloalkanes and oxygen-containing compounds, The second constant coefficient representing the relationship between alkenes and aromatic hydrocarbons, The second constant coefficient representing the relationship between alkenes and oxygen-containing compounds, The second constant coefficient represents the relationship between aromatic hydrocarbons and oxygen-containing compounds; wherein the octane number includes: research octane number and motor octane number.

[0334] The detection system further includes a storage unit for storing the group composition and physical properties of the mixture in the first database; wherein the group composition of the mixture is used as the sample molecular composition, and the physical properties of the mixture are used as the physical properties corresponding to the sample molecular composition.

[0335] The mixture is a mixture of petroleum hydrocarbons.

[0336] This embodiment provides a device for detecting the molecular composition of mixtures. For example... Figure 11 The diagram shown is a structural diagram of a mixture molecular composition detection device according to an embodiment of the present invention.

[0337] In this embodiment, the mixture molecular composition detection device includes, but is not limited to, a processor 1010 and a memory 1020.

[0338] The processor 1010 is used to execute the mixture molecular composition detection program stored in the memory 1020 to implement the above-described mixture molecular composition detection method.

[0339] Specifically, the processor 1010 is used to execute a mixture molecular composition detection program stored in the memory 1020 to perform the following steps: acquiring the physical properties of the mixture to be analyzed; querying a preset first database based on the physical properties of the mixture; the first database includes: multiple sample molecular compositions and the physical properties of each sample molecular composition; calculating the deviation value of the physical properties of the mixture from each sample molecular composition; selecting a target molecular composition from one or more sample molecular compositions whose physical property deviation value from the mixture is less than a preset first deviation threshold; adjusting the concentration of various single molecules in the target molecular composition so that the physical properties of the adjusted target molecular composition are the same as the physical properties of the mixture, and determining the adjusted target molecular composition as the molecular composition of the mixture.

[0340] The method further includes: if among one or more sample molecular compositions whose property deviation value from the mixture is less than a preset first deviation threshold, there exists a sample molecular composition whose property deviation value from the mixture is zero, then the sample molecular composition whose property deviation value from the mixture is zero is determined as the molecular composition of the mixture.

[0341] The method further includes: storing the correspondence between the adjusted target molecular composition and the physical properties of the mixture in the first database; wherein the adjusted target molecular composition is used as the sample molecular composition in the first database, and the physical properties of the mixture are used as the physical properties of the sample molecular composition.

[0342] When the mixture has multiple physical properties, calculating the deviation value of the mixture from each of the sample molecular compositions includes: selecting a corresponding deviation algorithm for each physical property of the mixture; calculating the deviation value between each physical property of the mixture and the corresponding physical property of the sample molecular composition based on the deviation algorithm corresponding to each physical property of the mixture; and determining the deviation value between the mixture and the sample molecular composition based on the deviation values ​​between the multiple physical properties of the mixture and the corresponding physical properties of the sample molecular composition.

[0343] The method of selecting a corresponding deviation algorithm for each property of the mixture includes: determining whether each property of the mixture is less than a preset standard threshold; selecting an absolute deviation algorithm for the properties of the mixture that are less than the standard threshold in order to calculate the absolute deviation value of the property less than the standard threshold and the corresponding property of the sample molecule composition; and selecting a relative deviation algorithm for the properties of the mixture that are greater than or equal to the standard threshold in order to calculate the relative deviation value of the property greater than or equal to the standard threshold and the corresponding property of the sample molecule composition.

[0344] The method of determining the deviation value of the physical properties of the mixture from the corresponding physical properties of the sample molecules based on the deviation values ​​of the various physical properties of the mixture from the corresponding physical properties of the sample molecules includes: calculating the sum of squares of the deviation values ​​of the various physical properties of the mixture from the corresponding physical properties of the sample molecules, and determining the arithmetic square root of the sum of squares of the deviation values ​​as the deviation value of the physical properties of the mixture from the sample molecules.

[0345] The method of determining the deviation value of the physical properties of the mixture from the corresponding physical properties of the sample molecules based on the deviation values ​​of the various physical properties of the mixture from the corresponding physical properties of the sample molecules includes: obtaining a weight pre-set for each physical property of the mixture; for each physical property of the mixture, calculating the product of the square of the deviation value of the physical property from the corresponding physical property of the sample molecules and the weight of the physical property to obtain the weight deviation value corresponding to the physical property; calculating the sum of squares of the weight deviation values ​​corresponding to the various physical properties of the mixture, and determining the arithmetic square root of the sum of squares of the weight deviation values ​​as the deviation value of the physical properties of the mixture from the sample molecules.

[0346] Among one or more sample molecular compositions whose property deviation value from the mixture is less than a preset first deviation threshold, selecting a target sample molecular composition includes: if there is only one sample molecular composition whose property deviation value from the mixture is less than the preset first deviation threshold, then that sample molecular composition is directly selected as the target molecular composition; if there are multiple sample molecular compositions whose property deviation value from the mixture is less than the preset first deviation threshold, then the sample molecular compositions corresponding to the first M property deviation values ​​are selected in ascending order of property deviation value, and the same molecular compositions are merged to form the target molecular composition; where M is a positive integer greater than or equal to 1.

[0347] The adjustment of the concentration of various monomers in the target molecular composition includes: dividing the various monomers in the target molecular composition into multiple groups; sequentially selecting one group and adjusting the concentration of monomers in the selected group; if the physical properties of the adjusted target molecular composition are different from the physical properties of the mixture, then selecting the next group and continuing to adjust the concentration of monomers in the selected group until the physical properties of the adjusted target molecular composition are the same as those of the mixture.

[0348] The process of dividing the various single molecules in the target molecule composition into multiple groups includes: calculating the physical properties corresponding to each single molecule in the target molecule composition; dividing multiple ranges of physical property values ​​to determine the range of physical property values ​​to which each single molecule in the target molecule composition belongs; wherein, each single molecule in the target molecule composition whose physical property belongs to the same range of physical property values ​​is considered as a group.

[0349] The adjustment of the concentration of various single molecules in the target molecular composition includes: determining the molecular characteristics of various single molecules in the target molecular composition; adjusting the concentration of single molecules with different molecular characteristics in the target molecular composition proportionally; if the physical properties of the adjusted target molecular composition are different from the physical properties of the mixture, then continuing to adjust the concentration of single molecules with different molecular characteristics in the target molecular composition proportionally until the physical properties of the adjusted target molecular composition are the same as those of the mixture.

[0350] The adjustment of the concentration of various monomers in the target molecular composition includes: determining the distribution characteristics of the concentration of various monomers in the target molecular composition; adjusting the concentration of various monomers in the target molecular composition, and maintaining the distribution characteristics of the concentration of various monomers in the adjusted target molecular composition; if the physical properties of the adjusted target molecular composition are different from the physical properties of the mixture, then continuing to adjust the concentration of each monomer in the target molecular composition, and maintaining the distribution characteristics of the concentration of various monomers in the adjusted target molecular composition, until the physical properties of the adjusted target molecular composition and the physical properties of the mixture are the same.

[0351] The step of adjusting the concentration of each individual molecule in the target molecular composition so that the properties of the adjusted target molecular composition are the same as those of the mixture includes: adjusting the concentration of each individual molecule in the target molecular composition; calculating the properties of the adjusted target molecular composition; comparing the properties of the target molecular composition and the properties of the mixture; if the properties of the target molecular composition and the mixture are different, then continuing to adjust the concentration of each individual molecule in the target molecular composition until the properties of the adjusted target molecular composition and the mixture are the same.

[0352] The calculation of the physical properties of the adjusted target molecule composition includes: determining the single molecules contained in the adjusted target molecule composition; calculating the physical properties of the single molecules based on the number of each group contained in each single molecule and the contribution value of each group to the physical properties; and calculating the physical properties of the adjusted target molecule composition based on the physical properties of the various single molecules in the adjusted target molecule composition.

[0353] Before calculating the physical properties of the single molecule, the method further includes: comparing the number of each group constituting the single molecule with the molecular information of template single molecules with known physical properties pre-stored in a second database; wherein the molecular information includes: the number of each group constituting the template single molecule; determining whether there is a template single molecule identical to the single molecule; if there is a template single molecule identical to the single molecule, then outputting the physical properties of the template single molecule as the physical properties of the single molecule; if there is no template single molecule identical to the single molecule, then calculating the physical properties of the single molecule.

[0354] The calculation of the physical properties of the single molecule includes: obtaining the number of various groups constituting the single molecule and obtaining the contribution value of each group to the physical properties; inputting the number of each group constituting the single molecule and the contribution value of each group to the physical properties into a pre-trained physical property calculation model to obtain the physical properties of the single molecule output by the physical property calculation model; wherein, the physical property calculation model is used to calculate the physical properties of the single molecule based on the number of each group contained in the single molecule and the contribution value of each group to the physical properties.

[0355] The steps of training the property calculation model include: constructing a property calculation model for a single molecule; obtaining the number of each group constituting the sample single molecule; wherein the property of the sample single molecule is known; inputting the number of each group constituting the sample single molecule into the property calculation model; obtaining the predicted property of the sample single molecule output by the property calculation model; if the deviation between the predicted property and the known property is less than a preset second deviation threshold, then the property calculation model is determined to have converged; in the converged property calculation model, the contribution value of each group to the property is obtained and stored; if the deviation between the predicted property and the known property is greater than or equal to the second deviation threshold, then the contribution value of each group to the property in the property calculation model is adjusted until the property calculation model converges.

[0356] The construction of a single-molecule property calculation model includes:

[0357] Establish the following physical property calculation model:

[0358]

[0359] Where f represents the physical property of the single molecule, and n i Let Δf be the number of groups of the i-th type. i denoted as , where is the contribution of the i-th group to the physical property, and 'a' is the correlation constant.

[0360] In this process, primary groups and secondary groups are identified among all groups in the monomolecule; all groups constituting the monomolecule are considered primary groups; multiple groups that coexist and contribute to the same physical property are considered secondary groups, and the number of these multiple groups is considered the level of the secondary groups.

[0361] The construction of single-molecule property calculation models includes:

[0362] Establish the following property calculation model:

[0363]

[0364] Where f represents the physical property of the single molecule, and m 1i Δf represents the number of groups of the i-th type in the primary groups. 1i m is the contribution of the i-th group in the primary group to the physical property. 2j Δf represents the number of groups of the j-th type in the secondary groups. 2j The contribution of the j-th group in the secondary group to the physical property; m Nl Δf represents the number of groups of type l in the N-order groups. Nl denoted as l, where l is the contribution of the l-th group in the N-order group to the physical property; a is the correlation constant; and N is a positive integer greater than or equal to 2.

[0365] In this process, primary groups and secondary groups are identified among all groups in the monomolecule; all groups constituting the monomolecule are considered primary groups; multiple groups that coexist and contribute to the same physical property are considered secondary groups, and the number of these multiple groups is considered the level of the secondary groups.

[0366] The physical properties of the single molecule include: the boiling point of the single molecule;

[0367] The calculation of the physical properties of the single molecule includes:

[0368] The boiling point of the unimolecular molecules was calculated using the following property calculation model:

[0369]

[0370] Where T is the boiling point of the monomolecule, SOL is the monomolecule vector converted based on the number of each group constituting the monomolecule, GROUP1 is the first contribution value vector converted based on the contribution value of the primary group to the boiling point, GROUP2 is the second contribution value vector converted based on the contribution value of the secondary group to the boiling point, and GROUP... NThe Nth contribution value vector is obtained by converting the contribution value of the Nth-level group to the boiling point. Numh is the number of atoms other than hydrogen atoms in a single molecule, d is the first preset constant, b is the second preset constant, and c is the third preset constant; N is a positive integer greater than or equal to 2.

[0371] The physical properties of the single molecule include: the density of the single molecule;

[0372] The calculation of the physical properties of the single molecule includes:

[0373] The density of the single molecule was calculated using the following physical property calculation model:

[0374]

[0375] Where D is the density of the single molecule, SOL is the single molecule vector obtained by converting the number of each group constituting the single molecule, and GROUP 21 GROUP is the (N+1)th contribution value vector obtained by transforming the contribution values ​​of the primary groups to the density. 22 The (N+2)th contribution value vector is obtained by transforming the contribution values ​​of secondary groups to the density. 2N The vector is the 2Nth contribution value vector obtained by converting the contribution value of the Nth level group to the density, where e is the fourth preset constant; and N is a positive integer greater than or equal to 2.

[0376] The physical properties of the single molecule include: the octane number of the single molecule;

[0377] The calculation of the physical properties of the single molecule includes:

[0378] The octane number of the unimolecular molecules was calculated using the following property calculation model:

[0379] X = SOL × GROUP 31 +SOL×GROUP 32 +......+SOL×GROUP 3N +h;

[0380] Where X is the octane number of the monomolecule, SOL is the monomolecule vector obtained by converting the number of each group constituting the monomolecule, and GROUP 31 This is the 2N+1 contribution value vector obtained from the conversion of the contribution value of primary groups to the octane number. 32 This is the 2N+2 contribution value vector obtained from the conversion of secondary groups to the octane number. 3N The vector is the 3N contribution value vector obtained by converting the contribution value of N-level groups to the octane number; where N is a positive integer greater than or equal to 2; and h is the fifth preset constant.

[0381] The physical properties of the adjusted target molecule composition include: density, cloud point, pour point, aniline point, and octane number.

[0382] Wherein, when the physical property of the adjusted target molecule composition is density, the calculation of the physical property of the adjusted target molecule composition includes:

[0383] The density of the mixture of the adjusted target molecules is calculated using the following formula:

[0384] density=∑(D i ×x i_volume );

[0385] Where density is the density of the mixture, D i Let x be the density of the i-th type of single molecule. i_volume The content of the second component of the i-th type of monomolecule.

[0386] Wherein, when the physical property of the adjusted target molecular composition is the cloud point, the physical property of the adjusted target molecular composition is calculated, including: calculating the cloud point contribution value of each single molecule based on the density and boiling point of each single molecule; and calculating the cloud point of the adjusted target molecular composition based on the cloud point contribution value of each single molecule in the adjusted target molecular composition and the content of each single molecule in the adjusted target molecular composition.

[0387] Wherein, when the physical property of the adjusted target molecular composition is the pour point, the physical property of the adjusted target molecular composition is calculated, including: calculating the pour point contribution value of each single molecule based on the density and molecular weight of each single molecule; and calculating the pour point of the adjusted target molecular composition based on the pour point contribution value of each single molecule in the adjusted target molecular composition and the content of each single molecule in the adjusted target molecular composition.

[0388] Wherein, when the physical property of the adjusted target molecule composition is the aniline point, the physical property of the adjusted target molecule composition is calculated, including: calculating the aniline point contribution value of each monomer based on the density and boiling point of each monomer; and calculating the aniline point of the adjusted target molecule composition based on the aniline point contribution value of each monomer in the adjusted target molecule composition and the content of each monomer in the adjusted target molecule composition.

[0389] Wherein, when the adjusted target molecule composition has an octane number, the calculation of the adjusted target molecule composition includes:

[0390] The octane number of the adjusted target molecule composition is calculated using the following formula:

[0391]

[0392]

[0393]

[0394]

[0395]

[0396]

[0397]

[0398] Wherein, ON is the octane number of the target molecule, HISQFG is a molecular set, H is a molecular set of n-alkanes, I is a molecular set of isoalkanes, S is a molecular set of cycloalkanes, Q is a molecular set of alkenes, F is a molecular set of aromatics, G is a molecular set of oxygen-containing compounds, and υ i The content of each molecule in the target molecule composition; υ H υ I υ S υ Q υ F υ G These represent the total content of n-alkanes, isoalkanes, cycloalkanes, alkenes, aromatics, and oxygen-containing compounds in the composition of the target molecule, respectively; β i For each molecule in the target molecular composition, the regression parameter is; ON i The octane number of each molecule in the target molecular composition; C H The coefficient representing the interaction coefficient between n-alkanes and other molecules; C I The interaction coefficient between isoalkanes and other molecules is represented by C. S The coefficient of interaction between cycloalkanes and other molecules; C Q The coefficient representing the interaction between olefins and other molecules; C F The interaction coefficient between aromatic hydrocarbons and other molecules; C G This represents the interaction coefficient between oxygen-containing compounds and other molecules; The first constant coefficient representing the relationship between n-alkanes and isoalkanes. The first constant coefficient representing the relationship between n-alkanes and cycloalkanes. The first constant coefficient representing the relationship between n-alkanes and alkenes. The first constant coefficient representing the relationship between n-alkanes and aromatics. The first constant coefficient representing the relationship between n-alkanes and oxygen-containing compounds, The first constant coefficient representing the relationship between isoalkanes and cycloalkanes. The first constant coefficient representing the relationship between isoalkanes and alkenes, The first constant coefficient representing the relationship between isoalkanes and aromatic hydrocarbons, The first constant coefficient representing the relationship between isoalkanes and oxygen-containing compounds, The first constant coefficient representing the relationship between cycloalkanes and alkenes, The first constant coefficient representing the relationship between cycloalkanes and aromatics. The first constant coefficient representing the relationship between cycloalkanes and oxygen-containing compounds, The first constant coefficient representing the relationship between alkenes and aromatic hydrocarbons, The first constant coefficient representing the relationship between alkenes and oxygen-containing compounds, The first constant coefficient representing the relationship between aromatic hydrocarbons and oxygen-containing compounds, The second constant coefficient representing the relationship between n-alkanes and isoalkanes. The second constant coefficient representing the relationship between n-alkanes and cycloalkanes. The second constant coefficient representing the relationship between n-alkanes and alkenes. The second constant coefficient representing the relationship between n-alkanes and aromatics. The second constant coefficient representing the relationship between n-alkanes and oxygen-containing compounds, The second constant coefficient representing the relationship between isoalkanes and cycloalkanes. The second constant coefficient representing the relationship between isoalkanes and alkenes, The second constant coefficient representing the relationship between isoalkanes and aromatic hydrocarbons. The second constant coefficient representing the relationship between isoalkanes and oxygen-containing compounds, The second constant coefficient representing the relationship between cycloalkanes and alkenes, The second constant coefficient representing the relationship between cycloalkanes and aromatics. The second constant coefficient representing the relationship between cycloalkanes and oxygen-containing compounds, The second constant coefficient representing the relationship between alkenes and aromatic hydrocarbons, The second constant coefficient representing the relationship between alkenes and oxygen-containing compounds, The second constant coefficient represents the relationship between aromatic hydrocarbons and oxygen-containing compounds; wherein the octane number includes: research octane number and motor octane number.

[0399] The method further includes: storing the group composition of the mixture and the physical properties of the mixture in the first database; wherein the group composition of the mixture is used as the sample molecular composition, and the physical properties of the mixture are used as the physical properties corresponding to the sample molecular composition.

[0400] The mixture is a mixture of petroleum hydrocarbons.

[0401] This invention also provides a storage medium. The storage medium stores one or more programs. The storage medium may include volatile memory, such as random access memory; it may also include non-volatile memory, such as read-only memory, flash memory, hard disk, or solid-state drive; and it may also include combinations of the above types of memory.

[0402] One or more programs in the storage medium can be executed by one or more processors to implement the above-described method for detecting the molecular composition of mixtures.

[0403] Specifically, the processor is used to execute a mixture molecular composition detection program stored in the memory to perform the following steps: acquiring the physical properties of the mixture to be analyzed; querying a preset first database based on the physical properties of the mixture; the first database includes: multiple sample molecular compositions and the physical properties of each sample molecular composition; calculating the deviation value of the physical properties of the mixture from each sample molecular composition; selecting a target molecular composition from one or more sample molecular compositions whose physical property deviation value from the mixture is less than a preset first deviation threshold; adjusting the concentration of various single molecules in the target molecular composition so that the physical properties of the adjusted target molecular composition are the same as the physical properties of the mixture, and determining the adjusted target molecular composition as the molecular composition of the mixture.

[0404] The method further includes: if among one or more sample molecular compositions whose property deviation value from the mixture is less than a preset first deviation threshold, there exists a sample molecular composition whose property deviation value from the mixture is zero, then the sample molecular composition whose property deviation value from the mixture is zero is determined as the molecular composition of the mixture.

[0405] The method further includes: storing the correspondence between the adjusted target molecular composition and the physical properties of the mixture in the first database; wherein the adjusted target molecular composition is used as the sample molecular composition in the first database, and the physical properties of the mixture are used as the physical properties of the sample molecular composition.

[0406] When the mixture has multiple physical properties, calculating the deviation value of the mixture from each of the sample molecular compositions includes: selecting a corresponding deviation algorithm for each physical property of the mixture; calculating the deviation value between each physical property of the mixture and the corresponding physical property of the sample molecular composition based on the deviation algorithm corresponding to each physical property of the mixture; and determining the deviation value between the mixture and the sample molecular composition based on the deviation values ​​between the multiple physical properties of the mixture and the corresponding physical properties of the sample molecular composition.

[0407] The method of selecting a corresponding deviation algorithm for each property of the mixture includes: determining whether each property of the mixture is less than a preset standard threshold; selecting an absolute deviation algorithm for the properties of the mixture that are less than the standard threshold in order to calculate the absolute deviation value of the property less than the standard threshold and the corresponding property of the sample molecule composition; and selecting a relative deviation algorithm for the properties of the mixture that are greater than or equal to the standard threshold in order to calculate the relative deviation value of the property greater than or equal to the standard threshold and the corresponding property of the sample molecule composition.

[0408] The method of determining the deviation value of the physical properties of the mixture from the corresponding physical properties of the sample molecules based on the deviation values ​​of the various physical properties of the mixture from the corresponding physical properties of the sample molecules includes: calculating the sum of squares of the deviation values ​​of the various physical properties of the mixture from the corresponding physical properties of the sample molecules, and determining the arithmetic square root of the sum of squares of the deviation values ​​as the deviation value of the physical properties of the mixture from the sample molecules.

[0409] The method of determining the deviation value of the physical properties of the mixture from the corresponding physical properties of the sample molecules based on the deviation values ​​of the various physical properties of the mixture from the corresponding physical properties of the sample molecules includes: obtaining a weight pre-set for each physical property of the mixture; for each physical property of the mixture, calculating the product of the square of the deviation value of the physical property from the corresponding physical property of the sample molecules and the weight of the physical property to obtain the weight deviation value corresponding to the physical property; calculating the sum of squares of the weight deviation values ​​corresponding to the various physical properties of the mixture, and determining the arithmetic square root of the sum of squares of the weight deviation values ​​as the deviation value of the physical properties of the mixture from the sample molecules.

[0410] Among one or more sample molecular compositions whose property deviation value from the mixture is less than a preset first deviation threshold, selecting a target sample molecular composition includes: if there is only one sample molecular composition whose property deviation value from the mixture is less than the preset first deviation threshold, then that sample molecular composition is directly selected as the target molecular composition; if there are multiple sample molecular compositions whose property deviation value from the mixture is less than the preset first deviation threshold, then the sample molecular compositions corresponding to the first M property deviation values ​​are selected in ascending order of property deviation value, and the same molecular compositions are merged to form the target molecular composition; where M is a positive integer greater than or equal to 1.

[0411] The adjustment of the concentration of various monomers in the target molecular composition includes: dividing the various monomers in the target molecular composition into multiple groups; sequentially selecting one group and adjusting the concentration of monomers in the selected group; if the physical properties of the adjusted target molecular composition are different from the physical properties of the mixture, then selecting the next group and continuing to adjust the concentration of monomers in the selected group until the physical properties of the adjusted target molecular composition are the same as those of the mixture.

[0412] The process of dividing the various single molecules in the target molecule composition into multiple groups includes: calculating the physical properties corresponding to each single molecule in the target molecule composition; dividing multiple ranges of physical property values ​​to determine the range of physical property values ​​to which each single molecule in the target molecule composition belongs; wherein, each single molecule in the target molecule composition whose physical property belongs to the same range of physical property values ​​is considered as a group.

[0413] The adjustment of the concentration of various single molecules in the target molecular composition includes: determining the molecular characteristics of various single molecules in the target molecular composition; adjusting the concentration of single molecules with different molecular characteristics in the target molecular composition proportionally; if the physical properties of the adjusted target molecular composition are different from the physical properties of the mixture, then continuing to adjust the concentration of single molecules with different molecular characteristics in the target molecular composition proportionally until the physical properties of the adjusted target molecular composition are the same as those of the mixture.

[0414] The adjustment of the concentration of various monomers in the target molecular composition includes: determining the distribution characteristics of the concentration of various monomers in the target molecular composition; adjusting the concentration of various monomers in the target molecular composition, and maintaining the distribution characteristics of the concentration of various monomers in the adjusted target molecular composition; if the physical properties of the adjusted target molecular composition are different from the physical properties of the mixture, then continuing to adjust the concentration of each monomer in the target molecular composition, and maintaining the distribution characteristics of the concentration of various monomers in the adjusted target molecular composition, until the physical properties of the adjusted target molecular composition and the physical properties of the mixture are the same.

[0415] The step of adjusting the concentration of each individual molecule in the target molecular composition so that the properties of the adjusted target molecular composition are the same as those of the mixture includes: adjusting the concentration of each individual molecule in the target molecular composition; calculating the properties of the adjusted target molecular composition; comparing the properties of the target molecular composition and the properties of the mixture; if the properties of the target molecular composition and the mixture are different, then continuing to adjust the concentration of each individual molecule in the target molecular composition until the properties of the adjusted target molecular composition and the mixture are the same.

[0416] The calculation of the physical properties of the adjusted target molecule composition includes: determining the single molecules contained in the adjusted target molecule composition; calculating the physical properties of the single molecules based on the number of each group contained in each single molecule and the contribution value of each group to the physical properties; and calculating the physical properties of the adjusted target molecule composition based on the physical properties of the various single molecules in the adjusted target molecule composition.

[0417] Before calculating the physical properties of the single molecule, the method further includes: comparing the number of each group constituting the single molecule with the molecular information of template single molecules with known physical properties pre-stored in a second database; wherein the molecular information includes: the number of each group constituting the template single molecule; determining whether there is a template single molecule identical to the single molecule; if there is a template single molecule identical to the single molecule, then outputting the physical properties of the template single molecule as the physical properties of the single molecule; if there is no template single molecule identical to the single molecule, then calculating the physical properties of the single molecule.

[0418] The calculation of the physical properties of the single molecule includes: obtaining the number of various groups constituting the single molecule and obtaining the contribution value of each group to the physical properties; inputting the number of each group constituting the single molecule and the contribution value of each group to the physical properties into a pre-trained physical property calculation model to obtain the physical properties of the single molecule output by the physical property calculation model; wherein, the physical property calculation model is used to calculate the physical properties of the single molecule based on the number of each group contained in the single molecule and the contribution value of each group to the physical properties.

[0419] The steps of training the property calculation model include: constructing a property calculation model for a single molecule; obtaining the number of each group constituting the sample single molecule; wherein the property of the sample single molecule is known; inputting the number of each group constituting the sample single molecule into the property calculation model; obtaining the predicted property of the sample single molecule output by the property calculation model; if the deviation between the predicted property and the known property is less than a preset second deviation threshold, then the property calculation model is determined to have converged; in the converged property calculation model, the contribution value of each group to the property is obtained and stored; if the deviation between the predicted property and the known property is greater than or equal to the second deviation threshold, then the contribution value of each group to the property in the property calculation model is adjusted until the property calculation model converges.

[0420] The construction of a single-molecule property calculation model includes:

[0421] Establish the following physical property calculation model:

[0422]

[0423] Where f represents the physical property of the single molecule, and n i Let Δf be the number of groups of the i-th type. i denoted as , where is the contribution of the i-th group to the physical property, and 'a' is the correlation constant.

[0424] In this process, primary groups and secondary groups are identified among all groups in the monomolecule; all groups constituting the monomolecule are considered primary groups; multiple groups that coexist and contribute to the same physical property are considered secondary groups, and the number of these multiple groups is considered the level of the secondary groups.

[0425] The construction of single-molecule property calculation models includes:

[0426] Establish the following property calculation model:

[0427]

[0428] Where f represents the physical property of the single molecule, and m 1i Δf represents the number of groups of the i-th type in the primary groups. 1i m is the contribution of the i-th group in the primary group to the physical property. 2j Δf represents the number of groups of the j-th type in the secondary groups. 2j The contribution of the j-th group in the secondary group to the physical property; m Nl Δf represents the number of groups of type l in the N-order groups. Nl denoted as l, where l is the contribution of the l-th group in the N-order group to the physical property; a is the correlation constant; and N is a positive integer greater than or equal to 2.

[0429] In this process, primary groups and secondary groups are identified among all groups in the monomolecule; all groups constituting the monomolecule are considered primary groups; multiple groups that coexist and contribute to the same physical property are considered secondary groups, and the number of these multiple groups is considered the level of the secondary groups.

[0430] The physical properties of the single molecule include: the boiling point of the single molecule;

[0431] The calculation of the physical properties of the single molecule includes:

[0432] The boiling point of the unimolecular molecules was calculated using the following property calculation model:

[0433]

[0434] Where T is the boiling point of the monomolecule, SOL is the monomolecule vector converted based on the number of each group constituting the monomolecule, GROUP1 is the first contribution value vector converted based on the contribution value of the primary group to the boiling point, GROUP2 is the second contribution value vector converted based on the contribution value of the secondary group to the boiling point, and GROUP... N The Nth contribution value vector is obtained by converting the contribution value of the Nth-level group to the boiling point. Numh is the number of atoms other than hydrogen atoms in a single molecule, d is the first preset constant, b is the second preset constant, and c is the third preset constant; N is a positive integer greater than or equal to 2.

[0435] The physical properties of the single molecule include: the density of the single molecule;

[0436] The calculation of the physical properties of the single molecule includes:

[0437] The density of the single molecule was calculated using the following physical property calculation model:

[0438]

[0439] Where D is the density of the single molecule, SOL is the single molecule vector obtained by converting the number of each group constituting the single molecule, and GROUP 21 GROUP is the (N+1)th contribution value vector obtained by transforming the contribution values ​​of the primary groups to the density. 22 The (N+2)th contribution value vector is obtained by transforming the contribution values ​​of secondary groups to the density. 2N The vector is the 2Nth contribution value vector obtained by converting the contribution value of the Nth level group to the density, where e is the fourth preset constant; and N is a positive integer greater than or equal to 2.

[0440] The physical properties of the single molecule include: the octane number of the single molecule;

[0441] The calculation of the physical properties of the single molecule includes:

[0442] The octane number of the unimolecular molecules was calculated using the following property calculation model:

[0443] X = SOL × GROUP 31 +SOL×GROUP 32 +......+SOL×GROUP 3N +h;

[0444] Where X is the octane number of the monomolecule, SOL is the monomolecule vector obtained by converting the number of each group constituting the monomolecule, and GROUP 31 This is the 2N+1 contribution value vector obtained from the conversion of the contribution value of primary groups to the octane number. 32 This is the 2N+2 contribution value vector obtained from the conversion of secondary groups to the octane number. 3N The vector is the 3N contribution value vector obtained by converting the contribution value of N-level groups to the octane number; where N is a positive integer greater than or equal to 2; and h is the fifth preset constant.

[0445] The physical properties of the adjusted target molecule composition include: density, cloud point, pour point, aniline point, and octane number.

[0446] Wherein, when the physical property of the adjusted target molecule composition is density, the calculation of the physical property of the adjusted target molecule composition includes:

[0447] The density of the mixture of the adjusted target molecules is calculated using the following formula:

[0448] density=∑(D i ×x i_volume );

[0449] Where density is the density of the mixture, D i Let x be the density of the i-th type of single molecule. i_volume The content of the second component of the i-th type of monomolecule.

[0450] Wherein, when the physical property of the adjusted target molecular composition is the cloud point, the physical property of the adjusted target molecular composition is calculated, including: calculating the cloud point contribution value of each single molecule based on the density and boiling point of each single molecule; and calculating the cloud point of the adjusted target molecular composition based on the cloud point contribution value of each single molecule in the adjusted target molecular composition and the content of each single molecule in the adjusted target molecular composition.

[0451] Wherein, when the physical property of the adjusted target molecular composition is the pour point, the physical property of the adjusted target molecular composition is calculated, including: calculating the pour point contribution value of each single molecule based on the density and molecular weight of each single molecule; and calculating the pour point of the adjusted target molecular composition based on the pour point contribution value of each single molecule in the adjusted target molecular composition and the content of each single molecule in the adjusted target molecular composition.

[0452] Wherein, when the physical property of the adjusted target molecule composition is the aniline point, the physical property of the adjusted target molecule composition is calculated, including: calculating the aniline point contribution value of each monomer based on the density and boiling point of each monomer; and calculating the aniline point of the adjusted target molecule composition based on the aniline point contribution value of each monomer in the adjusted target molecule composition and the content of each monomer in the adjusted target molecule composition.

[0453] Wherein, when the adjusted target molecule composition has an octane number, the calculation of the adjusted target molecule composition includes:

[0454] The octane number of the adjusted target molecule composition is calculated using the following formula:

[0455]

[0456]

[0457]

[0458]

[0459]

[0460]

[0461]

[0462] Wherein, ON is the octane number of the target molecule, HISQFG is a molecular set, H is a molecular set of n-alkanes, I is a molecular set of isoalkanes, S is a molecular set of cycloalkanes, Q is a molecular set of alkenes, F is a molecular set of aromatics, G is a molecular set of oxygen-containing compounds, and υ i The content of each molecule in the target molecule composition; υ H υ I υ S υ Q υ F υ G These represent the total content of n-alkanes, isoalkanes, cycloalkanes, alkenes, aromatics, and oxygen-containing compounds in the composition of the target molecule, respectively; β i For each molecule in the target molecular composition, the regression parameter is; ON i The octane number of each molecule in the target molecular composition; C H The coefficient representing the interaction coefficient between n-alkanes and other molecules; C I The interaction coefficient between isoalkanes and other molecules is represented by C. S The coefficient of interaction between cycloalkanes and other molecules; C Q Represents the interaction coefficient between olefins and other molecules; C F The interaction coefficient between aromatic hydrocarbons and other molecules; C G This represents the interaction coefficient between oxygen-containing compounds and other molecules; The first constant coefficient representing the relationship between n-alkanes and isoalkanes. The first constant coefficient representing the relationship between n-alkanes and cycloalkanes. The first constant coefficient representing the relationship between n-alkanes and alkenes. The first constant coefficient representing the relationship between n-alkanes and aromatics. The first constant coefficient representing the relationship between n-alkanes and oxygen-containing compounds, The first constant coefficient representing the relationship between isoalkanes and cycloalkanes. The first constant coefficient representing the relationship between isoalkanes and alkenes, The first constant coefficient representing the relationship between isoalkanes and aromatic hydrocarbons, The first constant coefficient representing the relationship between isoalkanes and oxygen-containing compounds, The first constant coefficient representing the relationship between cycloalkanes and alkenes, The first constant coefficient representing the relationship between cycloalkanes and aromatics. The first constant coefficient representing the relationship between cycloalkanes and oxygen-containing compounds, The first constant coefficient representing the relationship between alkenes and aromatic hydrocarbons, The first constant coefficient representing the relationship between alkenes and oxygen-containing compounds, The first constant coefficient representing the relationship between aromatic hydrocarbons and oxygen-containing compounds, The second constant coefficient representing the relationship between n-alkanes and isoalkanes. The second constant coefficient representing the relationship between n-alkanes and cycloalkanes. The second constant coefficient representing the relationship between n-alkanes and alkenes. The second constant coefficient representing the relationship between n-alkanes and aromatics. The second constant coefficient representing the relationship between n-alkanes and oxygen-containing compounds, The second constant coefficient representing the relationship between isoalkanes and cycloalkanes. The second constant coefficient representing the relationship between isoalkanes and alkenes, The second constant coefficient representing the relationship between isoalkanes and aromatic hydrocarbons. The second constant coefficient representing the relationship between isoalkanes and oxygen-containing compounds, The second constant coefficient representing the relationship between cycloalkanes and alkenes, The second constant coefficient representing the relationship between cycloalkanes and aromatics. The second constant coefficient representing the relationship between cycloalkanes and oxygen-containing compounds, The second constant coefficient representing the relationship between alkenes and aromatic hydrocarbons, The second constant coefficient representing the relationship between alkenes and oxygen-containing compounds, The second constant coefficient represents the relationship between aromatic hydrocarbons and oxygen-containing compounds; wherein the octane number includes: research octane number and motor octane number.

[0463] The method further includes: storing the group composition of the mixture and the physical properties of the mixture in the first database; wherein the group composition of the mixture is used as the sample molecular composition, and the physical properties of the mixture are used as the physical properties corresponding to the sample molecular composition.

[0464] The mixture is a mixture of petroleum hydrocarbons.

[0465] The above description is merely an embodiment of the present invention and is not intended to limit the invention. Various modifications and variations can be made to the present invention by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of the claims of the present invention.

Claims

1. A method for detecting the molecular composition of a mixture, characterized in that: include: Obtaining the physical properties of the mixture to be analyzed; According to the physical properties of the mixture, query a preset first database; The first database includes: a plurality of sample molecular compositions and the physical properties of each of the sample molecular compositions; Calculating the physical property deviation value between the mixture and each of the sample molecular compositions; Selecting a target molecular composition from one or more sample molecular compositions whose physical property deviation value from the mixture is less than a preset first deviation threshold; Adjusting the concentration of various single molecules in the target molecular composition so that the physical properties of the adjusted target molecular composition are the same as those of the mixture, and determining the adjusted target molecular composition as the molecular composition of the mixture; Wherein, adjusting the concentration of various single molecules in the target molecule composition so that the physical properties of the adjusted target molecule composition are the same as the physical properties of the mixture includes: adjusting the concentration of various single molecules in the target molecule composition; Calculating the physical properties of the adjusted target molecular composition; comparing the physical properties of the target molecular composition with the physical properties of the mixture; If the physical properties of the target molecular composition are different from the physical properties of the mixture, continue to adjust the concentrations of various single molecules in the target molecular composition until the physical properties of the adjusted target molecular composition are the same as the physical properties of the mixture; Wherein, calculating the physical properties of the adjusted target molecular composition includes: determining a single molecule included in the adjusted target molecule composition; Calculating the physical properties of each single molecule according to the number of each group contained in each single molecule and the contribution value of each group to the physical property; Calculating the physical properties of the adjusted target molecular composition according to the physical properties of various single molecules in the adjusted target molecular composition; Wherein, the physical property of the adjusted target molecular composition includes an octane number, and calculating the physical property of the adjusted target molecular composition includes: The octane number of the adjusted target molecular composition is calculated by the following calculation formula: Wherein, ON is the octane number of the target molecular composition, HISQFG is a molecular set, H is a molecular set of normal alkanes, I is a molecular set of isoalkanes, S is a molecular set of cycloalkanes, Q is a molecular set of olefins, F is a molecular set of aromatic hydrocarbons, G is a molecular set of oxygen-containing compounds, and υ i is the content of each molecule in the target molecule composition; H ,υ I ,υ S ,υ Q ,υ F ,υ G are respectively the total content of normal alkanes, the total content of isoalkanes, the total content of cycloalkanes, the total content of olefins, the total content of aromatic hydrocarbons and the total content of oxygen-containing compounds in the target molecular composition; β i is the regression parameter of each molecule in the target molecule composition; i is the octane number of each molecule in the target molecular composition; C H represents the interaction coefficient between normal alkanes and other molecules; C I represents the interaction coefficient between isoalkanes and other molecules; C S represents the interaction coefficient between cycloalkanes and other molecules; C Q represents the interaction coefficient between olefins and other molecules; C F represents the interaction coefficient between aromatic hydrocarbons and other molecules; C G It represents the interaction coefficient between oxygen-containing compounds and other molecules; represents the first constant coefficient between normal alkanes and isoalkanes, represents the first constant coefficient between normal alkanes and cycloalkanes, represents the first constant coefficient between normal alkanes and alkenes, represents the first constant coefficient between normal alkanes and aromatic hydrocarbons, represents the first constant coefficient between normal alkanes and oxygen-containing compounds, represents the first constant coefficient between isoalkanes and cycloalkanes, represents the first constant coefficient between isoparaffins and alkenes, represents the first constant coefficient between isoalkanes and aromatics, represents the first constant coefficient between isoalkanes and oxygen-containing compounds, represents the first constant coefficient between cycloalkanes and alkenes, represents the first constant coefficient between cycloalkanes and aromatic hydrocarbons, represents the first constant coefficient between cycloalkanes and oxygen-containing compounds, represents the first constant coefficient between olefins and aromatics, represents the first constant coefficient between olefins and oxygen-containing compounds, Represents the first constant coefficient between aromatic hydrocarbons and oxygen-containing compounds, represents the second constant coefficient between normal alkanes and isoalkanes, represents the second constant coefficient between normal alkanes and cycloalkanes, represents the second constant coefficient between normal alkanes and alkenes, represents the second constant coefficient between normal alkanes and aromatic hydrocarbons, represents the second constant coefficient between normal alkanes and oxygen-containing compounds, represents the second constant coefficient between isoalkanes and cycloalkanes, The second constant coefficient between isoalkanes and alkenes, The second constant coefficient between isoalkanes and aromatics, represents the second constant coefficient between isoalkanes and oxygen-containing compounds, represents the second constant coefficient between cycloalkanes and alkenes, The second constant coefficient between cycloalkanes and aromatic hydrocarbons, The second constant coefficient between cycloalkanes and oxygen-containing compounds, The second constant coefficient between olefins and aromatics, represents the second constant coefficient between olefins and oxygen-containing compounds, Represents the second constant coefficient between aromatic hydrocarbons and oxygen-containing compounds; wherein the octane number includes: research octane number and motor octane number.

2. The method according to claim 1, characterized in that: The method further comprises: If, among one or more sample molecular compositions whose physical property deviation values ​​with the mixture are less than a preset first deviation threshold, there is a sample molecular composition whose physical property deviation value with the mixture is zero, then the sample molecular composition whose physical property deviation value with the mixture is zero is determined as the molecular composition of the mixture.

3. The method according to claim 1, characterized in that The method further comprises: The correspondence between the adjusted target molecular composition and the physical properties of the mixture is stored in the first database; wherein, The adjusted target molecular composition is used as the sample molecular composition in the first database, and the physical properties of the mixture are used as the physical properties of the sample molecular composition.

4. The method according to claim 1, characterized in that: When the physical properties of the mixture are multiple, calculating the physical property deviation value between the mixture and each of the sample molecular components includes: Selecting a corresponding deviation algorithm for each physical property of the mixture; Calculate the deviation value of each physical property of the mixture and the corresponding physical property of the sample molecular composition according to the deviation algorithm corresponding to each physical property of the mixture; The physical property deviation value of the mixture and the sample molecular composition is determined according to the deviation values ​​of the multiple physical properties of the mixture and the corresponding physical properties of the sample molecular composition.

5. The method according to claim 4, characterized in that Select a corresponding deviation algorithm for each physical property of the mixture, including: Determining whether each physical property of the mixture is less than a preset standard threshold; Selecting an absolute deviation algorithm for the physical property in the mixture that is less than the standard threshold value, so as to calculate an absolute deviation value between the physical property that is less than the standard threshold value and the corresponding physical property of the sample molecular composition; A relative deviation algorithm is selected for the physical property in the mixture that is greater than or equal to the standard threshold value, so as to calculate the relative deviation value of the physical property that is greater than or equal to the standard threshold value and the corresponding physical property of the sample molecular composition.

6. The method according to claim 4, characterized in that Determining the deviation value of the physical property of the mixture and the sample molecular composition according to the deviation values ​​of the multiple physical properties of the mixture and the corresponding physical properties of the sample molecular composition, comprises: The sum of squares of deviations between the multiple physical properties of the mixture and the corresponding physical properties of the sample molecular composition is calculated, and the arithmetic square root of the sum of squares of the deviations is determined as the physical property deviation value between the mixture and the sample molecular composition.

7. The method according to claim 4, characterized in that Determining the deviation value of the physical property of the mixture and the sample molecular composition according to the deviation values ​​of the multiple physical properties of the mixture and the corresponding physical properties of the sample molecular composition, comprises: Obtaining a weight pre-set for each physical property of the mixture; For each physical property of the mixture, calculate the product of the square of the deviation value between the physical property and the corresponding physical property of the sample molecular composition and the corresponding weight of the physical property to obtain the weight deviation value corresponding to the physical property; The sum of squares of weighted deviation values ​​respectively corresponding to the multiple physical properties of the mixture is calculated, and the arithmetic square root of the sum of squares of the weighted deviation values ​​is determined as the physical property deviation value of the mixture and the sample molecule composition.

8. The method according to claim 1, characterized in that: Selecting a target sample molecular composition from one or more sample molecular compositions whose physical property deviation value from the mixture is less than a preset first deviation threshold comprises: If the number of sample molecular compositions whose physical property deviation value from the mixture is less than a preset first deviation threshold is one, directly selecting the sample molecular composition as the target molecular composition; If there are multiple sample molecular compositions whose physical property deviation values ​​from the mixture are less than a preset first deviation threshold, the sample molecular compositions are sorted in ascending order according to the physical property deviation values, and the sample molecular compositions corresponding to the first M physical property deviation values ​​are selected. After merging the same molecular compositions, a target molecular composition is formed; wherein M is a positive integer greater than or equal to 1.

9. The method according to claim 1, characterized in that: Adjusting the concentration of various single molecules in the target molecule composition includes: Dividing various single molecules in the target molecule composition into a plurality of groups; Selecting a group in sequence, and adjusting the concentration of the single molecules in the selected group; If the adjusted physical properties of the target molecular composition are different from the physical properties of the mixture, the next group is selected, and the concentration of the single molecules in the selected group is continuously adjusted until the adjusted physical properties of the target molecular composition are the same as the physical properties of the mixture.

10. The method according to claim 9, characterized in that The various single molecules in the target molecule composition are divided into a plurality of groups, including: Calculating the physical properties corresponding to each single molecule in the target molecular composition; Divide into multiple physical property value ranges, and determine the physical property value range to which the physical property of each single molecule in the target molecular composition belongs; wherein each single molecule in the target molecular composition whose physical property belongs to the same physical property value range is grouped as a group.

11. The method according to claim 1, characterized in that: Adjusting the concentration of various single molecules in the target molecule composition includes: Determining the molecular characteristics of various single molecules in the target molecular composition; Adjusting the concentrations of single molecules of different molecular characteristics in the target molecule composition in equal proportions; If the adjusted physical properties of the target molecular composition are different from those of the mixture, the concentrations of single molecules with different molecular characteristics in the target molecular composition continue to be adjusted proportionally until the adjusted physical properties of the target molecular composition are the same as those of the mixture.

12. The method according to claim 1, characterized in that Adjusting the concentration of various single molecules in the target molecule composition includes: Determining the distribution characteristics of the concentrations of various single molecules in the target molecule composition; Adjusting the concentration of various single molecules in the target molecule composition, and making the concentration of various single molecules in the target molecule composition after adjustment maintain the distribution characteristics; If the physical properties of the adjusted target molecular composition are different from those of the mixture, the concentrations of the individual molecules in the target molecular composition continue to be adjusted, and the concentrations of the individual molecules in the adjusted target molecular composition maintain the distribution characteristics until the physical properties of the adjusted target molecular composition are the same as those of the mixture.

13. The method according to claim 1, characterized in that Before calculating the physical properties of the single molecule, it also includes: Compare the number of each group constituting the single molecule with the molecular information of the template single molecule with known physical properties pre-stored in the second database; wherein the molecular information includes: the number of each group constituting the template single molecule; Determining whether there is a template single molecule identical to the single molecule; If there is a template single molecule identical to the single molecule, outputting the physical properties of the template single molecule as the physical properties of the single molecule; If there is no template single molecule identical to the single molecule, the physical properties of the single molecule are calculated.

14. The method according to claim 1 or 13, characterized in that: Calculating the physical properties of the single molecule, including: Obtaining the number of various groups constituting the single molecule, and obtaining the contribution value of each group to the physical property; The number of groups of each group constituting the single molecule and the contribution value of each group to the physical property are input into a pre-trained physical property calculation model to obtain the physical property of the single molecule output by the physical property calculation model; wherein, The physical property calculation model is used to calculate the physical property of the single molecule according to the number of each group contained in the single molecule and the contribution value of each group to the physical property.

15. The method according to claim 14, characterized in that The step of training the physical property calculation model comprises: Construct computational models of physical properties of single molecules; Obtaining the number of each group constituting a sample single molecule, wherein the physical properties of the sample single molecule are known; Inputting the number of each group constituting the sample single molecule into the physical property calculation model; Obtaining the predicted physical properties of the sample single molecule output by the physical property calculation model; If the deviation between the predicted physical property and the known physical property is less than a preset second deviation threshold, the physical property calculation model is determined to be converged, and the contribution value of each group to the physical property is obtained in the converged physical property calculation model, and the contribution value of the group to the physical property is stored; If the deviation value between the predicted physical property and the known physical property is greater than or equal to the second deviation threshold, the contribution value of each group to the physical property in the physical property calculation model is adjusted until the physical property calculation model converges.

16. The method according to claim 15, characterized in that Establish the following physical property calculation model: Wherein, f is the physical property of the single molecule, n i is the number of groups in the ith group, Δf i is the contribution value of the ith group to the physical property, and a is the association constant.

17. The method according to claim 15, characterized in that Determine the primary groups and the multi-level groups among all the groups of the single molecule; wherein, All the groups constituting a single molecule are regarded as primary groups; A plurality of groups that exist simultaneously and contribute to the same physical property are regarded as a multi-stage group, and the number of the plurality of groups is regarded as the level of the multi-stage group.

18. The method according to claim 17, characterized in that The following physical property calculation model is established: Wherein, f is the physical property of the single molecule, m 1i is the number of groups of the ith group in the primary group, Δf 1i is the contribution value of the ith group in the primary group to the physical property, m 2j is the number of the jth group in the secondary group, Δf 2j is the contribution value of the jth group in the secondary group to the physical property; m Nl is the number of the lth group in the Nth group, Δf Nl is the contribution value of the first group in the N-level group to the physical property; a is the association constant; N is a positive integer greater than or equal to 2.

19. The method according to claim 1 or 13, characterized in that: Determine the primary groups and the multi-level groups among all the groups of the single molecule; wherein, All the groups constituting a single molecule are regarded as primary groups; A plurality of groups that exist simultaneously and contribute to the same physical property are regarded as a multi-stage group, and the number of the plurality of groups is regarded as the level of the multi-stage group.

20. The method according to claim 19, characterized in that The physical properties of the single molecule include: the boiling point of the single molecule; The calculating the physical properties of the single molecule comprises: The boiling point of the single molecule is calculated according to the following physical property calculation model: Wherein, T is the boiling point of the single molecule, SOL is the single molecule vector converted according to the number of groups of each group constituting the single molecule, GROUP1 is the first contribution value vector converted according to the contribution value of the primary group to the boiling point, GROUP2 is the second contribution value vector converted according to the contribution value of the secondary group to the boiling point, GROUP N is the Nth contribution value vector converted according to the contribution value of the N-level group to the boiling point, Numh is the number of atoms other than hydrogen atoms in a single molecule, d is the first preset constant, b is the second preset constant, and c is the third preset constant; and N is a positive integer greater than or equal to 2.

21. The method according to claim 19, characterized in that The physical properties of the single molecule include: density of the single molecule; The calculating the physical properties of the single molecule comprises: The density of the single molecule is calculated according to the following physical property calculation model: Where D is the density of the single molecule, SOL is the single molecule vector converted according to the number of groups of each group constituting the single molecule, GROUP 21 is the N+1th contribution value vector obtained by converting the contribution value of the primary group to the density, GROUP 22 is the N+2th contribution value vector obtained by converting the contribution value of the secondary group to the density, GROUP 2N is the 2Nth contribution value vector converted according to the contribution value of the N-level group to the density, e is the fourth preset constant; and N is a positive integer greater than or equal to 2.

22. The method according to claim 19, characterized in that The physical properties of the single molecule include: the octane number of the single molecule; The calculating the physical properties of the single molecule comprises: The octane number of the single molecule is calculated according to the following physical property calculation model: X=SOL×GROUP 31 +SOL×GROUP 32 +......+SOL×GROUP 3N +h; Where X is the octane number of the single molecule, SOL is the single molecule vector converted according to the number of groups of each group constituting the single molecule, GROUP 31 is the 2N+1th contribution value vector obtained by converting the contribution value of the primary group to the octane number, GROUP 32 is the 2N+2 contribution value vector obtained by converting the contribution value of the secondary group to the octane number, GROUP 3N is the 3Nth contribution value vector converted according to the contribution value of the N-level group to the octane number; N is a positive integer greater than or equal to 2; and h is the fifth preset constant.

23. The method according to claim 1, characterized in that The physical properties of the adjusted target molecular composition also include: density, cloud point, pour point, and aniline point.

24. The method according to claim 23, characterized in that When the physical property of the adjusted target molecular composition is density, calculating the physical property of the adjusted target molecular composition includes: The density of the mixture is calculated by the following formula: density=∑(D i ×x i_volume ); Wherein, density is the density of the mixture, D i is the density of the i-th single molecule, x i_volume is the second component content of the i-th single molecule.

25. The method according to claim 23, characterized in that When the physical property of the adjusted target molecular composition is a turbidity point, calculating the physical property of the adjusted target molecular composition includes: Calculating the cloud point contribution value of each single molecule according to the density and boiling point of the single molecule; The turbidity point of the adjusted target molecular composition is calculated according to the turbidity point contribution value of each single molecule in the adjusted target molecular composition and the content of each single molecule in the adjusted target molecular composition.

26. The method according to claim 23, characterized in that When the physical property of the adjusted target molecular composition is a pour point, calculating the physical property of the adjusted target molecular composition includes: Calculating the pour point contribution value of each single molecule according to the density and molecular weight of the single molecule; The pour point of the adjusted target molecular composition is calculated according to the pour point contribution value of each single molecule in the adjusted target molecular composition and the content of each single molecule in the adjusted target molecular composition.

27. The method according to claim 23, characterized in that When the physical property of the adjusted target molecular composition is the aniline point, calculating the physical property of the adjusted target molecular composition includes: Calculating the aniline point contribution value of each single molecule according to the density and boiling point of the single molecule; The aniline points of the adjusted target molecular composition are calculated according to the aniline point contribution value of each single molecule in the adjusted target molecular composition and the content of each single molecule in the adjusted target molecular composition.

28. The method according to claim 1, characterized in that Also includes: The group composition of the mixture and the physical properties of the mixture are stored in the first database; wherein the group composition of the mixture is used as the sample molecular composition, and the physical properties of the mixture are used as the physical properties corresponding to the sample molecular composition.

29. The method according to claim 1, characterized in that The mixture is a petroleum hydrocarbon mixture.

30. A mixture molecular composition detection system, characterized in that: The system comprises: A selection unit is used to obtain the physical properties of the mixture to be analyzed; A query unit, used to query a preset first database according to the physical properties of the mixture; the first database includes: a plurality of sample molecular compositions and the physical properties of each of the sample molecular compositions; A calculation unit, used for calculating the physical property deviation value between the mixture and each of the sample molecular compositions; A first processing unit, configured to directly select the sample molecular composition as the target molecular composition if the number of the sample molecular compositions having a physical property deviation value from the mixture less than a preset first deviation threshold is one; a second processing unit, used for adjusting the concentrations of various single molecules in the target molecular composition, so that the physical properties of the adjusted target molecular composition are the same as those of the mixture, and determining the adjusted target molecular composition as the molecular composition of the mixture; wherein the second processing unit is specifically used for adjusting the concentrations of various single molecules in the target molecular composition; calculating the physical properties of the adjusted target molecular composition; comparing the physical properties of the target molecular composition with those of the mixture; if the physical properties of the target molecular composition are different from those of the mixture, continuing to adjust the concentrations of various single molecules in the target molecular composition until the physical properties of the adjusted target molecular composition are the same as those of the mixture; The second processing unit is specifically used to determine the single molecules contained in the adjusted target molecular composition; calculate the physical properties of the single molecules according to the number of each group contained in each single molecule and the contribution value of each group to the physical property; calculate the physical properties of the adjusted target molecular composition according to the physical properties of various single molecules in the adjusted target molecular composition; Wherein, the second processing unit is specifically used to calculate the octane number of the adjusted target molecular composition by the following calculation formula: Wherein, ON is the octane number of the target molecular composition, HISQFG is a molecular set, H is a molecular set of normal alkanes, I is a molecular set of isoalkanes, S is a molecular set of cycloalkanes, Q is a molecular set of olefins, F is a molecular set of aromatic hydrocarbons, G is a molecular set of oxygen-containing compounds, and υ i is the content of each molecule in the target molecule composition; H ,υ I ,υ S ,υQ,υ F ,υ G are respectively the total content of normal alkanes, the total content of isoalkanes, the total content of cycloalkanes, the total content of olefins, the total content of aromatic hydrocarbons and the total content of oxygen-containing compounds in the target molecular composition; β i is the regression parameter of each molecule in the target molecule composition; i is the octane number of each molecule in the target molecular composition; C H represents the interaction coefficient between normal alkanes and other molecules; C I represents the interaction coefficient between isoalkanes and other molecules; C S represents the interaction coefficient between cycloalkanes and other molecules; C Q represents the interaction coefficient between olefins and other molecules; C F represents the interaction coefficient between aromatic hydrocarbons and other molecules; C G It represents the interaction coefficient between oxygen-containing compounds and other molecules; represents the first constant coefficient between normal alkanes and isoalkanes, represents the first constant coefficient between normal alkanes and cycloalkanes, represents the first constant coefficient between normal alkanes and alkenes, represents the first constant coefficient between normal alkanes and aromatic hydrocarbons, represents the first constant coefficient between normal alkanes and oxygen-containing compounds, represents the first constant coefficient between isoalkanes and cycloalkanes, represents the first constant coefficient between isoparaffins and alkenes, represents the first constant coefficient between isoalkanes and aromatics, represents the first constant coefficient between isoalkanes and oxygen-containing compounds, represents the first constant coefficient between cycloalkanes and alkenes, represents the first constant coefficient between cycloalkanes and aromatic hydrocarbons, represents the first constant coefficient between cycloalkanes and oxygen-containing compounds, represents the first constant coefficient between olefins and aromatics, represents the first constant coefficient between olefins and oxygen-containing compounds, Represents the first constant coefficient between aromatic hydrocarbons and oxygen-containing compounds, represents the second constant coefficient between normal alkanes and isoalkanes, represents the second constant coefficient between normal alkanes and cycloalkanes, represents the second constant coefficient between normal alkanes and alkenes, represents the second constant coefficient between normal alkanes and aromatic hydrocarbons, represents the second constant coefficient between normal alkanes and oxygen-containing compounds, represents the second constant coefficient between isoalkanes and cycloalkanes, The second constant coefficient between isoalkanes and alkenes, The second constant coefficient between isoalkanes and aromatics, represents the second constant coefficient between isoalkanes and oxygen-containing compounds, represents the second constant coefficient between cycloalkanes and alkenes, The second constant coefficient between cycloalkanes and aromatic hydrocarbons, The second constant coefficient between cycloalkanes and oxygen-containing compounds, The second constant coefficient between olefins and aromatics, represents the second constant coefficient between olefins and oxygen-containing compounds, Represents the second constant coefficient between aromatic hydrocarbons and oxygen-containing compounds; wherein the octane number includes: research octane number and motor octane number.

31. The system according to claim 30, characterized in that The system also includes a third processing unit, which is used to determine the sample molecular composition with a physical property deviation value of zero with the mixture as the molecular composition of the mixture if there is a sample molecular composition with a physical property deviation value of zero with the mixture among one or more sample molecular compositions with a physical property deviation value less than a preset first deviation threshold.

32. The system according to claim 30, characterized in that The system also includes a fourth processing unit, which is used to store the corresponding relationship between the adjusted target molecular composition and the physical properties of the mixture in the first database; wherein the adjusted target molecular composition is used as the sample molecular composition in the first database, and the physical properties of the mixture are used as the physical properties of the sample molecular composition.

33. The system according to claim 30, characterized in that The calculation unit is specifically used to select a corresponding deviation algorithm for each physical property of the mixture; calculate the deviation value of each physical property of the mixture and the corresponding physical property of the sample molecular composition according to the deviation algorithm corresponding to each physical property of the mixture; and determine the physical property deviation value of the mixture and the sample molecular composition according to the deviation values ​​of the multiple physical properties of the mixture and the corresponding physical properties of the sample molecular composition.

34. The system according to claim 33, characterized in that The first processing unit is specifically used to directly select the sample molecular composition as the target molecular composition if there is only one sample molecular composition whose physical property deviation value with the mixture is less than the preset first deviation threshold; if there are multiple sample molecular compositions whose physical property deviation value with the mixture is less than the preset first deviation threshold, sort them in ascending order of physical property deviation value, select the sample molecular compositions corresponding to the first M physical property deviation values, and form the target molecular composition after merging the same molecular compositions; wherein M is a positive integer greater than or equal to 1.

35. The system according to claim 30, characterized in that The second processing unit is specifically used to adjust the concentration of various single molecules in the target molecular composition; calculate the physical properties of the adjusted target molecular composition; compare the physical properties of the target molecular composition with the physical properties of the mixture; if the physical properties of the target molecular composition are different from the physical properties of the mixture, continue to adjust the concentration of various single molecules in the target molecular composition until the physical properties of the adjusted target molecular composition are the same as the physical properties of the mixture.

36. A mixture molecular composition detection device, characterized in that: The mixture molecular composition detection device comprises a processor and a memory; the processor is used to execute a mixture molecular composition detection program stored in the memory to implement the mixture molecular composition detection method described in any one of claims 1-29.

37. A storage medium, characterized in that: The storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the method for detecting the molecular composition of a mixture according to any one of claims 1-29.