Method and device for predicting cuttings concentration in annular space of horizontal well, and storage medium
By segmenting horizontal wells according to inclination angles and combining principal component analysis and BP neural network models, a cuttings concentration prediction function is established, which solves the problem of insufficient scientific and adaptability in annular cuttings concentration prediction in the existing technology. More accurate predictions of cuttings concentration and wellbore cleanliness evaluation are achieved.
Patent Information
- Application Number
- CN202411000757.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-25
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2044-07-25
AI Technical Summary
Existing annular cuttings concentration prediction methods have insufficient scientific validity and poor adaptability in horizontal well drilling. Machine learning methods rely on empirical judgment and are not suitable for horizontal wells. Hardware measurement methods cannot achieve full scene coverage due to expensive equipment.
By segmenting by well inclination angle, principal component analysis and BP neural network model, a nonlinear prediction function of cuttings concentration influencing parameters and cuttings concentration is established to predict the cuttings concentration in the annulus of horizontal wells.
It improves the accuracy and adaptability of annulus cuttings concentration prediction, can better adapt to the characteristics of different well inclination sections, and enhances the intelligence and accuracy of wellbore cleaning evaluation.
Smart Images

Figure CN118551180B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of oil and gas drilling safety monitoring, and in particular to a method and device for predicting cuttings concentration in annular space of a horizontal well, and a storage medium. Background Art
[0002] Annular cuttings concentration refers to the concentration of cuttings contained in the drilling fluid in the annulus, usually expressed as a percentage, and is an important parameter that affects drilling operations. During horizontal well drilling, the annular cuttings concentration is one of the important evaluation indicators for monitoring the migration of cuttings and analyzing the effect of wellbore cleaning. Poor wellbore cleaning can lead to high friction and torque, long circulation, and frequent reaming. In severe cases, it can lead to complex accidents such as stuck drill, well filling and sidetracking. Therefore, the use of reasonable drilling parameters and construction procedures to promote the timely return of formation broken cuttings to the wellbore and keep the annular cuttings concentration within a reasonable range is of great significance for increasing drilling speed, shortening drilling cycle, and ensuring drilling safety.
[0003] The existing annular cuttings concentration prediction methods mainly use machine learning and hardware measurement methods. The machine learning method uses empirical methods to determine the factors affecting cuttings concentration. Qualitative judgment affects the scientific nature of intelligent analysis. In addition, the machine learning method is only suitable for vertical wells and cannot be applied to horizontal wells. The hardware measurement method relies on hardware equipment. Since mass flow meters are expensive and cannot achieve full scene coverage, the application of this method is limited. Summary of the invention
[0004] The present invention provides a method and device for predicting the concentration of cuttings in the annulus of a horizontal well, and a storage medium, so as to improve the accuracy and adaptability of the prediction of the concentration of cuttings in the annulus of the horizontal well.
[0005] To this end, the present invention provides the following technical solutions:
[0006] A method for predicting cuttings concentration in annulus of a horizontal well, the method comprising:
[0007] Segment the horizontal well according to the well inclination;
[0008] Determine the cuttings concentration influencing parameters of each section of the horizontal well based on the original logging data;
[0009] Establish the nonlinear prediction function of the cuttings concentration influencing parameters and cuttings concentration corresponding to each section;
[0010] The prediction function is used to predict the cuttings concentration in the annulus of the horizontal well.
[0011] Optionally, segmenting the horizontal well according to the well inclination angle includes: segmenting the horizontal well according to the well inclination angles of 0-30°, 30-65° and 65+°.
[0012] Optionally, determining the cuttings concentration influencing parameters of each section of the horizontal well according to the original logging data includes:
[0013] Obtain the original logging data of each section of the horizontal well;
[0014] Generated according to the original logging data dimensional standardized sample matrix, ;
[0015] Determine the The correlation coefficient matrix of the dimensionally standardized sample matrix;
[0016] According to the correlation coefficient matrix, we can get feature vectors;
[0017] Using the The eigenvectors and the correlation coefficient matrix are used to determine multiple principal components as cuttings concentration influencing parameters.
[0018] Optionally, the generating according to the original logging data The dimensionally standardized sample matrix includes:
[0019] Generated according to the original logging data dimensional sample matrix;
[0020] Regarding the The array elements in the dimensional sample matrix are normalized and transformed to obtain dimensional standardized sample matrix.
[0021] Optionally, the correlation coefficient matrix is obtained The feature vectors include:
[0022] Constructing an orthogonal matrix according to the correlation coefficient matrix;
[0023] Taking each column of the orthogonal matrix as the eigenvector of the corresponding special value, we get feature vectors.
[0024] Optionally, the use of The characteristic vectors and the correlation coefficient matrix determine multiple principal components as cuttings concentration influencing parameters including:
[0025] According to the The characteristic vectors and the correlation coefficient matrix are used to solve the characteristic equation and we get principal components;
[0026] according to The contribution rates of the principal components are calculated to select multiple principal components, and the parameters in the selected principal components are used as the parameters affecting the cuttings concentration.
[0027] Optionally, establishing a nonlinear prediction function of the cuttings concentration influencing parameter and the cuttings concentration includes:
[0028] Acquiring sample data corresponding to the cuttings concentration influencing parameter;
[0029] Performing normalization processing on the sample data to obtain processed sample data;
[0030] The processed sample data is used to train a BP neural network model, the input nodes of the BP neural network are the characteristic vectors corresponding to the multiple principal components, and the output is the prediction result of the cuttings concentration.
[0031] Optionally, the input function and output function of each neuron in the hidden layer of the BP neural network are respectively:
[0032] ;
[0033] ;
[0034] in, is the input function, is the output function; is the input parameter, is the weight, is the bias value, express The distribution function of .
[0035] A device for predicting cuttings concentration in annular space of a horizontal well, the device comprising:
[0036] A setting module is used to segment horizontal wells according to well inclination;
[0037] A parameter determination module is used to determine the cuttings concentration influencing parameters of each section of the horizontal well based on the original logging data;
[0038] A function building module is used to build a nonlinear prediction function of the cuttings concentration influencing parameters and cuttings concentration corresponding to each section;
[0039] The prediction module is used to predict the cuttings concentration in the annulus of the horizontal well using the prediction function.
[0040] Optionally, the parameter determination module includes:
[0041] A data acquisition unit, used to acquire original logging data of each section of the horizontal well;
[0042] A standardization unit is used to generate a dimensional standardized sample matrix, ;
[0043] A coefficient determination unit is used to determine the The correlation coefficient matrix of the dimensionally standardized sample matrix;
[0044] A feature vector determination unit is used to obtain a feature vector according to the correlation coefficient matrix. feature vectors;
[0045] A parameter selection unit is used to utilize the The eigenvectors and The dimensional standardized sample matrix was used to determine multiple principal components as the influencing parameters of cuttings concentration.
[0046] Optionally, the function establishment module includes:
[0047] A sample acquisition unit, used to acquire sample data corresponding to the cuttings concentration influencing parameter;
[0048] A sample processing unit, used for performing normalization processing on the sample data to obtain processed sample data;
[0049] The model training unit is used to train a BP neural network model using the processed sample data, wherein the input nodes of the BP neural network are the characteristic vectors corresponding to the plurality of principal components, and the output is a prediction result of the cuttings concentration.
[0050] A computer-readable storage medium stores a computer program, which executes the steps of the method for predicting cuttings concentration in the annulus of a horizontal well when the computer program is executed by a processor.
[0051] The method and device for predicting cuttings concentration in the annulus of a horizontal well provided by the present invention divide the horizontal well into sections according to different cuttings migration mechanisms and well inclination angles, and use the principal component analysis method to obtain the optimal characteristic parameters of cuttings concentration influencing factors in different well inclination sections; through the artificial neural network prediction method, the nonlinear relationship mapping between cuttings concentration influencing factors and cuttings concentration is achieved, and a cuttings concentration prediction fitting function is obtained, thereby realizing the prediction of cuttings concentration in the annulus of horizontal wells with different well inclination sections, and improving the accuracy and adaptability of the annulus cuttings concentration prediction. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0053] Figure 1 It is a flow chart of a method for predicting cuttings concentration in annular space of a horizontal well provided by the present invention;
[0054] Figure 2is a flow chart for determining parameters affecting cuttings concentration in an embodiment of the present invention;
[0055] Figure 3 is a flow chart of establishing a nonlinear prediction function of cuttings concentration influencing parameters and cuttings concentration in an embodiment of the present invention;
[0056] Figure 4 is a schematic diagram of the principal components and their eigenvalues in an embodiment of the present invention;
[0057] Figure 5 Schematic diagram of the main components and their contribution rates and cumulative contribution rates in an embodiment of the present invention;
[0058] Figure 6 It is a schematic diagram comparing the predicted result of the annular cuttings concentration and the actual cuttings concentration using the method of the present invention;
[0059] Figure 7 It is a structural schematic diagram of a horizontal well annulus cuttings concentration prediction device provided by the present invention. DETAILED DESCRIPTION
[0060] The specific implementation of the present invention is described in detail below in conjunction with the accompanying drawings. It should be understood that the specific implementation described here is only used to illustrate and explain the present invention, and is not used to limit the present invention.
[0061] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0062] In view of the problems existing in the existing prediction of cuttings concentration in the annulus, the present invention provides a method and device for predicting cuttings concentration in the annulus of a horizontal well. According to different cuttings migration mechanisms and well inclination angles, the horizontal well is segmented, and the principal component analysis method is used to obtain the optimal characteristic parameters of the factors affecting cuttings concentration in different well inclination sections. Through the neural network prediction method, the nonlinear relationship mapping between the factors affecting cuttings concentration and cuttings concentration is achieved, and the cuttings concentration prediction fitting function is obtained, thereby realizing the prediction of cuttings concentration in the annulus of horizontal wells with different well inclination sections.
[0063] There are many parameters that affect the cuttings concentration, including adjustable "control parameters" and "affected parameters". Any change in control parameters will affect the change in "affected parameters". For borehole cleaning related parameters, the affected parameters include "internal state parameters" and "output parameters".
[0064] In the embodiment of the present invention, the parameters used to analyze the concentration of rock cuttings may mainly include but are not limited to any one or more of the following:
[0065] X1-Deviation angle (DEV), unit "degree": Deviation angle refers to the angle between the central axis of a point in an oil and water well and the plumb line of the earth, ranging from 0° to 180°. Deviation angle is used to indicate the inclination of the wellbore trajectory. As the deviation angle increases, the weight of the cuttings along the flow direction of the drilling fluid decreases, the degree of cuttings settlement increases, and the concentration of cuttings in the annulus increases.
[0066] X2-Drilling fluid density (MDOA), unit "g / cm3": Drilling fluid density refers to the mass of drilling fluid per unit volume. Increasing drilling fluid density can reduce the concentration of cuttings, but when it reaches a certain level, the effect on the concentration of cuttings becomes weaker.
[0067] X3-Plastic viscosity (PV) in drilling fluid, unit "mPa.s", plastic viscosity in drilling fluid is the property of plastic fluid, it does not change with shear rate. Plastic viscosity reflects the strength of internal friction between suspended solid particles, between solid particles and liquid phase, and inside continuous liquid phase when the destruction and recovery of the grid structure in the drilling fluid are in dynamic equilibrium under laminar flow conditions.
[0068] X4- Dynamic shear force (YP), unit "Pa": Dynamic shear force reflects the strength of the internal gel network structure of the drilling fluid when it flows, also known as the yield value.
[0069] Increasing the PV / YP ratio can reduce the concentration of cuttings in the annulus, and the degree of influence is related to the cuttings size, rotation speed, well inclination and drill pipe eccentricity.
[0070] X5-Drilling time (ROPA), unit "min / m": drilling time refers to the time required to drill into a certain thickness of rock layer. A decrease in drilling time means an increase in the amount of rock cuttings produced per unit time and an increase in the concentration of rock cuttings.
[0071] X6-weight on bit (WOBA), unit "kN": The weight on bit indicates the axial force applied by the drill bit to the formation. The greater the weight on bit, the smaller the drilling time and the greater the concentration of cuttings.
[0072] X7-Torque (TQA), unit "kN.m": Torque is an output parameter, which indicates the moment of force applied by the drill bit to the formation. The greater the torque, the smaller the drilling time and the greater the cuttings concentration.
[0073] X8-Speed (RPMA), unit "r / min": Speed as a control parameter affects torque. Increasing the speed can disturb the annular cuttings, improve the cuttings flow efficiency, and reduce the cuttings concentration.
[0074] X9-Standpipe pressure (SPPA), unit "MPa": Standpipe pressure is an output parameter. Standpipe pressure can indirectly reflect the amount of cuttings flowing with the drilling fluid. The greater the standpipe pressure, the smaller the concentration of cuttings in the annulus.
[0075] X10-Drilling fluid outlet flow rate (MFOP), unit "%": Drilling fluid outlet flow rate is a relative flow rate, indicating the flow of drilling fluid in the annulus. When the drilling fluid loss outlet flow rate occurs, the concentration of cuttings in the annulus increases as the drilling fluid flows and the cuttings decrease.
[0076] X11-Drilling fluid inlet flow rate (MFIA), unit "L / s": Drilling fluid inlet flow rate is the absolute flow rate, which is the flow rate of drilling fluid entering the drilling pump from the inlet. The drilling fluid inlet flow rate, as a control parameter, affects the annular flow rate of the drilling fluid. The greater the annular flow rate, the lower the cuttings concentration.
[0077] X12-Drilling fluid outlet temperature (MTOA), unit "℃": Drilling fluid outlet temperature affects drilling fluid performance. Eccentricity has a significant negative impact.
[0078] For each divided horizontal section, all or part of the above parameters can be selected as cuttings concentration influencing parameters, and a nonlinear prediction function of cuttings concentration influencing parameters and cuttings concentration can be established based on the selected cuttings concentration influencing parameters, so that the prediction function can better adapt to the characteristics of the corresponding section and more accurately predict the cuttings concentration in the annulus of the horizontal well.
[0079] like Figure 1 FIG. 1 is a flow chart of a method for predicting cuttings concentration in annular space of a horizontal well provided by the present invention, comprising the following steps:
[0080] Step 101, segmenting the horizontal well according to the well inclination angle.
[0081] For example, horizontal wells are segmented according to the well inclination angles of 0-30°, 30-65° and 65+°.
[0082] Of course, the above segmentation is only an exemplary description. In a specific implementation, segmentation of different granularities can be performed as needed, and the present invention does not limit this.
[0083] Step 102, determining the cuttings concentration influencing parameters of each section of the horizontal well according to the original logging data.
[0084] Since the same parameter has different effects on the cuttings concentration at different well inclination angles, in the embodiment of the present invention, the cuttings concentration influencing parameter of each section can be determined respectively, and the specific process will be described in detail later.
[0085] Step 103: Establish a nonlinear prediction function of the cuttings concentration influencing parameters corresponding to each section and the cuttings concentration.
[0086] In a non-limiting embodiment, a nonlinear prediction function based on a BP neural network model can be established based on the cuttings concentration influencing parameters, that is, sample data is collected according to the determined cuttings concentration influencing parameters, and the BP neural network model is trained using the sample data. The input nodes of the BP neural network are the characteristic vectors corresponding to the n principal components (i.e., the n cuttings concentration influencing parameters determined in step 102), and the output is the cuttings concentration prediction result.
[0087] Step 104: Use the prediction function to predict the cuttings concentration in the annulus of the horizontal well.
[0088] When making predictions, it is necessary to make segmented predictions for the horizontal wells. For each segment, it is necessary to select the prediction function corresponding to the segment to ensure the accuracy of the prediction results.
[0089] In the above step 102, it is necessary to determine the cuttings concentration influencing parameters of each section of the horizontal well according to the original logging data. For each section, the method for determining the cuttings concentration influencing parameters is the same. Figure 2 Provide detailed explanation.
[0090] like Figure 2 FIG. 1 is a flow chart of determining the parameters affecting the cuttings concentration according to an embodiment of the present invention, comprising the following steps:
[0091] Step 201, obtaining original logging data of each section of the horizontal well.
[0092] Step 202: Generate a dimensional standardized sample matrix, .
[0093] Since the original logging data is collected in time sequence, the dimensional sample matrix, and then The array elements in the dimensional sample matrix are normalized and transformed to obtain dimensional standardized sample matrix.
[0094] It should be noted that The value of can be determined according to the number of parameters in the actual logging data (i.e. the number of parameters), for example =12, which is not limited in this embodiment of the present invention.
[0095] For example, each data record in the original logging data is represented as:
[0096] , , n is the total number of data record rows;
[0097] According to each of the above data records, we can get dimensional sample matrix, expressed as:
[0098] ;
[0099] right Each element in the dimensional sample matrix undergoes the following standardized transformation:
[0100] ;
[0101] in, for The first dimension of the sample matrix j The mean of the parameter column, ; for The variance of each parameter in the dimensional sample matrix, ;
[0102] By standardizing each array element, we can obtain Dimensional standardized sample matrix .
[0103] Step 203, determine the The correlation coefficient matrix of the dimensional standardized sample matrix.
[0104] Specifically, the standardized sample matrix can be determined according to the following formula: The correlation coefficient matrix of
[0105] ;
[0106] in, is the standardized sample matrix The transposed matrix of .
[0107] Step 204, obtaining according to the correlation coefficient matrix feature vectors.
[0108] For the correlation matrix , we can get Non-negative characteristic roots , and corresponding to the characteristic root Unitized eigenvectors form an orthogonal matrix. At this time, there is no correlation between the variables, that is, there is no redundant information. It is expressed as follows:
[0109]
[0110] Among them, the orthogonal matrix Each column of is the eigenvector corresponding to the eigenvalue, so we get feature vectors.
[0111] Step 205, using the The eigenvectors and The dimensional standardized sample matrix was used to determine multiple principal components as the influencing parameters of cuttings concentration.
[0112] According to the The characteristic vectors and the correlation coefficient matrix are used to solve the characteristic equation and we get principal components; then according to the principle of descending from large to small Multiple principal components are selected from the principal components as the influencing parameters of cuttings concentration.
[0113] For example, for the above correlation coefficient matrix , solve its characteristic equation ,get The principal components are as follows:
[0114]
[0115]
[0116] Through the eigenvector and the correlation coefficient matrix, we can find principal components.
[0117] According to the above formula, we can see the number of principal components In fact, it is an orthogonal matrix The nth column of (i.e., the eigenvector corresponding to the largest eigenvalue) is multiplied and added with the nth column of the normalized matrix. Similarly, we can get principal components.
[0118] Then, from Select from the principal components The principal components The parameters in the principal components are used as the parameters affecting the rock cuttings concentration. When selecting, you can choose according to the contribution rate of each principal component. For example, you can use the principal component with a contribution rate greater than the set threshold as the parameter affecting the rock cuttings concentration; or you can sort the principal components from large to small according to the contribution rate and select ( ) principal components as the influencing parameters of cuttings concentration; or sort them from large to small according to contribution rate, and select multiple principal components whose cumulative contribution rate is greater than the set cumulative threshold as the influencing parameters of cuttings concentration.
[0119] principal component The contribution rate of the principal component can be defined as The ratio can be expressed as: .
[0120] forward The sum of the contribution rates of the principal components , called the cumulative contribution rate of the principal component.
[0121] Usually take the smaller , the cumulative contribution rate can be made ≥ 80%. This achieves the purpose of dimensionality reduction with less information loss.
[0122] like Figure 3 FIG. 1 is a flowchart of establishing a nonlinear prediction function of cuttings concentration influencing parameters and cuttings concentration in an embodiment of the present invention, comprising the following steps:
[0123] Step 301, obtaining sample data corresponding to the cuttings concentration influencing parameter.
[0124] Step 302: normalize the sample data to obtain processed sample data.
[0125] Since different parameters have different dimensions, it is necessary to use a linear normalization method to process the data and convert the data into values between [0, 1] so that each input component has an equal status during subsequent network training, ensuring a more complete network training environment.
[0126] The calculation formula for linear normalization is as follows:
[0127]
[0128] In the formula, , , , They respectively represent the initial sample data, normalized data, and the minimum and maximum values in the initial sample data in each group of sample information.
[0129] Step 303: Use the processed sample data to train a BP neural network model, where the input nodes of the BP neural network are the eigenvectors corresponding to the plurality of principal components, and the output is a prediction result of the cuttings concentration.
[0130] The number of nodes in the input layer of the BP neural network is , that is, the number of parameters affecting the cuttings concentration determined, and the corresponding number of hidden layer nodes The output result is the cuttings concentration, so the number of nodes in the BP neural network output layer is 1.
[0131] The input function and output function of each neuron in the hidden layer of the BP neural network are:
[0132]
[0133]
[0134] in, is the input function, is the output function; is the input parameter, is the total number of input parameters, For the The first column weights of the input parameters, is the bias value, whose initial value can be randomly determined and can be automatically adjusted later according to the adopted algorithm; express The distribution function of .
[0135] The output layer is the prediction result of cuttings concentration, and the neuron function value of the output layer is:
[0136]
[0137] in, is the weight value, It is the bias value, whose initial value can be randomly determined and can be automatically adjusted later according to the adopted algorithm.
[0138] There is an error between the predicted result of cuttings concentration and the actual measured data. In the embodiment of the present invention, the total error function of the training sample can be:
[0139]
[0140] in, is the total error value; is the expected output value of the standard data; is the actual output value, P represents the number of principal components, and L represents the number of hidden layer nodes.
[0141] According to the error gradient descent method, the correction amount of the output layer weight is calculated in sequence ; Correction value of output layer threshold ; Correction value of hidden layer weight ; Correction value of hidden layer threshold :
[0142]
[0143] in, is the learning rate; is the rate of change of network weights; is the network error change rate.
[0144] Each weight and threshold in the neural network is continuously modified through error back propagation until the total error If the specified accuracy is met, the training is completed.
[0145] The method and device for predicting cuttings concentration in the annulus of a horizontal well provided by the present invention divide different well inclinations into sections according to different cuttings migration mechanisms, and use the principal component analysis method to obtain the optimal characteristic parameters of cuttings concentration influencing factors in different well inclination sections; through the artificial neural network prediction method, the nonlinear relationship mapping between cuttings concentration influencing factors and cuttings concentration is achieved, and a cuttings concentration prediction fitting function is obtained, thereby realizing the prediction of cuttings concentration in the annulus of horizontal wells with different well inclination sections, and improving the accuracy and adaptability of the annulus cuttings concentration prediction.
[0146] By utilizing the scheme of the present invention, analysis parameters can be automatically selected for different well deviation sections, input and output nonlinear fitting functions can be established based on machine learning methods, and a method for intelligently predicting annular cuttings concentration can be developed, thereby improving the accuracy of horizontal wellbore cleaning evaluation.
[0147] The present invention is further described in detail below using an actual horizontal well.
[0148] Horizontal wells are divided into three types of wellbore cleaning according to the different well inclination angles. In different well inclination angles, cuttings transportation and wellbore cleaning strategies will be very different. For example:
[0149] In the 0-30° well section, cuttings are brought to the surface by overcoming the cuttings settling velocity, in which case the cuttings need to descend more than a kilometer to reach the bottom of the well. Hole cleaning is simply provided by the viscosity and flow rate of the drilling fluid. When the pump is turned off, the cuttings are suspended by the viscous drilling fluid, although there will be some settling over time.
[0150] In the 30-65° well section, the cuttings begin to form "dunes". The movement of cuttings in the wellbore is mainly at the bottom of the wellbore, but it is easily stirred into a flowing state. The most significant feature of this inclination range is that when the pump is turned off, the "dunes" will begin to slide (or avalanche) to the bottom of the well. This greatly changes the wellbore cleaning strategy compared to vertical wells.
[0151] In the 65+° section, cuttings fall to the bottom of the wellbore, forming a long, continuous cuttings bed. All the drilling fluid moves above the drill pipe, requiring mechanical agitation to move the cuttings, regardless of the mud flow rate or viscosity. Although the challenges associated with avalanche dunes are gone, hole cleaning in this environment is actually more difficult.
[0152] Therefore, the well inclination is divided into sections according to well inclination 0-30°, 30-65° and 65+°.
[0153] The following is an example of the specific implementation process using the 0-30° well inclination section. The same is true for the 30-65° and 65+° well sections. The specific implementation process is as follows:
[0154] 1. Use principal component analysis to reduce the dimension of the parameters affecting the concentration of cuttings in the annulus of different well inclination sections
[0155] (1) Real-time data processing of raw logging
[0156] Taking the actual well data as training samples, 360 samples were obtained, including 120 samples in the 0-30° well inclination section, 120 samples in the 30-65° well inclination section, and 120 samples in the 65+° well inclination section. The well data and the range of various parameter values, as well as the test sample data are shown in Table 1.
[0157] Table 1
[0158]
[0159] (2) Calculate the eigenvalues and corresponding eigenvectors of the correlation coefficient matrix R
[0160] Number each parameter as the principal component, see Table 1, and calculate the eigenvalue of the correlation coefficient matrix R. The calculation results are as follows Figure 4 shown.
[0161] (3) Calculation and selection of principal components
[0162] Calculate the contribution rate of each principal component, and further calculate the cumulative contribution rate. The calculation results are as follows: Figure 5 shown.
[0163] For the first principal component, the index items X1 (DEV), X2 (MDOA), X3 (PV) and X4 (YP) have a greater impact on it; in the second principal component, the index items X8 (RPMA) and X11 (MFIA) have a greater impact on it; in the third principal component, the index items X5 (ROPA), X6 (WOBA), X7 (TQA) and X9 (SPP) have a greater impact on it; the index item X6 (WOBA) of the fourth principal component has a greater impact on it; the fifth principal component X7 (TQA) and X9 (SPP) have a greater impact on it. Therefore, 10 indicators including X1 (DEV), X2 (MDOA), X3 (PV), X4 (YP), X5 (ROPA), X6 (WOBA), X7 (TQA), X8 (RPMA), X9 (SPP) and X11 (MFIA) were determined as the input indicators for the evaluation of cuttings concentration in the 0-30° well inclination section of the subsequent neural network model.
[0164] The principal component analysis method was used to analyze the sample data of different well deviation sections, and the neural network input indicators of different well deviation sections were determined.
[0165] For samples of different well deviation sections, 100 sample data were selected as training sets for model fitting, and 20 sample data were selected as test sets for model prediction.
[0166] The neural network model test uses a minimum error accuracy of 0.001, a maximum number of iterations of 10,000 times, and a learning rate of 0.9. The training is stopped when either the minimum accuracy or the maximum number of iterations is met.
[0167] After the training is completed, the model is tested using the test set to compare the predicted results of the annular cuttings concentration in the 0-30° well inclination section with the actual cuttings concentration. Figure 6 shown.
[0168] Accordingly, an embodiment of the present invention further provides a device for predicting cuttings concentration in the annulus of a horizontal well, such as Figure 7 As shown, the horizontal well annulus cuttings concentration prediction device 700 includes the following modules:
[0169] Setting module 701, for segmenting the horizontal well according to the well inclination angle;
[0170] The parameter determination module 702 is used to determine the cuttings concentration influencing parameters of each section of the horizontal well according to the original logging data;
[0171] Function establishment module 703, used to establish a nonlinear prediction function of the cuttings concentration influencing parameter and the cuttings concentration corresponding to each section;
[0172] The prediction module 704 is used to predict the cuttings concentration in the annulus of the horizontal well using the prediction function.
[0173] A specific implementation structure of the parameter determination module 702 may include the following units:
[0174] A data acquisition unit, used to acquire original logging data of each section of the horizontal well;
[0175] A standardization unit is used to generate a dimensional standardized sample matrix, ;
[0176] A coefficient determination unit is used to determine the The correlation coefficient matrix of the dimensionally standardized sample matrix;
[0177] A feature vector determination unit is used to obtain a feature vector according to the correlation coefficient matrix. feature vectors;
[0178] A parameter selection unit is used to utilize the The eigenvectors and The dimensional standardized sample matrix was used to determine multiple principal components as the influencing parameters of cuttings concentration.
[0179] A specific implementation structure of the function establishment module 703 may include the following units:
[0180] A sample acquisition unit, used to acquire sample data corresponding to the cuttings concentration influencing parameter;
[0181] A sample processing unit, used for performing normalization processing on the sample data to obtain processed sample data;
[0182] The model training unit is used to train a BP neural network model using the processed sample data, wherein the input nodes of the BP neural network are the characteristic vectors corresponding to the plurality of principal components, and the output is a prediction result of the cuttings concentration.
[0183] For the specific implementation methods of the above modules, please refer to the description in the embodiment of the trusted federated learning method of the present invention, which will not be repeated here.
[0184] It should be noted that, for the above-mentioned method embodiments, for the sake of simplicity, they are all described as a series of action combinations, but those skilled in the art should know that the present invention is not limited by the described action sequence, because according to the present invention, certain steps can be performed in other sequences or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.
[0185] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0186] In several embodiments provided by the present invention, it should be understood that the disclosed device can be implemented in other ways.
[0187] The present invention also provides a storage medium, which is a computer-readable storage medium, on which a computer program is stored, and the computer program can be executed when it is run. Figure 1 or Figure 2 or Figure 3 The storage medium may include a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc. The storage medium may also include a non-volatile memory (non-volatile) or a non-transitory memory, etc.
[0188] The above embodiments may be implemented in whole or in part by software, hardware, firmware or any other combination thereof. When implemented using software, the above embodiments may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions or computer programs. When the computer instructions or computer programs are loaded or executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from one website site, computer, server or data center to another website site, computer, server or data center by wired or wireless means.
[0189] The embodiments of the present invention are described in detail above. The present invention is described in detail using specific implementation methods herein. The description of the above embodiments is only used to help understand the method and system of the present invention. It is only a part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should belong to the scope of protection of the present invention, and the content of this specification should not be understood as limiting the present invention. Therefore, any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.
Claims
1. A method for predicting cuttings concentration in the annulus of a horizontal well, characterized in that: The method comprises: Segment the horizontal well according to the well inclination; Determine the cuttings concentration influencing parameters of each section of the horizontal well based on the original logging data; Establish the nonlinear prediction function of the cuttings concentration influencing parameters and cuttings concentration corresponding to each section; Using the prediction function to predict the cuttings concentration in the annulus of the horizontal well; Wherein, segmenting the horizontal well according to the well inclination angle includes: Horizontal wells are segmented according to well inclination angles of 0-30°, 30-65° and 65+°; Wherein, the cuttings concentration influencing parameters of each section of the horizontal well are determined according to the original logging data, including: Obtain the original logging data of each section of the horizontal well; Generated according to the original logging data dimensional standardized sample matrix, ; Determine the The correlation coefficient matrix of the dimensionally standardized sample matrix; According to the correlation coefficient matrix, we can get feature vectors; Using the eigenvectors and the correlation coefficient matrix, determining a plurality of principal components as cuttings concentration influencing parameters; Among them, the establishment of the nonlinear prediction function of the cuttings concentration influencing parameters and cuttings concentration includes: Acquiring sample data corresponding to the cuttings concentration influencing parameter; Performing normalization processing on the sample data to obtain processed sample data; Using the processed sample data to train a BP neural network model, the input nodes of the BP neural network are the feature vectors corresponding to the multiple principal components, and the output is a prediction result of cuttings concentration; The input function and output function of each neuron in the hidden layer of the BP neural network are: ; ; in, is the input function, is the output function; is the input parameter, is the weight, is the bias value, express The distribution function of The output layer is the prediction result of cuttings concentration, and the neuron function value of the output layer is: in, is the weight value, is the bias value, whose initial value is randomly determined and then automatically adjusted according to the adopted algorithm; Set the total error function of the training sample data to: in, is the total error value; is the expected output value of the standard data; is the actual output value, P represents the number of principal components, and L represents the number of hidden layer nodes.
2. The method for predicting cuttings concentration in the annulus of a horizontal well according to claim 1, characterized in that: The method of generating according to the original logging data The dimensionally standardized sample matrix includes: Generated according to the original logging data dimensional sample matrix; Regarding the The array elements in the dimensional sample matrix are normalized and transformed to obtain dimensional standardized sample matrix.
3. The method for predicting cuttings concentration in the annulus of a horizontal well according to claim 1, characterized in that: The correlation coefficient matrix is obtained The feature vectors include: Constructing an orthogonal matrix according to the correlation coefficient matrix; Taking each column of the orthogonal matrix as the eigenvector of the corresponding special value, we get feature vectors.
4. The method for predicting cuttings concentration in the annulus of a horizontal well according to claim 3, characterized in that: The use of The characteristic vectors and the correlation coefficient matrix determine multiple principal components as cuttings concentration influencing parameters including: According to the The characteristic vectors and the correlation coefficient matrix are used to solve the characteristic equation and we get principal components; according to The contribution rates of the principal components are calculated to select multiple principal components, and the parameters in the selected principal components are used as the parameters affecting the cuttings concentration.
5. A device for predicting cuttings concentration in the annulus of a horizontal well, characterized in that: The device comprises: Setting a module, for segmenting the horizontal well according to the well inclination angle, wherein the segmenting of the horizontal well according to the well inclination angle includes: segmenting the horizontal well according to the well inclination angle of 0-30°, 30-65° and 65+°; A parameter determination module is used to determine the cuttings concentration influencing parameters of each section of the horizontal well based on the original logging data; A function building module is used to build a nonlinear prediction function of the cuttings concentration influencing parameters and cuttings concentration corresponding to each section; A prediction module, used to predict the cuttings concentration in the annulus of the horizontal well using the prediction function; The parameter determination module comprises: A data acquisition unit, used to acquire original logging data of each section of the horizontal well; A standardization unit is used to generate a dimensional standardized sample matrix, ; A coefficient determination unit is used to determine the The correlation coefficient matrix of the dimensionally standardized sample matrix; A feature vector determination unit is used to obtain a feature vector according to the correlation coefficient matrix. feature vectors; A parameter selection unit is used to utilize the The eigenvectors and dimensional standardized sample matrix, and determined multiple principal components as parameters affecting cuttings concentration; The function establishment module includes: A sample acquisition unit, used to acquire sample data corresponding to the cuttings concentration influencing parameter; A sample processing unit, used for performing normalization processing on the sample data to obtain processed sample data; A model training unit, used to train a BP neural network model using the processed sample data, wherein the input nodes of the BP neural network are the feature vectors corresponding to the plurality of principal components, and the output is a prediction result of the cuttings concentration; The input function and output function of each neuron in the hidden layer of the BP neural network are: ; ; in, is the input function, is the output function; is the input parameter, is the weight, is the bias value, express The distribution function of The output layer is the prediction result of cuttings concentration, and the neuron function value of the output layer is: in, is the weight value, is the bias value, whose initial value is randomly determined and then automatically adjusted according to the adopted algorithm; Set the total error function of the training sample data to: in, is the total error value; is the expected output value of the standard data; is the actual output value, P represents the number of principal components, and L represents the number of hidden layer nodes.
6. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method for predicting cuttings concentration in the annulus of a horizontal well according to any one of claims 1 to 4 are executed.
Citation Information
Patent Citations
Bayesian network-based straight well annulus rock debris concentration correction method
CN115062479A
Drilling parameter optimization method and device
CN115859566A
Characteristic research method based on long horizontal well rock debris migration dynamic model
CN115952703A
Processing device and method for rock debris logging data
CN117527998A
Sulfur dioxide concentration prediction method and device and computer equipment
CN118039022A
