Natural gas energy metering method and system, electronic equipment and storage medium

By introducing real-time calculation of heat generation and assignment frequency in the natural gas energy metering method, the measurement accuracy problems in the gas source changes and complex operating conditions in the prior art are solved, and higher measurement accuracy and adaptability are achieved.

CN119438523APending Publication Date: 2025-02-14PIPECHINA SOUTH CHINA CO
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411164017.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-23
Publication Date
2025-02-14

AI Technical Summary

Technical Problem

The existing technology cannot effectively deal with complex working conditions such as gas source changes, upstream flow and zero-position floating point mixing in natural gas energy metering, resulting in low metering accuracy and cannot meet the interconnection and multi-gas source mixing of modern natural gas pipelines. need.

Method used

A natural gas energy measurement method is provided. By calculating the target value of the heat generation and assignment frequency of the target station, the calculation frequency is adjusted in real time to adapt to changes in the gas source and improve the measurement accuracy. The method includes a calorific value calculation module, an assignment frequency calculation module and a calling module, and uses a calorific value tracking model and chromatographic analysis results to calculate.

Benefits of technology

Through real-time calculation and frequency adjustment, the accuracy of natural gas energy measurement is significantly improved, and the impact of gas source changes on the heat generation can be more accurately reflected, meeting the complex needs of modern natural gas pipelines.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119438523A_ABST
    Figure CN119438523A_ABST
Patent Text Reader

Abstract

The invention discloses a natural gas energy metering method and system, electronic equipment and a storage medium, and relates to the technical field of natural gas energy metering, and the method comprises the steps: S1, calculating the heating value of natural gas of a target station yard; s2, after the gas source of the natural gas reaching the target station yard changes, calculating a target value of the assignment frequency; and S3, executing the S1 according to the target value of the assignment frequency. According to the method, the more accurate heating value can be calculated, and the precision of natural gas energy metering is greatly improved.
Need to check novelty before this filing date? Find Prior Art

Description

Background Art

[0002] At present, natural gas energy metering has received extensive attention, and various social parties have started related work on natural gas energy metering. Natural gas energy metering is highly technical. Domestic research has established methods for assigning natural gas composition analysis data and physical property parameters, covering dual-gas source mixing, multi-gas source state reconstruction working condition component and calorific value calculation methods, but no research results have been achieved in terms of assignment frequency determination, no upstream flow, zero floating point mixing and other working conditions, which cannot meet the process conditions of large fluctuations in natural gas components and dynamic changes in gas calorific value in the pipeline network system after natural gas pipeline network interconnection and mixed transmission of multiple gas sources.

[0003] At present, for gas mixing stations, the solution of installing online chromatographs is adopted, but the operation and maintenance costs are relatively high. For stations that are not equipped with online chromatographs, the components of natural gas sent by the data center are uniformly received, and logical judgment of the components is carried out in the station control system and sent to the flow computer, but the fixed assignment method is still used. Summary of the invention

[0004] The technical problem to be solved by the present invention is to address the deficiencies of the prior art and specifically provide a natural gas energy metering method, system, electronic device and storage medium, as follows:

[0005] 1) In the first aspect, the present invention provides a natural gas energy metering method, and the specific technical solution is as follows:

[0006] S1. Calculate the calorific value of natural gas at the target station;

[0007] S2. When the gas source of the natural gas arriving at the target station changes, the target value of the assignment frequency is calculated;

[0008] S3. Execute S1 according to the target value of the assignment frequency.

[0009] The beneficial effects of a natural gas energy metering method provided by the present invention are as follows:

[0010] When the gas source of the natural gas arriving at the target station changes, the assignment frequency is calculated, and then the calorific value of the natural gas at the target station is calculated in real time based on the assignment frequency, so that a more accurate calorific value can be obtained, which greatly improves the accuracy of natural gas energy measurement.

[0011] Based on the above solution, a natural gas energy metering method of the present invention can also be improved as follows.

[0012] Furthermore, S1 includes:

[0013] When there is no gas mixing between the preset station connected to the target station and the target station, the calorific value of the natural gas at the target station is calculated based on the calorific value tracking model and the chromatographic analysis results of the natural gas at the preset station, as well as the pipeline parameters and natural gas-associated parameters between the preset station and the target station, and in combination with the calorific value of the natural gas at the preset station.

[0014] Furthermore, S1 includes:

[0015] When there is mixed gas between the preset station connected to the target station and the target station, the calorific value of the natural gas at the target station is calculated based on the calorific value tracking model and the chromatographic analysis results of the natural gas at the preset station, as well as the pipeline parameters and natural gas-related parameters between the preset station and the target station, and in combination with the calorific value of the natural gas at the preset station and the calorific value of each natural gas when mixed.

[0016] Furthermore, S1 includes:

[0017] According to the calorific value tracking model and the chromatographic analysis results of the natural gas at the preset station connected to the target station, natural component quantity tracking is performed to determine the components of the natural gas arriving at the target station, and the calorific value of the natural gas at the target station is calculated based on the components of the natural gas arriving at the target station.

[0018] 2) In the second aspect, the present invention also provides a natural gas energy metering system, and the specific technical solution is as follows:

[0019] It includes a heat generation calculation module, an assignment frequency calculation module and a calling module;

[0020] The calorific value calculation module is used to: calculate the calorific value of natural gas at the target station;

[0021] The assignment frequency calculation module is used to: calculate the target value of the assignment frequency when the gas source of the natural gas arriving at the target station changes;

[0022] The calling module is used to call the calorific value calculation module according to the target value of the assignment frequency.

[0023] Based on the above solution, the natural gas energy metering system of the present invention can also be improved as follows.

[0024] Furthermore, the calorific value calculation module is specifically used for:

[0025] When there is no gas mixing between the preset station connected to the target station and the target station, the calorific value of the natural gas at the target station is calculated based on the calorific value tracking model and the chromatographic analysis results of the natural gas at the preset station, as well as the pipeline parameters and natural gas-associated parameters between the preset station and the target station, and in combination with the calorific value of the natural gas at the preset station.

[0026] Furthermore, the calorific value calculation module is specifically used for:

[0027] When there is mixed gas between the preset station connected to the target station and the target station, the calorific value of the natural gas at the target station is calculated based on the calorific value tracking model and the chromatographic analysis results of the natural gas at the preset station, as well as the pipeline parameters and natural gas-related parameters between the preset station and the target station, and in combination with the calorific value of the natural gas at the preset station and the calorific value of each natural gas when mixed.

[0028] Furthermore, the calorific value calculation module is specifically used for:

[0029] According to the calorific value tracking model and the chromatographic analysis results of the natural gas at the preset station connected to the target station, the natural gas quality tracking is performed to determine the components of the natural gas arriving at the target station, and the calorific value of the natural gas at the target station is calculated according to the components of the natural gas arriving at the target station.

[0030] 3) In a third aspect, the present invention further provides an electronic device, comprising a processor, wherein the processor is coupled to a memory, wherein at least one computer program is stored in the memory, and the at least one computer program is loaded and executed by the processor so that the electronic device implements any one of the above-mentioned natural gas energy metering methods.

[0031] 4) In a fourth aspect, the present invention further provides a computer-readable storage medium, wherein at least one computer program is stored in the computer-readable storage medium, and the at least one computer program is loaded and executed by a processor so that a computer implements any one of the above-mentioned natural gas energy metering methods.

[0032] It should be noted that the beneficial effects achieved by the technical solutions of the second to fourth aspects of the present invention and the corresponding possible implementation methods can be found in the above-mentioned technical effects of the first aspect and its corresponding possible implementation methods, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] Other features, objects and advantages of the present invention will become more apparent from the detailed description of non-limiting embodiments made with reference to the following drawings:

[0034] Figure 1A schematic diagram of a flow chart of a natural gas energy metering method according to an embodiment of the present invention;

[0035] Figure 2 This is a structural schematic diagram of a natural gas energy metering system according to an embodiment of the present invention;

[0036] Figure 3 The figure is a schematic diagram of the structure of an electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0037] In order to make the objectives, technical solutions and advantages of the present invention more clear, the embodiments of the present invention will be further described in detail below with reference to the accompanying drawings.

[0038] like Figure 1 As shown, a natural gas energy metering method according to an embodiment of the present invention comprises the following steps:

[0039] S1. Calculate the calorific value of natural gas at the target station;

[0040] S2. When the gas source of the natural gas arriving at the target station changes, the target value of the assignment frequency is calculated;

[0041] S3. Execute S1 according to the target value of the assignment frequency, that is, repeatedly calculate the high calorific value of the natural gas at the target station until the number of repeated calculations of the high calorific value of the natural gas at the target station is equal to the assignment frequency.

[0042] Optionally, in S2, the process of calculating the target value of the assignment frequency is as follows:

[0043] S20, setting the initial value of the assignment frequency, and calculating the first intermediate quantity P1, Where n represents the assignment frequency, which is used to bring in the initial value or reset value of the assignment frequency;

[0044] S21. According to the initial value of the assignment frequency and in combination with the components of the natural gas at the target station each time the high calorific value is calculated, the high calorific value of the natural gas at the target station is repeatedly calculated n times to obtain n high calorific values ​​of the natural gas at the target station (the calculation may be performed according to the method specified in the GB / T 11062 standard), and the deviation between any one of the n high calorific values ​​and the average high calorific value standard value is calculated, and the second intermediate quantity P2 is calculated based on the deviation. Among them, t represents the t factor, which can be 95% or can be set according to actual conditions. d represents the upper limit of error, that is, the maximum allowable error of the online heating value of the metering system with different accuracy levels of the metering system supporting instruments. d can be set manually according to the corresponding national standard, for example, d = 0.3%. s represents the deviation between any one of the n high heating values ​​and the standard value of the average high heating value. The standard value of the average high heating value is: the average value of the n high heating values.

[0045] S22, determining whether the first intermediate quantity P1 is equal to the second intermediate quantity P2, and obtaining a determination result;

[0046] S23, when the judgment result is yes, the initial value of the assignment frequency is determined as the target value of the assignment frequency; when the judgment result is no, the size of the initial value of the assignment frequency is reset, and return to execute S20 until P1=P2, that is, will make The numerical value of the assignment frequency is used as the target value of the assignment frequency.

[0047] In one embodiment, n=48 is set, and the assignment frequency of each station is calculated, as shown in Table 1, where “ / ” in Table 1 indicates that the value is not calculated.

[0048] Table 1:

[0049]

[0050]

[0051]

[0052]

[0053]

[0054]

[0055] From Table 1, it is found that the assignment frequency of the first station is within 48 times for a total of 41 days, accounting for 22.4%, and the assignment frequency of more than 48 times is 142 days, accounting for 77.6%; the assignment frequency of the second station is within 48 times for a total of 35 days, accounting for 19.1%, and the assignment frequency of more than 48 times is 148 days, accounting for 80.9%; the assignment frequency of the third station is within 48 times for a total of 52 days, accounting for 28.4%, and the assignment frequency of more than 48 times is 131 days, accounting for 71.6%; the assignment frequency of the fourth station is within 48 times for a total of 48 days, accounting for 26.2%, and 135 days outside 48 times, accounting for 73.8%; the assignment frequency of the fifth station is within 48 times, totaling 7 days, accounting for 3.8%, and 176 days outside 48 times, accounting for 96.2%; the assignment frequency of the sixth station is within 48 times, totaling 94 days, accounting for 51.4%, and 89 days outside 48 times, accounting for 48.6%; the assignment frequency of the seventh station is within 48 times, totaling 31 days, accounting for 16.9%, and 152 days outside 48 times, accounting for 83.1%.

[0056] Optionally, in S1, the process of calculating the calorific value of the natural gas at the target station can be implemented in any of the following ways:

[0057] 1) The first implementation method:

[0058] When there is no gas mixing between the preset station connected to the target station and the target station, the calorific value of the natural gas at the target station is calculated based on the calorific value tracking model and the chromatographic analysis results of the natural gas at the preset station, as well as the pipeline parameters and natural gas-associated parameters between the preset station and the target station, and in combination with the calorific value of the natural gas at the preset station.

[0059] Among them, an online chromatographic analyzer is configured at the preset station, and the chromatographic analysis result of the natural gas at the preset station is obtained through the online chromatographic analyzer.

[0060] The pipeline parameters include: the diameter and length of the pipeline between the preset station and the target station. The natural gas related parameters include: the flow rate, temperature and pressure of the natural gas between the preset station and the target station.

[0061] 2) The second implementation method:

[0062] When there is mixed gas between the preset station connected to the target station and the target station, the calorific value of the natural gas at the target station is calculated based on the calorific value tracking model and the chromatographic analysis results of the natural gas at the preset station, as well as the pipeline parameters and natural gas-related parameters between the preset station and the target station, and in combination with the calorific value of the natural gas at the preset station and the calorific value of each natural gas when mixed.

[0063] 3) The third implementation method:

[0064] According to the calorific value tracking model and the chromatographic analysis results of the natural gas at the preset station connected to the target station, the natural gas quality tracking is performed to determine the components of the natural gas arriving at the target station, and the calorific value of the natural gas at the target station is calculated according to the components of the natural gas arriving at the target station.

[0065] 4) Fourth implementation: take the average of the calorific value of the natural gas at the target station calculated by at least two of the first implementation, the second implementation and the third implementation as the calorific value of the natural gas at the target station in S1.

[0066] In the above embodiments, although the steps are numbered S1, S2, etc., these are only specific embodiments given by the present invention. Those skilled in the art may adjust the execution order of S1, S2, etc. according to actual conditions, which is also within the protection scope of the present invention. It can be understood that in some embodiments, some or all of the above embodiments may be included.

[0067] like Figure 2 As shown, a natural gas energy metering system 200 according to an embodiment of the present invention includes a calorific value calculation module 201, an assignment frequency calculation module 202 and a calling module 203;

[0068] The calorific value calculation module 201 is used to: calculate the calorific value of natural gas at the target station;

[0069] The assignment frequency calculation module 202 is used to calculate the target value of the assignment frequency when the gas source of the natural gas arriving at the target station changes;

[0070] The calling module 203 is used to call the calorific value calculation module according to the target value of the assignment frequency.

[0071] Optionally, in the above technical solution, the calorific value calculation module 201 is specifically used for:

[0072] When there is no gas mixing between the preset station connected to the target station and the target station, the calorific value of the natural gas at the target station is calculated based on the calorific value tracking model and the chromatographic analysis results of the natural gas at the preset station, as well as the pipeline parameters and natural gas-associated parameters between the preset station and the target station, and in combination with the calorific value of the natural gas at the preset station.

[0073] Optionally, in the above technical solution, the calorific value calculation module 201 is specifically used for:

[0074] When there is mixed gas between the preset station connected to the target station and the target station, the calorific value of the natural gas at the target station is calculated based on the calorific value tracking model and the chromatographic analysis results of the natural gas at the preset station, as well as the pipeline parameters and natural gas-related parameters between the preset station and the target station, and in combination with the calorific value of the natural gas at the preset station and the calorific value of each natural gas when mixed.

[0075] Optionally, in the above technical solution, the calorific value calculation module 201 is specifically used for:

[0076] According to the calorific value tracking model and the chromatographic analysis results of the natural gas at the preset station connected to the target station, the natural gas quality tracking is performed to determine the components of the natural gas arriving at the target station, and the calorific value of the natural gas at the target station is calculated according to the components of the natural gas arriving at the target station.

[0077] It should be noted that the beneficial effects of the natural gas energy metering system 200 provided in the above embodiment are the same as the beneficial effects of the natural gas energy metering method described above, which will not be described in detail here. In addition, when the system provided in the above embodiment realizes its functions, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the system can be divided into different functional modules according to actual conditions to complete all or part of the functions described above. In addition, the system and method embodiments provided in the above embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be described in detail here.

[0078] like Figure 3 As shown, an electronic device 300 according to an embodiment of the present invention includes a processor 320, the processor 320 is coupled to a memory 310, and the memory 310 stores at least one computer program 330, and the at least one computer program 330 is loaded and executed by the processor 320, so that the electronic device 300 implements any one of the above-mentioned natural gas energy metering methods, specifically:

[0079] The electronic device 300 may have relatively large differences due to different configurations or performances, and may include one or more processors 320 (Central Processing Units, CPU) and one or more memories 310, wherein the one or more memories 310 store at least one computer program 330, and the at least one computer program 330 is loaded and executed by the one or more processors 320, so that the electronic device 300 implements any natural gas energy metering method provided in the above embodiments. Of course, the electronic device 300 may also have components such as a wired or wireless network interface, a keyboard, and an input and output interface for input and output. The electronic device 300 may also include other components for realizing the functions of the device, which will not be described in detail here. The electronic device may specifically be a computer, etc.

[0080] A computer-readable storage medium according to an embodiment of the present invention stores at least one computer program, and the at least one computer program is loaded and executed by a processor so that a computer implements any one of the above-mentioned natural gas energy metering methods.

