Method and device for improving metering precision of gas flow meter on trade handover site

By obtaining and calculating gas flow parameters and iteratively calculating the indication error, the problem of insufficient measurement accuracy of gas flow meters at the trade transfer site is solved, the measurement accuracy is improved and the data validity is enhanced.

CN118533273AInactive Publication Date: 2024-08-23BEIJING GAS GRP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410617506.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-17
Publication Date
2024-08-23
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

There are errors in the measurement accuracy of existing gas flowmeters at the custody transfer site, especially when the indication error prediction and accumulation increase, resulting in custody transfer deviations and reducing the validity of the calibration data.

Method used

By obtaining gas flow parameters, such as temperature, pressure and composition, the kinematic viscosity and density of natural gas are calculated, the indication error is calculated based on the flow meter diameter and Reynolds number, and the indication value corresponding to the Reynolds number is updated using iterative calculation and curve fitting methods. Error, re-determine the initial value of the fitting curve or linear interpolation to improve measurement accuracy.

Benefits of technology

It improves the measurement accuracy of the gas flow meter, reduces the deviation in trade transfer, and enhances the effectiveness of the calibration data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118533273A
    Figure CN118533273A
Patent Text Reader

Abstract

The invention provides a method and device for improving the metering precision of a gas flow meter on a trade handover site, and the method comprises the steps: obtaining gas flow parameters at the gas flow meter, the gas flow parameters comprise gas temperature T, gas pressure P and gas components; calculating the pure component dynamic viscosity of different components in the gas components; the natural gas density in a preset state is calculated according to the gas components; calculating the dynamic viscosity v of the natural gas according to the dynamic viscosity and density of the natural gas; calculating to obtain a Reynolds number Re1 under a used flow point based on a flowmeter caliber D, the natural gas kinematic viscosity v and a display accumulated value Qin measured by a gas flowmeter, and calculating according to a Reynolds number-indicating value error curve of the flowmeter to obtain a corresponding indicating value error E1; and carrying out iterative calculation, judging whether the corresponding indication error Ei obtained by each iteration meets a preset condition or not, and if so, obtaining a final corresponding indication error En.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of gas metering, and in particular to a method and a device for improving the metering accuracy of a gas flow meter at a custody transfer site. Background Art

[0002] The trade transfer of urban gas is generally realized through a gas flow meter, and the accumulated measurement value of the gas flow meter is used as the basis for settlement. The specific formula is as follows:

[0003]

[0004] Where Q in is the cumulative value displayed by the gas flow meter, Q real is the true accumulated value passing through the gas flow meter, and E is the indication error of the gas flow meter.

[0005] Among the above parameters, Q in It is usually displayed directly through the flow meter, which has two types: mechanical wheel and electronic display. It can also be calculated based on the number of pulses within a period of time; Q real It needs to be calculated based on the indication error and the displayed cumulative value as the basis for trade transfer.

[0006] Offline periodic calibration is a common practice to ensure the accuracy of flow meter measurement performance. According to national metrological calibration regulations, during periodic calibration, users need to dismantle the flow meter from the site of use, transport it to a technical institution with calibration capabilities, and perform calibration on a standard device. After the calibration is qualified, the flow meter can only be used after being reinstalled and debugged on site.

[0007] However, during the calibration, the calibration flow points generally include Q min , Q t , 0.4Q max and Q max (Q min is the minimum flow point of the flow meter, Q max is the maximum flow point of the flow meter). After passing the calibration, the calibration station will give the Reynolds number R corresponding to the calibration flow point of each gas flow meter. e (R e Q min , R e Q t , R e 0.4Q max and R e Q max ) and the corresponding indication error E(EQ min , EQ t 、E0.4Q max and EQ max ).

[0008] When the gas flow meter is used on site, there are two ways to obtain the indication error of the flow point:

[0009] 1. Linear interpolation: Based on the Reynolds number ~ indication error of adjacent calibration flow points, the Reynolds number ~ indication error within adjacent flow points is calculated by linear interpolation.

[0010] 2. Polynomial fitting: Based on the Reynolds number ~ indication error of all calibrated flow points, the Reynolds number ~ indication error of the flow meter coefficient within the flow range of the flow meter is calculated using a polynomial method.

[0011]

[0012] Where D is the diameter of the flow meter and ν is the kinematic viscosity of the natural gas.

[0013] It is not difficult to find that the existing technology has the following problems:

[0014] 1. There is an error in the prediction of the indication error. Based on the Reynolds number of the adjacent calibration flow point, the indication error of the use point is predicted. The Reynolds number should be Q real , but cannot directly obtain Q real , generally based on the uncorrected Q in calculate.

[0015] 2. The error of the indication error prediction will be amplified as the cumulative amount of the meter increases. When the gas volume is relatively small, the impact is not obvious. However, when the gas volume of a single meter increases, it will be more significant, causing deviations in trade transfer and reducing the effectiveness of the use of calibration data. Summary of the invention

[0016] The present invention aims to provide a method and device for improving the measurement accuracy of a gas flow meter at a custody transfer site, which overcomes the above problems or at least partially solves the above problems.

[0017] To achieve the above object, the technical solution of the present invention is specifically implemented as follows:

[0018] One aspect of the present invention provides a method for improving the measurement accuracy of a gas flow meter at a custody transfer site, comprising:

[0019] Obtaining gas flow parameters at the gas flow meter, the gas flow parameters including: gas temperature T, gas pressure P, and gas composition;

[0020] Calculating the pure component dynamic viscosity of different components in the gas composition;

[0021] Calculate the natural gas density under a preset state according to the gas components;

[0022] The kinematic viscosity v of the natural gas is calculated according to the dynamic viscosity and density of the natural gas;

[0023] Based on the flow meter diameter D and the natural gas kinematic viscosity v, the gas flow meter measures and displays the cumulative value Q in , calculate the Reynolds number R at the flow point e1 , and calculate according to the Reynolds number ~ indication error curve of the flow meter to obtain the corresponding indication error E1;

[0024] According to the following formula, iterative calculation is performed to determine the corresponding indication error E obtained in each iteration. i Whether it meets the preset conditions, if it does, the final corresponding indication error E is obtained n :

[0025]

[0026] E i =f(Re i ).

[0027] Optionally, the calculating of the pure component dynamic viscosity of different components in the natural gas composition comprises:

[0028] Based on the type of natural gas composition, the pure component dynamic viscosity of different components in the gas composition is calculated according to the TRAPP method or the Newton's internal friction law method.

[0029] Optionally, the calculating the natural gas density under a preset state according to the gas components includes:

[0030] Based on the gas components, the density of natural gas in this state is calculated according to GB / T 11062.

[0031] Optionally, the preset condition includes |E n -E1|≤N, where N is a preset value.

[0032] Optionally, the method further comprises:

[0033] Update the indication error corresponding to the Reynolds number at the calibration point, and re-determine the constant coefficient of the fitting curve or the initial value of the linear interpolation.

[0034] Another aspect of the present invention provides a device for improving the measurement accuracy of a gas flow meter at a custody transfer site, comprising:

[0035] An acquisition module, used to acquire gas flow parameters at the gas flow meter, wherein the gas flow parameters include: gas temperature T, gas pressure P, and gas composition;

[0036] A calculation module is used to calculate the pure component dynamic viscosity of different components in the gas components; calculate the natural gas density under a preset state according to the gas components; calculate the natural gas kinematic viscosity v according to the dynamic viscosity and density of the natural gas; based on the flow meter caliber D and the natural gas kinematic viscosity v, the gas flow meter measures and displays the cumulative value Q in , calculate the Reynolds number R at the flow point e1 , and calculate according to the Reynolds number ~ indication error curve of the flow meter to obtain the corresponding indication error E1; iterative calculation according to the following formula:

[0037]

[0038] E i =f(Re i ).

[0039] The judgment module is used to judge the corresponding indication error E obtained in each iteration when the calculation module performs iterative calculation. i Whether it meets the preset conditions, if it does, the final corresponding indication error E is obtained n .

[0040] Optionally, the calculation module calculates the pure component dynamic viscosity of different components in the natural gas component in the following manner:

[0041] Based on the type of natural gas composition, the pure component dynamic viscosity of different components in the gas composition is calculated according to the TRAPP method or the Newton's internal friction law method.

[0042] Optionally, the calculation module calculates the natural gas density under a preset state according to the gas components in the following manner:

[0043] Based on the gas components, the density of natural gas in this state is calculated according to GB / T 11062.

[0044] Optionally, the preset condition includes |E n -E1|≤N, where N is a preset value.

[0045] Optionally, the device further comprises:

[0046] The updating module is used to update the indication error corresponding to the Reynolds number at the calibration point and to redetermine the constant coefficient of the fitting curve or the initial value of the linear interpolation.

[0047] It can be seen that the method and device for improving the metering accuracy of the gas flow meter at the custody transfer site provided by the present invention can improve the metering accuracy of the gas flow meter at the custody transfer site, avoid the deviation of custody transfer, and improve the effectiveness of the use of calibration data. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.

[0049] Figure 1 A flow chart of a method for improving the measurement accuracy of a gas flow meter at a custody transfer site provided by an embodiment of the present invention;

[0050] Figure 2 A schematic diagram of the structure of a device for improving the measurement accuracy of a gas flow meter at a custody transfer site provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0051] The exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0052] Figure 1 A flow chart showing a method for improving the measurement accuracy of a gas flow meter at a custody transfer site provided by an embodiment of the present invention is shown. Figure 1 The method for improving the measurement accuracy of a gas flow meter at a custody transfer site provided by an embodiment of the present invention includes:

[0053] S1, obtaining gas flow parameters at the gas flow meter, the gas flow parameters including: gas temperature T, gas pressure P, and gas composition.

[0054] Specifically, the present invention can obtain the gas flow parameters at the gas flow meter through temperature, pressure and component measurement sensors: gas temperature T, gas pressure P, gas component, and form a fluid parameter set.

[0055] S2, calculate the pure component dynamic viscosity of different components in the gas composition.

[0056] As an optional implementation of the embodiment of the present invention, calculating the pure component dynamic viscosity of different components in the natural gas components includes: calculating the pure component dynamic viscosity of different components in the gas components according to the TRAPP method or Newton's internal friction law method based on the natural gas composition type.

[0057] S3, calculating the natural gas density under a preset state according to the gas composition.

[0058] As an optional implementation of the embodiment of the present invention, calculating the natural gas density under a preset state according to the gas components includes:

[0059] Based on the gas composition, the density of natural gas in this state is calculated according to GB / T 11062.

[0060] S4, based on the dynamic viscosity and density of natural gas, the kinematic viscosity v of natural gas is calculated.

[0061] In specific implementation, the present invention can be based on the fluid parameter set measured in the above fluid parameters and input into a programmed program:

[0062] Based on the measured natural gas composition types (such as methane, propane, nitrogen, etc.), the pure component dynamic viscosity of different components in the natural gas components is calculated according to the TRAPP method or Newton's internal friction law method.

[0063] Based on the pure component dynamic viscosity of different components, the kinematic viscosity of natural gas in this state is calculated according to the following formula.

[0064]

[0065]

[0066]

[0067] η i is the viscosity of the pure component at temperature T, μP; M i is the molar mass, g / mol; x i are the mole fractions of each component.

[0068] Based on the natural gas components measured above, the density of natural gas in this state is calculated according to GB / T 11062.

[0069] The kinematic viscosity of natural gas is obtained based on the dynamic viscosity and density of natural gas.

[0070] S5, based on the flow meter diameter D and natural gas kinematic viscosity v, the gas flow meter measures and displays the cumulative value Q in , calculate the Reynolds number R at the flow point e1 , and calculate according to the Reynolds number ~ indication error curve of the flow meter to obtain the corresponding indication error E1;

[0071] S6, iteratively calculate according to the following formula, and determine the corresponding indication error E obtained in each iteration i Whether it meets the preset conditions, if it does, the final corresponding indication error E is obtained n :

[0072]

[0073] E i =f(Re i ).

[0074] During specific implementation, the present invention can input an iterative operation model:

[0075] Based on the flow meter diameter D and the calculated natural gas kinematic viscosity v, the gas flow meter measures and displays the cumulative value Q in , calculate the Reynolds number R at the flow point e1 , and calculate according to the Reynolds number ~ indication error curve of the flow meter to obtain E1. Then iterate and calculate according to the above formula to finally obtain an acceptable E n .

[0076] As an optional implementation of the embodiment of the present invention, the preset conditions include |E n -E1|≤N, where N is a preset value. Specifically, the judgment criterion is: E obtained in each iteration i Make the following judgments until it is acceptable. Until the condition |E is met n -E1|≤0.0001%, the iteration ends. (0.00001% is a threshold value, which is determined according to the acceptable conditions at the site of use).

[0077] As an optional implementation of an embodiment of the present invention, the method for improving the metering accuracy of the gas flow meter at the custody transfer site provided by the embodiment of the present invention also includes: updating the indication error corresponding to the Reynolds number at the calibration point, and re-determining the constant coefficient of the fitting curve or the initial value of the linear interpolation.

[0078] During specific implementation, the present invention can also be subjected to periodic inspection:

[0079] Each time the instrument is sent to the metering station for inspection, the initial value in the database needs to be updated, that is, the indication error corresponding to the Reynolds number at the calibration point, and the constant coefficient of the fitting curve or the initial value of the linear interpolation needs to be re-determined.

[0080] It can be seen that the method for improving the measurement accuracy of the gas flow meter at the custody transfer site provided by the present invention can improve the measurement accuracy of the gas flow meter at the custody transfer site, avoid the deviation of custody transfer, and improve the effectiveness of the use of calibration data.

[0081] The present invention is further described below by taking the curve fitting prediction method based on the turbine flowmeter as an example:

[0082] E=A(lnRe) 2 +B(lnRe) 1 +C+D(lnRe) -1 +F(lnRe)-2

[0083] Given the temperature T, pressure P, pipe inner diameter D, medium kinematic viscosity ν, and indicated flow rate Q in , A, B, C, D, and F are coefficients.

[0084] First time: E1=A(lnRe0) 2 +B(lnRe0) 1 +C+D(lnRe0) -1 +F(lnRe0) -2

[0085]

[0086] Second time: E2 = A (lnRe1) 2 +B(lnRe1) 1 +C+D(lnRe1) -1 +F(lnRe1) -2

[0087]

[0088] …

[0089] The nth time: E n =A(lnRe n-1 ) 2 +B(lnRe n-1 ) 1 +C+D(lnRe n-1 ) -1 +F(lnRe n-1 ) -2

[0090]

[0091] Until the condition is met |E n -E1|≤0.0001%, iteration ends.

[0092] At this time Q realn It is considered to be the true volume flow rate of the turbine flowmeter.

[0093] Figure 2 The structure diagram of the device for improving the measurement accuracy of the gas flow meter at the custody transfer site provided by an embodiment of the present invention is shown. The device for improving the measurement accuracy of the gas flow meter at the custody transfer site applies the above method. The following is only a brief description of the structure of the device for improving the measurement accuracy of the gas flow meter at the custody transfer site. For other matters not covered, please refer to the relevant description in the method for improving the measurement accuracy of the gas flow meter at the custody transfer site, see Figure 2The device for improving the measurement accuracy of a gas flow meter at a custody transfer site provided by an embodiment of the present invention comprises:

[0094] An acquisition module is used to acquire gas flow parameters at the gas flow meter, the gas flow parameters including: gas temperature T, gas pressure P, and gas composition;

[0095] The calculation module is used to calculate the pure component dynamic viscosity of different components in the gas components; calculate the natural gas density under the preset state according to the gas components; calculate the natural gas kinematic viscosity v according to the dynamic viscosity and density of the natural gas; based on the flow meter caliber D and the natural gas kinematic viscosity v, the gas flow meter measures and displays the cumulative value Q in , calculate the Reynolds number R at the flow point e1 , and calculate according to the Reynolds number ~ indication error curve of the flow meter to obtain the corresponding indication error E1; iterative calculation according to the following formula:

[0096]

[0097] E i =f(Re i ).

[0098] The judgment module is used to judge the corresponding indication error E obtained in each iteration when the calculation module performs iterative calculation. i Whether it meets the preset conditions, if it does, the final corresponding indication error E is obtained n .

[0099] As an optional implementation of the embodiment of the present invention, the calculation module calculates the pure component dynamic viscosity of different components in the natural gas component in the following manner:

[0100] Based on the type of natural gas composition, the pure component dynamic viscosity of different components in the gas composition is calculated according to the TRAPP method or Newton's internal friction law method.

[0101] As an optional implementation of the embodiment of the present invention, the calculation module calculates the natural gas density under a preset state according to the gas components in the following manner:

[0102] Based on the gas composition, the density of natural gas in this state is calculated according to GB / T 11062.

[0103] As an optional implementation of the embodiment of the present invention, the preset conditions include |E n -E1|≤N, where N is a preset value.

[0104] As an optional implementation of the embodiment of the present invention, the device for improving the measurement accuracy of the gas flow meter at the custody transfer site provided by the embodiment of the present invention further includes:

[0105] The updating module is used to update the indication error corresponding to the Reynolds number at the calibration point and to redetermine the constant coefficient of the fitting curve or the initial value of the linear interpolation.

[0106] It can be seen that the device for improving the metering accuracy of the gas flow meter at the custody transfer site provided by the present invention can improve the metering accuracy of the gas flow meter at the custody transfer site, avoid the deviation of custody transfer, and improve the effectiveness of the use of calibration data.

[0107] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.

Claims

1. A method for improving the measurement accuracy of gas flow meters at the custody transfer site. It is characterized in that include: Obtaining gas flow parameters at the gas flow meter, the gas flow parameters including: gas temperature T, gas pressure P, and gas composition; Calculating the pure component dynamic viscosity of different components in the gas composition; Calculate the natural gas density under a preset state according to the gas components; The kinematic viscosity v of the natural gas is calculated according to the dynamic viscosity and density of the natural gas; Based on the flow meter diameter D and the natural gas kinematic viscosity v, the gas flow meter measures and displays the cumulative value Q in , calculate the Reynolds number R at the flow point e1 , and calculate according to the Reynolds number ~ indication error curve of the flow meter to obtain the corresponding indication error E 1 ; According to the following formula, iterative calculation is performed to determine the corresponding indication error E obtained in each iteration. i Whether it meets the preset conditions, if it does, the final corresponding indication error E is obtained n : HAVE BEEN i =f(Re i )。 2. The method according to claim 1, It is characterized in that The calculation of the pure component dynamic viscosity of different components in the natural gas composition includes: Based on the type of natural gas composition, the pure component dynamic viscosity of different components in the gas composition is calculated according to the TRAPP method or the Newton's internal friction law method.

3. The method according to claim 2, It is characterized in that The calculating of the natural gas density under a preset state according to the gas components comprises: Based on the gas components, the density of natural gas in this state is calculated according to GB / T 11062.

4. The method according to claim 3, It is characterized in that The preset conditions include |E n -E 1 |≤N, where N is a preset value.

5. The method according to claim 4, It is characterized in that Also includes: Update the indication error corresponding to the Reynolds number at the calibration point, and re-determine the constant coefficient of the fitting curve or the initial value of the linear interpolation.

6. A device for improving the measurement accuracy of gas flow meters at the custody transfer site, It is characterized in that include: An acquisition module, used to acquire gas flow parameters at the gas flow meter, wherein the gas flow parameters include: gas temperature T, gas pressure P, and gas composition; A calculation module is used to calculate the pure component dynamic viscosity of different components in the gas components; calculate the natural gas density under a preset state according to the gas components; calculate the natural gas kinematic viscosity v according to the dynamic viscosity and density of the natural gas; based on the flow meter caliber D and the natural gas kinematic viscosity v, the gas flow meter measures and displays the cumulative value Q in , calculate the Reynolds number R at the flow point e1 , and calculate according to the Reynolds number ~ indication error curve of the flow meter to obtain the corresponding indication error E 1 ; Iterative calculation according to the following formula: HAVE BEEN i =f(Re i )。 The judgment module is used to judge the corresponding indication error E obtained in each iteration when the calculation module performs iterative calculation. i Whether it meets the preset conditions, if it does, the final corresponding indication error E is obtained n .

7. The device according to claim 6, It is characterized in that The calculation module calculates the pure component dynamic viscosity of different components in the natural gas composition in the following way: Based on the type of natural gas composition, the pure component dynamic viscosity of different components in the gas composition is calculated according to the TRAPP method or the Newton's internal friction law method.

8. The device according to claim 7, It is characterized in that The calculation module calculates the natural gas density under a preset state according to the gas components in the following manner: Based on the gas components, the density of natural gas in this state is calculated according to GB / T 11062.

9. The device according to claim 8, It is characterized in that The preset conditions include |E n -E 1 |≤N, where N is a preset value.

10. The device according to claim 9, It is characterized in that Also includes: The updating module is used to update the indication error corresponding to the Reynolds number at the calibration point and to redetermine the constant coefficient of the fitting curve or the initial value of the linear interpolation.