Detection method and detection system for daily gas yield measurement deviation of water-cut gas well

文档序号:777579 发布日期:2021-04-09 浏览:17次 中文

阅读说明:本技术 一种见水气井日产气量测量偏差的检测方法及检测系统 (Detection method and detection system for daily gas yield measurement deviation of water-cut gas well ) 是由 权子涵 孙天礼 蔡锁德 青鹏 蓝辉 袁斌 骆仕洪 黄仕林 姜林希 袁淋 赵羽 于 2019-09-24 设计创作,主要内容包括:本发明涉及油气田开采技术领域,特别是一种见水气井日产气量测量偏差的检测方法及检测系统。其中,检测方法包括以下步骤,建立日产气量模型,日产气量模型满足当有油压和日产水量数据输入的时候,输出理论日产气量;将得到的理论日产气量与用设备测得的实际日产气量相比较,并根据比较结果判断设备是否出现计量偏差。本申请的一种见水气井日产气量测量偏差的检测方法,通过日产气量模型得出的日产气量与现有设备采集的日产气量相比较,从而快速检测出用于测量日产气量、油压和日产气量的设备中是否出现计量偏差,从而能够及时调整日产气量测量数据或检修设备,提高了数据测量的准确性,大大降低了被测数据成为无效数据的概率。(The invention relates to the technical field of oil and gas field exploitation, in particular to a method and a system for detecting daily gas production rate measurement deviation of a water-cut gas well. The detection method comprises the following steps of establishing a daily gas production model, wherein the daily gas production model meets the requirement that when oil pressure and daily gas production data are input, theoretical daily gas production is output; and comparing the obtained theoretical daily gas production with the actual daily gas production measured by the equipment, and judging whether the equipment has metering deviation according to the comparison result. According to the detection method for the daily gas production amount measurement deviation of the water-cut gas well, the daily gas production amount obtained through the daily gas production amount model is compared with the daily gas production amount acquired by the existing equipment, so that whether the measurement deviation occurs in the equipment for measuring the daily gas production amount, the oil pressure and the daily gas production amount is quickly detected, the daily gas production amount measurement data can be timely adjusted or the equipment can be overhauled, the accuracy of data measurement is improved, and the probability that the measured data become invalid data is greatly reduced.)

1. A detection method for daily gas yield measurement deviation of a water-cut gas well is characterized by comprising the following steps: comprises the following steps of (a) carrying out,

s1: establishing a daily gas production model, wherein the daily gas production model meets the requirement that when oil pressure and daily gas production data are input, theoretical daily gas production is output;

s2: and comparing the obtained theoretical daily gas production with the actual daily gas production measured by the equipment, and judging whether the equipment has metering deviation according to the comparison result.

2. The method for detecting the daily gas production measurement deviation of the water-cut gas well as recited in claim 1,

if the ratio of the actual daily gas production to the theoretical daily gas production is greater than or equal to a first threshold value and less than or equal to a second threshold value, the equipment is considered to be normally operated;

if the ratio of the actual daily gas production to the theoretical daily gas production is smaller than a first threshold value or larger than a second threshold value, the operating equipment is considered to have abnormality,

wherein the first threshold is 0.8, and the second threshold is 1.2.

3. The method for detecting the daily gas production measurement deviation of the water-cut gas well as recited in claim 2, wherein the step of establishing the daily gas production model is required,

s11: collecting data sets of daily gas production, oil pressure and daily water production of the gas well in a period of time before a target day, and calculating a corresponding data set of water-gas ratio;

s12: performing multivariate fitting on the data set in the step S11 to obtain a corresponding daily gas production model;

s13: collecting oil pressure and daily water yield data of a target day, inputting the data into the daily water yield model in the step S12, and outputting theoretical daily water yield of the target day;

s14: acquiring actual daily gas production data of a target day, comparing the actual daily gas production with the theoretical daily gas production in the step S13, and judging whether the equipment has metering deviation according to a comparison result;

s15: if the metering of the equipment is judged to be normal, adding the oil pressure, the daily water yield and the actual daily gas yield data of the target day into the data set in the step S11 to form a new data set, then performing multivariate fitting on the new data set to obtain a new daily gas yield model, and if the metering deviation of the equipment is judged to occur, abandoning the oil pressure, the daily water yield and the actual daily gas yield data of the target day and overhauling the equipment;

s16: loop S13 and S15.

4. The method for detecting the daily gas production measurement deviation of the water-cut gas well as recited in claim 1, wherein the method comprises the following steps: the daily gas production model comprises the following steps:

(cp2+bp+a)Qd=r

the water-gas ratio r is:

the relationship between daily gas production, oil pressure and daily water production is:

(cp2+bp+a)Q(d+1)=QW

further, it is obtained that:

wherein, p-oil pressure, MPa; q-daily gas production, 104m3D; r-water-to-gas ratio, m3/104m3;QWDaily water production, 104m3D; a. b, c and d are fitting coefficients.

5. The detection system for the daily gas yield measurement deviation of the water-cut gas well is characterized by comprising at least one processor and a memory which is in communication connection with the at least one processor; the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of detecting a measurement deviation of any one of claims 1 to 4.

6. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method of detection of a measurement deviation as claimed in any one of claims 1 to 4.

Technical Field

The invention relates to the technical field of oil and gas field exploitation, in particular to a method and a system for detecting daily gas production rate measurement deviation of a water-cut gas well.

Background

The water-producing gas well is generally exploited in a depletion exploitation mode, when the gas phase relative permeability of the gas well is reduced after water breakthrough, the daily gas production rate is reduced in different degrees, the daily gas production rate of the gas well after water breakthrough is effectively determined, and the reserve and the phase permeation curve are controlled by combining a single well, so that the reasonable production allocation of the gas well can be determined, the overall recovery ratio of the gas field is improved, and the economic benefit is increased; meanwhile, the daily gas production of the water-cut gas well can be used for assisting in estimating the water invasion amount, the water invasion speed and the like of the gas well, and a basis is provided for formulating water control measures in the later gas production period.

At present, a field station generally measures oil pressure (wellhead pressure) through a pressure transmitter and measures daily gas production of a gas well by using a separator, but in the field, the daily gas production of the gas well cannot be measured particularly accurately by using the prior art, so the conventional method for measuring the daily gas production of the gas well generally measures the daily gas production by using a flowmeter, comprehensively determines the daily gas production by taking the measured value as a reference and considering past experience, and then calculates the ratio between the daily gas production and the daily gas production to obtain the water-gas ratio, but the method is very dependent on personal experience and has slow response to the change of measured data.

Specifically, sometimes, a metering deviation occurs due to equipment failure or a non-single detection medium in one or more of the pressure transmitter, the separator and the flowmeter, when the metering deviation occurs in the equipment, the finally obtained daily gas production rate has a large deviation, and when the daily gas production rate is measured by using the prior art method, the metering deviation occurs in the measurement equipment often only within a period of time (less, seven, eight days, more, ten days), so that the daily gas production rate measured within the period of time has a large deviation, the daily gas production rate becomes invalid data, the data cannot be used as a basis for later-period rational production allocation, and the later-period rational production allocation is greatly influenced.

Therefore, in view of the above, there is a need for a method for calculating the amount of produced gas in a gas well that solves the above problems.

Disclosure of Invention

The invention aims to: aiming at the problems that the method for measuring the oil pressure, the daily water yield and the daily gas yield in the prior art is very dependent on personal experience and has great subjectivity, and when the pressure transmitter, the separator or the flowmeter for measurement has measurement deviation, the method cannot timely know the measurement deviation of the equipment from data, so that the daily gas yield data recorded in a period of time has large deviation and cannot be used, the method and the system for detecting the daily gas yield measurement deviation of the water-seeing gas well are provided.

In order to achieve the purpose, the invention adopts the technical scheme that:

a method for detecting the daily gas yield measurement deviation of a water-cut gas well comprises the following steps,

s1: establishing a daily gas production model, wherein the daily gas production model meets the requirement that when oil pressure and daily gas production data are input, theoretical daily gas production is output;

s2: and comparing the obtained theoretical daily gas production with the actual daily gas production measured by the equipment, and judging whether the equipment has metering deviation according to the comparison result.

The invention relates to a method for detecting daily gas production measurement deviation of a water-cut gas well, which comprises the steps of firstly establishing a daily gas production model reflecting the relative relation among daily gas production, oil pressure and daily gas production, then inputting the oil pressure and the daily gas production collected by target daily equipment into the daily gas production model, outputting target daily theoretical daily gas production, comparing the target daily theoretical daily gas production with the daily gas production collected by the target daily equipment to judge whether the daily gas production is within a deviation range, and if the deviation is overlarge, proving that one or more of the equipment for measuring the oil pressure, the daily gas production and the daily gas production have measurement deviation, and immediately using and adjusting daily gas production measurement data or overhauling equipment.

In summary, the daily gas yield obtained by the daily gas yield model is compared with the daily gas yield acquired by the existing equipment, so that whether the metering deviation occurs in the equipment for measuring the daily gas yield, the oil pressure and the daily gas yield is quickly detected, the daily gas yield measurement data or the maintenance equipment can be timely adjusted, the accuracy of data measurement is improved, and the probability that the measured data become invalid data is greatly reduced.

Preferably, if the ratio of the actual daily gas production to the theoretical daily gas production is greater than or equal to a first threshold and less than or equal to a second threshold, the equipment is considered to be normally operated;

if the ratio of the actual daily gas production to the theoretical daily gas production is smaller than a first threshold value or larger than a second threshold value, the operating equipment is considered to have abnormality,

wherein the first threshold is 0.8, and the second threshold is 1.2.

A deviation of 20 percent is acceptable in the existing industry, so the ratio of the theoretical daily gas production to the daily gas production measured by the equipment is bounded by 0.8 and 1.2.

Preferably, establishing the daily gas production model requires the steps of,

s11: collecting data sets of daily gas production, oil pressure and daily water production of the gas well in a period of time before a target day, and calculating a corresponding data set of water-gas ratio;

s12: performing multivariate fitting on the data set in the step S11 to obtain a corresponding daily gas production model;

s13: collecting oil pressure and daily water yield data of a target day, inputting the data into the daily water yield model in the step S12, and outputting theoretical daily water yield of the target day;

s14: acquiring actual daily gas production data of a target day, comparing the actual daily gas production with the theoretical daily gas production in the step S13, and judging whether the equipment has metering deviation according to a comparison result;

s15: if the metering of the equipment is judged to be normal, adding the oil pressure, the daily water yield and the actual daily gas yield data of the target day into the data set in the step S11 to form a new data set, then performing multivariate fitting on the new data set to obtain a new daily gas yield model, and if the metering deviation of the equipment is judged to occur, abandoning the oil pressure, the daily water yield and the actual daily gas yield data of the target day and overhauling the equipment;

s16: loop S13 and S15.

According to the method for detecting the daily gas yield measurement deviation of the water-cut gas well, the previous period of time is data of at least 25 measurement days before the target day.

The invention relates to a detection method for daily gas yield measurement deviation of a water-cut gas well, which comprises the steps of firstly collecting data of daily gas yield, oil pressure and daily water yield of the gas well for a period of time, obtaining data of water-gas ratio according to the corresponding ratio of the daily gas yield to the daily water yield, removing invalid data obviously influenced by human factors through preliminary screening, leaving effective data, and forming a data set;

then, performing multivariate fitting on the screened data set, and solving a daily gas production model of the relationship among the daily gas production, the oil pressure and the water-gas ratio on the same day;

and substituting the oil pressure and the daily gas yield which are acquired subsequently into the daily gas yield model through the daily gas yield model to obtain the corresponding daily gas yield, comparing the daily gas yield with the daily gas yield which is acquired by equipment and is comprehensively determined through experience in the same time period to see whether the daily gas yield is within a deviation range, if the deviation is overlarge, proving that one or more of the equipment for measuring the oil pressure, the daily gas yield and the daily gas yield have measurement deviation, and immediately adjusting the daily gas yield measurement data or using other methods to overhaul the equipment.

Wherein, as long as the metering deviation occurs, the equipment is firstly detected to determine whether the equipment has a fault or not,

if the equipment is abnormal, the equipment is overhauled;

if the equipment is normal, the daily gas production amount is adjusted if the experience deviation occurs during the comprehensive determination of the daily gas production amount, so that the adjusted daily gas production amount measurement data is within the deviation range, and the adjusted data can be used as the basis for later-period reasonable production allocation.

In the scheme, as the daily gas production rate, the oil pressure and the water-gas ratio of the same gas well are continuously and smoothly changed and mutation rarely occurs, the daily gas production rate model is continuously input every day through the currently collected daily gas production rate, the oil pressure and the water-gas ratio, so that the existing data set in the daily gas production rate model is richer, and is more accurate compared with the daily gas production rate model before correction.

In conclusion, the daily water yield obtained by the daily water yield model is compared with the corresponding daily water yield obtained by the prior art, so that whether the metering deviation occurs in the equipment for measuring the daily water yield, the oil pressure and the daily water yield is quickly detected, the daily water yield measurement data or the maintenance equipment can be timely adjusted, the accuracy of data measurement is improved, and the probability that the measured data become invalid data is greatly reduced.

In the above scheme, the water-gas ratio is a commonly used parameter for those skilled in the art, and the use habits of those skilled in the art are taken into consideration, so that the oil pressure, the water-gas ratio and the daily gas production are used as parameters during fitting.

Preferably, the daily gas production model is:

(cp2+bp+a)Qd=r

the water-gas ratio r is:

the relationship between daily gas production, oil pressure and daily water production is:

(cp2+bp+a)Q(d+1)=QW

further, it is obtained that:

wherein, p-oil pressure, MPa; q-daily gas production, 104m3D; r-water-to-gas ratio, m3/104m3;QWDaily water production, 104m3D; a. b, c and d are fitting coefficients.

Preferably, in step S12, a first polynomial set using oil pressure as a variable and a second polynomial set using water-gas ratio as a variable are selected from a graph shape obtained by performing multivariate fitting on daily gas production, oil pressure and water-gas ratio, and each polynomial in the first polynomial set and each polynomial in the second polynomial set are combined to obtain the daily gas production model.

Preferably, in the step S12, the effective data in the step S11 are input into fitting software, a daily gas production model is established by using the fitting software, and multivariate fitting is performed on the effective data of the daily gas production, the oil pressure and the water-gas ratio.

Preferably, the fitting software comprises Matlab, Origin, 1stOpt software.

The invention also discloses a detection system for the daily gas yield measurement deviation of the water-cut gas well, which comprises at least one processor and a memory which is in communication connection with the at least one processor; the memory stores instructions executable by the at least one processor to enable the at least one processor to perform a method of detecting a measurement deviation as described herein.

The detection system for the daily gas yield measurement deviation of the water-cut gas well can quickly, accurately and conveniently operate the method, greatly saves labor cost and improves the accuracy of the operation method.

The invention also discloses a computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, implements the method of detecting a measurement deviation as described in the present application.

The computer-readable storage medium can be used for quickly, accurately and conveniently operating the method, greatly saves labor cost and improves the accuracy of the operating method.

In summary, due to the adoption of the technical scheme, the invention has the beneficial effects that:

1. according to the detection method for the daily gas production amount measurement deviation of the water-cut gas well, the daily gas production amount obtained through the daily gas production amount model is compared with the daily gas production amount acquired by the existing equipment, so that whether the measurement deviation occurs in the equipment for measuring the daily gas production amount, the oil pressure and the daily gas production amount is quickly detected, the daily gas production amount measurement data can be timely adjusted or the equipment can be overhauled, the accuracy of data measurement is improved, and the probability that the measured data become invalid data is greatly reduced. 2. The detection system for the daily gas yield measurement deviation of the water-cut gas well can quickly, accurately and conveniently operate the method, greatly saves labor cost and improves the accuracy of the operation method. 3. The computer-readable storage medium can be used for quickly, accurately and conveniently operating the method, greatly saves labor cost and improves the accuracy of the operating method.

The labels in the figure are: 1-electronic device, 11-processor, 12-memory, 13-input-output interface, 14-power supply.

Drawings

FIG. 1 is a graph showing the daily gas production models for the gas wells at 1/2/2017 and 28/2/2017 for yb10-c 1;

FIG. 2 is a basic flow chart of a method for detecting the daily gas production measurement deviation of a water-cut gas well according to the present application;

fig. 3 is a detailed flowchart of a method for detecting the daily gas production rate measurement deviation of the water-cut gas well according to the present application.

Fig. 4 is a structural diagram of a detection system for measuring deviation of daily gas production of a water-cut gas well according to the present application.

Detailed Description

The present invention will be described in detail below with reference to the accompanying drawings.

In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.

Example 1

As shown in fig. 2, a method for detecting the daily gas production rate measurement deviation of a water-cut gas well comprises the following steps,

s1: establishing a daily gas production model, wherein the daily gas production model meets the requirement that when oil pressure and daily gas production data are input, theoretical daily gas production is output;

s2: and comparing the obtained theoretical daily gas production with the actual daily gas production measured by the equipment, and judging whether the equipment has metering deviation according to the comparison result.

The invention relates to a method for detecting daily gas production measurement deviation of a water-cut gas well, which comprises the steps of firstly establishing a daily gas production model reflecting the relative relation among daily gas production, oil pressure and daily gas production, then inputting the oil pressure and the daily gas production collected by target daily equipment into the daily gas production model, outputting target daily theoretical daily gas production, comparing the target daily theoretical daily gas production with the daily gas production collected by the target daily equipment to judge whether the daily gas production is within a deviation range, and if the deviation is overlarge, proving that one or more of the equipment for measuring the oil pressure, the daily gas production and the daily gas production have measurement deviation, and immediately using and adjusting daily gas production measurement data or overhauling equipment.

In summary, the daily gas yield obtained by the daily gas yield model is compared with the daily gas yield acquired by the existing equipment, so that whether the metering deviation occurs in the equipment for measuring the daily gas yield, the oil pressure and the daily gas yield is quickly detected, the daily gas yield measurement data or the maintenance equipment can be timely adjusted, the accuracy of data measurement is improved, and the probability that the measured data become invalid data is greatly reduced.

On the basis, in a further preferable mode, if the ratio of the actual daily gas production to the theoretical daily gas production is greater than or equal to a first threshold and less than or equal to a second threshold, the equipment is considered to be normally operated;

and if the ratio of the actual daily gas production to the theoretical daily gas production is smaller than a first threshold value or larger than a second threshold value, the operating equipment is considered to have abnormality.

Wherein the first threshold is 0.8, and the second threshold is 1.2.

A deviation of 20 percent is acceptable in the existing industry, so the ratio of the theoretical daily gas production to the daily gas production measured by the equipment is bounded by 0.8 and 1.2.

On the basis of the above, as shown in fig. 3, in a further preferred manner, the following steps are required for establishing the daily gas production model,

s11: collecting data sets of daily gas production, oil pressure and daily water production of the gas well in a period of time before a target day, and calculating a corresponding data set of water-gas ratio;

s12: performing multivariate fitting on the data set in the step S11 to obtain a corresponding daily gas production model;

s13: collecting oil pressure and daily water yield data of a target day, inputting the data into the daily water yield model in the step S12, and outputting theoretical daily water yield of the target day;

s14: acquiring actual daily gas production data of a target day, comparing the actual daily gas production with the theoretical daily gas production in the step S13, and judging whether the equipment has metering deviation according to a comparison result;

s15: if the metering of the equipment is judged to be normal, adding the oil pressure, the daily water yield and the actual daily gas yield data of the target day into the data set in the step S11 to form a new data set, then performing multivariate fitting on the new data set to obtain a new daily gas yield model, if the metering deviation of the equipment is judged to occur, abandoning the oil pressure, the daily water yield and the actual daily gas yield data of the target day, and adjusting the daily gas yield measurement data or overhauling the equipment;

s16: loop S13 and S15.

The invention relates to a detection method for daily gas yield measurement deviation of a water-cut gas well, which comprises the steps of firstly collecting data of daily gas yield, oil pressure and daily water yield of the gas well for a period of time, obtaining data of water-gas ratio according to the corresponding ratio of the daily gas yield to the daily water yield, removing invalid data obviously influenced by human factors through preliminary screening, leaving effective data, and forming a data set;

then, performing multivariate fitting on the screened data set, and solving a daily gas production model of the relationship among the daily gas production, the oil pressure and the water-gas ratio on the same day;

the period of time in the scheme is data of at least 25 measurement days before the target day.

And substituting the oil pressure and the daily water yield which are acquired subsequently into the daily water yield model through the daily water yield model to obtain the corresponding daily water yield, comparing the daily water yield with the daily water yield which is acquired by equipment and is comprehensively determined through experience in the same time period to see whether the daily water yield is within a deviation range, if the deviation is overlarge, proving that one or more of the equipment for measuring the oil pressure, the daily water yield and the daily water yield have measurement deviation, and immediately adjusting the daily water yield measurement data or overhauling the equipment by using other methods.

In the scheme, as the daily gas production rate, the oil pressure and the water-gas ratio of the same gas well are continuously and smoothly changed and mutation rarely occurs, the daily gas production rate model is continuously input every day through the currently collected daily gas production rate, the oil pressure and the water-gas ratio, so that the existing data set in the daily gas production rate model is richer, and is more accurate compared with the daily gas production rate model before correction.

In conclusion, the daily water yield obtained by the daily water yield model is compared with the corresponding daily water yield obtained by the prior art, so that whether the metering deviation occurs in the equipment for measuring the daily water yield, the oil pressure and the daily water yield is quickly detected, the daily water yield measurement data or the maintenance equipment can be timely adjusted, the accuracy of data measurement is improved, and the probability that the measured data become invalid data is greatly reduced.

In the above scheme, the water-gas ratio is a commonly used parameter for those skilled in the art, and the use habits of those skilled in the art are taken into consideration, so that the oil pressure, the water-gas ratio and the daily gas production are used as parameters during fitting.

Preferably, in step S12, a first polynomial set using oil pressure as a variable and a second polynomial set using water-gas ratio as a variable are selected from a graph shape obtained by performing multivariate fitting on daily gas production, oil pressure and water-gas ratio, and each polynomial in the first polynomial set and each polynomial in the second polynomial set are combined to obtain the daily gas production model.

Preferably, in step S12, the effective data in step S11 is input into fitting software, a daily gas production model is established by using the fitting software, and multivariate fitting is performed on the effective data of daily gas production, oil pressure and water-gas ratio.

Preferably, the fitting software comprises Matlab, Origin, 1stOpt software.

Example 2

This embodiment is an example of yb10-c1 wells of the southwest oil and gas separation company gas production second factory of the limited company of petrochemical industry, china, and specifically includes:

table 1: theoretical daily gas production and actual daily gas production

The method is used for detecting whether a pressure transmitter (measuring oil pressure) and a separator (measuring daily water yield) are measured after 2017, 3 and 1, and whether a flowmeter (measuring daily gas yield) has measurement deviation or not, so that daily gas yield measurement data or maintenance equipment can be adjusted in time, a gas well daily gas yield, oil pressure and daily water yield data set of a period of time (2 and 1 days in 2017, 2 and 28 days in 2017, wherein the starting date can be better than that of 2 and 1 days in 2017, and the better the earlier is), and a corresponding gas-water ratio data set is calculated;

performing multivariate fitting on the data set obtained at the upper part to obtain a corresponding daily gas production model,

as shown in fig. 1, c is 0.008015, b is 0.6353, a is 12.64, and d is 0.5582.

In fig. 1, Custom Equation: fitting equation, Fit name, data: data, Weights: weight, Results: auto fit, fit: adjustment, stop: and (5) stopping.

Inputting a, b, c and d into a daily gas production model to obtain:

then, data of oil pressure, daily water yield, and daily gas yield of 3, 1 and 2017 (see table 1 for details) were collected, where the actual oil pressure p is 39.29(Mpa), and the actual daily water yield Q isw=9.4(m3) And the actual daily gas production Q is 25.33 (10)4m3) Inputting the actual oil pressure and the actual daily water collection quantity into a daily gas production quantity model to obtain a theoretical daily gas production quantity Q of 28.14 (10) in 2017, 3, 1 and 10 days4m3);

The theoretical daily gas production Q of 3, 1 and 2017 is 28.14 (10)4m3) Actual daily gas production Q of 2017, 3/1/month 25.33 (10)4m3) In comparison, the ratio is 0.9, and is in the range of 0.8 to 1.2, so that the metering deviation of the equipment is proved;

in field inspection, the metering deviation of the equipment is also determined.

And adding the oil pressure, daily water yield and daily gas yield data of 3/1/2017 into the data set in the step S11 while the scheme is carried out, forming a new data set, then carrying out multivariate fitting on the new data set to obtain a new daily gas yield model for use of 3/2/2017, and circulating repeatedly in sequence to obtain the ratio of the actual daily gas yield to the theoretical daily gas yield in the subsequent days, and sequentially judging whether the equipment has the metering deviation according to the interval of which the value range falls into the reference standard.

Wherein, the reference standard is as follows:

if the ratio of the actual daily gas production to the theoretical daily gas production is greater than or equal to 0.8 and less than or equal to 1.2, the equipment is considered to be normally operated;

and if the ratio of the actual daily gas production to the theoretical daily gas production is less than 0.8 or more than 1.2, the operating equipment is considered to have abnormality.

The comparison can be realized by excel software and the like.

As shown in table 1, in operation, on 3/4/2017, the ratio of the actual daily gas production to the theoretical daily gas production is 1.42, which is far above the critical value of 1.2, so that the pressure transmitter, the separator and the flowmeter in the field are overhauled, the pressure transmitter for measuring the oil pressure is found to be out of order, the oil pressure is fluctuated, the field is maintained in time, and the normal state is recovered to 3/6/2017. When the faults occur at night, the situation that the faults exist in the pressure transmitter, the separator and the flowmeter is found, the faults are rapidly checked, finally, the faults are eliminated in 3, 5 and 3 months in 2017, and the daily gas production measured by the flowmeter in the two days is exhausted outside and is not used as effective data before and after the time of spending 2 days;

and in 29/3/2017, the ratio of the actual daily gas production to the theoretical daily gas production is 1.20, the critical value is reached but the critical value is not exceeded, observation is continued, in 30/3/2017, the ratio of the actual daily gas production to the theoretical daily gas production is 1.21 and the critical value is more than 1.2, so that the pressure transmitter, the separator and the flow meter in the field are overhauled, the condition that the equipment has faults is not found, the metering deviation caused by the fact that the medium is not single is detected, at the moment, the daily gas production data comprehensively determined in 30/3/2017 is adjusted to be 24.1, and the daily gas production data comprehensively determined in 31/3/2017 is 24.3, and the daily gas production data are taken as effective data and can be used as the data of the reasonable production allocation of the water-logging gas well later, but the data are not counted into a new data set.

From the view of processing data from the top, only 1 day of time is usually needed from the occurrence of metering deviation to the detection of failure or the adjustment of daily gas production measurement data, compared with the prior art that the metering deviation of the measurement equipment can be found within a period of time (less, seven, eight and more, ten and several days), the daily gas production measured within the period of time is caused to have larger deviation and becomes invalid data, and the problem of larger influence on later reasonable distribution is greatly improved, whether the metering deviation occurs in the equipment for measuring the daily gas production, the oil pressure and the daily gas production is quickly detected, so that the daily gas production measurement data or the maintenance equipment can be adjusted in time, the efficiency is improved by about 10 times, the accuracy of data measurement is greatly improved, and the probability that the measured data becomes invalid data is greatly reduced.

Example 3

As shown in fig. 4, the present invention also discloses a system for detecting the daily gas yield measurement deviation of the water-cut gas well, that is, an electronic device 1 (for example, a computer server with a program execution function) which includes at least one processor 11, a power supply 14, and a memory 12 and an input/output interface 13 communicatively connected to the at least one processor 11; the memory 12 stores instructions executable by the at least one processor 11, the instructions being executable by the at least one processor 11 to enable the at least one processor 11 to perform the method disclosed in any one of the preceding embodiments.

The input/output interface 13 may include a display, a keyboard, a mouse, and a USB interface for inputting and outputting data.

The power supply 14 is used to supply power to the electronic device 1.

Those skilled in the art will understand that: all or part of the steps for realizing the method embodiments can be completed by hardware related to program instructions, and the program can be stored in a computer readable storage medium, and when the program is executed, the steps comprising the method embodiments are executed.

And the aforementioned storage medium includes: various media that can store program codes, such as a removable Memory device, a Read Only Memory (ROM), a magnetic disk, or an optical disk.

When the integrated unit of the present invention is implemented in the form of a software functional unit and sold or used as a separate product, it may also be stored in a computer-readable storage medium.

Based on such understanding, the technical solutions of the embodiments of the present invention may be essentially implemented or a part contributing to the prior art may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the methods described in the embodiments of the present invention.

And the aforementioned storage medium includes: a removable storage device, a ROM, a magnetic or optical disk, or other various media that can store program code.

The detection system for the daily gas yield measurement deviation of the water-cut gas well can quickly, accurately and conveniently operate the method, greatly saves labor cost and improves the accuracy of the operation method.

Example 4

The invention also discloses a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements a method as disclosed in any of the previous embodiments of the present application.

The computer-readable storage medium can be used for quickly, accurately and conveniently operating the method, greatly saves labor cost and improves the accuracy of the operating method.

The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents and improvements made within the spirit and principle of the present invention are intended to be included within the scope of the present invention.

17页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:微钻实验平台

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类