Three-phase fluid metering system and calculation method thereof

Through a three-phase fluid metering system combining microwave principle and magnetostrictive level meter, the problem of inaccurate gas, water and oil production metering of single wells is solved, high-precision flow measurement is achieved, and gas or oil fields are improved management efficiency and cost-effectiveness.

CN118936576AInactive Publication Date: 2024-11-12XIAN ANCN INTELLIGENT INSTR

Patent Information

Application Number
CN202411139306.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-19
Publication Date
2024-11-12
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The prior art cannot accurately measure the gas production, water production and oil production of a single well, resulting in inefficient management of gas fields or oil fields and increasing production costs.

Method used

A three-phase fluid metering system that combines a microwave principle moisture content measurement unit and a magnetostrictive level meter can measure the flow of gas, oil and water in real time through the metering container and flow calculation unit, and utilize the difference in dielectric constant and liquid level changes. Calculate the three-phase flow.

Benefits of technology

Accurate measurement of gas, water and oil production in a single well is achieved, and data acquisition accuracy and management efficiency of gas fields or oil fields are improved, and production costs are reduced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118936576A_ABST
    Figure CN118936576A_ABST
Patent Text Reader

Abstract

The invention provides a three-phase fluid metering system and a calculating method. The three-phase fluid metering system comprises a moisture content measuring unit and a metering unit which are connected in series in a three-phase fluid conveying main pipeline according to a microwave principle, and a flow integrating unit which is electrically connected with the moisture content measuring unit and the metering unit, the flow integrating unit is provided with an upper liquid level induction ring, a piston with a built-in liquid level induction ring and a magnetostrictive liquid level meter with a lower liquid level induction ring in a single metering container in the metering unit; the method comprises the following steps: firstly, calculating gas phase standard condition flow, water flow and oil flow in three-phase fluid flow of three-phase fluid flowing into an upper cavity of a piston in a metering container in an inlet three-phase fluid conveying main pipeline in a metering time period t1; gas phase standard condition flow, water flow and oil flow in three-phase fluid flow, flowing into a lower cavity of a piston in a metering container, of three-phase fluid in an inlet three-phase fluid conveying main pipeline in the metering time period t2 are calculated, the gas flow, the oil flow and the water flow are alternately measured on line in real time, accurate data collection of a gas field or an oil field is met, management efficiency is improved, and the requirement for the gas field or the oil field is met. And the production cost is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of three-phase fluid metering and relates to a three-phase fluid metering system and a calculation method thereof. Background Art

[0002] The existing technology of natural gas or crude oil extraction process: oil and gas flow from the reservoir into the bottom of the well, rise from the bottom of the well to the wellhead, and then are transported from the wellhead to various receiving stations through pipelines. After the pipelines of multiple wells at the receiving station are merged, they are separated by a fixed gas-liquid separator, and the gas and liquid are separated and the flow of gas and liquid is measured separately by the flow meter in the station to complete the preliminary gas-liquid separation process of natural gas or crude oil. However, the metering data of the unit table in the receiving station is the sum of the gas and liquid production of multiple wells, and it is impossible to measure the gas and liquid production of a single well separately, let alone the gas, water and oil production of a single well.

[0003] The natural gas or crude oil produced by a single well contains not only gas, but also associated products such as water and oil. In particular, the metering data of water produced by a single well is particularly important as well management data and well opening process reference data. As an important process parameter, the water content of a single well determines the selection of gas or oil production processes such as plunger water production, injection drainage production, or shut-in intermittent production in the later stage of well production, and provides data support for analyzing the formation conditions of the block.

[0004] The existing technology uses separate flow meters or Venturi mass flow meters to measure gas, water and oil in natural gas or crude oil separately, but its measurement accuracy is low and cannot meet the requirements of accurate real-time data collection in gas fields or oil fields, thereby reducing the management efficiency of gas fields or oil fields and increasing production costs. Summary of the invention

[0005] In order to solve the problem of accurately measuring the gas production, water production and oil production of a single well in the prior art, the present invention aims to provide a three-phase fluid metering system that can accurately measure the gas production, water production and oil production of a single well. The three-phase fluid metering system comprises:

[0006] A microwave-based moisture content measuring unit and a metering unit, as well as a flow totalizing unit electrically connected thereto, are arranged in series in a three-phase fluid transport main pipeline.

[0007] Preferably, the metering unit comprises an inlet switching unit, an outlet switching unit and a metering container installed vertically on the ground; the metering container comprises a metering container body and at least one temperature sensor arranged thereon, a pressure sensor arranged at its upper end or / and lower end, a magnetostrictive liquid level gauge having a display unit arranged on its upper end surface and a liquid level sensing rod extending to its bottom surface, and an upper liquid level sensing ring, a piston with a built-in liquid level sensing ring and a lower liquid level sensing ring arranged in sequence from top to bottom in the metering container body and outside the liquid level sensing rod; the two outlets of the inlet switching unit are respectively connected to the upper and lower end sides of the metering container through a three-phase fluid pipeline, and the inlet of the inlet switching unit is connected to the inlet three-phase fluid transport main pipeline of the three-phase fluid transport main pipeline; the two inlets of the outlet switching unit are respectively connected to the upper and lower end sides of the metering container through a three-phase fluid pipeline, and the outlet of the outlet switching unit is connected to the outlet three-phase fluid transport main pipeline of the three-phase fluid transport main pipeline;

[0008] The flow integrating unit is electrically connected to the inlet switching unit, the outlet switching unit, the temperature sensor, the pressure sensor, and the magnetostrictive liquid level meter respectively.

[0009] Preferably, the three-phase fluid is crude oil or natural gas.

[0010] Preferably, the moisture content measuring unit based on the microwave principle is arranged in the inlet three-phase fluid transport main pipeline or in the outlet three-phase fluid transport main pipeline.

[0011] The present invention provides a calculation method for three-phase fluid metering, and the calculation method is as follows:

[0012] Step 1-1: the flow integrating unit controls the inlet three-way reversing valve connected to the inlet three-phase fluid transport main pipeline, so that the three-phase fluid in the inlet three-phase fluid transport main pipeline begins to flow from the upper inlet into the upper cavity of the piston with a built-in liquid level sensing ring on the magnetostrictive liquid level gauge installed in the metering container through the inlet three-way reversing valve, and at the same time controls the outlet three-way reversing valve connected to the outlet three-phase fluid transport main pipeline so that the three-phase fluid in the lower cavity of the piston with a built-in liquid level sensing ring on the magnetostrictive liquid level gauge installed in the metering container begins to flow out of the outlet three-phase fluid transport main pipeline through the outlet three-way reversing valve from the lower outlet; at the same time, the flow integrating unit starts timing and counts until the end of the first micro-metering period t11, where the unit of t11 is seconds;

[0013] When the flow totalizer counts to the end of the first micro-metering period t11, the flow totalizer measures the liquid level height H through the upper liquid level induction ring on the magnetostrictive liquid level meter. 1t11 , in millimeters; Q is calculated according to formula 1-1 gas工况 :

[0014]

[0015] Among them, Q gas工况 is the gas phase operating flow rate during the t11 micro-metering period, in cubic millimeters per second; H 1t10 The distance from the end or maximum liquid level to the start or zero liquid level is the designed and processed known liquid level H, in millimeters; the measuring container is a cylinder, and the designed and processed known bottom area is S, in square millimeters;

[0016] During the t11 micro-metering period, the flow integration unit measures the average temperature T and the average pressure P respectively through the temperature sensor and the pressure sensor arranged at the upper end of the metering container body, and then calculates the gas phase working flow Q using formula 1-1. gas工况 , calculate Q according to formula 2-1 gas标况 :

[0017]

[0018] Among them, Q gas标况 is the standard gas flow rate during the micro-metering period t11, in cubic millimeters per second; T 标况 Usually 293.15 Kelvin, T is the average temperature measured by the temperature sensor during the t11 micro-metering period, in Kelvin; P is the average pressure measured by the pressure sensor during the t11 micro-metering period, in kilopascals, P 标况 Usually 101.325 kPa;

[0019] When the flow totalizer counts to the end of the first micro-metering period t11, the flow totalizer measures the liquid level height H through the upper liquid level induction ring on the magnetostrictive liquid level meter. 1t11 , in millimeters; at the same time, the height of the piston measured by the built-in liquid level sensing ring of the piston on the magnetostrictive level gauge is H 2t11 , in millimeters; Q is calculated according to formula 3-1 liquid :

[0020]

[0021] Among them, Q liquid is the liquid phase flow rate during the micro-metering period t11, in cubic millimeters per second;

[0022] Using the microwave principle water content measurement unit connected to the imported three-phase fluid transportation main pipeline, according to the different dielectric constants of oil, gas and water, the gas is removed to directly measure the average proportion of water in the oil and water during the t11 micro-metering period, and then the liquid phase flow Q is calculated using formula 3-1 liquid :

[0023] If the oil-water slip ratio is approximately equal to 1, the water flow rate Q can be calculated by equations 4-1 and 5-1 respectively. water and oil flow Q oil :

[0024] Q water =Q liquid *α Formula 4-1

[0025] Q oil =Q liquid *(1-α) Formula 5-1

[0026] Among them, Q oil is the oil flow rate during the micro-metering period t11, in cubic millimeters per second, Q water is the water flow rate in the t11 micro-metering period, in cubic millimeters per second, α is the average proportion of oil and water in the t11 micro-metering period, without units, and the oil-water slip ratio is determined in advance according to the characteristics of the three-phase fluid produced by the well site; or,

[0027] If the oil-water slip ratio is not approximately equal to 1, the compensation coefficient K is determined in advance according to the characteristics of the three-phase fluid produced by the well site. After compensation, the water flow rate Q is calculated using equations 6-1 and 7-1 respectively. water and oil flow Q oil :

[0028] Q water =Q liquid *α*K Formula 6-1

[0029] Q oil =Q liquid *(1-α)*K Formula 7-1

[0030] Where K is the compensation coefficient of the three-phase liquid produced by a specific well site, and has no unit;

[0031] Step 1-2: Following step 1-1, the flow integrating unit controls the inlet three-way reversing valve connected to the inlet three-phase fluid delivery main pipeline, so that the three-phase fluid in the inlet three-phase fluid delivery main pipeline continues to flow from the upper inlet into the upper cavity of the piston with a built-in liquid level sensing ring on the magnetostrictive liquid level gauge installed in the metering container through the inlet three-way reversing valve, and at the same time controls the outlet three-way reversing valve connected to the outlet three-phase fluid delivery main pipeline so that the three-phase fluid in the lower cavity of the piston with a built-in liquid level sensing ring on the magnetostrictive liquid level gauge installed in the metering container continues to flow out from the outlet three-phase fluid delivery main pipeline through the outlet three-way reversing valve from the lower outlet; at the same time, the flow integrating unit continues to time, and times until the end of the second micro-metering period t12, where the unit of t12 is seconds;

[0032] When the flow totalizer counts to the end of the second micro-metering period t12, the flow totalizer measures the liquid level height H through the upper liquid level induction ring on the magnetostrictive liquid level meter.1t12 , in millimeters; Q is calculated according to formula 1-2 gas工况 :

[0033]

[0034] Among them, Q gas工况 is the gas phase operating flow rate during the micro-metering period t12, in cubic millimeters per second; H 1t11 is the liquid level height measured by the upper liquid level sensing ring at the end of the first micro-metering period, in millimeters; the metering container is a cylinder, and the known bottom area is S in square millimeters;

[0035] During the t12 micro-metering period, the flow integrator measures the average temperature T and the average pressure P respectively through the temperature sensor and the pressure sensor arranged at the upper end of the metering container body, and then calculates the gas phase working flow Q using formula 1-2. gas工况 , calculate Q according to formula 2-2 gas标况 :

[0036]

[0037] Among them, Q gas标况 is the standard gas flow rate during the micro-metering period t12, in cubic millimeters per second; T 标况 Usually 293.15 Kelvin, T is the average temperature measured by the temperature sensor during the t12 micro-metering period, in Kelvin; P is the average pressure measured by the pressure sensor during the t12 micro-metering period, in kilopascals, P 标况 Usually 101.325 kPa;

[0038] When the flow totalizer counts to the end of the second micro-metering period t12, the flow totalizer measures the liquid level height H through the upper liquid level induction ring on the magnetostrictive liquid level meter. 1t12 , in millimeters; at the same time, the height of the piston measured by the built-in liquid level sensing ring of the piston on the magnetostrictive level gauge is H 2t12 , in millimeters; Q is calculated according to formula 3-2 liquid :

[0039]

[0040] Among them, Q liquid is the liquid phase flow rate in the micro-metering period t12, in cubic millimeters per second; H 1t11 When the flow integrating unit counts to the end of the first micro-metering period t11, the flow integrating unit measures the liquid level height through the upper liquid level sensing ring on the magnetostrictive liquid level gauge, in millimeters; H 2t11It is the height of the piston measured by the built-in liquid level sensing ring of the piston on the magnetostrictive level gauge, in millimeters;

[0041] Using the microwave principle water content measurement unit connected to the imported three-phase fluid transportation main pipeline, according to the different dielectric constants of oil, gas and water, the gas is removed to directly measure the average proportion of water in the oil and water during the t12 micro-metering period, and then the liquid phase flow Q is calculated using formula 3-2 liquid :

[0042] If the oil-water slip ratio is approximately equal to 1, the water flow rate Q can be calculated by equations 4-2 and 5-2 respectively. water and oil flow Q oil :

[0043] Q water =Q liquid *α Formula 4-2

[0044] Q oil =Q liquid *(1-α) Formula 5-2

[0045] Among them, Q oil is the oil flow rate during the micro-metering period t12, in cubic millimeters per second, Q water is the water flow rate in the micro-metering period t12, in cubic millimeters per second, α is the average proportion of oil and water in the micro-metering period t12, without units, and the oil-water slip ratio is determined in advance according to the characteristics of the three-phase fluid produced by the well site; or,

[0046] If the oil-water slip ratio is not approximately equal to 1, the compensation coefficient K is determined in advance according to the characteristics of the three-phase fluid produced by the well site. After compensation, the water flow rate Q is calculated using equations 6-2 and 7-2 respectively. water and oil flow Q oil :

[0047] Q water =Q liquid *α*K Formula 6-2

[0048] Q oil =Q liquid *(1-α)*K Formula 7-2

[0049] Where K is the compensation coefficient of the three-phase liquid produced by a specific well site, and has no unit;

[0050] Continue to follow step 1-2 to calculate until the end of the nth micro-metering period t1n, where the unit of t1n is seconds; step 1-n: following step 1-n-1, the flow integration unit controls the inlet three-way reversing valve connected to the inlet three-phase fluid delivery main pipeline, so that the three-phase fluid in the inlet three-phase fluid delivery main pipeline continues to flow from the upper inlet into the upper cavity of the piston with a built-in liquid level sensing ring on the magnetostrictive liquid level gauge installed in the metering container through the inlet three-way reversing valve, and at the same time controls the outlet three-way reversing valve connected to the outlet three-phase fluid delivery main pipeline so that the three-phase fluid in the lower cavity of the piston with a built-in liquid level sensing ring on the magnetostrictive liquid level gauge installed in the metering container continues to flow out from the outlet three-phase fluid delivery main pipeline through the outlet three-way reversing valve from the lower outlet; at the same time, the flow integration unit continues to time, and times until the piston with the built-in liquid level sensing ring is squeezed downward by the three-phase fluid to the preset lower switching point liquid level height, that is, until the flow integration unit times until the end of the nth micro-metering period t1n;

[0051] When the flow integration unit counts to the end of the nth micro-metering period t1n, the flow integration unit measures the liquid level height H through the upper liquid level induction ring on the magnetostrictive liquid level meter. 1t1n , in millimeters; calculate Q according to formula 1-n gas工况 :

[0052]

[0053] Among them, Q gas工况 is the gas phase operating flow rate during the micro-metering period t1n, in cubic millimeters per second; H 1t1(n-1) is the liquid level height measured by the upper liquid level sensing ring at the end of the n-1th micro-metering period, in millimeters; the metering container is a cylinder, and the known bottom area is S in square millimeters;

[0054] During the micro-metering period t1n, the flow integrator measures the average temperature T and the average pressure P respectively through the temperature sensor and the pressure sensor arranged at the upper end of the metering container body, and then calculates the gas phase working flow Q using formula 1-n. gas工况 , calculate Q according to formula 2-n gas标况 :

[0055]

[0056] Among them, Q gas标况 is the standard gas flow rate during the micro-metering period t1n, in cubic millimeters per second; T 标况 Usually 293.15 Kelvin, T is the average temperature measured by the temperature sensor during the t1n micro-metering period, in Kelvin; P is the average pressure measured by the pressure sensor during the t1n micro-metering period, in kPa, P 标况Usually 101.325 kPa;

[0057] When the flow integration unit counts to the end of the nth micro-metering period t1n, the flow integration unit measures the liquid level height H through the upper liquid level induction ring on the magnetostrictive liquid level meter. 1t1n , in millimeters; at the same time, the height of the piston measured by the built-in liquid level sensing ring of the piston on the magnetostrictive level gauge is H 2t1n , in millimeters; Q is calculated according to formula 3-n liquid :

[0058]

[0059] Among them, Q liquid is the liquid phase flow rate during the micro-metering period t1n, in cubic millimeters per second; H 1t1(n-1) When the flow integrating unit counts to the end of the n-1th micro-metering period t1(n-1), the flow integrating unit measures the liquid level height through the upper liquid level sensing ring on the magnetostrictive liquid level gauge; H 2t1(n-1) It is the height of the piston measured by the built-in liquid level sensing ring of the piston on the magnetostrictive level gauge by the flow totalizing unit at the same time;

[0060] Using the microwave principle water content measurement unit connected to the imported three-phase fluid transmission main pipeline, according to the different dielectric constants of oil, gas and water, the gas is removed to directly measure the average proportion of water in the oil and water in the micro-metering period t1n, and then the liquid phase flow Q is calculated using formula 3-n liquid :

[0061] If the oil-water slip ratio is approximately equal to 1, the water flow rate Q can be calculated by equations 4-n and 5-n respectively. water and oil flow Q oil :

[0062] Q water =Q liquid *α Formula 4-n

[0063] Q oil =Q liquid *(1-α) Formula 5-n

[0064] Among them, Q oil is the oil flow rate during the tln micro-metering period, in cubic millimeters per second, Q water is the water flow rate in the tln micro-metering period, in cubic millimeters per second, α is the average proportion of water in the oil-water ratio in the t1n micro-metering period, without units, and the oil-water slip ratio is determined in advance according to the characteristics of the three-phase fluid produced by the well site; or,

[0065] If the oil-water slip ratio is not approximately equal to 1, the compensation coefficient K is determined in advance according to the characteristics of the three-phase fluid produced by the well site. After compensation, the water flow rate Q is calculated using equations 6-n and 7-n respectively. water and oil flow Q oil :

[0066] Q water =Q liquid *α*K Formula 6-n

[0067] Q oil =Q liquid *(1-α)*K Formula 7-n

[0068] Where K is the compensation coefficient of the three-phase liquid produced by a specific well site, and has no unit;

[0069] Step 2-1: Continuing from step 1-n, when the piston moves to the liquid level height of the lower switching point, the flow integrating unit controls the inlet three-way reversing valve connected to the inlet three-phase fluid delivery main pipeline, so that the three-phase fluid in the inlet three-phase fluid delivery main pipeline begins to flow from the lower inlet through the inlet three-way reversing valve into the lower cavity of the piston with a built-in liquid level sensing ring on the magnetostrictive liquid level gauge installed in the metering container, and at the same time controls the outlet three-way reversing valve connected to the outlet three-phase fluid delivery main pipeline so that the three-phase fluid in the upper cavity of the piston with a built-in liquid level sensing ring on the magnetostrictive liquid level gauge installed in the metering container begins to flow out of the outlet three-phase fluid delivery main pipeline through the outlet three-way reversing valve from the upper outlet; at the same time, the flow integrating unit starts timing, and timing until the end of the first micro-metering period t21, the unit of t21 is seconds;

[0070] When the flow totalizer counts to the end of the first micro-metering period t21, the flow totalizer measures the liquid level height H through the lower liquid level induction ring on the magnetostrictive liquid level meter. 3t21 , in millimeters; at the same time, the height of the piston is measured by the built-in liquid level sensing ring in the piston of the magnetostrictive level gauge as H 2t21 , in millimeters; Q is calculated according to formula 8-1 gas工况 :

[0071]

[0072] Among them, Q gas工况 is the gas phase working condition flow rate in the t21 micro-metering period, in cubic millimeters per second; the metering container is a cylinder, and the known bottom area is S in the design and processing, in square millimeters;

[0073] And calculate the liquid phase flow rate Q according to formula 9-1 liquid :

[0074]

[0075] Among them, Qliquid is the liquid phase flow rate during the t21 micro-metering period, in cubic millimeters per second;

[0076] During the t21 micro-metering period, the flow integration unit measures the average temperature T and the average pressure P respectively through the temperature sensor and the pressure sensor arranged at the upper end of the metering container body, and calculates the gas phase operating flow Q during the t21 micro-metering period using formula 8-1. gas工况 , calculate Q according to formula 10-1 gas标况 :

[0077]

[0078] Among them, Q gas标况 is the standard gas flow rate during the micro-metering period t21, in cubic millimeters per second; T 标况 Typically 293.15 Kelvin, P 标况 Usually 101.325 kPa; P 补偿 It is the sum of the pressure generated by the piston itself, the pressure generated by the upper liquid level sensing ring itself, and the pressure generated by the upper metering residual fluid, in kPa; P+P 补偿 is the average pressure at the lower end of the measuring container body;

[0079] Using the microwave principle water content measurement unit connected to the imported three-phase fluid transportation main pipeline, according to the different dielectric constants of oil, gas and water, the gas is removed to directly measure the average proportion of water in oil and water during the t21 micro-metering period, and then the liquid phase flow Q is calculated using formula 9-1 liquid :

[0080] If the oil-water slip ratio is approximately equal to 1, the water flow rate Q can be calculated by equations 11-1 and 12-1 respectively. water and oil flow Q oil :

[0081] Q water =Q liquid *α Formula 11-1

[0082] Q oil =Q liquid *(1-α) Formula 12-1

[0083] Among them, Q oil is the oil flow rate during the t21 micro-metering period, in cubic millimeters per second, Q water is the water flow rate in the t21 micro-metering period, in cubic millimeters per second, α is the average proportion of oil and water in the t21 micro-metering period, without units, and the oil-water slip ratio is determined in advance according to the characteristics of the three-phase fluid produced by the well site; or,

[0084] If the oil-water slip ratio is not approximately equal to 1, the compensation coefficient K is determined in advance according to the characteristics of the three-phase fluid produced by the well site. After compensation, the water flow rate Q is calculated using equations 13-1 and 14-1 respectively. water and oil flow Q oil :

[0085] Q water =Q liquid *α*K Formula 13-1

[0086] Q oil =Q liquid *(1-α)*K Formula 14-1

[0087] The above K is the compensation coefficient of the three-phase liquid produced by a specific well site, and has no unit;

[0088] Step 2-2: Following step 2-1, the flow integrating unit controls the inlet three-way reversing valve connected to the inlet three-phase fluid delivery main pipeline, so that the three-phase fluid in the inlet three-phase fluid delivery main pipeline continues to flow from the lower inlet into the lower cavity of the piston with a built-in liquid level sensing ring on the magnetostrictive liquid level gauge installed in the metering container through the inlet three-way reversing valve, and at the same time controls the outlet three-way reversing valve connected to the outlet three-phase fluid delivery main pipeline so that the three-phase fluid in the upper cavity of the piston with a built-in liquid level sensing ring on the magnetostrictive liquid level gauge installed in the metering container continues to flow out from the outlet three-phase fluid delivery main pipeline through the outlet three-way reversing valve from the upper outlet; at the same time, the flow integrating unit continues to time, and times until the end of the second micro-metering period t22, where the unit of t22 is seconds;

[0089] When the flow totalizer continues timing and reaches the end of the second micro-metering period t22: the flow totalizer measures the liquid level height H through the lower liquid level induction ring on the magnetostrictive liquid level meter. 3t22 , in millimeters; at the same time, the height of the piston is measured by the built-in liquid level sensing ring in the piston of the magnetostrictive level gauge as H 2t22 , in millimeters; Q is calculated according to formula 8-2 gas工况 :

[0090]

[0091] Among them, Q gas工况 is the gas phase working condition flow rate in the micro-metering period t22, in cubic millimeters per second; the metering container is a cylinder, and the known bottom area is S in the design and processing, in square millimeters; H 3t21 When the flow integration unit reaches the end of the first micro-metering period t21: the flow integration unit measures the liquid level height through the lower liquid level induction ring on the magnetostrictive liquid level meter, the unit is millimeter; H 2t21 To simultaneously measure the height of the piston through the built-in liquid level sensing ring in the piston of the magnetostrictive level gauge, the unit is millimeter;

[0092] And calculate the liquid phase flow rate Q according to formula 9-2 liquid :

[0093]

[0094] Among them, Q liquid is the liquid phase flow rate during the t22 micro-metering period, in cubic millimeters per second;

[0095] During the t22 micro-metering period, the flow integration unit measures the average temperature T and the average pressure P respectively through the temperature sensor and the pressure sensor arranged at the upper end of the metering container body, and calculates the gas phase operating flow Q during the t22 micro-metering period using formula 8-2. gas工况 , calculate Q according to formula 10-2 gas标况 :

[0096]

[0097] Among them, Q gas标况 is the standard gas flow rate during the micro-metering period t22, in cubic millimeters per second; T 标况 Typically 293.15 Kelvin, P 标况 Usually 101.325 kPa; P 补偿 It is the sum of the pressure generated by the piston itself, the pressure generated by the upper liquid level sensing ring itself, and the pressure generated by the upper metering residual fluid, in kPa; P+P 补偿 is the average pressure at the lower end of the measuring container body;

[0098] Using the microwave principle water content measurement unit connected to the imported three-phase fluid transportation main pipeline, according to the different dielectric constants of oil, gas and water, the gas is removed to directly measure the average proportion of water in oil and water during the t22 micro-metering period, and then the liquid phase flow rate Q is calculated using formula 9-2 liquid :

[0099] If the oil-water slip ratio is approximately equal to 1, the water flow rate Q can be calculated by equations 11-2 and 12-2 respectively. water and oil flow Q oil :

[0100] Q water =Q liquid *α Formula 11-2

[0101] Q oil =Q liquid *(1-α) Formula 12-2

[0102] Among them, Q oil is the oil flow rate during the micro-metering period t22, in cubic millimeters per second, Qwater is the water flow rate in the micro-metering period t22, in cubic millimeters per second, α is the average proportion of water in the oil-water ratio in the micro-metering period t22, without units, and the oil-water slip ratio is determined in advance according to the characteristics of the three-phase fluid produced by the well site; or,

[0103] If the oil-water slip ratio is not approximately equal to 1, the compensation coefficient K is determined in advance according to the characteristics of the three-phase fluid produced by the well site. After compensation, the water flow rate Q is calculated using equations 13-2 and 14-2 respectively. water and oil flow Q oil :

[0104] Q water =Q liquid *α*K Formula 13-2

[0105] Q oil =Q liquid *(1--α)*K Formula 14-2

[0106] The above K is the compensation coefficient of the three-phase liquid produced by a specific well site, and has no unit;

[0107] Continue to step 2-2 and calculate to the nth micro-metering period t2n, the unit of which is seconds; step 2-n: continue to step 2-(n-1), similarly, when the flow integrating unit continues to time and counts to the end of the nth micro-metering period t2n, that is, the flow integrating unit continues to time and counts to the time when the piston of the built-in liquid level sensing ring is squeezed upward by the three-phase fluid to the preset upper switching point liquid level height: the flow integrating unit measures the liquid level height H through the lower liquid level sensing ring on the magnetostrictive level meter 3t2n , in millimeters; at the same time, the height of the piston is measured by the built-in liquid level sensing ring in the piston of the magnetostrictive level gauge as H 2t2n , in millimeters; Q is calculated according to formula 8-n gas工况 :

[0108]

[0109] Among them, Q gas工况 is the gas phase working flow rate in the micro-metering period t2n, in cubic millimeters per second; the metering container is a cylinder, and the bottom area is S, in square millimeters; H 3t2(n-1) When the flow integration unit counts to the end of the n-1th micro-metering period t2(n-1), the flow integration unit measures the liquid level height through the lower liquid level sensing ring on the magnetostrictive liquid level gauge, in millimeters; H 2t2(n-1) To simultaneously measure the height of the piston through the built-in liquid level sensing ring in the piston of the magnetostrictive level gauge, the unit is millimeter;

[0110] And calculate the liquid phase flow rate Q according to formula 9-nliquid :

[0111]

[0112] Among them, Q liquid is the liquid phase flow rate during the t2n micro-metering period, in cubic millimeters per second;

[0113] During the t2n micro-metering period, the flow integration unit measures the average temperature T and the average pressure P respectively through the temperature sensor and the pressure sensor arranged at the upper end of the metering container body, and calculates the gas phase working condition flow Q during the t2n micro-metering period using formula 8-n. gas工况 , calculate Q according to formula 10-n gas标况 :

[0114]

[0115] Among them, Q gas标况 is the standard gas flow rate during the t2n micro-metering period, in cubic millimeters per second; T 标况 Typically 293.15 Kelvin, P 标况 Usually 101.325 kPa; P 补偿 It is the sum of the pressure generated by the piston itself, the pressure generated by the upper liquid level sensing ring itself, and the pressure generated by the upper metering residual fluid, in kPa; P+P 补偿 is the average pressure at the lower end of the measuring container body;

[0116] Using the microwave principle water content measurement unit connected to the imported three-phase fluid transmission main pipeline, according to the different dielectric constants of oil, gas and water, the gas is removed to directly measure the average proportion of water in oil and water during the t2n micro-metering period, and then the liquid phase flow Q is calculated using formula 9-n liquid :

[0117] If the oil-water slip ratio is approximately equal to 1, the water flow rate Q can be calculated by equations 11-n and 12-n respectively. water and oil flow Q oil :

[0118] Q water =Q liquid *α Formula 11-n

[0119] Q oil =Q liquid *(1-α) Formula 12-n

[0120] Among them, Q oil is the oil flow rate during the micro-metering period t2n, in cubic millimeters per second, Q wateris the water flow rate in the t2n micro-metering period, in cubic millimeters per second, α is the average proportion of water in the oil-water ratio in the t2n micro-metering period, without units, and the oil-water slip ratio is pre-determined according to the characteristics of the three-phase fluid produced by the well site; or

[0121] If the oil-water slip ratio is not approximately equal to 1, the compensation coefficient K is determined in advance according to the characteristics of the three-phase fluid produced by the well site. After compensation, the water flow rate Q is calculated using equations 13-n and 14-n respectively. water and oil flow Q oil :

[0122] Q water =Q liquid *α*K Formula 13-n

[0123] Q oil =Q liquid *(1--α)*K Formula 14-n

[0124] The above K is the compensation coefficient of the three-phase liquid produced by a specific well site, and has no unit;

[0125] Then, the measurement starts again from step 1-1, and is continuously repeated from step 1-1, step 1-2, ..., step 1-n, step 2-1, step 2-2, ..., step 2-n in sequence, and the flow rates of gas, oil, and water in the three-phase fluid are measured alternately online in real time;

[0126] The liquid level measurement reference of the magnetostrictive liquid level gauge in step 1-1, step 1-2, ..., step 1-n, step 2-1, step 2-2, ..., step 2-n is: the lower inlet / outlet height is the starting or zero liquid level, and the upper inlet / outlet height is the ending or maximum liquid level.

[0127] Preferably, a pressure sensor is further provided at the lower end of the measuring container body to measure the average pressure at the lower end of the measuring container body in steps 2-1, 2-2, ..., and 2-n, respectively. 补偿 is 0.

[0128] Preferably, in the nth micro-metering period in steps 1-1, 1-2, ..., and 1-n, n is 1; or / and, in the nth micro-metering period in steps 2-1, 2-2, ..., and 2-n, n is 1.

[0129] Preferably, the three-phase fluid is crude oil or natural gas.

[0130] The present invention also provides another calculation method for three-phase fluid metering, and the calculation method is as follows:

[0131] Step B1: Calculate the three-phase fluid flow rate Q of the three-phase fluid in the main pipeline of the imported three-phase fluid transport flowing into the upper chamber of the piston in the measuring container during the measurement period t1 gas标况 , Q liquid :

[0132] The flow integrating unit controls the inlet three-way reversing valve connected to the inlet three-phase fluid delivery main pipeline, so that the three-phase fluid in the inlet three-phase fluid delivery main pipeline begins to flow from the upper inlet into the upper cavity of the piston with a built-in liquid level sensing ring on the magnetostrictive liquid level gauge installed in the metering container through the inlet three-way reversing valve, and at the same time controls the outlet three-way reversing valve connected to the outlet three-phase fluid delivery main pipeline so that the three-phase fluid in the lower cavity of the piston with a built-in liquid level sensing ring on the magnetostrictive liquid level gauge installed in the metering container begins to flow out from the outlet three-phase fluid delivery main pipeline through the outlet three-way reversing valve from the lower outlet; at the same time, the flow integrating unit starts timing, and when the piston with the built-in liquid level sensing ring is squeezed downward by the three-phase fluid to the preset lower switching point liquid level height, the flow integrating unit times until the metering period t1 ends, and the unit of t1 is seconds;

[0133] When the piston with the built-in liquid level sensing ring is pressed downward by the three-phase fluid to the preset lower switching point liquid level height, the flow totalizing unit measures the liquid level height H through the upper liquid level sensing ring on the magnetostrictive level gauge. 11 , in millimeters; Q is calculated according to formula B-1 gas工况 :

[0134]

[0135] Among them, Q gas工况 is the gas phase working condition flow rate in the said t1 metering period, in cubic millimeters per second; the distance from the end or maximum liquid level to the starting or zero liquid level is the known liquid level H designed and processed by the metering container, in millimeters; the said metering container is a cylinder, and the known bottom area designed and processed is S, in square millimeters;

[0136] During the t1 metering period, the flow integration unit measures the average temperature T and the average pressure P respectively through the temperature sensor and the pressure sensor arranged at the upper end of the metering container body, and then calculates the gas phase working flow Q using formula B-1. gas工况 , calculate Q according to formula B-2 gas标况 :

[0137]

[0138] Among them, Q gas标况 is the standard gas flow rate during the measurement period t1, in cubic millimeters per second; T 标况Usually 293.15 Kelvin, T is the average temperature measured by the temperature sensor during the t1 measurement period, in Kelvin; P is the average pressure measured by the pressure sensor during the t1 measurement period, in kilopascals, P 标况 Usually 101.325 kPa;

[0139] When the piston moves to the lower switching point liquid level height, the flow totalizing unit measures the liquid level height H through the upper liquid level sensing ring on the magnetostrictive level gauge. 11 , in millimeters; at the same time, the height of the piston measured by the built-in liquid level sensing ring of the piston on the magnetostrictive level gauge is H 21 , in millimeters; Q is calculated according to formula B-3 liqiud :

[0140]

[0141] Among them, Q liquid is the liquid phase flow rate during the t1 measurement period, in cubic millimeters per second;

[0142] Step B2: Following step B1, calculate the water flow rate Q of the three-phase fluid in the upper chamber of the piston in the metering container and the three-phase fluid flow out of the outlet three-phase fluid delivery main pipeline during the metering period t2 water and oil flow Q oil :

[0143] When the piston moves to the lower switching point liquid level, the flow integrating unit controls the inlet three-way reversing valve connected to the inlet three-phase fluid delivery main pipeline, so that the three-phase fluid in the inlet three-phase fluid delivery main pipeline begins to flow from the lower inlet into the lower cavity of the piston with a built-in liquid level sensing ring on the magnetostrictive liquid level gauge installed in the metering container through the inlet three-way reversing valve, and at the same time controls the outlet three-way reversing valve connected to the outlet three-phase fluid delivery main pipeline so that the three-phase fluid in the upper cavity of the piston with a built-in liquid level sensing ring on the magnetostrictive liquid level gauge installed in the metering container begins to flow out from the outlet three-phase fluid delivery main pipeline through the outlet three-way reversing valve from the upper outlet; at the same time, the flow integrating unit starts timing, and when the piston with the built-in liquid level sensing ring is squeezed upward by the three-phase fluid to the preset upper switching point liquid level, that is, the flow integrating unit times until the metering period t2 ends, and the unit of t2 is seconds;

[0144] Using the microwave principle water content measurement unit connected to the outlet three-phase fluid transmission main pipeline, according to the different dielectric constants of oil, gas and water, the gas is removed to directly measure the average proportion of water in oil and water in the t2 metering period, and then the liquid phase flow Q calculated in the previous metering period is used. liquid :

[0145] If the oil-water slip ratio is approximately equal to 1, the water flow rate Q can be calculated by equations B-4 and B-5 respectively. waterand oil flow Q oil :

[0146] Q water =Q liquid *α Formula B-4

[0147] Q oil =Q liquid *(1--α) Formula B-5

[0148] Among them, Q oil is the oil flow rate during the measurement period t2, in cubic millimeters per second, Q water is the water flow rate in the t2 measurement period, in cubic millimeters per second, α is the average proportion of water in the oil-water ratio in the t2 measurement period, without units, and the oil-water slip ratio is determined in advance according to the characteristics of the three-phase fluid produced by the well site; or,

[0149] If the oil-water slip ratio is not approximately equal to 1, the compensation coefficient K is determined in advance according to the characteristics of the three-phase fluid produced by the well site. After compensation, the water flow rate Q is calculated using formulas B-6 and B-7 respectively. water and oil flow Q oil :

[0150] Q water =Q liquid *α*K Formula B-6

[0151] Q oil =Q liquid *(1--α)*K Formula B-7 Where K is the compensation coefficient of the three-phase liquid produced by a specific well site, and has no unit;

[0152] At the same time, calculate the three-phase fluid flow rate Q of the three-phase fluid in the main pipeline of the imported three-phase fluid transport flowing into the piston lower chamber of the measuring container during the t2 measurement period gas标况 , Q liquid :

[0153] When the piston of the built-in liquid level sensing ring is squeezed upward to the preset upper switching point liquid level height, the flow totalizing unit measures the liquid level height H through the lower liquid level sensing ring on the magnetostrictive level gauge. 32 , in millimeters; at the same time, the height of the piston is measured by the built-in liquid level sensing ring in the piston of the magnetostrictive level gauge as H 22 , in millimeters; Q is calculated according to formula B-8 gas工况 :

[0154]

[0155] Among them, Q gas工况is the gas phase working condition flow rate in the said t2 measuring period, in cubic millimeters per second; the said measuring container is a cylinder, and the bottom area is S in the design and processing, in square millimeters;

[0156] And calculate the liquid phase flow rate Q according to formula B-9 liquid :

[0157]

[0158] Among them, Q liquid is the liquid phase flow rate during the t2 measurement period, in cubic millimeters per second;

[0159] During the t2 metering period, the flow integration unit measures the average temperature T and the average pressure P respectively through the temperature sensor and the pressure sensor arranged at the upper end of the metering container body, and calculates the gas phase working flow Q during the t2 metering period using formula B-8. gas工况 , calculate Q according to formula B-10 gas标况 :

[0160]

[0161] Among them, Q gas标况 is the standard gas flow rate during the t2 measurement period, in cubic millimeters per second; T 标况 Typically 293.15 Kelvin, P 标况 Usually 101.325 kPa; P 补偿 It is the sum of the pressure generated by the piston itself, the pressure generated by the upper liquid level sensing ring itself, and the pressure generated by the upper metering residual fluid, in kPa; P+P 补偿 is the average pressure at the lower end of the measuring container body;

[0162] Step B3: Following step B2, calculate the three-phase fluid flow rate Q of the three-phase fluid in the main pipeline of the imported three-phase fluid transport flowing into the upper chamber of the piston in the measuring container during the measurement period t3 gas标况 , Q liquid :

[0163] When the piston moves to the upper switching point liquid level, the flow integrating unit controls the inlet three-way reversing valve connected to the inlet three-phase fluid delivery main pipeline, so that the three-phase fluid in the inlet three-phase fluid delivery main pipeline begins to flow from the upper inlet into the upper cavity of the piston with a built-in liquid level sensing ring on the magnetostrictive liquid level gauge installed in the metering container through the inlet three-way reversing valve, and at the same time controls the outlet three-way reversing valve connected to the outlet three-phase fluid delivery main pipeline so that the three-phase fluid in the lower cavity of the piston with a built-in liquid level sensing ring on the magnetostrictive liquid level gauge installed in the metering container begins to flow out from the outlet three-phase fluid delivery main pipeline through the outlet three-way reversing valve from the lower outlet; at the same time, the flow integrating unit starts timing, and when the piston with the built-in liquid level sensing ring is squeezed downward by the three-phase fluid to the preset lower switching point liquid level, that is, the flow integrating unit times until the metering period t3 ends, and the unit of t3 is seconds;

[0164] When the piston with the built-in liquid level sensing ring is pressed downward by the three-phase fluid to the preset lower switching point liquid level height, the flow totalizing unit measures the liquid level height H through the upper liquid level sensing ring on the magnetostrictive level gauge. 13 , in millimeters; Q is calculated according to formula B-11 gas工况 :

[0165]

[0166] Among them, Q gas工况 is the gas phase working condition flow rate in the t3 measurement period, in cubic millimeters per second; the distance from the end or maximum liquid level to the start or zero liquid level is the known liquid level H designed and processed by the measuring container, in millimeters; the measuring container is a cylinder, and the known bottom area designed and processed is S, in square millimeters;

[0167] During the t3 metering period, the flow integration unit measures the average temperature T and the average pressure P respectively through the temperature sensor and the pressure sensor installed at the upper end of the metering container body, and then calculates the gas phase working flow Q using formula B-11. gas工况 , calculate Q according to formula B-12 gas标况 :

[0168]

[0169] Among them, Q gas标况 is the standard gas flow rate during the t3 measurement period, in cubic millimeters per second; T 标况 Usually 293.15 Kelvin, T is the average temperature measured by the temperature sensor during the t3 measurement period, in Kelvin; P is the average pressure measured by the pressure sensor during the t3 measurement period, in kilopascals, P 标况 Usually 101.325 kPa;

[0170] When the piston moves to the lower switching point liquid level height, the flow totalizing unit measures the liquid level height H through the upper liquid level sensing ring on the magnetostrictive level gauge. 13 , in millimeters; at the same time, the height of the piston measured by the built-in liquid level sensing ring of the piston on the magnetostrictive level gauge is H 23 , in millimeters; Q is calculated according to formula B-13 liquid :

[0171]

[0172] Among them, Q liquid is the liquid phase flow rate during the t3 measurement period, in cubic millimeters per second;

[0173] At the same time, calculate the water flow Q of the three-phase fluid flow in the upper chamber of the piston in the measuring container and out of the outlet three-phase fluid transport main pipeline during the measuring period t3 water and oil flow Q oil :

[0174] Using the microwave principle water content measurement unit connected to the outlet three-phase fluid transmission main pipeline, according to the different dielectric constants of oil, gas and water, the gas is removed to directly measure the average proportion of water in the oil and water in the t3 measurement period, and then the liquid phase flow Q is calculated using formula B-9 liquid :

[0175] If the oil-water slip ratio is approximately equal to 1, the water flow rate Q can be calculated by equations B-14 and B-15 respectively. water and oil flow Q oil :

[0176] Q water =Q liquid *α Formula B-14

[0177] Q oil =Q liquid *(1-α) Formula B-15

[0178] Among them, Q oil is the oil flow rate during the measurement period t3, in cubic millimeters per second, Q water is the water flow rate in the t3 measurement period, in cubic millimeters per second, α is the average proportion of water in the oil-water ratio in the t3 measurement period, without units, and the oil-water slip ratio is determined in advance according to the characteristics of the three-phase fluid produced by the well site; or,

[0179] If the oil-water slip ratio is not approximately equal to 1, the compensation coefficient K is determined in advance according to the characteristics of the three-phase fluid produced by the well site. After compensation, the water flow rate Q is calculated using formulas B-16 and B-17 respectively. water and oil flow Q oil :

[0180] Q water =Q liquid *α*K Formula B-16

[0181] Q oil =Q liquid *(1-α)*K Formula B-17

[0182] Where K is the compensation coefficient of the three-phase liquid produced by a specific well site, and has no unit;

[0183] Then, the measurement starts again from step B2, and steps B2 and B3 are continuously repeated in sequence, and the flow rates of gas, oil and water in the three-phase fluid are measured alternately in real time online;

[0184] The liquid level measurement reference of the magnetostrictive liquid level gauge in steps B1, B2 and B3 is: the lower inlet / outlet height is the starting or zero liquid level, and the upper inlet / outlet height is the ending or maximum liquid level.

[0185] Preferably, a pressure sensor is also provided at the lower end of the measuring container body to measure the average pressure at the lower end of the measuring container body. 补偿 is 0.

[0186] Preferably, the three-phase fluid is crude oil or natural gas.

[0187] The present invention uses a magnetostrictive liquid level meter with an upper liquid level sensing ring built in a single metering container, a piston with the built-in liquid level sensing ring, and a lower liquid level sensing ring. The present invention first calculates the gas phase standard flow rate, water flow rate, and oil flow rate of the three-phase fluid flow rate flowing into the upper cavity of the piston in the metering container during a metering period t1 when the three-phase fluid in the imported three-phase fluid transportation main pipeline flows into the metering container; and then calculates the gas phase standard flow rate, water flow rate, and oil flow rate of the three-phase fluid flow rate flowing into the lower cavity of the piston in the metering container during a metering period t2 when the three-phase fluid in the imported three-phase fluid transportation main pipeline flows into the metering container, thereby realizing continuous online real-time alternating measurement of the gas, oil, and water flow rates in the three-phase fluid, which not only meets the needs of accurate data collection in gas fields or oil fields, but also improves management efficiency and reduces production costs. BRIEF DESCRIPTION OF THE DRAWINGS

[0188] Figure 1 The present invention provides a schematic structural diagram of a three-phase fluid metering system;

[0189] Figure 2 for Figure 1 The schematic diagram of the structure of the upper metering work end state of the system shown;

[0190] Figure 3 for Figure 1 A schematic diagram of the structure of the lower metering work end state of the system shown;

[0191] Figure 4A schematic flow chart of a basic calculation method for a three-phase fluid provided in Example 1;

[0192] Figure 5 A schematic flow chart of an improved calculation method for a three-phase fluid provided in Example 1; and

[0193] Figure 6 A schematic flow chart of a calculation method for a three-phase fluid provided in Example 2.

[0194] in

[0195] The markings in the attached drawings are as follows: 1. magnetostrictive level gauge, 2. temperature and pressure sensor, 2A. temperature sensor, 2B. pressure sensor, 3. gas phase fluid, 4. upper inlet, 5. upper outlet, 6. upper liquid level sensing ring, 7. liquid phase fluid, 8. three-phase fluid pipeline, 9. metering container body, 10. inlet three-phase fluid transportation main pipeline, 11. moisture content measurement unit, 12. inlet three-way switching unit, 13. outlet three-way switching unit, 14. outlet three-phase fluid transportation main pipeline, 15. piston with built-in liquid level sensing ring, 16. lower liquid level sensing ring, 17. lower inlet, 18. lower outlet, 19. flow integration unit.

[0196] Markings at the end of the upper metering work: 01 is the highest liquid level, 02 is the position of the upper liquid level sensing ring on the magnetostrictive level gauge, and 03 is the position where the piston moves to the lower switching point.

[0197] Markings at the end of the lower metering work: 001 indicates the piston moves to the upper switching point, 002 indicates the position of the upper and lower liquid level sensing rings of the magnetostrictive liquid level gauge, and 003 indicates the zero liquid level. DETAILED DESCRIPTION

[0198] The following takes a specific metering system as an example, and describes in detail a three-phase fluid metering system and a calculation method thereof provided by the present invention in combination with its accompanying drawings and specific examples.

[0199] The present invention provides a three-phase fluid metering system, such as Figure 1 As shown, it includes a microwave-based moisture content measuring unit 11 and a metering unit, and a flow totalizing unit 19 electrically connected thereto, which are arranged in series in a three-phase fluid transport main pipeline;

[0200] The metering unit comprises an inlet switching unit, an outlet switching unit and a metering container installed vertically to the horizontal ground; the metering container comprises a metering container body 9 and at least one temperature sensor 2A arranged thereon, a pressure sensor 2B arranged at the upper end or / and the lower end thereof, a magnetostrictive level gauge 1 having a display unit arranged on the upper end surface thereof and a liquid level sensing rod extending to the bottom surface thereof, and an upper liquid level sensing ring 6, a piston 15 with a built-in liquid level sensing ring and a lower liquid level sensing ring 16 arranged in sequence from top to bottom in the metering container body and outside the liquid level sensing rod; the two outlets of the inlet three-way switching unit 12 are respectively connected to the inlet of the metering container through a three-phase fluid pipeline. The upper inlet 4 and the lower inlet 17 on the upper and lower end sides, the two inlets of the outlet three-way switching unit 13 are respectively connected to the upper outlet 5 and the lower outlet 18 on the upper and lower end sides of the metering container body 9 through three-phase fluid pipelines, the inlet of the inlet three-way switching unit 12 is connected to the inlet three-phase fluid delivery main pipeline 10 of the three-phase fluid delivery main pipeline, and the outlet of the outlet three-way switching unit 13 is connected to the outlet three-phase fluid delivery main pipeline 14 of the three-phase fluid delivery main pipeline; the space between the upper liquid level sensing ring 6 and the piston 15 with the built-in liquid level sensing ring in the metering container body is the liquid phase fluid 7, and the space above the upper liquid level sensing ring 6 is the gas phase fluid 3.

[0201] The flow integrating unit 19 is electrically connected to the inlet three-way switching unit 12 , the outlet three-way switching unit 13 , the temperature sensor 2A, the pressure sensor 2B, and the magnetostrictive liquid level meter 1 , respectively.

[0202] The three-phase fluid described in the present invention is crude oil produced from an oil well or natural gas produced from a natural gas well.

[0203] The water content measuring unit in the present invention is arranged in the inlet three-phase fluid transport main pipeline 10 or in the outlet three-phase fluid transport main pipeline 14.

[0204] Example 1

[0205] like Figure 1 As shown in FIG. 1 , the present invention provides a schematic diagram of the structure of a three-phase fluid metering system, wherein the moisture content measuring unit based on the microwave principle is installed on the main pipeline for the inlet three-phase fluid transmission, and the flow calculation method thereof is shown in FIG. Figure 4 As shown, the details are as follows:

[0206] Step 1: Calculate the standard gas phase flow rate Q of the three-phase fluid flow from the main pipeline of the imported three-phase fluid to the upper chamber of the piston in the measuring container during the measurement period t1 gas标况 , water flow Q water and oil flow Q oil :

[0207] like Figure 2 As shown, Figure 1 The schematic diagram of the structure of the upper metering work end state of the three-phase fluid metering system shown in the figure. Figure 2 The marks in the middle are: 01 is the highest liquid level, 02 is the position of the upper liquid level sensing ring on the magnetostrictive level gauge, and 03 is the position where the piston moves to the lower switching point.

[0208] The flow integrating unit controls the inlet three-way reversing valve connected to the inlet three-phase fluid delivery main pipeline, so that the three-phase fluid in the inlet three-phase fluid delivery main pipeline begins to flow from the upper inlet into the upper cavity of the piston with a built-in liquid level sensing ring on the magnetostrictive liquid level gauge installed in the metering container through the inlet three-way reversing valve, and at the same time controls the outlet three-way reversing valve connected to the outlet three-phase fluid delivery main pipeline so that the three-phase fluid in the lower cavity of the piston with a built-in liquid level sensing ring on the magnetostrictive liquid level gauge installed in the metering container begins to flow out from the outlet three-phase fluid delivery main pipeline through the outlet three-way reversing valve from the lower outlet; at the same time, the flow integrating unit starts timing, and when the piston with the built-in liquid level sensing ring is squeezed downward by the three-phase fluid to the preset lower switching point liquid level height, the flow integrating unit stops timing to obtain the time t1, in seconds;

[0209] The liquid level measurement standard of the magnetostrictive liquid level gauge is: the lower inlet / outlet height is the starting or zero liquid level, and the higher inlet / outlet height is the ending or maximum liquid level;

[0210] When the piston with the built-in liquid level sensing ring is pressed downward by the three-phase fluid to the preset lower switching point liquid level height, the flow totalizing unit measures the liquid level height H through the upper liquid level sensing ring on the magnetostrictive level gauge. 1 , in millimeters; Q is calculated according to formula 1 gas工况 :

[0211]

[0212] Among them, Q gas工况 is the gas phase working condition flow rate in the said t1 metering period, in cubic millimeters per second; the distance from the end or maximum liquid level to the starting or zero liquid level is the known liquid level H designed and processed by the metering container, in millimeters; the said metering container is a cylinder, and the known bottom area designed and processed is S, in square millimeters;

[0213] During the t1 measurement period, the flow integration unit measures the average temperature T and the average pressure P respectively through the temperature sensor and the pressure sensor arranged at the upper end of the metering container body, and then calculates the gas phase working flow Q using formula 1. gas工况 , according to formula 2, calculate the gas phase standard flow rate Q gas标况 :

[0214]

[0215] Among them, Qgas标况 is the standard gas flow rate during the measurement period t1, in cubic millimeters per second; T 标 : 况 Usually 293.15 Kelvin, T is the average temperature measured by the temperature sensor during the t1 measurement period, in Kelvin; P is the average pressure measured by the pressure sensor during the t1 measurement period, in kilopascals, P 标况 Usually 101.325 kPa;

[0216] When the piston moves to the lower switching point liquid level height, the flow totalizing unit measures the liquid level height H through the upper liquid level sensing ring on the magnetostrictive level gauge. 1 , in millimeters; at the same time, the height of the piston measured by the built-in liquid level sensing ring of the piston on the magnetostrictive level gauge is H 2 , in millimeters; Q is calculated according to formula 3 liquid :

[0217]

[0218] Among them, Q liqiud is the liquid phase flow rate during the t1 measurement period, in cubic millimeters per second;

[0219] Using the microwave principle water content measurement unit connected to the imported three-phase fluid transmission main pipeline, according to the different dielectric constants of oil, gas and water, the gas is removed to directly measure the average proportion of water in the oil and water during the t1 measurement period, and then the liquid phase flow Q is calculated using formula 3 liquid ;

[0220] If the oil-water slip ratio is approximately equal to 1, the water flow rate Q can be calculated by equations 4 and 5 respectively. water and oil flow Q oil :

[0221] Q water =Q liquid *α Formula 4

[0222] Q oil =Q liquid *(1-α) Formula 5

[0223] Among them, Q oil is the oil flow rate during the measurement period t1, in cubic millimeters per second, Q water is the water flow rate in the t1 measurement period, in cubic millimeters per second, α is the average ratio of oil to water in the t1 measurement period, without units, and the oil-water slip ratio is determined in advance according to the characteristics of the three-phase fluid produced by the well site; or,

[0224] If the oil-water slip ratio is not approximately equal to 1, the compensation coefficient K is determined in advance according to the characteristics of the three-phase fluid produced by the well site. After compensation, the water flow rate Q is calculated using equations 6 and 7 respectively. water and oil flow Q oil :

[0225] Q water =Q liquid *α*K Formula 6

[0226] Q oil =Q liquid *(1--α)*K Formula 7

[0227] Where K is the compensation coefficient of the three-phase liquid produced by a specific well site, and has no unit;

[0228] Step 2: Continuing from step 1, calculate the standard gas phase flow rate Q of the three-phase fluid flow rate flowing from the main pipeline of the imported three-phase fluid into the piston lower chamber of the measuring container during the measurement period t2 gas标况 , water flow Q water and oil flow Q oil :

[0229] like Figure 3 As shown, Figure 1 The schematic diagram of the structure of the three-phase fluid metering system at the end of the lower metering work is shown. Figure 3 The marks in the middle are: 001 is the position where the piston moves to the upper switching point, 002 is the position of the upper and lower liquid level sensing rings of the magnetostrictive level gauge, and 003 is the zero liquid level.

[0230] When the piston moves to the lower switching point liquid level, the flow integrating unit controls the inlet three-way reversing valve connected to the inlet three-phase fluid delivery main pipeline, so that the three-phase fluid in the inlet three-phase fluid delivery main pipeline begins to flow from the lower inlet into the lower cavity of the piston with a built-in liquid level sensing ring on the magnetostrictive liquid level gauge installed in the metering container through the inlet three-way reversing valve, and at the same time controls the outlet three-way reversing valve connected to the outlet three-phase fluid delivery main pipeline so that the three-phase fluid in the upper cavity of the piston with a built-in liquid level sensing ring on the magnetostrictive liquid level gauge installed in the metering container begins to flow out from the outlet three-phase fluid delivery main pipeline through the outlet three-way reversing valve from the upper outlet; at the same time, the flow integrating unit starts timing, and when the piston with the built-in liquid level sensing ring is squeezed upward by the three-phase fluid to the preset upper switching point liquid level, the flow integrating unit stops timing to obtain the time t2, in seconds;

[0231] The liquid level measurement standard of the magnetostrictive liquid level gauge is: the lower inlet / outlet height is the starting or zero liquid level, and the higher inlet / outlet height is the ending or maximum liquid level;

[0232] When the piston of the built-in liquid level sensing ring is squeezed upward to the preset upper switching point liquid level height, the flow totalizing unit measures the liquid level height H through the lower liquid level sensing ring on the magnetostrictive level gauge. 3 , in millimeters; at the same time, the height of the piston is measured by the built-in liquid level sensing ring in the piston of the magnetostrictive level gauge as H 2 , in millimeters; Q is calculated according to formula 8 gas工况 :

[0233]

[0234] Among them, Q gas工况 is the gas phase working condition flow rate in the said t2 measuring period, in cubic millimeters per second; the said measuring container is a cylinder, and the bottom area is S in the design and processing, in square millimeters;

[0235] And calculate the liquid phase flow rate Q according to formula 9 liquid :

[0236]

[0237] Among them, Q liquid is the liquid phase flow rate during the t2 measurement period, in cubic millimeters per second;

[0238] During the t2 metering period, the flow integration unit measures the average temperature T and the average pressure P respectively through the temperature sensor and the pressure sensor arranged at the upper end of the metering container body, and calculates the gas phase working flow Q during the t2 metering period using formula 8. gas工况 , calculate Q according to formula 10 gas标况 :

[0239]

[0240] Among them, Q gas标况 is the standard gas flow rate during the t2 measurement period, in cubic millimeters per second; T 标况 Typically 293.15 Kelvin, P 标况 Usually 101.325 kPa; P 补偿 It is the sum of the pressure generated by the piston itself, the pressure generated by the upper liquid level sensing ring itself, and the pressure generated by the upper metering residual fluid, in kPa; P+P 补偿 is the average pressure at the lower end of the measuring container body;

[0241] Using the microwave principle water content measurement unit connected to the imported three-phase fluid transmission main pipeline, according to the different dielectric constants of oil, gas and water, the gas is removed to directly measure the average proportion of water in oil and water during the t2 measurement period, and then the liquid phase flow Q is calculated using formula 9 liquid :

[0242] If the oil-water slip ratio is approximately equal to 1, the water flow rate Q is calculated by equations 11 and 12 respectively. water and oil flow Q oil :

[0243] Q water =Q liquid *α Formula 11

[0244] Q oil =Q liquid *(1-α) Formula 12

[0245] Among them, Q oil is the oil flow rate during the measurement period t2, in cubic millimeters per second, Q water is the water flow rate in the t2 measurement period, in cubic millimeters per second, α is the average proportion of water in the oil-water ratio in the t2 measurement period, without units, and the oil-water slip ratio is determined in advance according to the characteristics of the three-phase fluid produced by the well site; or,

[0246] If the oil-water slip ratio is not approximately equal to 1, the compensation coefficient K is determined in advance according to the characteristics of the three-phase fluid produced by the well site. After compensation, the water flow rate Q is calculated using equations 13 and 14 respectively. water and oil flow Q oil :

[0247] Q water =Q liquid *α*K Formula 13

[0248] Q oil =Q liquid *(1-α)*K Formula 14

[0249] The above K is the compensation coefficient of the three-phase liquid produced by a specific well site, and has no unit;

[0250] Then, the metering starts again from step 1, and steps 1 and 2 are continuously repeated in sequence, and the flow rates of gas, oil and water in the three-phase fluid are measured alternately online in real time.

[0251] The three-phase fluid in the above embodiments is crude oil produced from an oil well or natural gas produced from a natural gas well.

[0252] In the above embodiment, a pressure sensor is provided at the upper and lower ends of the measuring container body to measure the average pressure at the upper end of the measuring container body in step 1 and the average pressure at the lower end of the measuring container body in step 2, respectively. 补偿 is 0.

[0253] The above flow calculation method can also be: first calculate the gas phase standard flow rate Q of the three-phase fluid flow rate flowing from the inlet three-phase fluid delivery main pipeline into the piston lower chamber of the metering containergas标况 , water flow Q water and oil flow Q oil , and then calculate the standard gas phase flow rate Q of the three-phase fluid flow in the three-phase fluid transport main pipeline flowing into the piston upper chamber of the measuring container gas标况 , water flow Q water and oil flow Q oil The calculation method is basically the same, except that the t1 metering period becomes the three-phase fluid in the imported three-phase fluid transportation main pipeline flowing into the lower piston chamber of the metering container, and the t2 metering period becomes the three-phase fluid in the imported three-phase fluid transportation main pipeline flowing into the upper piston chamber of the metering container.

[0254] In the above basic calculation method, steps 1 and 2 are respectively to calculate the gas, oil and water flow values ​​in the three-phase fluid once in the t1 and t2 metering periods; in order to improve the real-time performance of the gas, oil and water flow values ​​in the three-phase fluid, the above t1 and t2 metering periods can also be divided into several micro-metering periods, and the gas, oil and water flow values ​​in the three-phase fluid are calculated once in each micro-metering period. The specific improved calculation method is as follows: (see Figure 5 (shown)

[0255] Step 1-1 (calculating the standard gas flow, water flow and oil flow in the three-phase fluid flow flowing into the upper chamber during the micro-metering period t11): the flow integrating unit controls the inlet three-way reversing valve connected to the inlet three-phase fluid delivery main pipeline, so that the three-phase fluid in the inlet three-phase fluid delivery main pipeline begins to flow from the upper inlet into the upper chamber of the piston with a built-in liquid level sensing ring on the magnetostrictive liquid level gauge installed in the metering container through the inlet three-way reversing valve, and at the same time controls the outlet three-way reversing valve connected to the outlet three-phase fluid delivery main pipeline so that the three-phase fluid in the lower chamber of the piston with a built-in liquid level sensing ring on the magnetostrictive liquid level gauge installed in the metering container begins to flow out from the outlet three-phase fluid delivery main pipeline through the outlet three-way reversing valve from the lower outlet; at the same time, the flow integrating unit starts timing and timing until the end of the first micro-metering period t11, and the unit of t11 is seconds;

[0256] The liquid level measurement standard of the magnetostrictive liquid level gauge is: the lower inlet / outlet height is the starting or zero liquid level, and the higher inlet / outlet height is the ending or maximum liquid level;

[0257] When the flow totalizer counts to the end of the first micro-metering period t11, the flow totalizer measures the liquid level height H through the upper liquid level induction ring on the magnetostrictive liquid level meter. 1t11 , in millimeters; Q is calculated according to formula 1-1 gas工况 :

[0258]

[0259] Among them, Q gas工况is the gas phase operating flow rate during the t11 micro-metering period, in cubic millimeters per second; H 1t10 The distance from the end or maximum liquid level to the start or zero liquid level is the designed and processed known liquid level H, in millimeters; the measuring container is a cylinder, and the designed and processed known bottom area is S, in square millimeters;

[0260] During the t11 micro-metering period, the flow integration unit measures the average temperature T and the average pressure P respectively through the temperature sensor and the pressure sensor arranged at the upper end of the metering container body, and then calculates the gas phase working flow Q using formula 1-1. gas工况 , calculate Q according to formula 2-1 gas标况 :

[0261]

[0262] Among them, Q gas标况 is the standard gas flow rate during the micro-metering period t11, in cubic millimeters per second; T 标况 Usually 293.15 Kelvin, T is the average temperature measured by the temperature sensor during the t11 micro-metering period, in Kelvin; P is the average pressure measured by the pressure sensor during the t11 micro-metering period, in kilopascals, P 标况 Usually 101.325 kPa;

[0263] When the flow totalizer counts to the end of the first micro-metering period t11, the flow totalizer measures the liquid level height H through the upper liquid level induction ring on the magnetostrictive liquid level meter. 1t11 , in millimeters; at the same time, the height of the piston measured by the built-in liquid level sensing ring of the piston on the magnetostrictive level gauge is H 2t11 , in millimeters; Q is calculated according to formula 3-1 liquid :

[0264]

[0265] Among them, Q liquid is the liquid phase flow rate during the micro-metering period t11, in cubic millimeters per second;

[0266] Using the microwave principle water content measurement unit connected to the imported three-phase fluid transportation main pipeline, according to the different dielectric constants of oil, gas and water, the gas is removed to directly measure the average proportion of water in the oil and water in the t11 measurement period, and then the liquid phase flow Q is calculated using formula 3-1 liquid :

[0267] If the oil-water slip ratio is approximately equal to 1, the water flow rate Q can be calculated by equations 4-1 and 5-1 respectively. water and oil flow Q oil :

[0268] Q water =Q liquid *α Formula 4-1

[0269] Q oil =Q liquid *(1-α) Formula 5-1

[0270] Among them, Q oil is the oil flow rate during the micro-metering period t11, in cubic millimeters per second, Q water is the water flow rate in the t11 micro-metering period, in cubic millimeters per second, α is the average proportion of oil and water in the t11 micro-metering period, without units, and the oil-water slip ratio is determined in advance according to the characteristics of the three-phase fluid produced by the well site; or,

[0271] If the oil-water slip ratio is not approximately equal to 1, the compensation coefficient K is determined in advance according to the characteristics of the three-phase fluid produced by the well site. After compensation, the water flow rate Q is calculated using equations 6-1 and 7-1 respectively. water and oil flow Q oil :

[0272] Q water =Q liquid *α*K Formula 6-1

[0273] Q oil =Q liquid *(1-α)*K Formula 7-1

[0274] Where K is the compensation coefficient of the three-phase liquid produced by a specific well site, and has no unit;

[0275] Step 1-2 (calculating the gas phase standard flow, water flow and oil flow in the three-phase fluid flow flowing into the upper chamber during the micro-metering period t12): following step 1-1, the flow integrating unit controls the inlet three-way reversing valve connected to the inlet three-phase fluid delivery main pipeline, so that the three-phase fluid in the inlet three-phase fluid delivery main pipeline continues to flow from the upper inlet into the upper chamber of the piston with a built-in liquid level sensing ring on the magnetostrictive liquid level gauge installed in the metering container through the inlet three-way reversing valve, and at the same time controls the outlet three-way reversing valve connected to the outlet three-phase fluid delivery main pipeline so that the three-phase fluid in the lower chamber of the piston with a built-in liquid level sensing ring on the magnetostrictive liquid level gauge installed in the metering container continues to flow out from the outlet three-phase fluid delivery main pipeline through the outlet three-way reversing valve from the lower outlet; at the same time, the flow integrating unit continues to time, and times until the end of the second micro-metering period t12, and the unit of t12 is seconds;

[0276] The liquid level measurement standard of the magnetostrictive liquid level gauge is: the lower inlet / outlet height is the starting or zero liquid level, and the higher inlet / outlet height is the ending or maximum liquid level;

[0277] When the flow totalizer reaches the end of the second micro-metering period t12, the flow totalizer measures the liquid level height H through the upper liquid level induction ring on the magnetostrictive liquid level meter. 1t12 , in millimeters; Q is calculated according to formula 1-2 gas工况 :

[0278]

[0279] Among them, Q gas工况 is the gas phase operating flow rate during the micro-metering period t12, in cubic millimeters per second; H 1t11 is the liquid level height measured by the upper liquid level sensing ring at the end of the first micro-metering period, in millimeters; the metering container is a cylinder, and the known bottom area is S in square millimeters;

[0280] During the t12 micro-metering period, the flow integrator measures the average temperature T and the average pressure P respectively through the temperature sensor and the pressure sensor arranged at the upper end of the metering container body, and then calculates the gas phase working flow Q using formula 1-2. gas工况 , calculate Q according to formula 2-2 gas标况 :

[0281]

[0282] Among them, Q gas标况 is the standard gas flow rate during the micro-metering period t12, in cubic millimeters per second; T 标况 Usually 293.15 Kelvin, T is the average temperature measured by the temperature sensor during the t12 micro-metering period, in Kelvin; P is the average pressure measured by the pressure sensor during the t12 micro-metering period, in kilopascals, P 标况 Usually 101.325 kPa;

[0283] When the flow totalizer reaches the end of the second micro-metering period t12, the flow totalizer measures the liquid level height H through the upper liquid level induction ring on the magnetostrictive liquid level meter. 1t12 , in millimeters; at the same time, the height of the piston measured by the built-in liquid level sensing ring of the piston on the magnetostrictive level gauge is H 2t12 , in millimeters; Q is calculated according to formula 3-2 liquid :

[0284]

[0285] Among them, Q liquid is the liquid phase flow rate in the micro-metering period t12, in cubic millimeters per second; H 1t11When the flow integrating unit counts to the end of the first micro-metering period t11, the flow integrating unit measures the liquid level height through the upper liquid level sensing ring on the magnetostrictive liquid level gauge, in millimeters; H 2t11 It is the height of the piston measured by the built-in liquid level sensing ring of the piston on the magnetostrictive level gauge, in millimeters;

[0286] Using the microwave principle water content measurement unit connected to the imported three-phase fluid transportation main pipeline, according to the different dielectric constants of oil, gas and water, the gas is removed to directly measure the average proportion of water in the oil and water during the t12 micro-metering period, and then the liquid phase flow Q is calculated using formula 3-2 liquid :

[0287] If the oil-water slip ratio is approximately equal to 1, the water flow rate Q can be calculated by equations 4-2 and 5-2 respectively. water and oil flow Q oil :

[0288] Q water =Q liquid *α Formula 4-2

[0289] Q oil =Q liquid *(1-α) Formula 5-2

[0290] Among them, Q oil is the oil flow rate during the micro-metering period t12, in cubic millimeters per second, Q water is the water flow rate in the micro-metering period t12, in cubic millimeters per second, α is the average proportion of oil and water in the micro-metering period t12, without units, and the oil-water slip ratio is determined in advance according to the characteristics of the three-phase fluid produced by the well site; or,

[0291] If the oil-water slip ratio is not approximately equal to 1, the compensation coefficient K is determined in advance according to the characteristics of the three-phase fluid produced by the well site. After compensation, the water flow rate Q is calculated using equations 6-2 and 7-2 respectively. water and oil flow Q oil :

[0292] Q water =Q liquid *α*K Formula 6-2

[0293] Q oil =Q liquid *(1-α)*K Formula 7-2

[0294] Where K is the compensation coefficient of the three-phase liquid produced by a specific well site, and has no unit;

[0295] Continue to follow step 1-2 to calculate until the end of the nth micro-metering period t1n, where the unit of t1n is seconds; step 1-n (calculate the gas phase standard flow rate, water flow rate and oil flow rate in the three-phase fluid flow rate flowing into the upper chamber during the t1n micro-metering period): follow step 1-n-1, the flow integration unit controls the inlet three-way reversing valve connected to the inlet three-phase fluid delivery main pipeline, so that the three-phase fluid in the inlet three-phase fluid delivery main pipeline continues to flow from the upper inlet through the inlet three-way reversing valve into the metering container. The built-in liquid level sensing ring on the magnetostrictive liquid level meter is installed. The upper chamber of the piston of the magnetostrictive level gauge is controlled, and at the same time, the outlet three-way reversing valve connected to the outlet three-phase fluid delivery main pipeline is controlled to make the three-phase fluid in the lower chamber of the piston with a built-in liquid level sensing ring on the magnetostrictive level gauge installed in the metering container continue to flow out from the outlet three-phase fluid delivery main pipeline through the outlet three-way reversing valve from the lower outlet; at the same time, the flow integrating unit continues to time, and times until the piston with the built-in liquid level sensing ring is squeezed downward by the three-phase fluid to the preset lower switching point liquid level height, that is, until the flow integrating unit times until the nth micro-metering period t1n ends;

[0296] The liquid level measurement standard of the magnetostrictive liquid level gauge is: the lower inlet / outlet height is the starting or zero liquid level, and the higher inlet / outlet height is the ending or maximum liquid level;

[0297] When the flow integration unit counts to the end of the nth micro-metering period t1n, the flow integration unit measures the liquid level height H through the upper liquid level induction ring on the magnetostrictive liquid level meter. 1t1n , in millimeters; calculate Q according to formula 1-n gas工况 :

[0298]

[0299] Among them, Q gas工况 is the gas phase operating flow rate during the micro-metering period t1n, in cubic millimeters per second; H 1t1(n-1) is the liquid level height measured by the upper liquid level sensing ring at the end of the n-1th micro-metering period, in millimeters; the metering container is a cylinder, and the known bottom area is S in square millimeters; when n=1, H 1t10 is H;

[0300] During the micro-metering period t1n, the flow integrator measures the average temperature T and the average pressure P respectively through the temperature sensor and the pressure sensor arranged at the upper end of the metering container body, and then calculates the gas phase working flow Q using formula 1-n. gas工况 , calculate Q according to formula 2-n gas标况 :

[0301]

[0302] Among them, Q gas标况is the standard gas flow rate during the micro-metering period t1n, in cubic millimeters per second; T 标况 Usually 293.15 Kelvin, T is the average temperature measured by the temperature sensor during the t1n micro-metering period, in Kelvin; P is the average pressure measured by the pressure sensor during the t1n micro-metering period, in kPa, P 标况 Usually 101.325 kPa;

[0303] When the flow integration unit counts to the end of the nth micro-metering period t1n, the flow integration unit measures the liquid level height H through the upper liquid level induction ring on the magnetostrictive liquid level meter. 1t1n , in millimeters; at the same time, the height of the piston measured by the built-in liquid level sensing ring of the piston on the magnetostrictive level gauge is H 2t1n , that is, the preset lower switching point liquid level height, in millimeters; Q is calculated according to formula 3-n liqiud :

[0304]

[0305] Among them, Q liguid is the liquid phase flow rate during the micro-metering period t1n, in cubic millimeters per second; H 1t1(n-1) When the flow integrating unit counts to the end of the n-1th micro-metering period t1(n-1), the flow integrating unit measures the liquid level height through the upper liquid level sensing ring on the magnetostrictive liquid level gauge; H 2t1(n-1) is the height of the piston measured by the built-in liquid level sensing ring of the piston on the magnetostrictive level gauge by the flow totalizing unit at the same time; when n=1, H 1t10 =H 2t10 is H;

[0306] Using the microwave principle water content measurement unit connected to the imported three-phase fluid transmission main pipeline, according to the different dielectric constants of oil, gas and water, the gas is removed to directly measure the average proportion of water in the oil and water in the micro-metering period t1n, and then the liquid phase flow Q is calculated using formula 3-n liquid :

[0307] If the oil-water slip ratio is approximately equal to 1, the water flow rate Q can be calculated by equations 4-n and 5-n respectively. water and oil flow Q oil :

[0308] Q water =Q liquid *α Formula 4-n

[0309] Q oil =Q liquid *(1--α) Formula 5-n

[0310] Among them, Qoil is the oil flow rate during the micro-metering period t1n, in cubic millimeters per second, Q water is the water flow rate in the micro-metering period t1n, in cubic millimeters per second, α is the average proportion of oil and water in the micro-metering period t1n, without units, and the oil-water slip ratio is determined in advance according to the characteristics of the three-phase fluid produced by the well site; or,

[0311] If the oil-water slip ratio is not approximately equal to 1, the compensation coefficient K is determined in advance according to the characteristics of the three-phase fluid produced by the well site. After compensation, the water flow rate Q is calculated using equations 6-n and 7-n respectively. water and oil flow Q oil :

[0312] Q water =Q liquid *α*K Formula 6-n

[0313] Q oil =Q liquid *(1--α)*K Formula 7-n

[0314] Where K is the compensation coefficient of the three-phase liquid produced by a specific well site, and has no unit;

[0315] Step 2-1 (calculating the standard gas phase flow, water flow and oil flow in the three-phase fluid flow flowing into the lower cavity within the micro-metering period t21): following step 1-n, when the piston moves to the lower switching point liquid level height, the flow integrating unit controls the inlet three-way reversing valve connected to the inlet three-phase fluid delivery main pipeline, so that the three-phase fluid in the inlet three-phase fluid delivery main pipeline begins to flow from the lower inlet into the lower cavity of the piston with a built-in liquid level sensing ring on the magnetostrictive liquid level gauge installed in the metering container through the inlet three-way reversing valve, and at the same time controls the outlet three-way reversing valve connected to the outlet three-phase fluid delivery main pipeline so that the three-phase fluid in the upper cavity of the piston with a built-in liquid level sensing ring on the magnetostrictive liquid level gauge installed in the metering container begins to flow out from the outlet three-phase fluid delivery main pipeline through the outlet three-way reversing valve from the upper outlet; at the same time, the flow integrating unit starts timing, and timing until the end of the first micro-metering period t21, the unit of t21 is seconds;

[0316] The liquid level measurement standard of the magnetostrictive liquid level gauge is: the lower inlet / outlet height is the starting or zero liquid level, and the higher inlet / outlet height is the ending or maximum liquid level;

[0317] When the flow totalizer counts to the end of the first micro-metering period t21, the flow totalizer measures the liquid level height H through the lower liquid level induction ring on the magnetostrictive liquid level meter. 3t21 , in millimeters; at the same time, the height of the piston is measured by the built-in liquid level sensing ring in the piston of the magnetostrictive level gauge as H 2t21 , in millimeters; Q is calculated according to formula 8-1gas工况 :

[0318]

[0319] Among them, Q gas工况 is the gas phase working condition flow rate in the t21 micro-metering period, in cubic millimeters per second; the metering container is a cylinder, and the known bottom area is S in the design and processing, in square millimeters;

[0320] And calculate the liquid phase flow rate Q according to formula 9-1 liquid :

[0321]

[0322] Among them, Q liquid is the liquid phase flow rate during the t21 micro-metering period, in cubic millimeters per second;

[0323] During the t21 micro-metering period, the flow integration unit measures the average temperature T and the average pressure P respectively through the temperature sensor and the pressure sensor arranged at the upper end of the metering container body, and calculates the gas phase operating flow Q during the t21 micro-metering period using formula 8-1. gas工况 , calculate Q according to formula 10-1 gas标况 :

[0324]

[0325] Among them, Q gas标况 is the standard gas flow rate during the micro-metering period t21, in cubic millimeters per second; T 标况 Typically 293.15 Kelvin, P 标况 Usually 101.325 kPa; P 补偿 It is the sum of the pressure generated by the piston itself, the pressure generated by the upper liquid level sensing ring itself, and the pressure generated by the upper metering residual fluid, in kPa; P+P 补偿 It is the average pressure at the lower end of the measuring container body.

[0326] Using the microwave principle water content measurement unit connected to the imported three-phase fluid transportation main pipeline, according to the different dielectric constants of oil, gas and water, the gas is removed to directly measure the average proportion of water in oil and water during the t21 micro-metering period, and then the liquid phase flow Q is calculated using formula 9-1 liquid :

[0327] If the oil-water slip ratio is approximately equal to 1, the water flow rate Q can be calculated by equations 11-1 and 12-1 respectively. water and oil flow Q oil :

[0328] Q water =Qliquid *α Formula 11-1

[0329] Q oil =Q liquid *(1--α) Formula 12-1

[0330] Among them, Q oil is the oil flow rate during the t21 micro-metering period, in cubic millimeters per second, Q water is the water flow rate in the t21 micro-metering period, in cubic millimeters per second, α is the average proportion of oil and water in the t21 micro-metering period, without units, and the oil-water slip ratio is determined in advance according to the characteristics of the three-phase fluid produced by the well site; or,

[0331] If the oil-water slip ratio is not approximately equal to 1, the compensation coefficient K is determined in advance according to the characteristics of the three-phase fluid produced by the well site. After compensation, the water flow rate Q is calculated using equations 13-1 and 14-1 respectively. water and oil flow Q oil :

[0332] Q water =Q liquid *α*K Formula 13-1

[0333] Q oil =Q liquid *(1--α)*K Formula 14-1

[0334] The above K is the compensation coefficient of the three-phase liquid produced by a specific well site, and has no unit;

[0335] Step 2-2 (calculating the gas phase standard flow, water flow and oil flow in the three-phase fluid flow flowing into the lower cavity during the micro-metering period t22): following step 2-1, the flow integrating unit controls the inlet three-way reversing valve connected to the inlet three-phase fluid delivery main pipeline, so that the three-phase fluid in the inlet three-phase fluid delivery main pipeline continues to flow from the lower inlet into the lower cavity of the piston with a built-in liquid level sensing ring on the magnetostrictive liquid level gauge installed in the metering container through the inlet three-way reversing valve, and at the same time controls the outlet three-way reversing valve connected to the outlet three-phase fluid delivery main pipeline so that the three-phase fluid in the upper cavity of the piston with a built-in liquid level sensing ring on the magnetostrictive liquid level gauge installed in the metering container continues to flow out from the outlet three-phase fluid delivery main pipeline through the outlet three-way reversing valve from the upper outlet; at the same time, the flow integrating unit continues to time, and times until the end of the second micro-metering period t22, and the unit of t22 is seconds;

[0336] The liquid level measurement standard of the magnetostrictive liquid level gauge is: the lower inlet / outlet height is the starting or zero liquid level, and the higher inlet / outlet height is the ending or maximum liquid level;

[0337] When the flow totalizer continues timing and reaches the end of the second micro-metering period t22: the flow totalizer measures the liquid level height H through the lower liquid level induction ring on the magnetostrictive liquid level meter. 3t22 , in millimeters; at the same time, the height of the piston is measured by the built-in liquid level sensing ring in the piston of the magnetostrictive level gauge as H 2t22 , in millimeters; Q is calculated according to formula 8-2 gas工况 :

[0338]

[0339] Among them, Q gas工况 is the gas phase working condition flow rate in the micro-metering period t22, in cubic millimeters per second; the metering container is a cylinder, and the known bottom area is S in the design and processing, in square millimeters; H 3t21 When the flow integration unit reaches the end of the first micro-metering period t21: the flow integration unit measures the liquid level height through the lower liquid level induction ring on the magnetostrictive liquid level meter, the unit is millimeter; H 2t21 To simultaneously measure the height of the piston through the built-in liquid level sensing ring in the piston of the magnetostrictive level gauge, the unit is millimeter;

[0340] And calculate the liquid phase flow rate Q according to formula 9-2 liquid :

[0341]

[0342] Among them, Q liquid is the liquid phase flow rate during the t22 micro-metering period, in cubic millimeters per second;

[0343] During the t22 micro-metering period, the flow integration unit measures the average temperature T and the average pressure P respectively through the temperature sensor and the pressure sensor arranged at the upper end of the metering container body, and calculates the gas phase operating flow Q during the t22 micro-metering period using formula 8-2. gas工况 , calculate Q according to formula 10-2 gas标况 :

[0344]

[0345] Among them, Q gas标况 is the standard gas flow rate during the micro-metering period t22, in cubic millimeters per second; T 标况 Typically 293.15 Kelvin, P 标况 Usually 101.325 kPa; P 补偿 It is the sum of the pressure generated by the piston itself, the pressure generated by the upper liquid level sensing ring itself, and the pressure generated by the upper metering residual fluid, in kPa; P+P 补偿It is the average pressure at the lower end of the measuring container body.

[0346] Using the microwave principle water content measurement unit connected to the imported three-phase fluid transportation main pipeline, according to the different dielectric constants of oil, gas and water, the gas is removed to directly measure the average proportion of water in oil and water during the t22 micro-metering period, and then the liquid phase flow rate Q is calculated using formula 9-2 liquid :

[0347] If the oil-water slip ratio is approximately equal to 1, the water flow rate Q can be calculated by equations 11-2 and 12-2 respectively. water and oil flow Q oil :

[0348] Q water Q liquid *α Formula 11-2

[0349] Q oil =Q liquid *(1--α) Formula 12-2

[0350] Among them, Q oil is the oil flow rate during the micro-metering period t22, in cubic millimeters per second, Q water is the water flow rate in the micro-metering period t22, in cubic millimeters per second, α is the average proportion of water in the oil-water ratio in the micro-metering period t22, without units, and the oil-water slip ratio is determined in advance according to the characteristics of the three-phase fluid produced by the well site; or,

[0351] If the oil-water slip ratio is not approximately equal to 1, the compensation coefficient K is determined in advance according to the characteristics of the three-phase fluid produced by the well site. After compensation, the water flow rate Q is calculated using equations 13-2 and 14-2 respectively. water and oil flow Q oil :

[0352] Q water =Q liquid *α*K Formula 13-2

[0353] Q oil =Q liquid *(1--α)*K Formula 14-2

[0354] The above K is the compensation coefficient of the three-phase liquid produced by a specific well site, and has no unit;

[0355] Continue to step 2-2 and calculate to the nth micro-metering period t2n, in seconds; step 2-n (calculate the gas phase standard flow, water flow and oil flow in the three-phase fluid flow flowing into the lower chamber during the t2n micro-metering period): continue to step 2-(n-1), when the flow integrating unit continues to time and counts until the end of the nth micro-metering period t2n, that is, the flow integrating unit continues to time and counts until the piston of the built-in liquid level sensing ring is squeezed upward by the three-phase fluid to the preset upper switching point liquid level height: the flow integrating unit measures the liquid level height H through the lower liquid level sensing ring on the magnetostrictive level gauge 3t2n , in millimeters; at the same time, the height of the piston is measured by the built-in liquid level sensing ring in the piston of the magnetostrictive level gauge as H 2t2n , in millimeters; Q is calculated according to formula 8-n gas工况 :

[0356]

[0357] Among them, Q gas工况 is the gas phase working flow rate in the micro-metering period t2n, in cubic millimeters per second; the metering container is a cylinder, and the bottom area is S, in square millimeters; H 3t2(n-1) When the flow integration unit counts to the end of the n-1th micro-metering period t2(n-1), the flow integration unit measures the liquid level height through the lower liquid level sensing ring on the magnetostrictive liquid level gauge, in millimeters; H 2t2(n-1) To simultaneously measure the height of the piston through the built-in liquid level sensing ring in the piston of the magnetostrictive level gauge, the unit is millimeter; when n=1, H 3t20 =H 2t20 =0;

[0358] And calculate the liquid phase flow rate Q according to formula 9-n liquid :

[0359]

[0360] Among them, Q liquid is the liquid phase flow rate in the micro-metering period t2n, in cubic millimeters per second; when n=1, H 3t20 is 0;

[0361] During the t2n micro-metering period, the flow integration unit measures the average temperature T and the average pressure P respectively through the temperature sensor and the pressure sensor arranged at the upper end of the metering container body, and calculates the gas phase working condition flow Q during the t2n micro-metering period using formula 8-n. gas工况 , calculate Q according to formula 10-n gas标况 :

[0362]

[0363] Among them, Q gas标况 is the standard gas flow rate during the t2n micro-metering period, in cubic millimeters per second; T 标况 Typically 293.15 Kelvin, P 标况 Usually 101.325 kPa; P 补偿 It is the sum of the pressure generated by the piston itself, the pressure generated by the upper liquid level sensing ring itself, and the pressure generated by the upper metering residual fluid, in kPa; P+P 补偿 It is the average pressure at the lower end of the measuring container body.

[0364] Using the microwave principle water content measurement unit connected to the imported three-phase fluid transmission main pipeline, according to the different dielectric constants of oil, gas and water, the gas is removed to directly measure the average proportion of water in oil and water during the t2n micro-metering period, and then the liquid phase flow Q is calculated using formula 9-n liquid :

[0365] If the oil-water slip ratio is approximately equal to 1, the water flow rate Q can be calculated by equations 11-n and 12-n respectively. water and oil flow Q oil :

[0366] Q water =Q liquid *α Formula 11-n

[0367] Q oil =Q liquid *(1--α) Formula 12-n

[0368] Among them, Q oil is the oil flow rate during the micro-metering period t2n, in cubic millimeters per second, Q water is the water flow rate in the t2n micro-metering period, in cubic millimeters per second, α is the average proportion of water in the oil-water ratio in the t2n micro-metering period, without units, and the oil-water slip ratio is determined in advance according to the characteristics of the three-phase fluid produced by the well site; or,

[0369] If the oil-water slip ratio is not approximately equal to 1, the compensation coefficient K is determined in advance according to the characteristics of the three-phase fluid produced by the well site. After compensation, the water flow rate Q is calculated using equations 13-n and 14-n respectively. water and oil flow Q oil :

[0370] Q water =Q liquid *α*K Formula 13-n

[0371] Q oli =Q liquid *(1--α)*K Formula 14-n

[0372] The above K is the compensation coefficient of the three-phase liquid produced by a specific well site, and has no unit;

[0373] Then, the metering restarts from step 1-1, and is repeated in sequence from step 1-1, step 1-2, ..., step 1-n, step 2-1, step 2-2, ..., step 2-n, to measure the gas, oil and water flow rates in the three-phase fluid alternately online in real time.

[0374] The three-phase fluid in the above improved calculation method is crude oil or natural gas.

[0375] In the above improved calculation method, a pressure sensor is provided at the upper end and the lower end of the measuring container body, respectively, to measure the average pressure at the upper end and the lower end of the measuring container body in steps 1-1, step 1-2, ..., step 1-n, step 2-1, step 2-2, ..., step 2-n, respectively. The P in steps 2-1, step 2-2, ..., step 2-n is 补偿 is 0.

[0376] Example 2

[0377] Embodiment 2 is an improvement on Embodiment 1, in which the water content measuring unit arranged in the inlet three-phase fluid transport main pipeline in Embodiment 1 is arranged in the outlet three-phase fluid transport main pipeline. The rest of the structure is the same as that of Embodiment 1.

[0378] The difference between the calculation methods is that there is a time difference problem that cannot be ignored. For example, the fluid measured by the upper chamber of the piston in the measuring container does not immediately flow through the water content measurement unit. Therefore, in order to ensure the measurement accuracy, it is necessary to measure in time and step by step: First, in the first measurement period t1, the upper chamber of the piston in the container is measured, and only the Q of the upper chamber is measured. gas标况 , Q liquid Then, when the piston in the metering container reaches the upper switching point in the second metering period t2, the upper chamber Q is completed. water , Q Oil Measuring is equivalent to completing the measurement of the upper chamber; at the same time, in the second measuring period t2, the Q of the piston lower chamber in the measuring container is measured. gas标况 , Q liquid ; Then, when the piston in the metering container reaches the lower switching point in the third metering period t3, the lower chamber of the piston in the metering container is completed. water , Q Oil Metering is equivalent to completing the metering of the lower chamber, and this cycle is repeated. The specific calculation method is as follows: (e.g. Figure 6 (shown)

[0379] Step B1: Calculate the three-phase fluid flow rate Q of the three-phase fluid in the main pipeline of the imported three-phase fluid transport flowing into the upper chamber of the piston in the measuring container during the measurement period t1 gas标况 , Q liquid :

[0380] like Figure 2 As shown, Figure 1 The schematic diagram of the structure of the upper metering work end state of the three-phase fluid metering system shown in the figure. Figure 2 The marks in the middle are: 01 is the highest liquid level, 02 is the position of the upper liquid level sensing ring on the magnetostrictive level gauge, and 03 is the position where the piston moves to the lower switching point.

[0381] The flow integrating unit controls the inlet three-way reversing valve connected to the inlet three-phase fluid delivery main pipeline, so that the three-phase fluid in the inlet three-phase fluid delivery main pipeline begins to flow from the upper inlet into the upper cavity of the piston with a built-in liquid level sensing ring on the magnetostrictive liquid level gauge installed in the metering container through the inlet three-way reversing valve, and at the same time controls the outlet three-way reversing valve connected to the outlet three-phase fluid delivery main pipeline so that the three-phase fluid in the lower cavity of the piston with a built-in liquid level sensing ring on the magnetostrictive liquid level gauge installed in the metering container begins to flow out from the outlet three-phase fluid delivery main pipeline through the outlet three-way reversing valve from the lower outlet; at the same time, the flow integrating unit starts timing, and when the piston with the built-in liquid level sensing ring is squeezed downward by the three-phase fluid to the preset lower switching point liquid level height, the flow integrating unit times until the metering period t1 ends, and the unit of t1 is seconds;

[0382] The liquid level measurement standard of the magnetostrictive liquid level gauge is: the lower inlet / outlet height is the starting or zero liquid level, and the higher inlet / outlet height is the ending or maximum liquid level;

[0383] When the piston with the built-in liquid level sensing ring is pressed downward by the three-phase fluid to the preset lower switching point liquid level height, the flow totalizing unit measures the liquid level height H through the upper liquid level sensing ring on the magnetostrictive level gauge. 11 , in millimeters; Q is calculated according to formula B-1 gas工况 :

[0384]

[0385] Among them, Q gas工况 is the gas phase working condition flow rate in the said t1 metering period, in cubic millimeters per second; the distance from the end or maximum liquid level to the starting or zero liquid level is the known liquid level H designed and processed by the metering container, in millimeters; the said metering container is a cylinder, and the known bottom area designed and processed is S, in square millimeters;

[0386] During the t1 metering period, the flow integration unit measures the average temperature T and the average pressure P respectively through the temperature sensor and the pressure sensor arranged at the upper end of the metering container body, and then calculates the gas phase working flow Q using formula B-1. gas工况 , calculate Q according to formula B-2 gas标况 :

[0387]

[0388] Among them, Q gas标况 is the standard gas flow rate during the measurement period t1, in cubic millimeters per second; T 标况 Usually 293.15 Kelvin, T is the average temperature measured by the temperature sensor during the t1 measurement period, in Kelvin; P is the average pressure measured by the pressure sensor during the t1 measurement period, in kilopascals, P 标况 Usually 101.325 kPa;

[0389] When the piston moves to the lower switching point liquid level height, the flow totalizing unit measures the liquid level height H through the upper liquid level sensing ring on the magnetostrictive level gauge. 11 , in millimeters; at the same time, the height of the piston measured by the built-in liquid level sensing ring of the piston on the magnetostrictive level gauge is H 21 , in millimeters; Q is calculated according to formula B-3 liqiud :

[0390]

[0391] Among them, Q liquid is the liquid phase flow rate during the t1 measurement period, in cubic millimeters per second;

[0392] Step B2: Following step B1, calculate the water flow rate Q of the three-phase fluid in the upper chamber of the piston in the metering container and the three-phase fluid flow out of the outlet three-phase fluid delivery main pipeline during the metering period t2 water and oil flow Q oil :

[0393] like Figure 3 As shown, Figure 1 The schematic diagram of the structure of the three-phase fluid metering system at the end of the lower metering work is shown. Figure 3 The marks in the middle are: 001 is the position where the piston moves to the upper switching point, 002 is the position of the upper and lower liquid level sensing rings of the magnetostrictive level gauge, and 003 is the zero liquid level.

[0394] When the piston moves to the lower switching point liquid level, the flow integrating unit controls the inlet three-way reversing valve connected to the inlet three-phase fluid delivery main pipeline, so that the three-phase fluid in the inlet three-phase fluid delivery main pipeline begins to flow from the lower inlet into the lower cavity of the piston with a built-in liquid level sensing ring on the magnetostrictive liquid level gauge installed in the metering container through the inlet three-way reversing valve, and at the same time controls the outlet three-way reversing valve connected to the outlet three-phase fluid delivery main pipeline so that the three-phase fluid in the upper cavity of the piston with a built-in liquid level sensing ring on the magnetostrictive liquid level gauge installed in the metering container begins to flow out from the outlet three-phase fluid delivery main pipeline through the outlet three-way reversing valve from the upper outlet; at the same time, the flow integrating unit starts timing, and when the piston with the built-in liquid level sensing ring is squeezed upward by the three-phase fluid to the preset upper switching point liquid level, that is, the flow integrating unit times until the metering period t2 ends, and the unit of t2 is seconds;

[0395] Using the microwave principle water content measurement unit connected to the outlet three-phase fluid transmission main pipeline, according to the different dielectric constants of oil, gas and water, the gas is removed to directly measure the average proportion of water in oil and water in the t2 metering period, and then the liquid phase flow Q is calculated using formula B-3 (i.e. the previous metering period) liquid ;

[0396] If the oil-water slip ratio is approximately equal to 1, the water flow rate Q can be calculated by equations B-4 and B-5 respectively. water and oil flow Q oil :

[0397] Q water =Q liquid *α Formula B-4

[0398] Q oil =Q liquid *(1--α) Formula B-5

[0399] Among them, Q oil is the oil flow rate during the measurement period t2, in cubic millimeters per second, Q water is the water flow rate in the t2 measurement period, in cubic millimeters per second, α is the average proportion of water in the oil-water ratio in the t2 measurement period, without units, and the oil-water slip ratio is determined in advance according to the characteristics of the three-phase fluid produced by the well site; or,

[0400] If the oil-water slip ratio is not approximately equal to 1, the compensation coefficient K is determined in advance according to the characteristics of the three-phase fluid produced by the well site. After compensation, the water flow rate Q is calculated using formulas B-6 and B-7 respectively. water and oil flow Q oil :

[0401] Q water =Q liquid *α*K Formula B-6

[0402] Qoil =Q liquid *(1--α)*K Formula B-7

[0403] Where K is the compensation coefficient of the three-phase liquid produced by a specific well site, and has no unit;

[0404] At the same time, calculate the Q of the three-phase fluid in the three-phase fluid transport main pipeline flowing into the piston lower chamber of the measuring container during the t2 measurement period. gas标况 , Q liquid :

[0405] When the piston of the built-in liquid level sensing ring is squeezed upward to the preset upper switching point liquid level height, the flow totalizing unit measures the liquid level height H through the lower liquid level sensing ring on the magnetostrictive level gauge. 32 , in millimeters; at the same time, the height of the piston is measured by the built-in liquid level sensing ring in the piston of the magnetostrictive level gauge as H 22 , in millimeters; Q is calculated according to formula B-8 gas工况 :

[0406]

[0407] Among them, Q gas工况 is the gas phase working condition flow rate in the said t2 measuring period, in cubic millimeters per second; the said measuring container is a cylinder, and the bottom area is S in the design and processing, in square millimeters;

[0408] And calculate the liquid phase flow rate Q according to formula B-9 liquid :

[0409]

[0410] Among them, Q liquid is the liquid phase flow rate during the t2 measurement period, in cubic millimeters per second;

[0411] During the t2 metering period, the flow integration unit measures the average temperature T and the average pressure P respectively through the temperature sensor and the pressure sensor arranged at the upper end of the metering container body, and calculates the gas phase working flow Q during the t2 metering period using formula B-8. gas工况 , calculate Q according to formula B-10 gas标况 :

[0412]

[0413] Among them, Q gas标况 is the standard gas flow rate during the t2 measurement period, in cubic millimeters per second; T 标况 Typically 293.15 Kelvin, P 标况 Usually 101.325 kPa; P补偿 It is the sum of the pressure generated by the piston itself, the pressure generated by the upper liquid level sensing ring itself, and the pressure generated by the upper metering residual fluid, in kPa; P+P 补偿 It is the average pressure at the lower end of the measuring container body.

[0414] Step B3: Following step B2, calculate the flow rate Q of the three-phase fluid flowing from the main pipeline of the imported three-phase fluid into the piston upper chamber of the measuring container during the measuring period t3 gas标况 , Q liquid :

[0415] like Figure 2 As shown, Figure 1 The schematic diagram of the structure of the upper metering work end state of the three-phase fluid metering system shown in the figure. Figure 2 The marks in the middle are: 01 is the highest liquid level, 02 is the position of the upper liquid level sensing ring on the magnetostrictive level gauge, and 03 is the position where the piston moves to the lower switching point.

[0416] When the piston moves to the upper switching point liquid level, the flow integrating unit controls the inlet three-way reversing valve connected to the inlet three-phase fluid delivery main pipeline, so that the three-phase fluid in the inlet three-phase fluid delivery main pipeline begins to flow from the upper inlet into the upper cavity of the piston with a built-in liquid level sensing ring on the magnetostrictive liquid level gauge installed in the metering container through the inlet three-way reversing valve, and at the same time controls the outlet three-way reversing valve connected to the outlet three-phase fluid delivery main pipeline so that the three-phase fluid in the lower cavity of the piston with a built-in liquid level sensing ring on the magnetostrictive liquid level gauge installed in the metering container begins to flow out from the outlet three-phase fluid delivery main pipeline through the outlet three-way reversing valve from the lower outlet; at the same time, the flow integrating unit starts timing, and when the piston with the built-in liquid level sensing ring is squeezed downward by the three-phase fluid to the preset lower switching point liquid level, that is, the flow integrating unit times until the metering period t3 ends, and the unit of t3 is seconds;

[0417] The liquid level measurement standard of the magnetostrictive liquid level gauge is: the lower inlet / outlet height is the starting or zero liquid level, and the higher inlet / outlet height is the ending or maximum liquid level;

[0418] When the piston with the built-in liquid level sensing ring is pressed downward by the three-phase fluid to the preset lower switching point liquid level height, the flow totalizing unit measures the liquid level height H through the upper liquid level sensing ring on the magnetostrictive level gauge. 13 , in millimeters; Q is calculated according to formula B-11 gas工况 :

[0419]

[0420] Among them, Q gas工况is the gas phase working condition flow rate in the t3 measurement period, in cubic millimeters per second; the distance from the end or maximum liquid level to the start or zero liquid level is the known liquid level H designed and processed by the measuring container, in millimeters; the measuring container is a cylinder, and the known bottom area designed and processed is S, in square millimeters;

[0421] During the t3 metering period, the flow integration unit measures the average temperature T and the average pressure P respectively through the temperature sensor and the pressure sensor installed at the upper end of the metering container body, and then calculates the gas phase working flow Q using formula B-11. gas工况 , calculate Q according to formula B-12 gas标况 :

[0422]

[0423] Among them, Q gas标况 is the standard gas flow rate during the t3 measurement period, in cubic millimeters per second; T 标况 Usually 293.15 Kelvin, T is the average temperature measured by the temperature sensor during the t3 measurement period, in Kelvin; P is the average pressure measured by the pressure sensor during the t3 measurement period, in kilopascals, P 标况 Usually 101.325 kPa;

[0424] When the piston moves to the lower switching point liquid level height, the flow totalizing unit measures the liquid level height H through the upper liquid level sensing ring on the magnetostrictive level gauge. 13 , in millimeters; at the same time, the height of the piston measured by the built-in liquid level sensing ring of the piston on the magnetostrictive level gauge is H 23 , in millimeters; Q is calculated according to formula B-13 liqiud :

[0425]

[0426] Among them, Q liquid is the liquid phase flow rate during the t3 measurement period, in cubic millimeters per second;

[0427] At the same time, calculate the water flow Q of the three-phase fluid flow in the upper chamber of the piston in the measuring container and out of the outlet three-phase fluid transport main pipeline during the measuring period t3 water and oil flow Q oil :

[0428] Using the microwave principle water content measurement unit connected to the outlet three-phase fluid transmission main pipeline, according to the different dielectric constants of oil, gas and water, the gas is removed to directly measure the average proportion of water in oil and water in the t3 metering period, and then the liquid phase flow Q is calculated using formula B-9 (i.e. the previous metering period) liquid ;

[0429] If the oil-water slip ratio is approximately equal to 1, the water flow rate Q can be calculated by equations B-14 and B-15 respectively. water and oil flow Q oil :

[0430] Q water =Q liquid *α Formula B-14

[0431] Q oil =Q liquid *(1--α) Formula B-15

[0432] Among them, Q oil is the oil flow rate during the measurement period t3, in cubic millimeters per second, Q water is the water flow rate in the t3 measurement period, in cubic millimeters per second, α is the average proportion of water in the oil-water ratio in the t3 measurement period, without units, and the oil-water slip ratio is determined in advance according to the characteristics of the three-phase fluid produced by the well site; or,

[0433] If the oil-water slip ratio is not approximately equal to 1, the compensation coefficient K is determined in advance according to the characteristics of the three-phase fluid produced by the well site. After compensation, the water flow rate Q is calculated using formulas B-16 and B-17 respectively. water and oil flow Q oil :

[0434] Q water =Q liquid *α*K Formula B-16

[0435] Q oil =Q liquid *(1-α)*K Formula B-17

[0436] Where K is the compensation coefficient of the three-phase liquid produced by a specific well site, and has no unit;

[0437] Then, the metering starts again from step B2, and steps B2 and B3 are continuously repeated in sequence to measure the flow rates of gas, oil and water in the three-phase fluid in an online real-time alternating manner.

[0438] In this embodiment, the liquid level measurement reference of the magnetostrictive liquid level gauge in steps B1, B2, and B3 is: the lower inlet / outlet height is the starting or zero liquid level, and the upper inlet / outlet height is the ending or maximum liquid level.

[0439] In this embodiment, a pressure sensor is further provided at the lower end of the measuring container body to measure the average pressure at the lower end of the measuring container body. 补偿 is 0.

[0440] The three-phase fluid in this embodiment is crude oil or natural gas.

[0441] The calculation method in this embodiment can also be: starting from the t1 metering period, which is the time when the three-phase fluid in the imported three-phase fluid transportation main pipeline flows into the upper cavity of the piston in the metering container to the time when the three-phase fluid is squeezed on the piston to the upper switching point liquid level, and then the t2 metering period is the time when the three-phase fluid in the imported three-phase fluid transportation main pipeline flows into the lower cavity of the piston in the metering container to the time when the three-phase fluid is squeezed on the piston to the lower switching point liquid level, and then repeating the t3 metering period, which is the time when the three-phase fluid in the imported three-phase fluid transportation main pipeline flows into the upper cavity of the piston in the metering container to the time when the three-phase fluid is squeezed on the piston to the upper switching point liquid level, and repeating the real-time calculation of the t2 metering period and the t3 metering period in turn.

[0442] The standard flow rate in the present invention refers to the fluid flow rate measured under specific standard conditions. These standard conditions are usually set artificially to facilitate comparison and analysis of flow data under different conditions. Internationally, commonly used standard conditions include a temperature of 20°C (or 25°C), a pressure of 101.325 kPa (i.e., one atmosphere), and a humidity of 0% (or relative humidity). The flow rate measured under these standard conditions is called the standard flow rate.

[0443] The operating flow rate in the present invention refers to the flow rate measured under the actual working conditions of the fluid. These actual working conditions may include actual parameters such as temperature, pressure, viscosity of the fluid, and fluid mechanics conditions such as pipe diameter and flow rate. The operating flow rate directly reflects the flow state of the fluid in actual application and is an important parameter in the design and operation of the fluid system.

[0444] Although a specific three-phase fluid metering system is used as a specific embodiment and described in detail in the embodiment, of course, the above technical solution can also be applied to similar gas, water and oil two-phase separation devices, but they are all equivalent technical solutions, and the above detailed description cannot be used to limit the protection scope of the present invention; the protection scope of the present invention is based on the claims, and any variation scheme that includes the inventive points of the present invention and does not deviate from the purpose of the present invention falls within the protection scope of the present invention.

Claims

1. A three-phase fluid metering system, It is characterized in that include: A microwave-based moisture content measuring unit and a metering unit, as well as a flow totalizing unit electrically connected thereto, are arranged in series in a three-phase fluid transport main pipeline.

2. According to the three-phase fluid metering system of claim 1, It is characterized in that The metering unit comprises an inlet switching unit, an outlet switching unit and a metering container installed vertically on the ground; the metering container comprises a metering container body and at least one temperature sensor arranged thereon, a pressure sensor arranged at its upper end or / and lower end, a magnetostrictive liquid level gauge having a display unit arranged on its upper end surface and a liquid level sensing rod extending into its bottom surface, and an upper liquid level sensing ring, a piston with a built-in liquid level sensing ring and a lower liquid level sensing ring arranged in sequence from top to bottom in the metering container body and outside the liquid level sensing rod; the two outlets of the inlet switching unit are respectively connected to the upper and lower end sides of the metering container through a three-phase fluid pipeline, and the inlet of the inlet switching unit is connected to the inlet three-phase fluid transport main pipeline of the three-phase fluid transport main pipeline; the two inlets of the outlet switching unit are respectively connected to the upper and lower end sides of the metering container through a three-phase fluid pipeline, and the outlet of the outlet switching unit is connected to the outlet three-phase fluid transport main pipeline of the three-phase fluid transport main pipeline; The flow integrating unit is electrically connected to the inlet switching unit, the outlet switching unit, the temperature sensor, the pressure sensor, and the magnetostrictive liquid level meter respectively.

3. The three-phase fluid metering system according to claim 1 or 2, It is characterized in that The three-phase fluid is crude oil or natural gas.

4. The three-phase fluid metering system according to claim 1 or 2, It is characterized in that The microwave-based moisture content measuring unit is arranged in the inlet three-phase fluid transport main pipeline or in the outlet three-phase fluid transport main pipeline.

5. The three-phase fluid metering system according to claim 3, It is characterized in that The microwave-based moisture content measuring unit is arranged in the inlet three-phase fluid transport main pipeline or in the outlet three-phase fluid transport main pipeline.

6. A calculation method for three-phase fluid measurement, It is characterized in that The calculation method is as follows: Step 1-1: the flow integrating unit controls the inlet three-way reversing valve connected to the inlet three-phase fluid transport main pipeline, so that the three-phase fluid in the inlet three-phase fluid transport main pipeline begins to flow from the upper inlet into the upper cavity of the piston with a built-in liquid level sensing ring on the magnetostrictive liquid level gauge installed in the metering container through the inlet three-way reversing valve, and at the same time controls the outlet three-way reversing valve connected to the outlet three-phase fluid transport main pipeline so that the three-phase fluid in the lower cavity of the piston with a built-in liquid level sensing ring on the magnetostrictive liquid level gauge installed in the metering container begins to flow out of the outlet three-phase fluid transport main pipeline through the outlet three-way reversing valve from the lower outlet; at the same time, the flow integrating unit starts timing and counts until the end of the first micro-metering period t11, where the unit of t11 is seconds; When the flow totalizer counts to the end of the first micro-metering period t11, the flow totalizer measures the liquid level height H through the upper liquid level induction ring on the magnetostrictive liquid level meter. 1t 1 1 , in millimeters; Q is calculated according to formula 1-1 gas工况 : Among them, Q gas工况 is the gas phase operating flow rate during the t11 micro-metering period, in cubic millimeters per second; H 1t10 The distance from the end or maximum liquid level to the start or zero liquid level is the designed and processed known liquid level H, in millimeters; the measuring container is a cylinder, and the designed and processed known bottom area is S, in square millimeters; During the t11 micro-metering period, the flow integration unit measures the average temperature T and the average pressure P respectively through the temperature sensor and the pressure sensor arranged at the upper end of the metering container body, and then calculates the gas phase working flow Q using formula 1-1. gas工况 , calculate Q according to formula 2-1 gas标况 : Among them, Q gas标况 is the standard gas flow rate during the micro-metering period t11, in cubic millimeters per second; T 标况 Usually 293.15 Kelvin, T is the average temperature measured by the temperature sensor during the t11 micro-metering period, in Kelvin; P is the average pressure measured by the pressure sensor during the t11 micro-metering period, in kilopascals, P 标况 Usually 101.325 kPa; When the flow totalizer counts to the end of the first micro-metering period t11, the flow totalizer measures the liquid level height H through the upper liquid level induction ring on the magnetostrictive liquid level meter. 1t11 , in millimeters; at the same time, the height of the piston measured by the built-in liquid level sensing ring of the piston on the magnetostrictive level gauge is H 2t11 , in millimeters; Q is calculated according to formula 3-1 liquid : Among them, Q liguid is the liquid phase flow rate during the micro-metering period t11, in cubic millimeters per second; Using the microwave principle water content measurement unit connected to the imported three-phase fluid transportation main pipeline, according to the different dielectric constants of oil, gas and water, the gas is removed to directly measure the average proportion of water in the oil and water during the t11 micro-metering period, and then the liquid phase flow Q is calculated using formula 3-1 liquid : If the oil-water slip ratio is approximately equal to 1, the water flow rate Q can be calculated by equations 4-1 and 5-1 respectively. water and oil flow Q oil : Q water =Q liquid *α formula 4-1 Q oil =Q liquid *(1-α) formula 5-1 Among them, Q oil is the oil flow rate during the micro-metering period t11, in cubic millimeters per second, Q water is the water flow rate in the t11 micro-metering period, in cubic millimeters per second, α is the average proportion of oil and water in the t11 micro-metering period, without units, and the oil-water slip ratio is determined in advance according to the characteristics of the three-phase fluid produced by the well site; or, If the oil-water slip ratio is not approximately equal to 1, the compensation coefficient K is determined in advance according to the characteristics of the three-phase fluid produced by the well site. After compensation, the water flow rate Q is calculated using equations 6-1 and 7-1 respectively. water and oil flow Q oil : Q water =Q liquid *α*K Formula 6-1 Q oil =Q liquid *(1-α)*K Formula 7-1 Where K is the compensation coefficient of the three-phase liquid produced by a specific well site, and has no unit; Step 1-2: Following step 1-1, the flow integrating unit controls the inlet three-way reversing valve connected to the inlet three-phase fluid delivery main pipeline, so that the three-phase fluid in the inlet three-phase fluid delivery main pipeline continues to flow from the upper inlet into the upper cavity of the piston with a built-in liquid level sensing ring on the magnetostrictive liquid level gauge installed in the metering container through the inlet three-way reversing valve, and at the same time controls the outlet three-way reversing valve connected to the outlet three-phase fluid delivery main pipeline so that the three-phase fluid in the lower cavity of the piston with a built-in liquid level sensing ring on the magnetostrictive liquid level gauge installed in the metering container continues to flow out from the outlet three-phase fluid delivery main pipeline through the outlet three-way reversing valve from the lower outlet; at the same time, the flow integrating unit continues to time, and times until the end of the second micro-metering period t12, where the unit of t12 is seconds; When the flow totalizer reaches the end of the second micro-metering period t12, the flow totalizer measures the liquid level height H through the upper liquid level induction ring on the magnetostrictive liquid level meter. 1 t 12 , in millimeters; Q is calculated according to formula 1-2 gas工况 : Among them, Q gas工况 is the gas phase operating flow rate during the micro-metering period t12, in cubic millimeters per second; H 1t11 is the liquid level height measured by the upper liquid level sensing ring at the end of the first micro-metering period, in millimeters; the metering container is a cylinder, and the known bottom area is S in square millimeters; During the t12 micro-metering period, the flow integrator measures the average temperature T and the average pressure P respectively through the temperature sensor and the pressure sensor arranged at the upper end of the metering container body, and then calculates the gas phase working flow Q using formula 1-2. gas工况 , calculate Q according to formula 2-2 gas标况 : Among them, Q gas标况 is the standard gas flow rate during the micro-metering period t12, in cubic millimeters per second; T 标况 Usually 293.15 Kelvin, T is the average temperature measured by the temperature sensor during the t12 micro-metering period, in Kelvin; P is the average pressure measured by the pressure sensor during the t12 micro-metering period, in kilopascals, P 标况 Usually 101.325 kPa; When the flow totalizer reaches the end of the second micro-metering period t12, the flow totalizer measures the liquid level height H through the upper liquid level induction ring on the magnetostrictive liquid level meter. 1t12 , in millimeters; at the same time, the height of the piston measured by the built-in liquid level sensing ring of the piston on the magnetostrictive level gauge is H 2t12 , in millimeters; Q is calculated according to formula 3-2 liquid : Among them, Q liquid is the liquid phase flow rate in the micro-metering period t12, in cubic millimeters per second; H 1t11 When the flow integrating unit counts to the end of the first micro-metering period t11, the flow integrating unit measures the liquid level height through the upper liquid level sensing ring on the magnetostrictive liquid level gauge, in millimeters; H 2t11 It is the height of the piston measured by the built-in liquid level sensing ring of the piston on the magnetostrictive level gauge, in millimeters; Using the microwave principle water content measurement unit connected to the imported three-phase fluid transportation main pipeline, according to the different dielectric constants of oil, gas and water, the gas is removed to directly measure the average proportion of water in the oil and water during the t12 micro-metering period, and then the liquid phase flow Q is calculated using formula 3-2 liquid : If the oil-water slip ratio is approximately equal to 1, the water flow rate Q can be calculated by equations 4-2 and 5-2 respectively. water and oil flow Q oil : Q water =Q liquid *α formula 4-2 Q oil =Q liquid *(1-α) formula 5-2 Among them, Q oil is the oil flow rate during the micro-metering period t12, in cubic millimeters per second, Q water is the water flow rate in the micro-metering period t12, in cubic millimeters per second, α is the average proportion of oil and water in the micro-metering period t12, without units, and the oil-water slip ratio is determined in advance according to the characteristics of the three-phase fluid produced by the well site; or, If the oil-water slip ratio is not approximately equal to 1, the compensation coefficient K is determined in advance according to the characteristics of the three-phase fluid produced by the well site. After compensation, the water flow rate Q is calculated using equations 6-2 and 7-2 respectively. water and oil flow Q oil : Q water =Q liquid *α*K Formula 6-2 Q oil =Q liquid *(1-α)*K Formula 7-2 Where K is the compensation coefficient of the three-phase liquid produced by a specific well site, and has no unit; Continue to follow step 1-2 to calculate until the end of the nth micro-metering period t1n, where the unit of t1n is seconds; step 1-n: following step 1-n-1, the flow integration unit controls the inlet three-way reversing valve connected to the inlet three-phase fluid delivery main pipeline, so that the three-phase fluid in the inlet three-phase fluid delivery main pipeline continues to flow from the upper inlet into the upper cavity of the piston with a built-in liquid level sensing ring on the magnetostrictive liquid level gauge installed in the metering container through the inlet three-way reversing valve, and at the same time controls the outlet three-way reversing valve connected to the outlet three-phase fluid delivery main pipeline so that the three-phase fluid in the lower cavity of the piston with a built-in liquid level sensing ring on the magnetostrictive liquid level gauge installed in the metering container continues to flow out from the outlet three-phase fluid delivery main pipeline through the outlet three-way reversing valve from the lower outlet; at the same time, the flow integration unit continues to time, and times until the piston with the built-in liquid level sensing ring is squeezed downward by the three-phase fluid to the preset lower switching point liquid level height, that is, until the flow integration unit times until the end of the nth micro-metering period t1n; When the flow integration unit counts to the end of the nth micro-metering period t1n, the flow integration unit measures the liquid level height H through the upper liquid level induction ring on the magnetostrictive liquid level meter. 1 t 1n , in millimeters; calculate Q according to formula 1-n gas工况 : Among them, Q gas工况 is the gas phase operating flow rate during the micro-metering period t1n, in cubic millimeters per second; H 1t1(n-1) is the liquid level height measured by the upper liquid level sensing ring at the end of the n-1th micro-metering period, in millimeters; the metering container is a cylinder, and the known bottom area is S in square millimeters; During the micro-metering period t1n, the flow integrator measures the average temperature T and the average pressure P respectively through the temperature sensor and the pressure sensor arranged at the upper end of the metering container body, and then calculates the gas phase working flow Q using formula 1-n. gas工况 , calculate Q according to formula 2-n gas标况 : Among them, Q gas标况 is the standard gas flow rate during the micro-metering period t1n, in cubic millimeters per second; T 标况 Usually 293.15 Kelvin, T is the average temperature measured by the temperature sensor during the t1n micro-metering period, in Kelvin; P is the average pressure measured by the pressure sensor during the t1n micro-metering period, in kPa, P 标况 Usually 101.325 kPa; When the flow integration unit counts to the end of the nth micro-metering period t1n, the flow integration unit measures the liquid level height H through the upper liquid level induction ring on the magnetostrictive liquid level meter. 1t1n , in millimeters; at the same time, the height of the piston measured by the built-in liquid level sensing ring of the piston on the magnetostrictive level gauge is H 2t1n , in millimeters; according to formula 3-n, (Q liquid : Among them, Q liquid is the liquid phase flow rate during the micro-metering period t1n, in cubic millimeters per second; H 1t1(n-1) When the flow integrating unit counts to the end of the n-1th micro-metering period t1(n-1), the flow integrating unit measures the liquid level height through the upper liquid level sensing ring on the magnetostrictive liquid level gauge; H 2t1 (n- 1) It is the height of the piston measured by the built-in liquid level sensing ring of the piston on the magnetostrictive level gauge by the flow totalizing unit at the same time; Using the microwave-based water content measurement unit connected to the imported three-phase fluid transport main pipeline, according to the different dielectric constants of oil, gas and water, the gas is removed to directly measure the average proportion of water in the oil and water in the t1n micro-metering period, and then the liquid phase flow Qliquid is calculated using formula 3-n: If the oil-water slip ratio is approximately equal to 1, the water flow rate Q can be calculated by equations 4-n and 5-n respectively. water and oil flow Q oil : Q water = Q liquid *α formula 4-n Q oil =Q liquid *(1-α) formula 5-n Among them, Q oil is the oil flow rate during the micro-metering period t1n, in cubic millimeters per second, Q water is the water flow rate in the micro-metering period t1n, in cubic millimeters per second, α is the average proportion of oil and water in the micro-metering period t1n, without units, and the oil-water slip ratio is determined in advance according to the characteristics of the three-phase fluid produced by the well site; or, If the oil-water slip ratio is not approximately equal to 1, the compensation coefficient K is determined in advance according to the characteristics of the three-phase fluid produced by the well site. After compensation, the water flow rate Q is calculated using equations 6-n and 7-n respectively. water and oil flow Q oil : Q water = Q liquid *α*K Formula 6-n Q oil = Q liquid *(1 - α)*K Equation 7 - n Where K is the compensation coefficient of the three-phase liquid produced by a specific well site, and has no unit; Step 2-1: Continuing from step 1-n, when the piston moves to the liquid level height of the lower switching point, the flow integrating unit controls the inlet three-way reversing valve connected to the inlet three-phase fluid delivery main pipeline, so that the three-phase fluid in the inlet three-phase fluid delivery main pipeline begins to flow from the lower inlet through the inlet three-way reversing valve into the lower cavity of the piston with a built-in liquid level sensing ring on the magnetostrictive liquid level gauge installed in the metering container, and at the same time controls the outlet three-way reversing valve connected to the outlet three-phase fluid delivery main pipeline so that the three-phase fluid in the upper cavity of the piston with a built-in liquid level sensing ring on the magnetostrictive liquid level gauge installed in the metering container begins to flow out of the outlet three-phase fluid delivery main pipeline through the outlet three-way reversing valve from the upper outlet; at the same time, the flow integrating unit starts timing, and timing until the end of the first micro-metering period t21, the unit of t21 is seconds; When the flow totalizer counts to the end of the first micro-metering period t21, the flow totalizer measures the liquid level height H through the lower liquid level induction ring on the magnetostrictive liquid level meter. 3t21 , in millimeters; at the same time, the height of the piston is measured by the built-in liquid level sensing ring in the piston of the magnetostrictive level gauge as H 2t21 , in millimeters; Q is calculated according to formula 8-1 gas工况 : Among them, Q gas工况 is the gas phase working condition flow rate in the t21 micro-metering period, in cubic millimeters per second; the metering container is a cylinder, and the known bottom area is S in the design and processing, in square millimeters; And calculate the liquid phase flow rate Q according to formula 9-1 liquid : Wherein, Qliquid is the liquid phase flow rate in the micro-metering period t21, in cubic millimeters per second; During the t21 micro-metering period, the flow integration unit measures the average temperature T and the average pressure P respectively through the temperature sensor and the pressure sensor arranged at the upper end of the metering container body, and calculates the gas phase operating flow Q during the t21 micro-metering period using formula 8-1. gas工况 , calculate Q according to formula 10-1 gas标况 : Among them, Q gas标况 is the standard gas flow rate during the micro-metering period t21, in cubic millimeters per second; T 标况 Typically 293.15 Kelvin, P 标况 Usually 101.325 kPa; P 办偿 It is the sum of the pressure generated by the piston itself, the pressure generated by the upper liquid level sensing ring itself, and the pressure generated by the upper metering residual fluid, in kPa; P+P 办偿 is the average pressure at the lower end of the measuring container body; Using the microwave principle water content measurement unit connected to the imported three-phase fluid transportation main pipeline, according to the different dielectric constants of oil, gas and water, the gas is removed to directly measure the average proportion of water in oil and water during the t21 micro-metering period, and then the liquid phase flow Qliquid is calculated using formula 9-1: If the oil-water slip ratio is approximately equal to 1, the water flow rate Q can be calculated by equations 11-1 and 12-1 respectively. water and oil flow Q oil : Q water =Q liquid *α formula 11-1 Q oil =Q liquid *(1-α) formula 12-1 Among them, Q oil is the oil flow rate during the t21 micro-metering period, in cubic millimeters per second, Q water is the water flow rate in the t21 micro-metering period, in cubic millimeters per second, α is the average proportion of oil and water in the t21 micro-metering period, without units, and the oil-water slip ratio is determined in advance according to the characteristics of the three-phase fluid produced by the well site; or, If the oil-water slip ratio is not approximately equal to 1, the compensation coefficient K is determined in advance according to the characteristics of the three-phase fluid produced by the well site. After compensation, the water flow rate Q is calculated using equations 13-1 and 14-1 respectively. water and oil flow Q oil : Q water =Q liquid *α*K Formula 13-1 Q oil =Q liquid *(1-α)*K Formula 14-1 The above K is the compensation coefficient of the three-phase liquid produced by a specific well site, and has no unit; Step 2-2: Following step 2-1, the flow integrating unit controls the inlet three-way reversing valve connected to the inlet three-phase fluid delivery main pipeline, so that the three-phase fluid in the inlet three-phase fluid delivery main pipeline continues to flow from the lower inlet into the lower cavity of the piston with a built-in liquid level sensing ring on the magnetostrictive liquid level gauge installed in the metering container through the inlet three-way reversing valve, and at the same time controls the outlet three-way reversing valve connected to the outlet three-phase fluid delivery main pipeline so that the three-phase fluid in the upper cavity of the piston with a built-in liquid level sensing ring on the magnetostrictive liquid level gauge installed in the metering container continues to flow out from the outlet three-phase fluid delivery main pipeline through the outlet three-way reversing valve from the upper outlet; at the same time, the flow integrating unit continues to time, and times until the end of the second micro-metering period t22, where the unit of t22 is seconds; When the flow totalizer continues timing and reaches the end of the second micro-metering period t22: the flow totalizer measures the liquid level height H through the lower liquid level induction ring on the magnetostrictive liquid level meter. 3t22 , in millimeters; at the same time, the height of the piston is measured by the built-in liquid level sensing ring in the piston of the magnetostrictive level gauge as H 2t22 , in millimeters; Q is calculated according to formula 8-2 gas工况 : Among them, Q gas工况 is the gas phase working condition flow rate in the micro-metering period t22, in cubic millimeters per second; the metering container is a cylinder, and the known bottom area is S in the design and processing, in square millimeters; H 3t21 When the flow integration unit reaches the end of the first micro-metering period t21: the flow integration unit measures the liquid level height through the lower liquid level induction ring on the magnetostrictive liquid level meter, the unit is millimeter; H 2t21 To simultaneously measure the height of the piston through the built-in liquid level sensing ring in the piston of the magnetostrictive level gauge, the unit is millimeter; And calculate the liquid phase flow rate Qliquid according to formula 9-2: Among them, Q liquid is the liquid phase flow rate during the t22 micro-metering period, in cubic millimeters per second; During the t22 micro-metering period, the flow integration unit measures the average temperature T and the average pressure P respectively through the temperature sensor and the pressure sensor arranged at the upper end of the metering container body, and calculates the gas phase operating flow Q during the t22 micro-metering period using formula 8-2. gas工况 , calculate Q according to formula 10-2 gas标况 : Among them, Q gas标况 is the standard gas flow rate during the micro-metering period t22, in cubic millimeters per second; T 标况 Typically 293.15 Kelvin, P 标况 Usually 101.325 kPa; P 办偿 It is the sum of the pressure generated by the piston itself, the pressure generated by the upper liquid level sensing ring itself, and the pressure generated by the upper metering residual fluid, in kPa; P+P 办偿 is the average pressure at the lower end of the measuring container body; Using the microwave-based water content measurement unit connected to the imported three-phase fluid transport main pipeline, according to the different dielectric constants of oil, gas and water, the gas is removed to directly measure the average proportion of water in oil and water during the t22 micro-metering period, and then the liquid phase flow Qliquid is calculated using formula 9-2: If the oil-water slip ratio is approximately equal to 1, the water flow rate Q can be calculated by equations 11-2 and 12-2 respectively. water and oil flow Q oil : Q water =Q liquid *α formula 11-2 Q oil =Q liquid *(1-α) formula 12-2 Among them, Q oil is the oil flow rate during the micro-metering period t22, in cubic millimeters per second, Q water is the water flow rate in the micro-metering period t22, in cubic millimeters per second, α is the average proportion of water in the oil-water ratio in the micro-metering period t22, without units, and the oil-water slip ratio is determined in advance according to the characteristics of the three-phase fluid produced by the well site; or, If the oil-water slip ratio is not approximately equal to 1, the compensation coefficient K is determined in advance according to the characteristics of the three-phase fluid produced by the well site. After compensation, the water flow rate Q is calculated using equations 13-2 and 14-2 respectively. water and oil flow Q oil : Q water =Q liquid *α*K Formula 13-2 Q oil =Q liquid *(1-α)*K Formula 14-2 The above K is the compensation coefficient of the three-phase liquid produced by a specific well site, and has no unit; Continue to step 2-2 and calculate to the nth micro-metering period t2n, the unit of which is seconds; step 2-n: continue to step 2-(n-1), similarly, when the flow integrating unit continues to time and counts to the end of the nth micro-metering period t2n, that is, the flow integrating unit continues to time and counts to the time when the piston of the built-in liquid level sensing ring is squeezed upward by the three-phase fluid to the preset upper switching point liquid level height: the flow integrating unit measures the liquid level height H through the lower liquid level sensing ring on the magnetostrictive level meter 3t2n , in millimeters; at the same time, the height of the piston is measured by the built-in liquid level sensing ring in the piston of the magnetostrictive level gauge as H 2t2n , in millimeters; Q is calculated according to formula 8-n gas工况 : Among them, Q gas工况 is the gas phase working flow rate in the micro-metering period t2n, in cubic millimeters per second; the metering container is a cylinder, and the bottom area is S, in square millimeters; H 3t2(n-1) When the flow integration unit counts to the end of the n-1th micro-metering period t2(n-1), the flow integration unit measures the liquid level height through the lower liquid level induction ring on the magnetostrictive liquid level gauge, and the unit is mm H 2t2(n-1) To simultaneously measure the height of the piston through the built-in liquid level sensing ring in the piston of the magnetostrictive level gauge, the unit is millimeter; And calculate the liquid phase flow rate Q according to formula 9-n liquid : Wherein, Qliquid is the liquid phase flow rate in the t2n micro-metering period, in cubic millimeters per second; During the t2n micro-metering period, the flow integration unit measures the average temperature T and the average pressure P respectively through the temperature sensor and the pressure sensor arranged at the upper end of the metering container body, and calculates the gas phase working condition flow Q during the t2n micro-metering period using formula 8-n. gas工况 , calculate Q according to formula 10-n gas标况 : Among them, Q gas标况 is the standard gas flow rate during the t2n micro-metering period, in cubic millimeters per second; T 标况 Typically 293.15 Kelvin, P 标况 Usually 101.325 kPa; P 办偿 It is the sum of the pressure generated by the piston itself, the pressure generated by the upper liquid level sensing ring itself, and the pressure generated by the upper metering residual fluid, in kPa; P+P 补偿 is the average pressure at the lower end of the measuring container body; Using the microwave principle water content measurement unit connected to the imported three-phase fluid transportation main pipeline, according to the different dielectric constants of oil, gas and water, the gas is removed to directly measure the average proportion of water in oil and water during the t2n micro-metering period, and then the liquid phase flow Qliquid is calculated using formula 9-n: If the oil-water slip ratio is approximately equal to 1, the water flow rate Q can be calculated by equations 11-n and 12-n respectively. water and oil flow Q oil : Q water = Q liquid * α Formula 11 - n Q oil =Q liquid *(1-α) formula 12-n Among them, Q oil is the oil flow rate during the micro-metering period t2n, in cubic millimeters per second, Q water is the water flow rate in the t2n micro-metering period, in cubic millimeters per second, α is the average proportion of water in the oil-water ratio in the t2n micro-metering period, without units, and the oil-water slip ratio is determined in advance according to the characteristics of the three-phase fluid produced by the well site; or, If the oil-water slip ratio is not approximately equal to 1, the compensation coefficient K is determined in advance according to the characteristics of the three-phase fluid produced by the well site. After compensation, the water flow rate Q is calculated using equations 13-n and 14-n respectively. water and oil flow Q oil : Q water = Q liquid *α*K Formula 13-n Q oil = Q liquid *(1 - α)*K Equation 14-n The above K is the compensation coefficient of the three-phase liquid produced by a specific well site, and has no unit; Then, the measurement starts again from step 1-1, and is continuously repeated from step 1-1, step 1-2, ..., step 1-n, step 2-1, step 2-2, ..., step 2-n in sequence, and the flow rates of gas, oil, and water in the three-phase fluid are measured alternately online in real time; The liquid level measurement reference of the magnetostrictive liquid level gauge in step 1-1, step 1-2, ..., step 1-n, step 2-1, step 2-2, ..., step 2-n is: the lower inlet / outlet height is the starting or zero liquid level, and the upper inlet / outlet height is the ending or maximum liquid level.

7. The calculation method according to claim 6, It is characterized in that A pressure sensor is also provided at the lower end of the measuring container body to measure the average pressure at the lower end of the measuring container body in steps 2-1, 2-2, ..., and 2-n, respectively. 补偿 is 0.

8. The calculation method according to claim 6 or 7, It is characterized in that In the steps 1-1, 1-2, ..., and 1-n, n is 1 in the n-th micro-metering period; or / and, in the steps 2-1, 2-2, ..., and 2-n, n is 1 in the n-th micro-metering period.

9. The calculation method according to claim 6 or 7, It is characterized in that The three-phase fluid is crude oil or natural gas.

10. The calculation method according to claim 8, It is characterized in that The three-phase fluid is crude oil or natural gas.

11. A calculation method for three-phase fluid measurement, It is characterized in that The calculation method is as follows: Step B1: Calculate the three-phase fluid flow rate Q of the three-phase fluid in the main pipeline of the imported three-phase fluid transport flowing into the upper chamber of the piston in the measuring container during the measurement period t1 gas标况 , Q liguid : The flow integrating unit controls the inlet three-way reversing valve connected to the inlet three-phase fluid delivery main pipeline, so that the three-phase fluid in the inlet three-phase fluid delivery main pipeline begins to flow from the upper inlet into the upper cavity of the piston with a built-in liquid level sensing ring on the magnetostrictive liquid level gauge installed in the metering container through the inlet three-way reversing valve, and at the same time controls the outlet three-way reversing valve connected to the outlet three-phase fluid delivery main pipeline so that the three-phase fluid in the lower cavity of the piston with a built-in liquid level sensing ring on the magnetostrictive liquid level gauge installed in the metering container begins to flow out from the outlet three-phase fluid delivery main pipeline through the outlet three-way reversing valve from the lower outlet; at the same time, the flow integrating unit starts timing, and when the piston with the built-in liquid level sensing ring is squeezed downward by the three-phase fluid to the preset lower switching point liquid level height, the flow integrating unit times until the metering period t1 ends, and the unit of t1 is seconds; When the piston with the built-in liquid level sensing ring is pressed downward by the three-phase fluid to the preset lower switching point liquid level height, the flow totalizing unit measures the liquid level height H through the upper liquid level sensing ring on the magnetostrictive level gauge. 11 , in millimeters; Q is calculated according to formula B-1 gas工况 : Among them, Q gas工况 is the gas phase working condition flow rate in the said t1 metering period, in cubic millimeters per second; the distance from the end or maximum liquid level to the starting or zero liquid level is the known liquid level H designed and processed by the metering container, in millimeters; the said metering container is a cylinder, and the known bottom area designed and processed is S, in square millimeters; During the t1 metering period, the flow integration unit measures the average temperature T and the average pressure P respectively through the temperature sensor and the pressure sensor arranged at the upper end of the metering container body, and then calculates the gas phase working flow Q using formula B-1. gas工况 , calculate Q according to formula B-2 gas标况 : Among them, Q gas标况 is the standard gas flow rate during the measurement period t1, in cubic millimeters per second; T 标况 Usually 293.15 Kelvin, T is the average temperature measured by the temperature sensor during the t1 measurement period, in Kelvin; P is the average pressure measured by the pressure sensor during the t1 measurement period, in kilopascals, P 标况 Usually 101.325 kPa; When the piston moves to the lower switching point liquid level height, the flow totalizing unit measures the liquid level height H through the upper liquid level sensing ring on the magnetostrictive level gauge. 11 , in millimeters; at the same time, the height of the piston measured by the built-in liquid level sensing ring of the piston on the magnetostrictive level gauge is H 21 , in millimeters; Q is calculated according to formula B-3 liquid : Among them, Q liquid is the liquid phase flow rate during the t1 measurement period, in cubic millimeters per second; Step B2: Following step B1, calculate the water flow rate Q of the three-phase fluid in the upper chamber of the piston in the metering container and the three-phase fluid flow out of the outlet three-phase fluid delivery main pipeline during the metering period t2 water and oil flow Q oil : When the piston moves to the lower switching point liquid level, the flow integrating unit controls the inlet three-way reversing valve connected to the inlet three-phase fluid delivery main pipeline, so that the three-phase fluid in the inlet three-phase fluid delivery main pipeline begins to flow from the lower inlet into the lower cavity of the piston with a built-in liquid level sensing ring on the magnetostrictive liquid level gauge installed in the metering container through the inlet three-way reversing valve, and at the same time controls the outlet three-way reversing valve connected to the outlet three-phase fluid delivery main pipeline so that the three-phase fluid in the upper cavity of the piston with a built-in liquid level sensing ring on the magnetostrictive liquid level gauge installed in the metering container begins to flow out from the outlet three-phase fluid delivery main pipeline through the outlet three-way reversing valve from the upper outlet; at the same time, the flow integrating unit starts timing, and when the piston with the built-in liquid level sensing ring is squeezed upward by the three-phase fluid to the preset upper switching point liquid level, that is, the flow integrating unit times until the metering period t2 ends, and the unit of t2 is seconds; Using the microwave-based water content measurement unit connected to the outlet three-phase fluid transport main pipeline, according to the different dielectric constants of oil, gas and water, the gas is removed to directly measure the average proportion of water in oil and water in the t2 metering period, and then the liquid flow Qliquid calculated in the previous metering period is used: If the oil-water slip ratio is approximately equal to 1, the water flow rate Q can be calculated by equations B-4 and B-5 respectively. water and oil flow Q oil : Q water = Q liquid * α formula B-4 Q oil = Q liquid *(1 - α) Equation B-5 Among them, Q oil is the oil flow rate during the measurement period t2, in cubic millimeters per second, Q water is the water flow rate in the t2 measurement period, in cubic millimeters per second, α is the average proportion of water in the oil-water ratio in the t2 measurement period, without units, and the oil-water slip ratio is determined in advance according to the characteristics of the three-phase fluid produced by the well site; or, If the oil-water slip ratio is not approximately equal to 1, the compensation coefficient K is determined in advance according to the characteristics of the three-phase fluid produced by the well site. After compensation, the water flow rate Q is calculated using formulas B-6 and B-7 respectively. water and oil flow Q oil : Q water =Q liquid *a*K Type B-6 Q oil = Q liquid *(1 - α)*K Equation B-7 Where K is the compensation coefficient of the three-phase liquid produced by a specific well site, and has no unit; At the same time, calculate the three-phase fluid flow rate Q of the three-phase fluid in the main pipeline of the imported three-phase fluid transport flowing into the piston lower chamber of the measuring container during the t2 measurement period gas标况 , Q liquid : When the piston of the built-in liquid level sensing ring is squeezed upward to the preset upper switching point liquid level height, the flow totalizing unit measures the liquid level height H through the lower liquid level sensing ring on the magnetostrictive level gauge. 32 , in millimeters; at the same time, the height of the piston is measured by the built-in liquid level sensing ring in the piston of the magnetostrictive level gauge as H 22 , in millimeters; Qgas is calculated according to formula B-8 工况 : Among them, Q gas工况 is the gas phase working condition flow rate in the said t2 measuring period, in cubic millimeters per second; the said measuring container is a cylinder, and the bottom area is S in the design and processing, in square millimeters; And calculate the liquid phase flow rate Q according to formula B-9 liquid : Among them, Q liquid is the liquid phase flow rate during the t2 measurement period, in cubic millimeters per second; During the t2 metering period, the flow integration unit measures the average temperature T and the average pressure P respectively through the temperature sensor and the pressure sensor arranged at the upper end of the metering container body, and calculates the gas phase working flow Q during the t2 metering period using formula B-8. gas工况 , calculate Q according to formula B-10 gas标况 : Among them, Q gas标况 is the standard gas flow rate during the t2 measurement period, in cubic millimeters per second; T 标况 Typically 293.15 Kelvin, P 标况 Usually 101.325 kPa; P 补偿 It is the sum of the pressure generated by the piston itself, the pressure generated by the upper liquid level sensing ring itself, and the pressure generated by the upper metering residual fluid, in kPa; P+P 补偿 is the average pressure at the lower end of the measuring container body; Step B3: Following step B2, calculate the three-phase fluid flow rate Q of the three-phase fluid in the main pipeline of the imported three-phase fluid transport flowing into the upper chamber of the piston in the measuring container during the measurement period t3 gas标况 , Q liquid : When the piston moves to the upper switching point liquid level, the flow integrating unit controls the inlet three-way reversing valve connected to the inlet three-phase fluid delivery main pipeline, so that the three-phase fluid in the inlet three-phase fluid delivery main pipeline begins to flow from the upper inlet into the upper cavity of the piston with a built-in liquid level sensing ring on the magnetostrictive liquid level gauge installed in the metering container through the inlet three-way reversing valve, and at the same time controls the outlet three-way reversing valve connected to the outlet three-phase fluid delivery main pipeline so that the three-phase fluid in the lower cavity of the piston with a built-in liquid level sensing ring on the magnetostrictive liquid level gauge installed in the metering container begins to flow out from the outlet three-phase fluid delivery main pipeline through the outlet three-way reversing valve from the lower outlet; at the same time, the flow integrating unit starts timing, and when the piston with the built-in liquid level sensing ring is squeezed downward by the three-phase fluid to the preset lower switching point liquid level, that is, the flow integrating unit times until the metering period t3 ends, and the unit of t3 is seconds; When the piston with the built-in liquid level sensing ring is pressed downward by the three-phase fluid to the preset lower switching point liquid level height, the flow totalizing unit measures the liquid level height H through the upper liquid level sensing ring on the magnetostrictive level gauge. 13 , in millimeters; Q is calculated according to formula B-11 gas工况 : Among them, Q gas工况 is the gas phase working condition flow rate in the t3 measurement period, in cubic millimeters per second; the distance from the end or maximum liquid level to the start or zero liquid level is the known liquid level H designed and processed by the measuring container, in millimeters; the measuring container is a cylinder, and the known bottom area designed and processed is S, in square millimeters; During the t3 metering period, the flow integration unit measures the average temperature T and the average pressure P respectively through the temperature sensor and the pressure sensor installed at the upper end of the metering container body, and then calculates the gas phase working flow Q using formula B-11. gas工况 , calculate Q according to formula B-12 gas标况 : Among them, Q gas标况 is the standard gas flow rate during the t3 measurement period, in cubic millimeters per second; T 标况 Usually 293.15 Kelvin, T is the average temperature measured by the temperature sensor during the t3 measurement period, in Kelvin; P is the average pressure measured by the pressure sensor during the t3 measurement period, in kPa, P 标况 Usually 101.325 kPa; When the piston moves to the lower switching point liquid level height, the flow totalizing unit measures the liquid level height H through the upper liquid level sensing ring on the magnetostrictive level gauge. 13 , in millimeters; at the same time, the height of the piston measured by the built-in liquid level sensing ring of the piston on the magnetostrictive level gauge is H 23 , in millimeters; Qliqui is calculated according to formula B-13 d : Wherein, Qliquid is the liquid phase flow rate in the t3 measurement period, in cubic millimeters per second; At the same time, calculate the water flow Q of the three-phase fluid flow in the upper chamber of the piston in the measuring container and out of the outlet three-phase fluid transport main pipeline during the measuring period t3 water and oil flow Q oil : Using the microwave principle water content measurement unit connected to the outlet three-phase fluid transportation main pipeline, according to the different dielectric constants of oil, gas and water, the gas is removed to directly measure the average proportion of water in the oil and water in the t3 measurement period, and then the liquid phase flow Qliquid is calculated using formula B-9: If the oil-water slip ratio is approximately equal to 1, the water flow rate Q can be calculated by equations B-14 and B-15 respectively. water and oil flow Q oil : Q water = Q liquid * α formula B-14 Q oil = Q liquid *(1 - α) Equation B-15 Among them, Q oil is the oil flow rate during the measurement period t3, in cubic millimeters per second, Q water is the water flow rate in the t3 measurement period, in cubic millimeters per second, α is the average proportion of water in the oil-water ratio in the t3 measurement period, without units, and the oil-water slip ratio is determined in advance according to the characteristics of the three-phase fluid produced by the well site; or, If the oil-water slip ratio is not approximately equal to 1, the compensation coefficient K is determined in advance according to the characteristics of the three-phase fluid produced by the well site. After compensation, the water flow rate Q is calculated using formulas B-16 and B-17 respectively. water and oil flow Q oil : Q water = Q liquid *α*K Formula B-16 Q oil = Q liquid *(1 - α)*K Equation B-17 Where K is the compensation coefficient of the three-phase liquid produced by a specific well site, and has no unit; Then, the measurement starts again from step B2, and steps B2 and B3 are continuously repeated in sequence, and the flow rates of gas, oil and water in the three-phase fluid are measured alternately online in real time; The liquid level measurement reference of the magnetostrictive liquid level gauge in steps B1, B2 and B3 is: the lower inlet / outlet height is the starting or zero liquid level, and the upper inlet / outlet height is the ending or maximum liquid level.

12. The calculation method according to claim 11, It is characterized in that The lower end of the measuring container body is also provided with a pressure sensor to measure the average pressure at the lower end of the measuring container body. 补偿 is 0.

13. The calculation method according to claim 11 or 12, It is characterized in that The three-phase fluid is crude oil or natural gas.

Citation Information

Patent Citations

  • Three-phase mixed-transportation constant volume pipe piston type oil-gas-water three-phase flow meter and measuring method

    CN103868560A

  • Orifice gas flow measuring device and measuring method thereof

    CN111521225A

  • Device for measuring moisture content and flow of crude oil

    CN117074439A

  • Liquid level detection device in oil-gas-water multiphase flow meter

    CN212931578U

  • Crude oil double-bin constant-pressure three-phase metering pry

    CN218716725U

Cited By

  • Particle energy type high-frequency online three-phase flow metering method

    CN119413242A