[0081] Optionally, the computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a compact disc (CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, and the like.

[0082] In an exemplary embodiment, a computer program product or a computer program is also provided, the computer program product or the computer program comprising computer instructions, the computer instructions being stored in a computer-readable storage medium. A processor of an electronic device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the electronic device performs any of the above-mentioned natural gas energy metering methods.

[0083] Those skilled in the art know that the present invention can be implemented as a system, method or computer program product. Therefore, the present invention can be specifically implemented in the following forms, namely: it can be complete hardware, it can be complete software (including firmware, resident software, microcode, etc.), or it can be a combination of hardware and software, which is generally referred to as "circuit", "module" or "system" herein. In addition, in some embodiments, the present invention can also be implemented in the form of a computer program product in one or more computer-readable media, and the computer-readable medium contains computer-readable program code.

[0084] Any combination of one or more computer-readable media can be used. The computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media (a non-exhaustive list) include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present invention, a computer-readable storage medium can be any tangible medium containing or storing a program, which can be used by an instruction execution system, device or device or used in combination with it.

[0085] Although the embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present invention. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present invention.

Claims

1. A natural gas energy metering method, characterized in that: include: S1. Calculate the calorific value of natural gas at the target station; S2. When the gas source of the natural gas arriving at the target station changes, the target value of the assignment frequency is calculated; S3. Execute S1 according to the target value of the assignment frequency.

2. A natural gas energy metering method according to claim 1, characterized in that: S1 includes: When there is no gas mixing between the preset station connected to the target station and the target station, the calorific value of the natural gas at the target station is calculated based on the calorific value tracking model and the chromatographic analysis results of the natural gas at the preset station, as well as the pipeline parameters and natural gas-associated parameters between the preset station and the target station, and in combination with the calorific value of the natural gas at the preset station.

3. A natural gas energy metering method according to claim 1, characterized in that: S1 includes: When there is mixed gas between the preset station connected to the target station and the target station, the calorific value of the natural gas at the target station is calculated based on the calorific value tracking model and the chromatographic analysis results of the natural gas at the preset station, as well as the pipeline parameters and natural gas-related parameters between the preset station and the target station, and in combination with the calorific value of the natural gas at the preset station and the calorific value of each natural gas when mixed.

4. A natural gas energy metering method according to claim 1, characterized in that: S1 includes: According to the calorific value tracking model and the chromatographic analysis results of the natural gas at the preset station connected to the target station, the natural gas quality tracking is performed to determine the components of the natural gas arriving at the target station, and the calorific value of the natural gas at the target station is calculated according to the components of the natural gas arriving at the target station.

5. A natural gas energy metering system, characterized in that: It includes a heat generation calculation module, an assignment frequency calculation module and a calling module; The calorific value calculation module is used to: calculate the calorific value of natural gas at the target station; The assignment frequency calculation module is used to: calculate the target value of the assignment frequency when the gas source of the natural gas arriving at the target station changes; The calling module is used to call the calorific value calculation module according to the target value of the assignment frequency.

6. A natural gas energy metering system according to claim 5, characterized in that: The heat generation calculation module is specifically used for: When there is no gas mixing between the preset station connected to the target station and the target station, the calorific value of the natural gas at the target station is calculated based on the calorific value tracking model and the chromatographic analysis results of the natural gas at the preset station, as well as the pipeline parameters and natural gas-associated parameters between the preset station and the target station, and in combination with the calorific value of the natural gas at the preset station.

7. A natural gas energy metering system according to claim 5, characterized in that: The heat generation calculation module is specifically used for: When there is mixed gas between the preset station connected to the target station and the target station, the calorific value of the natural gas at the target station is calculated based on the calorific value tracking model and the chromatographic analysis results of the natural gas at the preset station, as well as the pipeline parameters and natural gas-related parameters between the preset station and the target station, and in combination with the calorific value of the natural gas at the preset station and the calorific value of each natural gas when mixed.

8. A natural gas energy metering system according to claim 5, characterized in that: The heat generation calculation module is specifically used for: According to the calorific value tracking model and the chromatographic analysis results of the natural gas at the preset station connected to the target station, the natural gas quality tracking is performed to determine the components of the natural gas arriving at the target station, and the calorific value of the natural gas at the target station is calculated according to the components of the natural gas arriving at the target station.

9. An electronic device, characterized in that: The electronic device includes a processor, the processor is coupled to a memory, the memory stores at least one computer program, and the at least one computer program is loaded and executed by the processor so that the electronic device implements a natural gas energy metering method as described in any one of claims 1 to 4.

10. A computer-readable storage medium, characterized in that: At least one computer program is stored in the computer-readable storage medium, and the at least one computer program is loaded and executed by the processor so that the computer implements the natural gas energy metering method as claimed in any one of claims 1 to 4.