CN106934075A - Drilling fluid density determines that method and static equal yield density determine method - Google Patents

Drilling fluid density determines that method and static equal yield density determine method Download PDF

Info

Publication number
CN106934075A
CN106934075A CN201511016754.7A CN201511016754A CN106934075A CN 106934075 A CN106934075 A CN 106934075A CN 201511016754 A CN201511016754 A CN 201511016754A CN 106934075 A CN106934075 A CN 106934075A
Authority
CN
China
Prior art keywords
drilling fluid
analysis site
density
pressure
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201511016754.7A
Other languages
Chinese (zh)
Other versions
CN106934075B (en
Inventor
周号博
牛新明
王果
范红康
郭瑞昌
马东军
刘建华
孙连忠
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Petroleum and Chemical Corp
Sinopec Research Institute of Petroleum Engineering
Original Assignee
China Petroleum and Chemical Corp
Sinopec Research Institute of Petroleum Engineering
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Petroleum and Chemical Corp, Sinopec Research Institute of Petroleum Engineering filed Critical China Petroleum and Chemical Corp
Priority to CN201511016754.7A priority Critical patent/CN106934075B/en
Publication of CN106934075A publication Critical patent/CN106934075A/en
Application granted granted Critical
Publication of CN106934075B publication Critical patent/CN106934075B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16ZINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS, NOT OTHERWISE PROVIDED FOR
    • G16Z99/00Subject matter not provided for in other main groups of this subclass

Abstract

The determination method of drilling fluid density and static equal yield density determine method in a kind of pit shaft, and the determination method of drilling fluid density includes in the pit shaft:Step one, acquisition drilling fluid initial density ρ0, components of drilling liquid parameter and each analysis site vertical depth data and temperature data, and to drilling fluid initial density ρ0It is normalized with component data, obtains the first normalization data collection;Step 2, according to drilling fluid density ρi, pressure PiAnd i-th analysis site and i+1 analysis site vertical depth data, calculate pressure Pi+1;Step 3, according to pressure Pi+1With temperature data Ti+1, calculate pressure differential Δ Pi+1With temperature difference Δ Ti+1;Step 4, to pressure differential Δ Pi+1With temperature difference Δ Ti+1It is normalized, and the second normalization data collection is obtained with reference to the first normalization data collection;Step 5, according to the second normalization data collection, using default neural network model, obtain the drilling fluid density ρ of i+1 analysis sitei+1.The method can avoid substantial amounts of repetition experiment and data analysis, substantially increase the computational accuracy and efficiency of HTHP well shaft ESD.

Description

Drilling fluid density determines that method and static equal yield density determine method
Technical field
The present invention relates to oil-gas exploration and development technical field, specifically, be related to a kind of drilling fluid density determine method and Static equal yield density determines method.
Background technology
As China's oil-gas exploration and development is progressively marched to deep formation, for high temperature high pressure deep well, the exploitation of ultradeep well It is on the increase therewith, this also causes narrow ' Safe Density Windows drilling problem to be widely present, and HTHP well shaft static state equivalent Density (Equivalent Static Density, referred to as ESD) is accurately to calculate bottom pressure, ensure the base of safety drilling Plinth.
One of accurate basis for calculating HTHP well shaft ESD is that drilling fluid density under HTHP is entered exactly Row prediction.Domestic and international many scholars have carried out corresponding research to drilling fluid density with HTHP change, and give many not Same forecast model, being summed up mainly has experience formula computational methods and drilling fluid component computational methods.
1972, Methven et al. to oil base drilling fluid, studied at high temperature under high pressure by performance, and it is to two groups of drilling wells Liquid sample has carried out HTHP density test, has obtained substantial amounts of PVT data, and depict brill under three kinds of different geothermal gradients Well liquid density curve such that it is able to so that very easily obtaining any point drilling fluid density value in pit shaft.Nineteen eighty-two, Hoberock Et al. the HTHP Forecasting Model of Density based on drilling fluid composition is established according to phase balance principle, i.e. component method prediction is bored Well liquid density model.1987, Kemp et al. thought that the model Consideration that forefathers provide is less, established consideration more fully Drilling fluid component method calculate HTHP under the quiet density model of drilling fluid.
The beginning of the nineties in last century, Yan Jienian is taught on the basis of experimental study, based on Multiple Non-linear Regression Analysis side Method establishes HTHP oil base drilling fluid Forecasting Model of Density.But because its coefficient is excessive, recurrence gets up increasingly complex, while It is likely to result in a certain number of coefficients level too small, calculation error can be caused on the contrary.
Thereafter many domestic scholars have done further analysis to drilling fluid density computation model under HTHP, or according to There is experimental data or by high temperature and pressure experiment data, a series of models are established based on drilling fluid empirical formula method.These moulds Type is all similar, is mostly that the exponential form according to Data Management Analysis on basic experience predictor formula has done certain change Change.
But, with actual well drilled engineering, drilling fluid system used becomes increasingly complex, it is difficult to based on a certain drilling fluid The empirical model that system is obtained predicts the drilling fluid density at high temperature under high pressure of all drilling fluids, and this has also just had influence on well The computational accuracy of cylinder ESD, therefore existing method can not meet safety drilling needs.
Based on above-mentioned situation, a kind of method for being capable of accurate pit shaft static state equal yield density is needed badly.
The content of the invention
To solve the above problems, the invention provides a kind of determination method of drilling fluid density in pit shaft, methods described bag Include:
Step one, the drilling fluid initial density ρ for obtaining well to be analyzed0, components of drilling liquid parameter and each analysis site hang down Deep data and temperature data, and to the drilling fluid initial density ρ0It is normalized with component data, obtains first and return One changes data set;
Step 2, the drilling fluid density ρ according to the i-th analysis sitei, pressure PiAnd i-th analysis site and i+1 analysis site Vertical depth data, calculate the pressure P of i+1 analysis sitei+1, wherein, i >=1;
Step 3, the pressure P according to the i+1 analysis sitei+1With temperature data Ti+1, calculate the i+1 analysis site Pressure differential Δ Pi+1With temperature difference Δ Ti+1
Step 4, to the pressure differential Δ Pi+1With temperature difference Δ Ti+1It is normalized, and returns with reference to described first One change data set obtains the second normalization data collection of the i+1 analysis site;
Step 5, according to the second normalization data collection, using default neural network model, obtain the i+1 point Analyse the drilling fluid density ρ of pointi+1
Repeating said steps two obtain the drilling fluid density at each analysis site to step 5.
According to one embodiment of present invention, in the step one:
Formation parameter, casing programme parameter, drilling tool structure parameter and drilling fluid according to the Jing Chu to be analyzed for getting Component parameter, determines the Wellbore Temperature Field of the well to be analyzed, obtains the well bore temperature distribution of the well to be analyzed;
According to the well bore temperature distribution, the pit shaft is divided into some sections, correspondence obtains some analysis sites.
According to one embodiment of present invention, the components of drilling liquid parameter includes:Oil phase volume fraction foWith water phase body Fraction fw
According to one embodiment of present invention, the pressure differential Δ P of the i-th analysis site is determined according to following expressioniAnd temperature Difference Δ Ti
ΔPi=Pi-P0
ΔTi=Ti-T0
Wherein, P0And T0Initial liquid column hydrostatic pressure and initial temperature are represented respectively.
According to one embodiment of present invention, according to following expression to the temperature difference Δ T of the i-th analysis siteiCarry out normalizing Change is processed:
Wherein, Δ T 'iRepresent temperature difference Δ TiCorresponding normalized temperature is poor, Δ TmaxWith Δ TminTemperature is represented respectively Poor maximum and minimum value.
According to one embodiment of present invention, the default neural network model builds obtain as follows:
Neural network topology structure determines step, according to drilling fluid density influence factor, determines input layer in neutral net With the neuronal quantity of output layer, the neuronal quantity for determining hidden layer in the neutral net is trained by iterative network, obtained Neural network topology structure;
Neural metwork training step, obtains the historical test data relevant with drilling fluid density, and the historical data is entered Row normalization, and by normalization after the historical data be input to the neural network topology structure in come to the nerve net Network topological structure is trained, and obtains optimal network parameter, so as to build obtain the default neural network model.
According to one embodiment of present invention, the neuron for determining hidden layer in the neutral net is trained by iterative network During quantity, iteration ranges are determined according to following expression:
Wherein, m represents the neuronal quantity of neutral net hidden layer, and k and l represents the neuron of input layer and output layer respectively Quantity, α represents tentative calculation parameter.
According to one embodiment of present invention, the pressure P of the i+1 analysis site is calculated according to following expressioni+1
Pi+1=PiigHi
Wherein, g represents acceleration of gravity, HiRepresent the vertical depth between i+1 analysis site and the i-th analysis site.
Present invention also offers a kind of determination method of static equal yield density in pit shaft, methods described includes:
Drilling fluid density determines step, and the brill of each analysis site in the pit shaft is determined using the method described in as above any one Well liquid density;
Static equal yield density determines step, according to the drilling fluid density of each point, determines each analysis site in the pit shaft Static equal yield density.
According to one embodiment of present invention, the static equivalent of each analysis site in the pit shaft is determined according to following expression Density:
Wherein, ESDi+1The static equal yield density of i+1 analysis site in pit shaft is represented, WHP represents casing pressure, ρjRepresent The drilling fluid density of jth analysis site, HjThe vertical depth between the analysis site of jth+1 and jth analysis site is represented, g represents that gravity accelerates Degree, n represents the sum of analysis site in pit shaft.
The present invention relates to the calculating of drilling fluid density and equivalent precision in pit shaft in HTHP drilling process, it includes Based on the neural network model method for designing that drilling fluid constituent is set up, and obtained by the network parameter computational methods for being given Neural network parameter.The method calculates temperature in wellbore always according to formation parameter, casing programme parameter and drilling tool structure parameter , detailed segmentation is carried out to pit shaft, each section of drilling fluid density is calculated with the neural network model set up, finally calculate The quiet density profile of equivalent in whole pit shaft.The method can avoid substantial amounts of repetition experiment and data analysis, substantially increase The computational accuracy and efficiency of HTHP well shaft ESD.
Other features and advantages of the present invention will be illustrated in the following description, also, the partly change from specification Obtain it is clear that or being understood by implementing the present invention.The purpose of the present invention and other advantages can be by specification, rights Specifically noted structure is realized and obtained in claim and accompanying drawing.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the accompanying drawing wanted needed for technology description to do simple introduction:
Fig. 1 is the flow chart for building default neutral net according to an embodiment of the invention;
Fig. 2 is neural network topology structure schematic diagram according to an embodiment of the invention;
Fig. 3 is the flow chart of the method for determination pit shaft static state equal yield density according to an embodiment of the invention;
Fig. 4 is detailed segmentation illustraton of model in pit shaft according to an embodiment of the invention;
Fig. 5 is that drilling fluid density and ESD sections result of calculation are illustrated in certain well shaft according to an embodiment of the invention Figure.
Specific embodiment
Describe embodiments of the present invention in detail below with reference to drawings and Examples, how the present invention is applied whereby Technological means solves technical problem, and reaches the implementation process of technique effect and can fully understand and implement according to this.Need explanation As long as not constituting conflict, each embodiment in the present invention and each feature in each embodiment can be combined with each other, The technical scheme for being formed is within protection scope of the present invention.
Meanwhile, in the following description, many details are elaborated for illustrative purposes, to provide to of the invention real Apply the thorough understanding of example.It will be apparent, however, to one skilled in the art, that the present invention can be without tool here Body details or described ad hoc fashion are implemented.
In addition, can be in the such as one group department of computer science of computer executable instructions the step of the flow of accompanying drawing is illustrated Performed in system, and, although logical order is shown in flow charts, but in some cases, can be with different from herein Order perform shown or described step.
In order to overcome prior art defect, present invention introduces based on particle swarm optimization algorithm (Paritcle Swarm Optimization, PSO) BP neural network, it is considered to drilling fluid composition factor sets up a set of improved BP High-temperature high-pressure drilling fluid density is combined Forecasting Methodology, and the Forecasting Methodology has drilling fluid constituent and PSO-BP neutral nets Well-bound feature, therefore precision of prediction is higher, Forecasting Methodology is more reasonable.And then predicted in pit shaft according to the Forecasting Methodology Drilling fluid density change under different temperatures pressure, calculates in pit shaft liquid column hydrostatic pressure at each point, finally establishes a set of based on changing Enter the HTHP well shaft ESD computational methods of BP neural network.
The accurate of pit shaft (particularly HTHP pit shaft) static state equal yield density is realized in order to overcome prior art defect Calculate, it is to be analyzed that pit shaft static state equal yield density provided by the present invention determines that method determines first with default neural network model Drilling fluid density in well shaft at each analysis site, then recycles the drilling fluid density that an analysis is pointed out to determine each analysis site The static equal yield density at place.
Required for determining that the drilling fluid density in well shaft to be analyzed at each analysis site, the present embodiment are constructed first Neural network model (preset neural network model).Wherein, the neural network model constructed by the present embodiment is preferably BP neural network based on particle cluster algorithm (Partical Swarm Optimizaiton, referred to as PSO).
Neutral net is to simulate the working mechanism of human brain from physiological structure, its have very strong approximation capability, from Adaptability and self-learning capability.Wherein, BP (Back Propagation) neutral net is the god being most widely used at present Through network.
BP (Back Propagation) neutral net is a kind of multilayer feedforward neural network, and the network is mainly characterized by To transmission, error back propagation before signal.In theory, BP neural network can approach the non-linear relation of arbitrary continuation.When When, because the error cost function of BP neural network is a complicated function of all connection weights, therefore, BP neural network exists Will necessarily there is a problem of that optimizing parameter is excessive during optimization weights, and optimizing parameter will excessively cause convergence rate mistake Slowly.Meanwhile, BP neural network also has that error cost complicated function there may be multiple extreme points, and the problem will likely Searching process is caused to be absorbed in local extremum.
Particle cluster algorithm (Partical Swarm Optimizaiton, referred to as PSO) is obtained from birds predation problem Enlighten and for solving optimization problem.In PSO, the solution of each problem to be optimized is defined as a bird in space, Referred to as " particle ".All particles have an adaptive value determined by problem to be optimized, and each particle also has a speed to determine The direction of fixed its search and distance.PSO initializes the random ion of such a group (i.e. RANDOM SOLUTION) first, is then found by iteration Optimal solution.In iterative process each time, particle updates oneself by tracking two " extreme values ".Wherein, the first extreme value is exactly The optimal solution that particle is found, another extreme value in itself is then the optimal solution that up to the present whole particle colony is found. PSO-BP neutral nets can effectively solve the problem that the convergence rate slow and searching process excessively existing for traditional BP neural network is easy It is absorbed in the problem of local extremum.
It is pointed out that in other embodiments of the invention, god can also be built using other rational methods Through network, the invention is not restricted to this.For example in an embodiment of the present invention, constructed neutral net can also be based on optimization Yield value come realize optimize neuronal transmission function PSO-GainBP neutral nets.
Fig. 1 shows the flow chart of structure PSO-BP networks in the present embodiment.
As shown in figure 1, in the present embodiment, according to drilling fluid density influence factor first in step S101, it is determined that refreshing Through network topology structure.In order to improve computational efficiency and prevent model from dissipating, the PSO-BP neutral nets constructed by the present embodiment Employ 3 layer network structures, i.e., 1 network input layer, 1 hidden layer and 1 output layer.
The neuronal quantity of input layer and output layer is determined first.In view of drilling fluid actual conditions, drilling fluid is by liquid Phase, solid phase two parts composition, liquid phase are pressurized and compress, expansion is influenceed by high temperature, and solid phase is kept constant by temperature, pressure volume, because This calculates main consideration temperature and pressure for drilling fluid density under HTHP influences on the liquid phase in drilling fluid.
Because liquid phase is mainly made up of water phase and oil phase in drilling fluid, and influence of the temperature, pressure to water phase and oil phase have compared with Big difference, it is therefore desirable to consider influence of the HTHP to water phase and oil phase respectively.Therefore the present embodiment setting input layer has 5 Input neuron (i.e. k=5) and 1 thresholded neuron, this 5 input neuron difference corresponding pressure difference Δ P, temperature difference Δ T, Drilling fluid density (i.e. drilling fluid initial density) ρ under normal temperature and pressure0, water phase volume fraction fwWith oil phase volume fraction fo
The neutral net mainly for being predicted to drilling fluid density (especially drilling fluid density under HTHP), because The neuronal quantity that this neural network opens up middle output layer is 1 (i.e. l=1), neuron correspondence drilling fluid density predicted value.
In the present embodiment, the neuronal quantity of hidden layer in neutral net is determined by iterative network training.Wherein, iteration Scope can be calculated according to following expression:
Wherein, m represents the neuronal quantity of hidden layer, and k represents the neuronal quantity of input layer, and l represents the nerve of output layer First quantity, α represents tentative calculation parameter.
In the present embodiment, the value of the neuronal quantity k of input layer is 5, and the value of the neuronal quantity l of output layer is 1, The value of tentative calculation parameter alpha is 1 to 10, is understood according to expression formula (1), and the span of the neuronal quantity m of hidden layer is 4 to 13.
Trained by iterative network, the neuronal quantity of hidden layer is preferably 5 in the neutral net constructed by the present embodiment It is individual, thus also just build and obtained PSO-BP neural network topology structures as shown in Figure 2.Wherein, WijExpression hidden layer jth (1≤ J≤m) node (i.e. neuron) is to the weights between input layer i-th (1≤i≤k) node, VjlRepresent output layer l nodes (i.e. Neuron) to the weights between hidden layer jth node, θjRepresent the threshold value of hidden layer jth node, θlRepresent the threshold of output layer l nodes Value.
Again as shown in figure 1, after the topological structure for determining PSO-BP neural network, the present embodiment is in step s 102 The historical test data relevant with drilling fluid density is obtained, and these historical test datas are normalized.In the present embodiment In, the acquired historical test data relevant with drilling fluid density includes:Drilling fluid initial density ρ0, initial temperature T0, it is initial Pressure P0, different test experiments drilling fluid pressure PiWith suffered temperature Ti, in pressure PiWith temperature TiWhen drilling well it is liquid-tight Degree ρi, water phase volume fraction fwAnd oil phase volume fraction fo
After obtaining above-mentioned historical data, measuring point drilling fluid density ρ is calculatediCorresponding pressure differential Δ PiWith temperature difference Δ Ti, I.e.:
ΔPi=Pi-P0 (2)
ΔTi=Ti-T0 (3)
Wherein, drilling fluid initial density ρ0, pressure differential Δ Pi, temperature difference Δ Ti, water phase volume fraction fwAnd oil phase volume Fraction foIt is input layer parameter, ρiIt is output layer parameter.
In the present embodiment, it is normalized by above-mentioned input layer parameter and output layer parameter so that Suo Youcan It is interval that number is normalized to [- 1,1].Specifically, in the present embodiment according to following expression to above-mentioned input layer parameter and output layer Parameter is normalized:
Wherein, xmidThe intermediate value of certain parameter, xmaxAnd xminThe maximum and minimum value of certain parameter are represented respectively, and x and x ' is respectively Represent the value before certain parameter normalization and after normalization.
X can represent drilling fluid initial density ρ0, pressure differential Δ Pi, temperature difference Δ Ti, water phase volume fraction fw, oil phase body Fraction foWith measuring point drilling fluid density ρi.For example for temperature difference Δ TiFor, it can be returned according to following expression One change is processed:
Wherein, Δ T ' represents temperature difference Δ TiCorresponding normalized temperature is poor, Δ TmaxWith Δ TminRepresent respectively and counted Maximum and minimum value in each temperature difference data for obtaining.
Other specification can also be normalized using identical principle, be will not be repeated here.
After being normalized to historical data, the historical data after normalization is input to step in step s 103 The neutral net topology is trained in neural network topology structure constructed by S101, so as to obtain neutral net most There is network parameter, that is, obtain required neural network model.
After obtaining above-mentioned neural network model, just can using the neural network model come to each pressure and at a temperature of Drilling fluid density is predicted, and Fig. 3 to show and determine drilling fluid density and static equal yield density using the neural network model Flow chart.
As shown in figure 3, formation parameter, the casing programme of the present embodiment well to be analyzed that basis gets in step S301 Parameter, drilling tool parameter and components of drilling liquid parameter, determine the Wellbore Temperature Field of well to be analyzed, so as to obtain the well of well to be analyzed Cylinder thermo parameters method.
In the present embodiment, acquired components of drilling liquid parameter in step S301 includes oil phase volume fraction foWith water phase Volume fraction fw.Wherein, in step S301, the drilling fluid normal temperature and pressure of the to be analyzed well relevant with drilling fluid density is also obtained (i.e. initial pressure P0With initial temperature T0) under density (i.e. initial density) ρ0, and also to drilling fluid initial density ρ0And Components of drilling liquid parameter is normalized, and has obtained the first normalization data collection.
After well bore temperature distribution is obtained, in step s 302 according to well bore temperature distribution, the pit shaft for being analysed to well is drawn It is divided into some sections, correspondence obtains some analysis sites.After obtaining these analysis sites, the method that the present embodiment is provided is just in step The vertical depth data and temperature data of each analysis site are obtained in S303.
Fig. 4 shows in the present embodiment detailed segmentation model in pit shaft.Figure 4, it is seen that the present embodiment will be treated point Analysis well shaft has been divided into n sections, and its vertical depth is respectively H1、H2、…Hn.Wherein, Hi-1Represent the i-th analysis site and the i-th -1 analysis site Between vertical depth, HiRepresent the vertical depth between i+1 analysis site and the i-th analysis site.For example, H1Represent the 2nd analysis site and Vertical depth between 1 analysis site (analysis site i.e. at well head).
In the present embodiment, for the 1st analysis site, its pressure P1As casing pressure WHP, its suffered temperature is T1, its drilling fluid density is drilling fluid density ρ1.And for the i-th analysis site, its pressure is pressure Pi, suffered temperature Degree is temperature Ti, drilling fluid density is drilling fluid density ρi
Be can be seen that by above-mentioned set up neural network model, if it is desired to ask for the drilling fluid density of the i-th analysis site ρi, it is necessary to determine the pressure P of the i-th analysis siteiAnd temperature Ti.And the temperature T of the i-th analysis siteiThe basis in step S301 Well bore temperature distribution can determine to obtain, thus now it needs to be determined that namely the i-th analysis site pressure Pi, and the i-th analysis The pressure P of pointiCan be by the casing pressure WHP and liquid column hydrostatic pressure P of the positioni_s.Casing pressure WHP is, it is known that then only need to meter The liquid column hydrostatic pressure that calculation is caused by drilling fluid density.
Because with the increase of analysis site vertical depth, its drilling fluid density is also change.Therefore in order to ensure resulting i The pressure P of analysis siteiAccuracy, the method that the present embodiment is provided employs the mode of iteration to determine each analysis site Pressure, that is, be present:
Pi+1=WHP+Pi+1_s=PiigHi (8)
Wherein, Pi+1And PiThe pressure of i+1 analysis site and the i-th analysis site is represented respectively, and g represents acceleration of gravity, HiTable Show the vertical depth between i+1 analysis site and the i-th analysis site.
For example, for the 2nd analysis site, its pressure P2Can be calculated according to following expression:
P2=P11gH1 (9)
The rest may be inferred, and the drilling well of present analysis point just can be so determined using the drilling fluid density of previous analysis site Liquid-tight degree.
It is pointed out that for the 1st analysis site, its described pressure is known casing pressure WHP.
Specifically, as shown in figure 3, parameter i first is set into 1 in step s 302, i.e., initial analysis site is the 1st analysis site. In step s 304, according to the pressure P of the 1st analysis site1(P1Equal to casing pressure WHP) and temperature T1, determine the 1st analysis site Drilling fluid density ρ1
Specifically, in step s 304, due to the temperature T of the 1st analysis site1Equal to initial temperature T0, so if the 1st point Analyse the pressure P of point1(i.e. casing pressure WHP) is equal to 0, then the drilling fluid density ρ of the 1st analysis site1Also it is equal to drilling fluid initial Density p0.And if the pressure P of the 1st analysis site1(i.e. casing pressure WHP) is not equal to 0, then will be counted first in step S303 Calculate the pressure differential Δ P of the 1st analysis site1With temperature difference Δ T1, then to pressure differential Δ P1With temperature difference Δ T1It is normalized The drilling fluid density ρ of the 1st analysis site is determined using the data after normalization and default neural network model afterwards1
Specifically, the method that the present embodiment is provided calculates i+1 analysis site in step S305 according to following expression The pressure P at placei+1
Pi+1=PiigHi (10)
Wherein, g represents acceleration of gravity, HiThe vertical depth between i+1 analysis site and the i-th analysis site is represented, that is, is existed:
Hi=hi+1-hi(i=1 ..., n) (11)
Obtain the pressure P at the i-th analysis siteiAfterwards, the pressure of the i-th analysis site just can be respectively calculated in step S306 Power difference Δ PiWith temperature difference Δ Ti.Specifically, in the present embodiment, the pressure of the i-th analysis site is calculated advantageously according to following expression Power difference Δ PiWith temperature difference Δ Ti
ΔPi=Pi-P0 (12)
ΔTi=Ti-T0 (13)
In the present embodiment, to the pressure differential Δ P of the i-th analysis site in step S307iWith temperature difference Δ TiIt is normalized, And gather resulting the first normalization data collection in step S301 and define the second normalization data collection.Wherein, second returns One change data are to include drilling fluid initial density, oil phase volume fraction, water phase volume fraction, the i-th analysis site after normalization Pressure differential Δ PiWith temperature difference Δ Ti
As shown in figure 3, be input into for above-mentioned second normalization data collection in step S308 by the method that the present embodiment is provided To the advance neutral net for building, the drilling fluid density of the i-th analysis site just can be so determined according to the output of neutral net ρi
Because now i is equal to 1, therefore calculates in step S305 to step S308 is the relevant parameter of the 2nd analysis site, is walked Resulting drilling fluid density is the drilling fluid density ρ of the 2nd analysis site in rapid S3082
Specifically, the drilling fluid density ρ of the 1st analysis site is obtained in step s 3041Afterwards, in step S305, just can be with According to the pressure P of the 1st analysis site1, drilling fluid density ρ1And the 2nd analysis site and the 1st analysis site vertical depth difference H1Using table The pressure P of the 2nd analysis site is calculated up to formula (8)2
Then in step S306, according to the pressure P of the 2nd analysis site2With temperature T2The pressure of the 2nd analysis site can be calculated Power difference Δ P2With temperature difference Δ T2, and to pressure differential Δ P in step S3072With temperature difference Δ T2It is normalized.To return The default neural network model of data input after one change, so also can be obtained by the drilling fluid density ρ of the 2nd analysis site2
In step S309, the method will determine that whether reaching expectation analysis site (for example expects to obtain its drilling fluid density Analysis site).If expectation analysis site (i.e. the i-th analysis site is to expect analysis site) has been reached, according to each in step S310 The drilling fluid density and vertical depth data of individual analysis site, determine the static equal yield density for expecting analysis site;If be not reaching to Expect analysis site, then make return to step S305 after i=i+1, to obtain the drilling well of i+1 analysis site (being now the 3rd analysis site) Liquid-tight degree, and the process is repeated until reaching expectation analysis site.
Specifically, in the present embodiment, the static equal yield density of each analysis site in pit shaft is calculated according to following expression:
Wherein, ESDi+1Represent the static equal yield density of i+1 analysis site in pit shaft, ρjRepresent the drilling fluid of jth analysis site Density, HjThe vertical depth between the analysis site of jth+1 and jth analysis site is represented, g represents acceleration of gravity, and n represents analysis in pit shaft The sum of point.
As can be seen that in order to overcome prior art defect, the method that the present embodiment is provided introduces base from foregoing description In the BP neural network of particle swarm optimization algorithm (Paritcle Swarm Optimization, PSO), it is considered to which drilling fluid is constituted Composition factor establishes the compound Forecasting Methodology of high-temperature high-pressure drilling fluid density of a set of improved BP, Forecasting Methodology tool Have drilling fluid constituent and the well-bound feature of PSO-BP neutral nets, thus precision of prediction is higher, Forecasting Methodology more Adduction is managed.And then drilling fluid density change under different temperatures pressure in pit shaft is predicted according to the Forecasting Methodology, calculate each in pit shaft Liquid column hydrostatic pressure at point, finally establishes a set of HTHP well shaft ESD computational methods based on improved BP.
The present embodiment is using one group of water-base drilling fluid and two groups of oil base drilling fluid measurement data as training sample to nerve Network topology structure is trained, so as to obtain the network parameter of neutral net topology.In the present embodiment, No.1 water-based drillings Liquid includes into composition:350g water, 20g bentonites, 3g CLSs and 3g lignite sodium hydroxide solutions, then use 4.22g/cm3Barite is aggravated to drilling fluid, is each configured to density for 1.28g/cm3Three kinds of water-base drilling fluid samples.
Oil base drilling fluid composition includes:2# diesel oil 298cm3、52cm3Concentration is 30% calcium chloride water, 5g is organic Soil, 5g emulsifying agents and 2g white limes, equally use proportion to be aggravated to drilling fluid for 4.22 barite, are respectively configured Density is respectively 1.31g/cm3No.2 oil base drilling fluids and 2.15g/cm3No.3 oil base drilling fluids.
In the present embodiment, the component data of above-mentioned three kinds of drilling fluids are as shown in table 1.
Table 1
And three kinds of drilling fluid density data are specific such as table under the conditions of 21.11-204.44 DEG C of temperature, pressure 0-96.46MPa Shown in 2.
Table 2
Then resulting data (i.e. training data input/output argument) are normalized.Specifically, this reality Apply example to be normalized the data shown in Tables 1 and 2 using expression formula (4) and expression formula (5), all data are returned One changes between [- 1,1].Wherein, the structure obtained by normalized is distinguished as shown in Table 3 and Table 4.
Table 3
Table 4
Then, flow is trained to be trained neutral net according to network parameter according to normalization data obtained as above, Optimum network structure is drawn as shown in Fig. 2 and the network parameter determined is as shown in table 5.
Table 5
After the training for completing neutral net, the prediction of drilling fluid density just can be carried out using the neutral net for training .In the present embodiment, certain well uses 1.90g/cm3The oil base drilling fluid of (20 DEG C, 0MPa) is crept into, and geothermal gradient is 18.1 DEG C/km, synthetic wells liquid constituent, oil phase volume fraction is 58.4%, and water phase volume fraction is 9.068%, wellhead casing pipe Pressure WHP is 0, shown in other data such as table 6 (i.e. wellbore construction tables of data) and table 7 (i.e. drilling tool structure tables of data).
Table 6
Table 7
Drilling tool type Drilling tool explanation External diameter (cm) Internal diameter (cm) Length (m)
Drilling rod 5” 12.70 10.86 5931.7
Drilling rod 4” 10.16 8.48 1154.0
Heavy weight drill pipe 4” 10.16 6.51 141.0
Drill collar 5” 12.70 5.72 198.0
Drill bit * PDC 16.83 - -
When the static equal yield density of each analysis site in pit shaft is calculated, Wellbore Temperature Field is calculated according to given data first, The drilling fluid density in pit shaft at each analysis site is then calculated according to the neural network model for building, is finally calculated at each point successively Static equal yield density, final calculation result is as shown in Figure 5.
The present invention relates to the calculating of drilling fluid density and equivalent precision in pit shaft in HTHP drilling process, it includes Based on the neural network model method for designing that drilling fluid constituent is set up, and obtained by the network parameter computational methods for being given Neural network parameter.The method calculates temperature in wellbore always according to formation parameter, casing programme parameter and drilling tool structure parameter , detailed segmentation is carried out to pit shaft, each section of drilling fluid density is calculated with the neural network model set up, finally calculate The quiet density profile of equivalent in whole pit shaft.The method can avoid substantial amounts of repetition experiment and data analysis, substantially increase The computational accuracy and efficiency of HTHP well shaft ESD.
" one embodiment " or " embodiment " mentioned in specification means special characteristic, the structure for describing in conjunction with the embodiments Or characteristic is included at least one embodiment of the present invention.Therefore, the phrase " reality that specification various places throughout occurs Apply example " or " embodiment " same embodiment might not be referred both to.
Although above-mentioned example is used to illustrate principle of the present invention in one or more applications, for the technology of this area For personnel, in the case of without departing substantially from principle of the invention and thought, hence it is evident that can in form, the details of usage and implementation It is upper various modifications may be made and without paying creative work.Therefore, the present invention is defined by the appended claims.

Claims (10)

1. in a kind of pit shaft drilling fluid density determination method, it is characterised in that methods described includes:
Step one, the drilling fluid initial density ρ for obtaining well to be analyzed0, components of drilling liquid parameter and each analysis site vertical depth data And temperature data, and to the drilling fluid initial density ρ0It is normalized with component data, obtains the first normalization number According to collection;
Step 2, the drilling fluid density ρ according to the i-th analysis sitei, pressure PiAnd i-th analysis site and i+1 analysis site vertical depth Data, calculate the pressure P of i+1 analysis sitei+1, wherein, i >=1;
Step 3, the pressure P according to the i+1 analysis sitei+1With temperature data Ti+1, calculate the pressure of the i+1 analysis site Power difference Δ Pi+1With temperature difference Δ Ti+1
Step 4, to the pressure differential Δ Pi+1With temperature difference Δ Ti+1It is normalized, and combines described first and normalizes Data set obtains the second normalization data collection of the i+1 analysis site;
Step 5, according to the second normalization data collection, using default neural network model, obtain the i+1 analysis site Drilling fluid density ρi+1
Repeating said steps two obtain the drilling fluid density at each analysis site to step 5.
2. the method for claim 1, it is characterised in that in the step one:
Formation parameter, casing programme parameter, drilling tool structure parameter and components of drilling liquid according to the Jing Chu to be analyzed for getting Parameter, determines the Wellbore Temperature Field of the well to be analyzed, obtains the well bore temperature distribution of the well to be analyzed;
According to the well bore temperature distribution, the pit shaft is divided into some sections, correspondence obtains some analysis sites.
3. method as claimed in claim 2, it is characterised in that the components of drilling liquid parameter includes:Oil phase volume fraction foWith Water phase volume fraction fw
4. the method as any one of claims 1 to 3, it is characterised in that the i-th analysis site is determined according to following expression Pressure differential Δ PiWith temperature difference Δ Ti
ΔPi=Pi-P0
ΔTi=Ti-T0
Wherein, P0And T0Initial liquid column hydrostatic pressure and initial temperature are represented respectively.
5. the method as any one of Claims 1 to 4, it is characterised in that according to following expression to the i-th analysis site Temperature difference Δ TiIt is normalized:
ΔT m i d = ΔT m a x + ΔT m i n 2
ΔT i ′ = 2 ( ΔT i - ΔT m i d ) ΔT max - ΔT m i n
Wherein, Δ T 'iRepresent temperature difference Δ TiCorresponding normalized temperature is poor, Δ TmaxWith Δ TminTemperature difference is represented respectively Maximum and minimum value.
6. the method as any one of Claims 1 to 5, it is characterised in that the default neural network model is to pass through Following steps build what is obtained:
Neural network topology structure determines step, according to drilling fluid density influence factor, determines in neutral net input layer and defeated Go out the neuronal quantity of layer, the neuronal quantity for determining hidden layer in the neutral net is trained by iterative network, obtain nerve Network topology structure;
Neural metwork training step, obtains the historical test data relevant with drilling fluid density, and the historical data is returned One change, and by normalization after the historical data be input in the neural network topology structure to open up the neutral net Flutter structure to be trained, obtain optimal network parameter, so as to build obtain the default neural network model.
7. method as claimed in claim 6, it is characterised in that trained by iterative network and determine hidden layer in the neutral net Neuronal quantity when, iteration ranges are determined according to following expression:
m = k + l + α
Wherein, m represents the neuronal quantity of neutral net hidden layer, and k and l represents the neuron number of input layer and output layer respectively Amount, α represents tentative calculation parameter.
8. the method as any one of claim 1~7, it is characterised in that the i+1 is calculated according to following expression The pressure P of analysis sitei+1
Pi+1=PiigHi
Wherein, g represents acceleration of gravity, HiRepresent the vertical depth between i+1 analysis site and the i-th analysis site.
9. in a kind of pit shaft static equal yield density determination method, it is characterised in that methods described includes:
Drilling fluid density determines step, using each point in pit shaft as described in the method determination any one of claim 1~8 Analyse the drilling fluid density of point;
Static equal yield density determines step, according to the drilling fluid density of each point, determines the quiet of each analysis site in the pit shaft State equal yield density.
10. method as claimed in claim 9, it is characterised in that each analysis site in the pit shaft is determined according to following expression Static equal yield density:
ESD i + 1 = W H P + Σ j = 1 i ρ j gH j g Σ j = 1 n H j
Wherein, ESDi+1The static equal yield density of i+1 analysis site in pit shaft is represented, WHP represents casing pressure, ρjRepresent jth point Analyse the drilling fluid density of point, HjThe vertical depth between the analysis site of jth+1 and jth analysis site is represented, g represents acceleration of gravity, n tables Show the sum of analysis site in pit shaft.
CN201511016754.7A 2015-12-29 2015-12-29 Drilling fluid density determination method and static equivalent density determination method Active CN106934075B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201511016754.7A CN106934075B (en) 2015-12-29 2015-12-29 Drilling fluid density determination method and static equivalent density determination method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201511016754.7A CN106934075B (en) 2015-12-29 2015-12-29 Drilling fluid density determination method and static equivalent density determination method

Publications (2)

Publication Number Publication Date
CN106934075A true CN106934075A (en) 2017-07-07
CN106934075B CN106934075B (en) 2020-07-10

Family

ID=59441484

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201511016754.7A Active CN106934075B (en) 2015-12-29 2015-12-29 Drilling fluid density determination method and static equivalent density determination method

Country Status (1)

Country Link
CN (1) CN106934075B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107478544A (en) * 2017-08-25 2017-12-15 中国石油天然气股份有限公司 The determination method and apparatus of brine layer drilling fluid density
CN110388202A (en) * 2018-04-13 2019-10-29 中国石油化工股份有限公司 Wellbore fluids Rheology Method based on the reading prediction of high temperature and pressure viscosimeter
CN115238861A (en) * 2022-07-11 2022-10-25 西南石油大学 Safe drilling fluid density determination method based on borehole wall collapse degree constraint

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101025084A (en) * 2006-02-20 2007-08-29 中国石油大学(北京) Method for predetecting formation pore pressure under drill-bit while drilling
CN104121014A (en) * 2014-06-16 2014-10-29 西南石油大学 Method for diagnosing type of leakage of drilled well based on neural network fusion technique
US20140367092A1 (en) * 2007-04-02 2014-12-18 Halliburton Energy Services, Inc. Methods and apparatus for evaluating downhole conditions through fluid sensing
WO2015016934A1 (en) * 2013-08-01 2015-02-05 Halliburton Energy Services, Inc. Resin composition for treatment of a subterranean formation

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101025084A (en) * 2006-02-20 2007-08-29 中国石油大学(北京) Method for predetecting formation pore pressure under drill-bit while drilling
US20140367092A1 (en) * 2007-04-02 2014-12-18 Halliburton Energy Services, Inc. Methods and apparatus for evaluating downhole conditions through fluid sensing
WO2015016934A1 (en) * 2013-08-01 2015-02-05 Halliburton Energy Services, Inc. Resin composition for treatment of a subterranean formation
CN104121014A (en) * 2014-06-16 2014-10-29 西南石油大学 Method for diagnosing type of leakage of drilled well based on neural network fusion technique

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
E .A.OSMAN等: "通过人工神经网络 (ANN)简单而准确地确定随压力和温度变化的钻井泥浆密度", 《国外油田工程》 *
YANG HENGLIN等: "Deformation Mechanisms and Safe Drilling Fluids Density in Extremely Thick Salt Formations", 《PETROLEUM SCIENCE》 *
孙士慧: "井底恒压钻井井筒流动模型研究", 《中国博士学位论文全文数据库 工程科技Ⅰ辑》 *
徐生江等: "基于支持向量机的钻井液高温高压静态密度预测模型", 《钻井液与完井液》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107478544A (en) * 2017-08-25 2017-12-15 中国石油天然气股份有限公司 The determination method and apparatus of brine layer drilling fluid density
CN107478544B (en) * 2017-08-25 2020-04-10 中国石油天然气股份有限公司 Method and device for determining density of brine layer drilling fluid
CN110388202A (en) * 2018-04-13 2019-10-29 中国石油化工股份有限公司 Wellbore fluids Rheology Method based on the reading prediction of high temperature and pressure viscosimeter
CN115238861A (en) * 2022-07-11 2022-10-25 西南石油大学 Safe drilling fluid density determination method based on borehole wall collapse degree constraint
CN115238861B (en) * 2022-07-11 2023-11-17 西南石油大学 Safe drilling fluid tightness determining method based on well wall collapse degree constraint

Also Published As

Publication number Publication date
CN106934075B (en) 2020-07-10

Similar Documents

Publication Publication Date Title
Abdelgawad et al. Real-time determination of rheological properties of spud drilling fluids using a hybrid artificial intelligence technique
CN105117511B (en) A kind of characterizing method of fracture hole oil reservoir interwell communication passage and flow parameter
CN112343587B (en) Identification characterization method for dominant seepage channel of ultralow permeability oil reservoir
CN112901137B (en) Deep well drilling mechanical drilling speed prediction method based on deep neural network Sequential model
Brantson et al. Forecasting of horizontal gas well production decline in unconventional reservoirs using productivity, soft computing and swarm intelligence models
CN105760673A (en) Fluvial facies reservoir earthquake sensitive parameter template analysis method
CN110259444A (en) Water-drive pool seepage field visual representation and evaluation method based on flow field diagnosis
CN113610945B (en) Ground stress curve prediction method based on hybrid neural network
CN106934075A (en) Drilling fluid density determines that method and static equal yield density determine method
Huai et al. Predicting apparent shear stress in prismatic compound open channels using artificial neural networks
Xu et al. Simulating seawater intrusion in a complex coastal karst aquifer using an improved variable-density flow and solute transport–conduit flow process model
Soroush Interwell connectivity evaluation using injection and production fluctuation data
Liu et al. A Machine Learning Method to infer inter-well connectivity using bottom-hole pressure data
CN111751878B (en) Method and device for predicting transverse wave speed
CN106484930A (en) For determining the method and system of heterogeneous reservoir labyrinth well production
Zhu et al. A physics-constrained data-driven workflow for predicting bottom hole pressure using a hybrid model of artificial neural network and particle swarm optimization
Ibrahim et al. Application of machine learning to predict estimated ultimate recovery for multistage hydraulically fractured wells in niobrara shale formation
Jiang et al. Characteristics of transient pressure performance of horizontal wells in fractured-vuggy tight fractal reservoirs considering nonlinear seepage
CN110991084B (en) Reservoir permeability calculation method based on streamline numerical value well test
CN110688612B (en) Multi-producing-layer oil well yield prediction method based on temperature logging data
Hu et al. Application of BP neural network model in productivity prediction and evaluation of CBM wells fracturing
Talkhestani Prediction of effective porosity from seismic attributes using locally linear model tree algorithm
Erge et al. Numerical and Surrogate Modeling of Surge and Swab Pressure in Concentric and Eccentric Annuli
CN114943060B (en) Shale gas total organic carbon prediction method based on deep learning and interpolation regression
RU2740597C1 (en) Method for forecasting change in production rate of production wells during propagation of elastic vibrations in bottomhole formation zone

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant