A method and related apparatus for determining a refinery gas composition
By determining the correction factors for nitrogen, stable gases, and alkanes in refinery gas and combining them with detector technology, the problem of high cost in refinery gas composition analysis was solved, achieving efficient and accurate component determination.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- XINJIANG ZHUNENG CHEMICAL CO LTD
- Filing Date
- 2026-03-31
- Publication Date
- 2026-06-23
AI Technical Summary
Existing methods for analyzing the composition of refinery gas rely on expensive standard gases, resulting in high costs and cumbersome processes, making it difficult to efficiently determine the content of each component in refinery gas.
By determining the absolute correction factors for nitrogen, stable gases, and alkanes, and combining them with the relative correction factors for hydrogen and methane, correction factors can be obtained directly from air and refinery gas samples using a thermal conductivity detector and a hydrogen flame ionization detector, avoiding the use of expensive standard gases.
It enables efficient and low-cost determination of refinery gas composition, improves analytical efficiency, reduces labor and cost inputs, and achieves an accuracy of 100% ± 5%.
Smart Images

Figure CN122259747A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of gas analysis technology, and in particular to a method and related apparatus for determining the composition of refinery gas. Background Technology
[0002] Refinery gas is a mixture of gases produced during the oil refinery process. Its composition varies depending on the composition of the crude oil it originates from and the processes it undergoes. As an important byproduct and energy carrier, analyzing the content of its various components can provide a reference for its utilization value, thereby improving resource utilization efficiency. Therefore, determining the content of each component in refinery gas has become an urgent problem to be solved. Summary of the Invention
[0003] In view of the above problems, this application provides a method and related apparatus for determining the composition of refinery gas, so as to achieve the purpose of identifying the components of refinery gas. The specific solution is as follows:
[0004] The first aspect of this application provides a method for determining the composition of refinery gas, including:
[0005] Based on the absolute correction factor of nitrogen and the relative correction factor corresponding to each stable gas, the absolute correction factor of each stable gas is determined. Stable gases are gases in the air that remain constant during the change period. Stable gases include: oxygen (O2), carbon monoxide (CO) and carbon dioxide (CO2).
[0006] The absolute correction factor for hydrogen is determined based on the hydrogen content and the chromatographic peak area of hydrogen in the production sample containing hydrogen (H2). The chromatographic peak area of hydrogen is obtained by processing the production sample with a thermal conductivity detector.
[0007] The absolute correction factor for each alkane is determined based on the absolute correction factor of methane (CH4) and the relative correction factor of each alkane relative to methane. The relative correction factor for each alkane is obtained based on the relative mass correction factor and the relative molar correction factor of the alkane. The relative mass correction factor is the ratio of the absolute correction factor of the alkane to the absolute correction factor of the reference substance, and the relative molar correction factor is the ratio of the molar correction factor of the alkane to the molar correction factor of the reference substance.
[0008] In one possible implementation, the process of determining the absolute correction factor for nitrogen (N2) includes:
[0009] The absolute correction factor for nitrogen is determined based on the current nitrogen content in the air and the chromatographic peak area of nitrogen. The current content is obtained based on the periodic change of the nitrogen content in the air, and the chromatographic peak area of nitrogen is obtained by processing the air sample using a thermal conductivity detector.
[0010] In one possible implementation, the absolute correction factor for hydrogen is determined based on the hydrogen content in the production sample containing hydrogen and the chromatographic peak area of hydrogen, including:
[0011] The hydrogen content is determined based on the content of other gases in the production sample;
[0012] The absolute correction factor for hydrogen is obtained based on the ratio of hydrogen content to the chromatographic peak area of hydrogen.
[0013] In one possible implementation, the process of determining the absolute correction factor for methane includes:
[0014] The methane standard gas was detected and processed by a hydrogen flame ionization detector to obtain a calibration curve characterizing the relationship between methane concentration and chromatographic peak area. The deviation between the concentration of the methane standard gas and the target concentration of methane was within the error range.
[0015] An air sample is processed by a hydrogen flame ionization detector to obtain the current methane chromatographic peak area, and the current methane concentration is determined from the calibration curve based on the current methane chromatographic peak area.
[0016] The absolute correction factor for methane is obtained based on the current methane concentration and the current methane chromatographic peak area.
[0017] In one possible implementation, the absolute correction factor for each stable gas is determined based on the absolute correction factor for nitrogen and the relative correction factor for each stable gas, including:
[0018] For each stable gas, the relative correction factor corresponding to the stable gas is multiplied by the absolute correction factor of nitrogen to obtain the absolute correction factor of the stable gas.
[0019] In one possible implementation, the process of determining the relative correction factor for each stable gas includes:
[0020] The identifier of the stable gas is used as the lookup key. The lookup value corresponding to the lookup key is retrieved from the database, and the lookup value is used as a relative correction factor.
[0021] A second aspect of this application provides a refinery gas composition determination apparatus, comprising:
[0022] The first correction module is used to determine the absolute correction factor for each stable gas based on the absolute correction factor of nitrogen and the relative correction factor corresponding to each stable gas. Stable gases are gases in the air that remain constant during the change period. Stable gases include oxygen, carbon monoxide, and carbon dioxide.
[0023] The second calibration module is used to determine the absolute calibration factor for hydrogen based on the hydrogen content and the chromatographic peak area of hydrogen in the production sample containing hydrogen. The chromatographic peak area of hydrogen is obtained by processing the production sample using a thermal conductivity detector; and...
[0024] The third correction module is used to determine the absolute correction factor of each alkane based on the absolute correction factor of methane and the relative correction factor of each alkane relative to methane. The relative correction factor of each alkane is obtained based on the relative mass correction factor and the relative molar correction factor of the alkane. The relative mass correction factor is the ratio of the absolute correction factor of the alkane to the absolute correction factor of the reference substance, and the relative molar correction factor is the ratio of the molar correction factor of the alkane to the molar correction factor of the reference substance.
[0025] A third aspect of this application provides a computer program product including computer-readable instructions that, when executed on an electronic device, cause the electronic device to implement the refinery gas composition determination method described in the first aspect or any implementation thereof.
[0026] A fourth aspect of this application provides an electronic device, including at least one processor and a memory connected to the processor, wherein:
[0027] Memory is used to store computer programs;
[0028] The processor is used to execute the computer program so that the electronic device can implement the refinery gas composition determination method of the first aspect or any implementation thereof.
[0029] The fifth aspect of this application provides a computer storage medium carrying one or more computer programs, which, when executed by an electronic device, enable the electronic device to implement the refinery gas composition determination method described in the first aspect or any implementation thereof.
[0030] By employing the above technical solution, the refinery gas composition determination method provided in this application determines the absolute correction factors of relatively stable gases in air based on the absolute correction factor of nitrogen and the relative correction factors corresponding to each stable gas. Similarly, based on the absolute correction factor of methane and the relative correction factors of each alkane relative to methane, the absolute correction factors of each alkane are determined. Then, based on the hydrogen content and the chromatographic peak area of hydrogen in the production sample containing hydrogen, the absolute correction factor of hydrogen is determined, wherein the chromatographic peak area of hydrogen is obtained by processing the production sample using a thermal conductivity detector. This achieves the determination of the absolute correction factors of each gas component. Based on this, by combining the detection of the chromatographic peak areas of each component in the refinery gas sample, the concentration of each component in the sample can be determined, providing a reliable reference for subsequent resource utilization. Attached Figure Description
[0031] The above and other features, advantages, and aspects of the embodiments of this disclosure will become more apparent from the accompanying drawings and the following detailed description. Throughout the drawings, the same or similar reference numerals denote the same or similar elements. It should be understood that the drawings are schematic, and the originals and elements are not necessarily drawn to scale.
[0032] Figure 1 A flowchart of a method for determining the composition of refinery gas provided in this application;
[0033] Figure 2 A structural diagram of a refinery gas composition determination device provided in this application;
[0034] Figure 3 This is a structural diagram of an electronic device provided in this application. Detailed Implementation
[0035] The embodiments of this application are described below with reference to the accompanying drawings. The terminology used in the implementation section of this application is for explaining specific embodiments only and is not intended to limit the scope of this application.
[0036] The embodiments of this application will now be described with reference to the accompanying drawings. Those skilled in the art will recognize that, with technological advancements and the emergence of new scenarios, the technical solutions provided in the embodiments of this application are equally applicable to similar technical problems.
[0037] The terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such terms are interchangeable where appropriate; this is merely a way of distinguishing objects with the same attributes in the embodiments of this application. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion, so that a process, method, system, product, or apparatus that comprises a series of elements is not necessarily limited to those elements, but may include other elements not explicitly listed or inherent to those processes, methods, products, or apparatuses.
[0038] Currently, there is no unified method for analyzing the composition of refinery gas. However, the analytical approach is similar to that of liquefied petroleum gas (LPG). Relevant standards for LPG composition analysis can usually be referenced, such as using gas chromatography analysis of the major components of manufactured gas and LPG. The principle is to use a gas chromatograph to separate the main major components in the sample through a gas chromatograph column, and record the peak area values of each component on an integrator. Under the same operating conditions, a standard gas with known component content is analyzed using the external standard method. The peak area values of the sample chromatogram are compared with those of the standard gas to calculate the content of each component. Existing methods mainly use standard gases to determine the absolute correction factors of each component. However, due to the large number of components, the preparation requirements for the standard gases are very high. Standard gases are usually purchased from specialized manufacturers, which is expensive. Moreover, the process of calibrating the absolute correction factors of each component using standard gases is cumbersome, time-consuming, labor-intensive, and costly.
[0039] To address the aforementioned problems, this application provides a method for determining the composition of refinery gas. The method for determining the composition of refinery gas according to this application will be described in detail below with reference to the accompanying drawings.
[0040] Reference Figure 1 , Figure 1 This application provides a flowchart illustrating a method for determining the composition of refinery gas, as shown in the embodiments below. Figure 1 As shown in the embodiment of this application, a method for determining the composition of refinery gas may include steps S101 to S103, which are described in detail below.
[0041] Step S101: Determine the absolute correction factor for each stable gas based on the absolute correction factor of nitrogen and the relative correction factor corresponding to each stable gas. Stable gases are gases in the air that remain constant during the change period. Stable gases include oxygen, carbon monoxide, and carbon dioxide.
[0042] Specifically, based on the composition of the atmosphere, the Earth's atmosphere is mainly composed of oxygen, nitrogen, and several inert gases, which account for more than 99% of the total air volume. Their concentrations in the atmosphere generally remain constant throughout the year, hence they are called constant components. Other atmospheric components with relatively lower concentrations may experience slight variations at any time, some even showing significant changes, such as water vapor, carbon dioxide, and ozone.
[0043] The natural atmosphere is a mixture of various gases. In addition to gases, the atmosphere also contains a large number of suspended solid and liquid particles, such as water droplets, ice crystals, dust, salt particles, and pollen. The variation periods of variable components (quasi-permanent gases) according to their residence time are shown in Table 1.
[0044] Table 1
[0045]
[0046] It can be seen that the residence time of quasi-permanent gases is very long, and even if their source distribution is uneven, they will mix evenly on a global scale.
[0047] Due to the constant composition of the atmosphere, especially for components with higher concentrations such as nitrogen (78.084%), and its stability over a period of 106 years, the nitrogen component in the air can be used directly. However, atmospheric components with lower concentrations exhibit periodic variations. For example, CH4, for instance, was measured at 1.65 ppm in 1986, and its residence time is generally 7 years. As shown in Table 1, its variation cycle ranges from 2.5 to 8 years. Given these factors, the concentration of methane in the atmosphere needs to be re-measured and recalculated.
[0048] By injecting air as a standard gas and measuring the chromatographic peak area of nitrogen in the air using a TCD detector (i.e., thermal conductivity detector), and since the nitrogen content in the air is a constant of 78.084%, the absolute correction factor for nitrogen can be determined using the formula for calculating the absolute correction factor. The absolute correction factor is defined as the ratio of the mass (or volume, moles) of a component to the corresponding chromatographic peak area, reflecting the detector's sensitivity to that component. The core formula is as follows:
[0049]
[0050] Where: fᵢ = absolute correction factor for component i; mᵢ = mass (or volume, number of moles) of component i; Aᵢ = measured peak area of component i.
[0051] Since the oxygen content in the air is relatively constant, the absolute correction factor for oxygen can also be measured through the above process. The absolute correction factors for oxygen and nitrogen are then shown in Table 2.
[0052] Table 2
[0053]
[0054] Based on this, by consulting the literature, the correction factors for oxygen, carbon monoxide, and carbon dioxide relative to nitrogen under the same conditions can be obtained. As shown in Table 3:
[0055] Table 3
[0056]
[0057] The absolute correction factors for each stable gas, obtained by combining Tables 2 and 3 above, are shown in Table 4:
[0058] Table 4
[0059]
[0060] Step S102: Determine the absolute correction factor for hydrogen based on the hydrogen content and the chromatographic peak area of hydrogen in the production sample containing hydrogen. The chromatographic peak area of hydrogen is obtained by processing the production sample using a thermal conductivity detector.
[0061] Specifically, for hydrogen in conventional components, the product hydrogen from the gasification unit of the refinery can be used as the standard gas for injection. The content of oxygen, nitrogen, carbon monoxide, methane and carbon dioxide in the gas sample can be obtained. The accurate content of hydrogen component can be obtained by normalization method. Then, the absolute correction factor of hydrogen component can be calculated by the chromatographic peak area of hydrogen component.
[0062] Step S103: Determine the absolute correction factor for each alkane based on the absolute correction factor of methane and the relative correction factor of each alkane relative to methane. The relative correction factor for each alkane is obtained based on the relative mass correction factor and the relative molar correction factor of the alkane. The relative mass correction factor is the ratio of the absolute correction factor of the alkane to the absolute correction factor of the reference substance, and the relative molar correction factor is the ratio of the molar correction factor of the alkane to the molar correction factor of the reference substance.
[0063] Specifically, because the concentration of methane in the air is low and its stability is less than that of oxygen and nitrogen in large quantities, the concentration of methane in the air needs to be requantified. This can be done through micro-chromatographic analysis to obtain the absolute correction factor for methane. Based on this, the relative molar correction factors of C1 to C6 alkanes relative to the reference standard benzene are used. Then, the correction factor for each alkane relative to methane is calculated. As shown in Table 5 below:
[0064] Table 5
[0065]
[0066] Thus, by determining the absolute correction factor for methane, and the correction factors relative to methane in Table 5 above... This allows us to obtain the absolute correction factors for other alkane components.
[0067] Based on the absolute correction factors of each component, the refinery gas is analyzed using a TCD detector to obtain the chromatographic peak area of each component. Then, by combining the absolute correction factors of each component, the content of each component can be obtained.
[0068] This method for determining the composition of refinery gas is based on the premise that the content of each component in air is constant. First, the absolute correction factors for nitrogen and methane in the air are determined. Then, by consulting literature, the relative correction factors of other permanent gas components relative to nitrogen are used to calculate the absolute correction factors for each component. Similarly, the relative correction factors of each hydrocarbon component with methane as a reference are found to calculate their respective absolute correction factors. This method achieves compositional analysis of refinery gas without the use of any standard gases. It not only improves the efficiency of component analysis but also saves costs and labor.
[0069] In another embodiment, the process of determining the absolute correction factor for nitrogen gas includes:
[0070] The absolute correction factor for nitrogen is determined based on the current nitrogen content in the air and the chromatographic peak area of nitrogen. The current content is obtained based on the periodic change of the nitrogen content in the air, and the chromatographic peak area of nitrogen is obtained by processing the air sample using a thermal conductivity detector.
[0071] Specifically, for each stable gas, the relative correction factor corresponding to the stable gas is multiplied by the absolute correction factor of nitrogen to obtain the absolute correction factor of the stable gas.
[0072] The relationship between the relative correction factor and the absolute correction factor can be obtained from Tables 3 and 4 above:
[0073] = × ;
[0074] in, This represents the absolute correction factor for component i. This represents the correction factor for component i relative to nitrogen. The absolute correction factor for nitrogen.
[0075] In some embodiments, to achieve higher accuracy in determining the absolute correction factor of hydrogen, the determination of the absolute correction factor of hydrogen based on the hydrogen content in the production sample containing hydrogen and the chromatographic peak area of hydrogen may specifically include:
[0076] The hydrogen content is determined based on the content of other gases in the production sample.
[0077] The absolute correction factor for hydrogen is obtained based on the ratio of hydrogen content to the chromatographic peak area of hydrogen.
[0078] Specifically, by selecting the product hydrogen from the gasification unit as the standard gas for injection, and using the known contents of other components, the accurate hydrogen content is obtained by subtracting the sum of the contents of all known components from 100%, as shown in Table 6 below:
[0079] Table 6
[0080]
[0081] The content (%) of each component is known:
[0082] Nitrogen: 0.25%;
[0083] Oxygen: 0.11%;
[0084] Carbon monoxide: 0.0012%;
[0085] Carbon dioxide: 0.0019%;
[0086] Methane: 0.0035%.
[0087] The total content of all known impurity components is calculated as follows: 0.25 + 0.11 + 0.0012 + 0.0019 + 0.0035 = 0.3666%.
[0088] The hydrogen content was calculated using the normalization method: 100% − total impurity content = 100 − 0.3666 = 99.6334% This is completely consistent with the hydrogen content given in the table.
[0089] The peak area of hydrogen components on the instrument The absolute correction factor for hydrogen can be calculated from the hydrogen component content. .
[0090] In other embodiments, the process of determining the absolute correction factor for methane includes:
[0091] The methane standard gas was detected and processed using a hydrogen flame ionization detector to obtain a calibration curve characterizing the relationship between methane concentration and chromatographic peak area. The deviation between the concentration of the methane standard gas and the target methane concentration was within the error range.
[0092] An air sample is processed using a flame ionization detector to obtain the current methane peak area, and the current methane concentration is determined from the calibration curve based on the current methane peak area.
[0093] The absolute correction factor for methane is obtained based on the current methane concentration and the current methane chromatographic peak area.
[0094] Specifically, a hydrogen flame ionization detector can be used to quantitatively analyze low concentrations of methane in the air.
[0095] First, a concentration-chromatographic peak area calibration curve was prepared using a methane standard gas with a concentration close to the target concentration to establish a quantitative relationship. Then, air samples were collected from the plant area using an airtight device. After quantitative injection, the samples were separated in the chromatographic column, and the detector captured the characteristic peak area of methane.
[0096] The concentration was calculated using a calibration curve. After multiple parallel measurements, the methane content in the factory area was found to be 1.70 ppm, with a relative standard deviation (RSD) of less than 0.5%, indicating good data repeatability. Combined with long-term monitoring results, this concentration was confirmed to be stable over three years and can be used as a fixed value for subsequent calculations of the absolute correction factor for methane. Multiple measurements showed that the methane content near the factory area was 1.70 ppm, with an RSD of less than 0.5%. It can be concluded that the variation period of methane content in the air is no less than three years, meaning that the methane content in the air at this location can be fixed at 1.70 ppm for three years. The absolute correction factor for methane can then be calculated by combining this with the peak area of the methane component.
[0097] The absolute correction factors for other hydrocarbon components can be obtained by converting them using the correction factors relative to methane in Table 5, combined with the already determined absolute correction factor for methane.
[0098] fi = Fi / CH4 × fCH4;
[0099] Where fi represents the absolute correction factor of the target hydrocarbon component; Fi / CH4 represents the correction factor of the component relative to methane (from Table 5), and fCH4 is the absolute correction factor of methane (0.07579).
[0100] The correction factors for each component in Table 5 relative to methane are as follows:
[0101] Ethane: FC2H6 / CH4 = 0.5332;
[0102] Propane: FC3H8 / CH4 = 0.3637;
[0103] Butane: FC4H 10 / CH4=0.2614;
[0104] Pentane: FC5H 12 / CH4=0.2147;
[0105] Hexane: FC6H 14 / CH4=0.1763;
[0106] Based on this, multiplying by the absolute correction factor of methane respectively yields the respective absolute correction factors.
[0107] In one embodiment, the absolute correction factors for each alkane are shown in Table 7 below:
[0108] Table 7
[0109]
[0110] In some embodiments, to facilitate the use of the relative correction factors for the stable gases described above, the process of determining the relative correction factor for each stable gas may specifically include:
[0111] The identifier of the stable gas is used as the lookup key. The lookup value corresponding to the lookup key is retrieved from the database, and the lookup value is used as a relative correction factor.
[0112] Specifically, the relative correction factors of each stable gas can be stored in the form of key-value pairs. Since the relative correction factors of stable gases remain constant over a long period of time and do not need to be changed frequently, they can be easily searched and used directly.
[0113] In other embodiments, the proportion of the absolute correction factor of each component determined by the refinery gas composition determination method is compared with the absolute correction factor obtained by conventional methods to obtain the recovery rate, as shown in Table 8 below:
[0114]
[0115] It can be seen that the recovery rate of the absolute correction factor obtained in this application and the correction factor obtained by conventional methods can reach 95.4%-103.6%, that is, the accuracy can reach within 100%±5%, which can fully meet the experimental requirements. Moreover, the determination process is relatively simple, fast, time-saving, labor-saving and cost-saving.
[0116] The above describes a method for determining the composition of refinery gas provided by the embodiments of this application. The following describes the apparatus for performing the above method for determining the composition of refinery gas.
[0117] Please see Figure 2 , Figure 2 This is a schematic diagram of a refinery gas composition determination device provided in an embodiment of this application. Figure 2 As shown, the refinery gas composition determination device includes:
[0118] The first correction module 201 is used to determine the absolute correction factor of each stable gas based on the absolute correction factor of nitrogen and the relative correction factor corresponding to each stable gas. Stable gases are gases in the air that remain constant during the change period. Stable gases include oxygen, carbon monoxide and carbon dioxide.
[0119] The second correction module 202 is used to determine the absolute correction factor for hydrogen based on the hydrogen content and the chromatographic peak area of hydrogen in the production sample containing hydrogen. The chromatographic peak area of hydrogen is obtained by processing the production sample using a thermal conductivity detector.
[0120] The third correction module 203 is used to determine the absolute correction factor of each alkane based on the absolute correction factor of methane and the relative correction factor of each alkane relative to methane. The relative correction factor of each alkane is obtained based on the relative mass correction factor and the relative molar correction factor of the alkane. The relative mass correction factor is the ratio of the absolute correction factor of the alkane to the absolute correction factor of the reference substance, and the relative molar correction factor is the ratio of the molar correction factor of the alkane to the molar correction factor of the reference substance.
[0121] In one possible implementation, the process of determining the absolute correction factor for nitrogen in the first correction module 201 includes:
[0122] The absolute correction factor for nitrogen is determined based on the current nitrogen content in the air and the chromatographic peak area of nitrogen. The current content is obtained based on the periodic change of the nitrogen content in the air, and the chromatographic peak area of nitrogen is obtained by processing the air sample using a thermal conductivity detector.
[0123] In one possible implementation, the process by which the second correction module 202 determines the absolute correction factor for hydrogen based on the hydrogen content in the production sample containing hydrogen and the chromatographic peak area of hydrogen includes:
[0124] The hydrogen content is determined based on the content of other gases in the production sample;
[0125] The absolute correction factor for hydrogen is obtained based on the ratio of hydrogen content to the chromatographic peak area of hydrogen.
[0126] In one possible implementation, the process of determining the absolute correction factor for methane in the third correction module 203 includes:
[0127] The methane standard gas was detected and processed by a hydrogen flame ionization detector to obtain a calibration curve characterizing the relationship between methane concentration and chromatographic peak area. The deviation between the concentration of the methane standard gas and the target concentration of methane was within the error range.
[0128] An air sample is processed by a hydrogen flame ionization detector to obtain the current methane chromatographic peak area, and the current methane concentration is determined from the calibration curve based on the current methane chromatographic peak area.
[0129] The absolute correction factor for methane is obtained based on the current methane concentration and the current methane chromatographic peak area.
[0130] In one possible implementation, the process by which the first correction module 201 determines the absolute correction factor for each stable gas based on the absolute correction factor for nitrogen and the relative correction factor corresponding to each stable gas includes:
[0131] For each stable gas, the relative correction factor corresponding to the stable gas is multiplied by the absolute correction factor of nitrogen to obtain the absolute correction factor of the stable gas.
[0132] In one possible implementation, the process of determining the relative correction factor for each stable gas in the first correction module 201 includes:
[0133] The identifier of the stable gas is used as the lookup key. The lookup value corresponding to the lookup key is retrieved from the database, and the lookup value is used as a relative correction factor.
[0134] This application also provides an electronic device in its embodiments. (See reference...) Figure 3 The diagram illustrates a structural schematic suitable for implementing the electronic device in the embodiments of this application. The electronic device in the embodiments of this application may include, but is not limited to, fixed terminals such as laptops, desktop computers, etc. Figure 3 The electronic device shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments of this application.
[0135] like Figure 3 As shown, the electronic device may include a processing unit (e.g., a central processing unit, a graphics processing unit, etc.) 301, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 302 or a program loaded from a storage device 308 into a random access memory (RAM) 303. When the electronic device is powered on, the RAM 303 also stores various programs and data required for the operation of the electronic device. The processing unit 301, ROM 302, and RAM 303 are interconnected via a bus 304. An input / output (I / O) interface 305 is also connected to the bus 304.
[0136] Typically, the following devices can be connected to I / O interface 305: input devices 306 including, for example, touchscreens, touchpads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; output devices 307 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices 308 including, for example, memory cards, hard drives, etc.; and communication devices 309. Communication device 309 allows electronic devices to communicate wirelessly or wiredly with other devices to exchange data. Although Figure 3 Electronic devices with various devices are shown, but it should be understood that it is not required to implement or have all of the devices shown. More or fewer devices may be implemented or have alternatively.
[0137] This application also provides a computer program product including computer-readable instructions, which, when executed on an electronic device, cause the electronic device to implement any of the refinery gas composition determination methods provided in this application.
[0138] This application also provides a computer-readable storage medium carrying one or more computer programs. When the one or more computer programs are executed by an electronic device, the electronic device can implement any of the refinery gas composition determination methods provided in this application.
[0139] It should also be noted that the device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. In addition, in the device embodiment drawings provided in this application, the connection relationship between modules indicates that they have a communication connection, which can be implemented as one or more communication buses or signal lines.
[0140] Through the above description of the embodiments, those skilled in the art can clearly understand that this application can be implemented by means of software plus necessary general-purpose hardware, or it can be implemented by special-purpose hardware including application-specific integrated circuits, special-purpose CPUs, special-purpose memory, special-purpose components, etc. Generally, any function performed by a computer program can be easily implemented by corresponding hardware, and the specific hardware structure used to implement the same function can also be diverse, such as analog circuits, digital circuits, or special-purpose circuits. However, for this application, software program implementation is more often the preferred implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a readable storage medium, such as a computer floppy disk, USB flash drive, mobile hard disk, ROM, RAM, magnetic disk, or optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, training equipment, or network device, etc.) to execute the methods described in the various embodiments of this application.
[0141] In the above embodiments, implementation can be achieved, in whole or in part, through software, hardware, firmware, or any combination thereof. When implemented in software, it can be implemented, in whole or in part, as a computer program product.
[0142] The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions may be transmitted from one website, computer, training device, or data center to another website, computer, training device, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium may be any available medium that a computer can store or a data storage device such as a training device or data center that integrates one or more available media. The available media may be magnetic media (e.g., floppy disks, hard disks, magnetic tapes), optical media (e.g., DVDs), or semiconductor media (e.g., solid-state drives (SSDs)).
Claims
1. A method for determining the composition of refinery gas, characterized in that, include: The absolute correction factor for each stable gas is determined based on the absolute correction factor for nitrogen and the relative correction factor for each stable gas. The stable gas is a gas in the air that remains constant during the change period. The stable gas includes oxygen, carbon monoxide, and carbon dioxide. The absolute correction factor for hydrogen is determined based on the hydrogen content in the production sample containing hydrogen and the chromatographic peak area of hydrogen, wherein the chromatographic peak area of hydrogen is obtained by processing the production sample using a thermal conductivity detector. The absolute correction factor of each alkane is determined based on the absolute correction factor of methane and the relative correction factor of each alkane relative to methane. The relative correction factor of each alkane is obtained based on the relative mass correction factor and the relative molar correction factor of the alkane. The relative mass correction factor is the ratio of the absolute correction factor of the alkane to the absolute correction factor of the reference substance, and the relative molar correction factor is the ratio of the molar correction factor of the alkane to the molar correction factor of the reference substance.
2. The method for determining the composition of refinery gas according to claim 1, characterized in that, The process of determining the absolute correction factor for nitrogen includes: The absolute correction factor for nitrogen is determined based on the current nitrogen content in the air and the chromatographic peak area of nitrogen. The current content is obtained based on the periodic change of the nitrogen content in the air. The chromatographic peak area of nitrogen is obtained by processing the air sample using the thermal conductivity detector.
3. The method for determining the composition of refinery gas according to claim 1, characterized in that, The step of determining the absolute correction factor for hydrogen based on the hydrogen content and the chromatographic peak area of the hydrogen in the production sample containing hydrogen includes: The hydrogen content is determined based on the content of other gases in the production sample; The absolute correction factor for hydrogen is obtained based on the ratio of the hydrogen content to the chromatographic peak area of hydrogen.
4. The method for determining the composition of refinery gas according to claim 1, characterized in that, The process for determining the absolute correction factor for methane includes: The methane standard gas was detected and processed by a hydrogen flame ionization detector to obtain a calibration curve characterizing the relationship between methane concentration and chromatographic peak area. The deviation between the concentration of the methane standard gas and the target concentration of methane was within the error range. The air sample is processed by the hydrogen flame ionization detector to obtain the current methane chromatographic peak area, and the current methane concentration is determined from the calibration curve based on the current methane chromatographic peak area. The absolute correction factor for methane is obtained based on the current methane concentration and the current methane chromatographic peak area.
5. The method for determining the composition of refinery gas according to claim 1, characterized in that, The step of determining the absolute correction factor for each stable gas based on the absolute correction factor for nitrogen and the relative correction factor for each stable gas includes: For each of the stable gases, the relative correction factor corresponding to the stable gas is multiplied by the absolute correction factor of the nitrogen gas to obtain the absolute correction factor of the stable gas.
6. The method for determining the composition of refinery gas according to any one of claims 1 to 5, characterized in that, The process of determining the relative correction factor for each of the stable gases includes: The identifier of the stable gas is used as a lookup key to search for the lookup value corresponding to the lookup key in the database, and the lookup value is used as the relative correction factor.
7. A device for determining the composition of refinery gas, characterized in that, include: The first correction module is used to determine the absolute correction factor of each of the stable gases based on the absolute correction factor of nitrogen and the relative correction factor corresponding to each stable gas. The stable gases are gases in the air that remain constant during the change period, and the stable gases include oxygen, carbon monoxide and carbon dioxide. The second calibration module is used to determine the absolute calibration factor for hydrogen based on the hydrogen content in the production sample containing hydrogen and the chromatographic peak area of hydrogen, wherein the chromatographic peak area of hydrogen is obtained by processing the production sample using a thermal conductivity detector; and, The third correction module is used to determine the absolute correction factor of each alkane based on the absolute correction factor of methane and the relative correction factor of each alkane relative to methane. The relative correction factor of each alkane is obtained based on the relative mass correction factor and the relative molar correction factor of the alkane. The relative mass correction factor is the ratio of the absolute correction factor of the alkane to the absolute correction factor of the reference substance, and the relative molar correction factor is the ratio of the molar correction factor of the alkane to the molar correction factor of the reference substance.
8. A computer program product, characterized in that, Includes computer-readable instructions that, when executed on an electronic device, cause the electronic device to implement the refinery gas composition determination method as described in any one of claims 1 to 6.
9. An electronic device, characterized in that, It includes at least one processor and a memory connected to the processor, wherein: The memory is used to store computer programs; The processor is used to execute the computer program to enable the electronic device to implement the refinery gas composition determination method as described in any one of claims 1 to 6.
10. A computer storage medium, characterized in that, The storage medium carries one or more computer programs that, when executed by an electronic device, enable the electronic device to implement the refinery gas composition determination method as described in any one of claims 1 to 6.