A method for identifying pyrite in carbonate formations based on numerical analysis
Through the conventional well logging curves after standardization and principal component analysis, combined with the binary logistic regression model, the stratigraphy of pyrite in carbonate rocks is quickly identified, which solves the problem of difficulty in distinguishing pyrite and improves the identification efficiency and accuracy. , supporting exploration and development of well sections.
Patent Information
- Application Number
- CN202410489706.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-23
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2044-04-23
AI Technical Summary
In carbonate oil and gas reservoirs, pyrite is difficult to distinguish through conventional logging curves, which leads to a decrease in the accuracy of logging interpretation and affects productivity prediction. In addition, traditional identification methods require a large number of core samples, which is time-consuming and labor-intensive.
Using a method based on numerical analysis, through standardized conventional well logging curves, principal component analysis and binary logistic regression model, we can quickly identify the probability of pyrite development and reduce workload and time.
It realizes the rapid and accurate identification of pyrite strata in carbonate rocks when the cored well section is limited, improves the accuracy of logging interpretation, and supports the exploration and development of well sections.
Smart Images

Figure CN118410394B_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to a wellbore geophysical logging evaluation technology, relates to the field of logging interpretation and mineral exploration, and specifically relates to a method for identifying pyrite in carbonate rock formations based on numerical analysis. Background Art
[0002] Carbonate oil and gas reservoirs occupy an important position in the world's oil and gas distribution. Their oil and gas reserves account for about 50% of the world's total oil and gas reserves, and their oil and gas production accounts for more than 60% of the world's total oil and gas production. The importance of in-depth understanding of carbonate mineral components is self-evident. Affected by factors such as sedimentary environment and diagenesis, carbonate formations often develop pores, cracks, and pyrite. However, pyrite is difficult to distinguish through conventional logging curves alone. At the same time, it is dark in electrical imaging pictures and cannot be distinguished from dissolved pores and caves, which will lead to a decrease in the accuracy of logging interpretation and affect the subsequent production capacity prediction. Usually, the following methods are used to identify pyrite in carbonate rocks: microscopic observation: X-ray diffraction analysis; energy spectrum analysis. However, using these methods to identify pyrite in the entire well section of the formation requires obtaining a large number of core samples. Because the above methods are highly accurate, but time-consuming and labor-intensive, it is very meaningful to quickly infer the pyrite-containing layer section in carbonate rocks when the coring section is limited.
[0003] Therefore, a method for identifying pyrite in carbonate rock formations based on numerical analysis was studied using multivariate statistical analysis. This method is a method with low workload and high speed, which can provide strong technical support and guarantee for the next step of exploration and development in this area. Summary of the invention
[0004] The object of the present invention is to provide a method for identifying pyrite in carbonate formations based on numerical analysis, taking conventional well logging curves as features, selecting the standardized characteristic curves for feature dimension reduction by principal component analysis, and extracting the principal component F according to the result after dimension reduction, and inputting the principal component F and the pyrite binary classification variable into a binary logistic regression model to obtain the probability p value of pyrite development. Without complex calculations, the formations with developed pyrite in carbonate rocks can be quickly and intuitively identified. Practice has proved that this method works well in identifying pyrite in the carbonate rocks of the Dengying Formation, and is convenient for field engineers to apply.
[0005] To achieve the above purpose, the technical solution adopted by the present invention is as follows:
[0006] The present invention provides a method for identifying pyrite in carbonate rock formations based on numerical analysis, comprising the following steps:
[0007] Step 1. Each conventional logging curve is treated as a feature and standardized to obtain a standardized feature curve;
[0008] Step 2. The standardized characteristic curve is subjected to feature dimension reduction by principal component analysis, and the principal component F is extracted based on the result of dimension reduction;
[0009] Step 3. Construct a binary variable curve, marking the strata with pyrite development in the coring section as 1, and the strata without pyrite development as 0;
[0010] Step 4. Input the principal component F and the pyrite binary variable curve into the binary logistic regression model to obtain the probability p value of pyrite development;
[0011] Step 5. Introduce the p value into the whole well section. If the p value is ≥ 0.5, it is judged that pyrite is developed in this layer section, otherwise, pyrite is not developed in this formation.
[0012] Furthermore, the conventional logging curves in step 1 include: acoustic time difference curve AC, neutron density curve CNL, uranium-free gamma curve KTH, wellbore curve CAL, density curve DEN, deep resistivity curve RT, shallow resistivity curve RXO, uranium curve U, thorium curve TH, potassium curve K, and photoelectric cross-section curve PE.
[0013] In some embodiments of the present invention, the calculation formula for standardizing the conventional logging curve is:
[0014]
[0015] Where ZX is the normalized conventional logging curve data, dimensionless; X is the normal logging curve data; X mean is the average value of conventional logging curve data X; std is the standard deviation of conventional logging curve data X.
[0016] In step 1, the curve is normalized as follows: there are n sample data, each sample has m variables, and constitutes X i =(X1, X2, ..., X m )(i=1,2,......,n), then the sample matrix is:
[0017]
[0018]
[0019] Where Z ij Standardize the data for the sample; x ij are sample parameters (i=1, 2, ... ..., n; j=1, 2, ... ..., m); is the average value of the jth column of the sample, S j is the standard deviation of the jth column of the sample,
[0020] In step 2, the standardized characteristic curve is subjected to feature dimension reduction by principal component analysis, the principal components with low correlation are removed, and the principal component F with high correlation is extracted. The specific formula is as follows:
[0021]
[0022] Where F is the main component; Z i The standardized conventional logging curve data is used as the evaluation index; ω i Z i The comprehensive weight of .
[0023] Specifically, the calculation steps of the principal component F obtained by the principal component analysis in step 2 are:
[0024] First, assume that the standardized conventional logging curve data is used as the evaluation index Z1, Z2, ..., Z m , and then determine the principal components F1, F2, ..., F according to the cumulative variance contribution rate m , the variance contribution rates of the principal components are V1, V2, ..., V m . The corresponding factor loading coefficient matrix is A = [a ij ] Pxm , where a ij The indicator Z i In the principal component F j Load factor on ;
[0025] Considering the variance contribution rate and factor loading coefficient, the matrix Z and the vector V = (v1, v2, ..., v m ) T Multiply them to get the vector E = (e1, e2, ..., e p ) T ,Right now:
[0026]
[0027]
[0028] Further calculation |e i |The proportion, that is:
[0029]
[0030] ω i As an indicator Z i The comprehensive weight of the weight set w = (ω1, ω2, ..., ω p ) T The formula for obtaining the principal component F is:
[0031]
[0032] The binary variable curve in step 3 selects the coring section because the distribution of pyrite in the coring section is known. The curve is a binary variable curve and is the core data for inputting a binary logistic model. A binary variable is a variable with only two possible outcomes. Therefore, the strata containing pyrite in the coring section are marked as 1, otherwise the strata containing no pyrite in the coring section are marked as 0, and a binary variable curve sorted by stratum depth is constructed.
[0033] The meta-logistic regression model in step 4 is a binary classification model. This model can predict the strata where pyrite is developed. By inputting the principal component F and the binary variable curve into the model, the probability p value of pyrite development can be obtained. The specific expression is as follows:
[0034]
[0035] Where p is the predicted value, α, β1, …, β n are the parameters of each indicator entering the model; X1...X n Indicates the indicators that enter the model.
[0036] In some embodiments of the present invention, in step 5, the probability p of pyrite development in step 4 is used to identify strata in which pyrite is developed in carbonate rocks of the entire well section. Wherein, when the p value is ≥ 0.5, the strata contain pyrite, and when the p value is < 0.5, the strata do not contain pyrite. Practice has shown that the threshold value of 0.5 for the strata containing pyrite in the study area has a good application effect. This method can effectively identify strata in which pyrite is developed in carbonate rocks.
[0037] Compared with the prior art, the present invention has the following beneficial effects:
[0038] The invention is ingeniously conceived and scientifically designed. In the absence of special logging data such as electrical imaging logging, the invention creatively transforms multiple influencing factors into several comprehensive influencing factors based on conventional logging curves using principal component analysis, extracts principal components, and inputs the principal components and binary classification curves into a binary logistic regression model to obtain the probability p value of pyrite development. This prediction value can effectively identify pyrite in carbonate rocks. The actual application effect shows that the method of the invention is fast, intuitive, and highly accurate, and can provide strong technical support and guarantee for the next step of exploration and development in the area. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] Figure 1 It is a technical flow chart of the present invention;
[0040] Figure 2is a bar distribution diagram of the variance ratio of each principal component after dimensionality reduction provided by an embodiment of the present invention;
[0041] Figure 3 This is a rendering of the present invention for identifying developed pyrite strata in the carbonate rock of the Dengying Formation in a well in the Sichuan Basin. DETAILED DESCRIPTION
[0042] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of them.
[0043] like Figure 1 As shown, the method for identifying pyrite in carbonate rock formations based on numerical analysis of the present invention comprises the following steps:
[0044] Step 1. Each conventional logging curve is treated as a feature and standardized to obtain a standardized feature curve;
[0045] Step 2. The standardized characteristic curve is subjected to feature dimension reduction by principal component analysis, and the principal component F is extracted based on the result of dimension reduction;
[0046] Step 3. Construct a binary variable curve, marking the strata with pyrite development in the coring section as 1, and the strata without pyrite development as 0;
[0047] Step 4. Input the principal component F and the pyrite binary variable curve into the binary logistic regression model to obtain the probability p value of pyrite development;
[0048] Step 5. Introduce the p value into the whole well section. If the p value is ≥ 0.5, it is judged that pyrite is developed in this layer section, otherwise, pyrite is not developed in this formation.
[0049] The calculation formula for normalizing the conventional logging curve in step 1 is:
[0050]
[0051] Where ZX is the normalized conventional logging curve data, dimensionless; X is the normal logging curve data; X mean is the average value of conventional logging curve data X; std is the standard deviation of conventional logging curve data X.
[0052] In step 2, the standardized characteristic curve is subjected to feature dimension reduction by principal component analysis, the principal components with low correlation are removed, and the principal component F with high correlation is extracted. The specific formula is as follows:
[0053]
[0054] Where F is the main component; Z i The standardized characteristic curve data is used as the evaluation index; ω i Z i The comprehensive weight of .
[0055] The coring section pyrite curve in step 3 is selected because the distribution of pyrite in the coring section is known. The curve is a binary variable curve and is the core data for inputting a binary logistic model. A binary variable is a variable with only two possible outcomes. Therefore, the strata containing pyrite in the coring section are marked as 1, otherwise the strata containing no pyrite in the coring section are marked as 0, and a binary curve sorted by stratum depth is constructed.
[0056] The binary logistic regression model in step 4 is a binary classification model. This model can predict the strata where pyrite is developed. By inputting the principal component F and the binary variable curve into the model, the probability p value of pyrite development can be obtained. The specific expression is as follows:
[0057]
[0058] Where p is the probability of pyrite development, α, β1, ..., β n are the principal component parameters entering the model; F1, ..., F n Represents the principal components entering the model.
[0059] In step 5, the probability p value of pyrite development in step 4 is used to identify the strata in the carbonate rock of the entire well section where pyrite is developed. Wherein, when the p value is ≥ 0.5, the strata contain pyrite, and when the p value is < 0.5, the strata do not contain pyrite. Practice has shown that the threshold value of 0.5 for the strata containing pyrite in the study area has a good application effect. This method can effectively identify the strata in carbonate rock where pyrite is developed.
[0060] In order to enable those skilled in the art to better understand the technical solution of the present invention, the present invention is described in detail below by taking the Dengying Group of a well in the Sichuan Basin as an example:
[0061] Step 1. Each conventional logging curve is treated as a feature and standardized to obtain a standardized feature curve;
[0062] Step 2. The standardized characteristic curve is subjected to feature dimension reduction by principal component analysis, and the principal component F is extracted based on the result of dimension reduction;
[0063] Step 3. Construct a binary variable curve, marking the strata with pyrite development in the coring section as 1, and the strata without pyrite development as 0;
[0064] Step 4. Input the principal component F and the pyrite binary variable curve into the binary logistic regression model to obtain the probability p value of pyrite development;
[0065] Step 5. Introduce the p value into the whole well section. If the p value is ≥ 0.5, it is judged that pyrite is developed in this layer section, otherwise, pyrite is not developed in this formation.
[0066] (1) The conventional logging curves used in this well are specifically the acoustic time difference curve AC, the neutron density curve CNL, the uranium-free gamma curve KTH, the wellbore curve CAL, the density curve DEN, the deep resistivity curve RT, the shallow resistivity curve RXO, the uranium curve U, the thorium curve TH, the potassium curve K, and the photoelectric cross-section curve PE.
[0067] (2) The conventional logging curve is standardized. Taking the acoustic time difference AC as an example, the formula used is as follows:
[0068]
[0069] Where ZAC is the standardized data of the acoustic time difference logging curve, dimensionless; AC is the acoustic time difference logging curve, unit is μs / Ft; AC mean is the average value of the acoustic time difference logging curve; AC std The standard deviation of the acoustic time difference logging curve. The formula for standardization of the neutron density curve CNL, the uranium-free gamma curve KTH, the wellbore curve CAL, the density curve DEN, the deep resistivity curve RT, the shallow resistivity curve RXO, the uranium curve U, the thorium curve TH, the potassium curve K, and the photoelectric cross-section curve PE is the same as above.
[0070] (3) The principal components of the 11 standardized logging curves are extracted by principal component analysis. The dimensions of the output data are selected based on the order of the proportion of the variance of each component to the total variance after dimensionality reduction. The larger the variance ratio of the principal component, the higher the importance of the principal component. The specific situation is as follows: Figure 2 shown.
[0071] (4) As can be seen from the figure above, the first three principal components F1, F2, and F3 are extracted according to the ranking of variance ratio, and their variance ratios are 51.199%, 20.297%, and 11.639% respectively. The specific formula for calculating the principal component F is as follows:
[0072]
[0073] Where F is the main component; Z i The standardized conventional logging curve data is used as the evaluation index; ω i Z i The comprehensive weight of .
[0074] According to formula 2, the specific expressions of the three main components are as follows:
[0075] F1=0.706ZAC+0.75ZCAL+0.543ZCNL-0.53ZDEN+0.786ZKTH+0.519ZpE+0.215ZRT+0.185ZRXO+0.554ZU+0.802ZTH+0.574ZK
[0076] F2=0.85ZAC+0.423ZCAL-0.051ZCNL-0.571ZDEN-0.471ZKTH+0.484ZpE+0.735ZRT+0.71ZRXO-0.455ZU-0.413ZTH-0.438ZK
[0077] F3=-0.285ZAC-0.279ZCAL-0.516ZCNL+0.212ZDEN+0.272ZKTH-0.132ZpE+0.475ZRT+0.566ZRXO+0.173ZU+0.252ZTH+0.33ZK
[0078] (5) According to the depth of the coring section, the distribution of pyrite in the coring section is designed into a binary variable curve according to the stratum depth. This curve is called the coring section pyrite curve. The stratum containing pyrite in the coring section is marked as 1, otherwise the stratum without pyrite in the coring section is marked as 0.
[0079] (6) The principal components F1, F2, F3 and the pyrite curve of the coring section are input into the binary logistic regression model to obtain the probability p of pyrite development. The specific expression is as follows:
[0080]
[0081] Where p is the probability of pyrite development, α, β1, β2, and β3 are the principal component parameters entering the model; F1, F2, and F3 represent the principal components entering the model.
[0082] The specific expression of the pyrite development probability p value of the well obtained according to formula 3 is as follows:
[0083]
[0084] (7) The probability p of pyrite development is used to identify the strata containing pyrite in the carbonate rock strata of the entire well section. When the p value is ≥ 0.5, the strata are judged to contain pyrite, and when the p value is < 0.5, the strata are judged to contain no pyrite.
[0085] The results are attached Figure 3 As shown, it is shown that step 5 has a better indication effect.
[0086] Practical results show that the method of identifying pyrite in carbonate rocks by using principal component analysis and binary logistic regression model can quickly and accurately identify strata in carbonate rocks where pyrite is developed.
[0087] Finally, it should be noted that the above embodiments are only preferred embodiments of the present invention to illustrate the technical solutions of the present invention, rather than limiting them, and certainly not limiting the patent scope of the present invention. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein by equivalents. These modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present invention. In other words, any changes or modifications made to the main design concept and spirit of the present invention that have no substantive significance, and the technical problems they solve are still consistent with the present invention, should be included in the protection scope of the present invention. In addition, the direct or indirect application of the technical solutions of the present invention in other related technical fields is also included in the patent protection scope of the present invention.
Claims
1. A method for identifying pyrite in carbonate rock formations based on numerical analysis, characterized in that: The following steps are involved: Step 1. Each conventional logging curve is treated as a feature and standardized to obtain a standardized feature curve; Step 2. The standardized characteristic curve is subjected to feature dimension reduction by principal component analysis, and the principal component F is extracted based on the result of dimension reduction; Step 3. Select the pyrite curve of the coring section, which is a binary variable curve and the core data for inputting the binary logistic model; mark the strata with developed pyrite in the coring section as 1, and mark the strata without developed pyrite as 0; Step 4. Input the principal component F and the pyrite curve of the coring section into the binary logistic regression model to obtain the probability p value of pyrite development; The specific expression is as follows: Where p is the probability of pyrite development, α, β1, ..., β n are the principal component parameters entering the model; F1, ..., F n represents the principal components entering the model; Step 5. Introduce the p value into the entire well section. When the p value is ≥ 0.5, it is judged that pyrite is developed in the formation, otherwise, pyrite is not developed in the formation.
2. The method for identifying pyrite in carbonate rock formations based on numerical analysis according to claim 1, characterized in that: In step 1, the curve is normalized as follows: there are n sample data, each sample has m variables, and constitutes X i =(X1, X2, ..., X m )(i=1,2,......,n), then the sample matrix is: Where Z ij Standardize the data for the sample; x ij are sample parameters (i=1, 2, ..., n; j=1, 2, ..., m); is the average value of the jth column of the sample, S j is the standard deviation of the jth column of the sample, 3. The method for identifying pyrite in carbonate rock formations based on numerical analysis according to claim 1, characterized in that: The calculation steps of the principal component F obtained by principal component analysis in step 2 are: First, assume that the standardized conventional logging curve data is used as the evaluation index Z1, Z2, ..., Z m , and then determine the principal components F1, F2, ..., F according to the cumulative variance contribution rate m , the variance contribution rates of the principal components are V1, V2, ..., V m , the corresponding factor loading coefficient matrix is A = [a ij ] Pxm , where a ij The indicator Z i In the principal component F j Load factor on ; Considering the variance contribution rate and factor loading coefficient, the matrix Z and the vector V = (v1, v2, ..., v m ) T Multiply them to get the vector E = (e1, e2, ..., e p ) T ,Right now: Calculate |e i |The proportion, that is: ω i As an indicator Z i The comprehensive weight of the weight set w = (ω1, ω2, ..., ω p ) T The formula for obtaining the principal component F is:
