A method for establishing a pore network model based on nuclear magnetic resonance testing of digital cores

Through NMR testing of dry and wet samples, T1 and T2 spectrum analysis and Avizo software processing, a high-precision pore network model was established, which solved the problem of insufficient resolution in the existing technology and achieved accurate characterization and analysis of nanoscale pores. Quantitatively, the recovery rate is improved.

CN115078438BInactive Publication Date: 2024-09-24SOUTHWEST PETROLEUM UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210733046.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-19
Publication Date
2024-09-24
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

In digital core testing to obtain the structure of shale gas and tight gas reservoirs, the existing technology has insufficient resolution and cannot accurately characterize the impact of nano-scale pores, resulting in the inability to accurately quantify the adsorption and desorption of gas in nano-pores, affecting recovery. Rate.

Method used

By conducting NMR tests on dry and wet samples, combined with T1 and T2 spectrum analysis, the organic matter and inorganic matter agglomerates were divided, the equivalent capillary shape factor was used to convert the pore size and proportion, and Avizo software was used for filtering and segmentation to establish a high-level Accurate pore network model to complement nanoscale pore information.

Benefits of technology

It achieves precise characterization and quantification of nanoscale pores, improves the accuracy of pore network models, enhances understanding of gas adsorption and desorption, and improves the development efficiency and recovery rate of tight gas wells.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115078438B
    Figure CN115078438B
Patent Text Reader

Abstract

The present invention discloses a method for establishing a pore network model based on a digital core tested by nuclear magnetic resonance, including dividing clusters based on T1 and T2 relaxation time images, quantifying four types of cluster pores, namely organic matter, free water, methane and hydroxyl; including correcting digital core matrix data by combining digital core grayscale values ​​with nuclear magnetic resonance data; establishing an equivalent pore throat model for digital core data with a resolution higher than that of CT test based on Avizo software, and performing super-resolution analysis on organic pores and other data with a resolution lower than that of the digital core tested by CT by combining the micro-nano pore distribution obtained by nuclear magnetic resonance with the above-mentioned cluster division, thereby obtaining a pore throat model capable of characterizing the micro-nano pore structure. The present invention supplements the digital core with nuclear magnetic resonance test data to characterize the complex micro-nano pore structure. After the shale digital core is supplemented, the model can introduce the adsorption and desorption process of shale gas in the matrix pores under real conditions.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of gas reservoir development technology, in particular to the field of unconventional oil and gas development, and specifically to a method for establishing a pore network model based on digital core testing. Background Art

[0002] As an important unconventional oil and gas resource, the development of shale gas and tight gas is the main growth point of natural gas production worldwide. In recent years, with the development and investment of my country's natural gas industry, shale gas and shale gas development technology have developed to varying degrees, but the overall utilization capacity is poor, mainly due to the relatively low output and investment of unconventional natural gas under the current natural gas price. In order to overcome this shortcoming, the detailed description of the shale gas and tight gas reservoir structure is the basis for studying the multiphase flow mechanism of the production process and improving the recovery rate, which is of great significance to the development of tight gas and shale gas wells.

[0003] Domestic and foreign scholars often conduct CT tests on field rock samples to obtain digital cores that fully characterize the microscopic pore structure and obtain pore network models based on algorithms. However, due to the accuracy limitations of CT equipment, the resolution of the obtained digital cores is higher than that of nanopores, which account for the main production contribution in unconventional gas reservoir exploitation. Therefore, the pore network model obtained using the current method can only characterize larger-scale micron pores, ignoring the influence of nanoscale pores, and therefore cannot accurately quantify the adsorption and desorption of gas in nanopores. Summary of the invention

[0004] In view of the above problems, the present invention aims to provide a technology to establish a method for a high-precision pore network model, which is easier to implement and can make up for the disadvantage of low resolution of digital cores.

[0005] The technical solution of the present invention is as follows:

[0006] Step 1: Perform digital core testing without processing the sample. After obtaining the sample structure data, perform the first NMR test, i.e. dry sample test, to obtain T1 and T2 spectra. After the test, soak the sample in distilled water, place it in a vacuum tank for saturation for 6 days, quickly wipe off the surface moisture, and perform the second NMR test, i.e. wet sample test, to obtain T2 spectrum.

[0007] Step 2: Analyze the T1 and T2 spectra in the dry sample NMR test in Step 1, make corresponding cloud maps of relaxation time T1 and T2, and analyze them. Divide the cloud map image into two halves according to the upper left corner and lower right corner area, take the cloud map clusters for analysis, and divide them into organic matter clusters and free water clusters. Based on the dry sample T1 / 2 spectrum and the wet sample pore distribution and organic matter clusters, divide the organic and inorganic pores below the digital core resolution.

[0008] Preferably, the specific content of dividing the pores of organic matter and inorganic matter below the digital core resolution based on T2 spectrum and organic matter clustering described in Step 2 is:

[0009] S201, establish a matrix: use the T2 spectrum as the horizontal coordinate of the matrix, the T1 spectrum as the vertical coordinate of the matrix, and the accumulated value of the signal quantity under T1 and T2 as the corresponding coordinate value in the matrix, and use this matrix to make a cloud map.

[0010] S202, NMR data selection: For the signal quantity under the joint analysis of T1 and T2 relaxation times, since the time when the hydrogen nucleus is affected by the NMR magnetic field and the surrounding lattice is longer than the time when the nuclei interact with each other, only T1>T2 data is selected, that is, the cloud map matrix coordinates are evenly divided according to the curve of y=x and the upper left part is selected for analysis.

[0011] S203: Cluster division: Since there are solid organic matter, kerogen rich in hydroxyl structure and methane in shale, its structure is considered to be: solid organic matter>kerogen>methane in terms of complexity, so the T1 relaxation time under the action of its lattice follows the order of complexity. Therefore, it is considered that the signal in the upper left part of the cloud map under low T2 relaxation time and high T1 relaxation time is the signal response of the solid organic matter cluster to the nuclear magnetic resonance experiment. Compared with the solid organic matter cluster, the cluster with a smaller T1 relaxation time, that is, the cluster below the solid organic matter in the cloud map, is the hydroxyl cluster, and the cluster with the smallest T1 relaxation time, that is, the cluster in the lower left corner of the cloud map, is the methane cluster.

[0012] S204: Quantification of clustering data: Through the nuclear magnetic resonance calibration test, the signal of solid organic matter is converted into precise volume; for the T2 relaxation time data in the organic matter clusters, based on the distilled water nuclear magnetic resonance test law of the same principle, it is believed that the distribution law of solid organic matter is the same as the signal quantity law, so combined with the T1 and T2 matrix cloud maps obtained in step S201 and several clusters under low T2 relaxation time in step S203, a single cluster is analyzed, and for the separated cluster matrix data, its T2 relaxation time is used to characterize the distribution ratio of different clusters in the sample through image method or numerical analysis.

[0013] Preferably, the specific method for characterizing the agglomeration distribution in step S204 is:

[0014] S2041 uses Python to read the matrix and establish the horizontal coordinate distribution of the corresponding cluster in the matrix Matrix[X][Y min :Y max ] and the vertical coordinate [Y min ,Y max ]

[0015] S2042 Set the matrix name to Matrix, and use Python to traverse the corresponding values ​​in the matrix column X Matrix[X][Y min :Y max ], calculate the corresponding signal volume ratio, the corresponding formula is:

[0016]

[0017] Where: Matrix[X][Y min :Y max ] is the accumulated value within the cluster under the matrix column X during the traversal process, and SUM(Matrix[X]) is the accumulated value of the values ​​under the matrix column X during the traversal process.

[0018] Through the above steps, the proportion of different clusters at the corresponding transverse relaxation time T2 is obtained, that is, (T2, portion(T2))

[0019] Step 3: Analyze the T2 spectra of dry and wet samples, and convert the T2 relaxation time into pore size and corresponding pore ratio through the shape factor of the equivalent capillary. Process the two sets of data to obtain the pore size and corresponding pore ratio that can be affected by distilled water; combine the four types of aggregates obtained through dry sample testing in Step 2 to remove the influence of the original movable water and organic matter in the sample.

[0020] As an optimal method of converting the T2 relaxation time into pore size and corresponding pore ratio using the equivalent capillary shape factor described in Step 3, the following method is used:

[0021] S301: Based on the signal amounts of different aggregates at the same transverse relaxation time T2 obtained in S204, accurately correct the pore distribution in the sample: the test range of the transverse relaxation time T2 in the nuclear magnetic resonance test is the same, and the programming software is used to traverse the signal amounts of the transverse relaxation time T2 in the dry sample and the wet sample, and the corresponding signal amounts of organic matter, methane, and hydroxyl aggregates in the dry sample are subtracted from the signal amounts in the wet sample to obtain the corresponding relaxation time and signal amount that can be used to characterize the affected pores.

[0022] S302: The transverse relaxation time in the NMR curve obtained in S301 is converted into the pore size. If the dimensions of the three directions in the digital core resolution grid are the same, the shape factor is 2. If the dimensions in the digital core grid are different, and the maximum length in the scale direction / the minimum length in the scale direction is greater than 2, the shape factor is set to 3. The specific conversion equation is:

[0023] r c =βF s T2

[0024] Where: T2 is the relaxation time; F sis the pore shape factor; β is the rock lateral surface relaxation rate

[0025] The pore distribution equivalent to a spherical shape can be obtained by this method.

[0026] Step 4: The data obtained from the digital core test is filtered by Avizo software, and the pore distribution obtained from the nuclear magnetic resonance test is modified and segmented by combining the separate and segmentation functions in the software, and divided into organic matter-inorganic minerals-pores on the basis of maintaining the test resolution. The segmented digital core is converted into an equivalent pore network ball-and-stick model through the PNM module in Avizo software and the maximum ball algorithm.

[0027] Preferably, the specific process of correcting and segmenting the digital core by the separate and segmentation modules in Step 4 is as follows:

[0028] S401: The digital core image is filtered according to the gray value through the segmentation module of the Avizo software, and the lithology is roughly divided according to the manually selected gray threshold. The core is divided into multiple continuous small clusters of the same lithology through the separate module. The data of the digital core is exported and a four-dimensional matrix is ​​established. The three-dimensional coordinates of the matrix represent the corresponding position coordinates of the digital core, and the values ​​in the matrix are the corresponding gray values ​​of the image and the continuous cluster number.

[0029] S402: Use Python programming to traverse the lithology matrix obtained in S401. Optimize the different lithology thresholds manually selected in the previous step, and use the statistical matrix data to modify the volume ratio under the digital core resolution according to the lithology component ratio divided according to the threshold, and compare it with the pores in the nuclear magnetic resonance test due to the nuclear magnetic resonance test data. Through multiple cycles of program iterations to change the threshold, obtain the pores and organic matter groups that can accurately represent the digital core resolution.

[0030] Preferably, the specific method for dividing lithology according to the threshold value in step S402 is:

[0031] S4021: Use Python to read matrix data, traverse the continuous cluster numbers in the matrix, extract the continuous clusters identified as pores in the previous segmentation, count the upper and lower limits of the three-dimensional coordinates, and establish the coordinates of the center point of the continuous clusters (x, y, z). And read and count the matrix Matrix[x-id:x+id][y-id:y+id][z-id:z+id] data. Where: i represents the number of iterations in the traversal process. For the unit vector matrix in the matrix data, the corresponding relationship is:

[0032]

[0033] Easy to get:

[0034]

[0035] For r=I, Reading varies with the number of iterations I The continuous cluster numbers in the corresponding matrix [x, y, z] vectors in the process are counted, and the pore ratio under the corresponding iteration number is counted. When the pore ratio is less than 1 / 4, it is the maximum equivalent sphere pore. The vector at the end of the iteration is marked and set as the boundary in the next traversal process, that is, the cluster is truncated.

[0036] S4022: After the process of S4021, re-read the midpoint of the continuous clusters that have been truncated 2n times in the previous step, and repeat the steps until the size of the truncated cluster is equal to the pore size of the digital core resolution.

[0037] Step 5: Perform super-resolution analysis: Based on the pore distribution and corresponding pore proportion obtained in Step 3, the grayscale in the digital core matrix data in Step 4 is corrected based on the Avizo software to obtain the pore distribution that meets the nuclear magnetic resonance test. The flow simulation of the digital core data can be performed by commercial software simulation and self-compiled software. The beneficial effect of the present invention is that the specific process of super-resolution analysis in Step 5 is as follows:

[0038] S501 Since it is generally believed that the pore size distribution of each mineral follows a normal distribution, and the size of the organic pores in shale is the smallest and lower than the pore distribution value, based on the pores below the digital core resolution in the NMR data, the pore distribution in the small-scale direction of the curve is fitted to the organic pores that conform to the normal distribution.

[0039] S502 The porosity and grayscale value obtained by the HU grayscale conversion algorithm in the digital core measurement process are roughly in an EXP relationship. Therefore, the grayscale value data in the organic matter clusters in the statistical matrix are extracted and processed to describe the porosity; the processed data are iteratively counted to obtain the organic pore distribution that conforms to the nuclear magnetic resonance data test.

[0040] S5021: Process the grayscale data to obtain a dimensionless parameter that can represent the relative density. The corresponding formula is:

[0041] den i =ln(greyshade i )

[0042] S5022: Traverse the dimensionless density data and obtain the maximum value den in the data max And the minimum value of den min , identify maxis the dimensionless density of pure organic matter. The dimensionless relative porosity of organic matter can be characterized by the following formula:

[0043]

[0044] Among them, φ ri and den i Indicates the dimensionless relative porosity and dimensionless relative density values ​​in the corresponding volume element of the digital core; den void Represents the dimensionless relative density value of the digital core pores.

[0045] S5023: For the expected μ and standard deviation σ of the equivalent normal distribution data fitted in the S501 process, the minimum organic pore size and digital core resolution d in the NMR test min , d res The upper and lower bounds are evenly divided into 100 segments, with d i (i=1,2,...,100), the corresponding dimensionless relative porosity can be expressed as:

[0046]

[0047] S5024: Iteration process: set den min for void The initial value of tanh function is used to describe the den void The similarity degree of the lower curve is as follows:

[0048]

[0049] During the iteration process, Iterate until den void ≤0. In the iterative process, f(den void ) minimum value determines den void , calculate the relative porosity of the corresponding position of the digital core.

[0050] S5024: Read the relative porosity data of the aggregates classified as organic matter in the matrix, analyze the corresponding digital core micro-element in the matrix, and obtain the corresponding micro-element pore volume by micro-element size*(1-micro-element median porosity). Based on the pore proportion in the nuclear magnetic resonance test data, the organic pores are allocated in the order from large-sized pore micro-element to small-sized pore micro-element, and the size and number of organic pores in the corresponding matrix coordinate micro-element are counted, and the nano-scale organic pores in the pore throat model obtained in the previous step are supplemented.

[0051] S503 supplements the pore network model obtained by Avizo software in Step 4 based on the data obtained in the above process, and supplements the data of the coordination channels connecting the spherical pores in the pore network model. The corresponding matrix structure is the coordination channel number and its corresponding pore distribution data.

[0052] While ensuring ease of implementation, the present invention is more practical than existing methods in screening the main controlling factors affecting tight gas production, and has extremely far-reaching significance for subsequent tight gas production prediction research. BRIEF DESCRIPTION OF THE DRAWINGS

[0053] 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 or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0054] Figure 1 It is a schematic flow chart of a method for optimizing digital cores based on nuclear magnetic resonance testing to establish a pore network model according to the present invention;

[0055] Figure 2 It is the digital core cluster segmented by Avizo software in Step 2 of Example 1;

[0056] Figure 3 The macropore network model of the digital core extracted by Avizo in Example 1; DETAILED DESCRIPTION

[0057] The present invention is further described below in conjunction with the accompanying drawings and embodiments. It should be noted that, in the absence of conflict, the embodiments in this application and the technical features in the embodiments can be combined with each other. It should be noted that, unless otherwise specified, all technical and scientific terms used in this application have the same meanings as those generally understood by those of ordinary skill in the art to which this application belongs. The words "including" or "comprising" and the like used in the disclosure of the present invention mean that the elements or objects appearing before the word cover the elements or objects listed after the word and their equivalents, without excluding other elements or objects.

[0058] Example 1

[0059] like Figure 1 As shown, a method for optimizing digital cores based on nuclear magnetic resonance testing to establish a pore network model includes the following steps:

[0060] Step 1: Perform digital core testing without processing the sample. After obtaining the sample structure data, perform the first NMR test, i.e. dry sample test, to obtain T1 and T2 spectra. After the test, soak the sample in distilled water, place it in a vacuum tank for saturation for 6 days, quickly wipe off the surface moisture, and perform the second NMR test, i.e. wet sample test, to obtain T2 spectrum.

[0061] Step 2: Analyze the T1 and T2 spectra in the dry sample NMR test in Step 1, make corresponding cloud maps of relaxation time T1 and T2, and analyze them. Divide the cloud map image into two halves according to the upper left corner and lower right corner area, take the cloud map clusters for analysis, and divide them into organic matter clusters and free water clusters. Based on the dry sample T1 / 2 spectrum and the wet sample pore distribution and organic matter clusters, divide the organic and inorganic pores below the digital core resolution. Figure 2 To segment the clusters based on the current threshold, some results are shown in Table 1 and Table 2:

[0062] Table 1 T1 and T2 relaxation time data after testing (partial)

[0063] Relaxation time (ms) 0.01 0.010719 0.01149 0.012316 … 8119.84499 8703.591361 9329.304026 10000 T1 proportion (%) 1.70E-08 3.59E-08 7.46E-08 1.52E-07 … 7.98E+01 6.83E-08 1.75E-08 4.17E-09 T2 proportion (%) 0.001054 0.00141318 0.00187055 0.00244497 … 8.93E+01 4.96E-08 1.27E-08 3.02E-09

[0064] Note: Due to the large amount of sample data, only part of the sample data is listed in Table 1, where "..." indicates that there is data not listed

[0065] Table 2 Pore distribution data corrected according to NMR data (partial)

[0066] Pore ​​size (um) 0.0012 0.00128627 0.00137874 0.00147786 … 974.381399 1044.43096 1119.51648 1200 Volume ratio (%) 0.000256 0.000469 0.000816 0.00137 … 0 0 0 0

[0067] Step 3: Analyze the T2 spectra of the dry and wet samples, convert the T2 relaxation time into pore size and corresponding pore ratio through the shape factor of the equivalent capillary, process the two sets of data, obtain the pore size and corresponding pore ratio that can be affected by distilled water; combine the four types of clusters obtained by dry sample testing in Step 2, and remove the influence of the original movable water and organic matter in the sample; some results are shown in Table 3

[0068] Table 3 Agglomeration data of three substances after removing movable water (partial)

[0069] Pore ​​size (um) 0.0012 0.00128627 0.00137874 0.00147786 … 974.381399 1044.43096 1119.51648 1200 Solid organic matter (%) 0.0299475 0.031998935 0.033762917 0.03517822 … 0 0 0 0 Hydroxyl aggregation (%) 0.007900356 0.006445003 0.005194746 0.004136854 … 0 0 0 0 Methane (%) 0 0 0 0 … 0.00081628 0.000607115 0.000446575 0.000324871

[0070] Step 4: The data obtained from the digital core test is filtered by Avizo software, and the pore distribution obtained from the nuclear magnetic resonance test is modified and segmented by combining the separate and segmentation functions in the software, and divided into organic matter-inorganic minerals-pores on the basis of maintaining the test resolution. The segmented digital core is converted into an equivalent pore network ball-and-stick model through the PNM module in Avizo software and the maximum ball algorithm; the results are shown in Table 4 and Figure 3 Shown

[0071] Table 4 Macropore network pore model extracted by Avizo software (partial)

[0072]

[0073]

[0074] Table 4 Macropore throat model extracted by Avizo software (partial)

[0075]

[0076]

[0077] Step 5: Perform super-resolution analysis: Based on the pore distribution and corresponding pore proportion obtained in Step 3, the grayscale in the digital core matrix data in Step 4 is corrected based on the Avizo software to obtain the pore distribution that conforms to the nuclear magnetic resonance test. The flow simulation of the digital core data can be performed through commercial software simulation and self-compiled software; some supplementary matrices are shown in Table 5.

[0078] Table 5 Pore throat model supplementary matrix #1 (partial)

[0079]

[0080] Table 6 Pore throat model supplementary matrix #2 (partial)

[0081]

[0082]

[0083] Based on the above method,

[0084] The above description is only a preferred embodiment of the present invention and does not limit the present invention in any form. Although the present invention has been disclosed as a preferred embodiment as above, it is not used to limit the present invention. Any technician familiar with this profession can make some changes or modify the technical contents disclosed above into equivalent embodiments without departing from the scope of the technical solution of the present invention. However, any simple modification, equivalent change and modification made to the above embodiments according to the technical essence of the present invention without departing from the content of the technical solution of the present invention still fall within the scope of the technical solution of the present invention.

Claims

1. A method for establishing a pore network model based on a digital core tested by nuclear magnetic resonance, characterized in that: the organic matter distribution of the corresponding sample is obtained by the spin-lattice relaxation time T1 and the spin-spin relaxation time T2 obtained by the nuclear magnetic resonance test, and the lithology of the sample is accurately segmented using the Avizo software based on the corresponding data; the part of the digital core of the sample that is lower than the resolution and cannot be represented is analyzed by super-resolution through the model quantity under the nuclear magnetic resonance data corresponding to the T2 data, and converted into a pore network model that is higher than the resolution of the digital core and can accurately represent the sample structure, and the steps include: Step 1: Do not process the sample, conduct digital core test, obtain the sample structure data, and then conduct the first NMR test, i.e. dry sample test, to obtain T1 and T2 spectra; after the test, soak the sample in distilled water, put it in a vacuum tank for saturation for 6 days, quickly wipe off the surface moisture, and conduct the second NMR test, i.e. wet sample test, to obtain T2 spectrum; Step 2: Analyze the T1 and T2 spectra in the dry sample NMR test in Step 1, use the T2 spectrum as the matrix horizontal coordinate, the T1 spectrum as the matrix vertical coordinate, and the accumulated value of the signal quantity under T1 and T2 as the corresponding coordinate value in the matrix. Use this matrix to make a cloud map for analysis, divide the cloud map image into two halves according to the upper left corner and the lower right corner area, take the cloud map clusters for analysis, divide them into organic matter clusters and free water clusters, and combine the wet sample pore distribution and organic matter clusters to divide the organic and inorganic pores below the digital core resolution; Step 3: Analyze the T2 spectra of the dry and wet samples, and convert the T2 relaxation time into pore size and corresponding pore ratio through the shape factor of the equivalent capillary. Process the two sets of data to obtain the pore size and corresponding pore ratio that can be affected by distilled water; Combine the four types of clusters obtained through the dry sample test in Step 2 to remove the influence of the original movable water and organic matter in the sample; Step 4: The data obtained from the digital core test is filtered by Avizo software, and the pore distribution obtained from the nuclear magnetic resonance test is corrected and segmented by combining the separate and segmentation functions in the software. On the basis of maintaining the test resolution, it is divided into organic matter-inorganic minerals-pores. The segmented digital core is converted into an equivalent pore network ball-and-stick model through the PNM module in Avizo software and the maximum ball algorithm; Step 5: Perform super-resolution analysis: Based on the pore distribution and corresponding pore ratio obtained in Step 3, the grayscale of the digital core matrix data in Step 4 is corrected based on the Avizo software to obtain the pore distribution that conforms to the nuclear magnetic resonance test. The flow simulation of the digital core data can be performed through commercial software simulation and self-compiled software.

2. The method for establishing a pore network model based on nuclear magnetic resonance testing of digital cores according to claim 1 is characterized in that the specific content of dividing the pores of organic matter and inorganic matter below the resolution of the digital core based on T2 spectrum and organic matter clustering as described in Step 2 of claim 1 is: S201, establish a matrix: use the T2 spectrum as the matrix horizontal coordinate, the T1 spectrum as the matrix vertical coordinate, and the accumulated value of the signal quantity under T1 and T2 as the corresponding coordinate value in the matrix, and use this matrix to make a cloud map; S202, NMR data selection: For the signal quantity under the joint analysis of T1 and T2 relaxation time, since the time when the hydrogen nucleus is under the action of the NMR magnetic field and the surrounding lattice is longer than the time when the nucleus interacts with the nucleus, only the data with T1>T2 is selected, that is, the coordinates of the cloud map matrix are evenly divided according to the curve of y=x and the upper left part is selected for analysis; S203: Cluster division: Since there are solid organic matter, kerogen rich in hydroxyl structure and methane in shale, its structure is considered to be: solid organic matter>kerogen>methane in terms of complexity. Therefore, under the action of its lattice, the T1 relaxation time follows the order of complexity. Therefore, it is considered that the signal at low T2 relaxation time and high T1 relaxation time, that is, the signal in the upper left part of the cloud map, is the signal response of the solid organic matter cluster to the nuclear magnetic resonance experiment. Compared with the solid organic matter cluster, the cluster with a smaller T1 relaxation time, that is, the cluster below the solid organic matter in the cloud map, is the hydroxyl cluster, and the cluster with the smallest T1 relaxation time, that is, the cluster in the lower left corner of the cloud map, is the methane cluster; S204: Quantification of clustering data: Through the nuclear magnetic resonance calibration test, the signal of solid organic matter is converted into precise volume; for the T2 relaxation time data in the organic matter clusters, based on the distilled water nuclear magnetic resonance test law of the same principle, it is believed that the distribution law of solid organic matter is the same as the signal quantity law, so combined with the T1 and T2 matrix cloud maps obtained in step S201 and several clusters under low T2 relaxation time in step S203, a single cluster is analyzed, and for the separated cluster matrix data, its T2 relaxation time is used to characterize the distribution ratio of different clusters in the sample through image method or numerical analysis.

3. The method for establishing a pore network model based on nuclear magnetic resonance testing of digital cores according to claim 2 is characterized in that the specific method for characterizing the distribution of clusters in step S204 is: (1) Use Python to read the matrix and establish the horizontal coordinate distribution of the corresponding cluster in the matrix Matrix[X][Y min :Y max ] and the vertical coordinate [Y min ,Y max ] (2) Set the matrix name to Matrix and use Python to traverse the corresponding values ​​in the matrix column X Matrix[X][Y min :Y max ], calculate the corresponding signal volume ratio, the corresponding formula is: Where: M atrix[X][Y min :Y max ] is the accumulated value in the cluster under the matrix column X during the traversal process, and SUM(Matrix[X]) is the accumulated value of the values ​​under the matrix column X during the traversal process; Through the above steps, the proportion of different clusters at the corresponding transverse relaxation time T2 is obtained, that is, (T2, portion(T2)).

4. The method for establishing a pore network model based on nuclear magnetic resonance testing of digital cores according to claim 1 is characterized in that the method for converting the T2 relaxation time into pore size and corresponding pore proportion by the equivalent capillary shape factor described in Step 3 of claim 1 is: S301: Based on the signal amounts of different clusters at the same transverse relaxation time T2 obtained in S204, accurately correct the pore distribution in the sample: the transverse relaxation time T2 test range is the same in the nuclear magnetic resonance test, and the signal amounts of the transverse relaxation time T2 in the dry sample and the wet sample are traversed using programming software, and the corresponding signal amounts of organic matter, methane, and hydroxyl clusters in the dry sample are subtracted from the signal amount in the wet sample to obtain the corresponding relaxation time and signal amount that can be used to characterize the affected pores; S302: The transverse relaxation time in the NMR curve obtained in S301 is converted into the pore size. If the dimensions of the three directions in the digital core resolution grid are the same, the shape factor is 2. If the dimensions in the digital core grid are different, and the maximum length in the scale direction / the minimum length in the scale direction is greater than 2, the shape factor is set to 3. The specific conversion equation is: r c =βF s T2 Where: T2 is the relaxation time; F s is the pore shape factor; β is the rock lateral surface relaxation rate; The pore distribution equivalent to a spherical shape can be obtained by this method.

5. The method for establishing a pore network model based on nuclear magnetic resonance testing of digital cores according to claim 1 is characterized in that: the specific process of correcting and segmenting the digital cores by the separate and segmentation modules described in Step 4 of claim 1 is: S401: The digital core image is filtered according to the gray value through the segmentation module of the Avizo software, and the lithology is roughly divided according to the gray threshold value selected manually. The core is divided into multiple continuous small clusters of the same lithology through the separate module, and the data of the digital core is exported to establish a four-dimensional matrix. The three-dimensional coordinates of the matrix represent the corresponding position coordinates of the digital core, and the values ​​in the matrix are the gray values ​​corresponding to the image and the continuous cluster numbers; S402: Use Python programming to traverse the lithology matrix obtained in S401, optimize the different lithology thresholds manually selected in the previous step, and use the statistical matrix data to divide the lithology component proportions according to the thresholds to correct the volume proportions at the digital core resolution, and compare them with the pores in the nuclear magnetic resonance test due to the nuclear magnetic resonance test data. By changing the thresholds through multiple cycles of the program, the pores and organic matter groups that can accurately represent the digital core resolution can be obtained.

6. According to the method for establishing a pore network model based on nuclear magnetic resonance testing of digital cores according to claim 5, the specific method for dividing lithology according to the threshold value in step S402 is: S4021: Use Python to read matrix data, traverse the continuous cluster numbers in the matrix, extract the continuous clusters identified as pores in the previous segmentation step, count the upper and lower limits of the three-dimensional coordinates, establish the coordinates of the center point of the continuous cluster (x, y, z), and read and count the matrix Matix Matrix[x-id:x+id][y-id:y+id][z-id:z+id] data; where: i represents the number of iterations in the traversal process. For the matrix data, the corresponding relationship between the unit vector matrix is: Easy to get: right Reading varies with the number of iterations I During the process, the continuous cluster numbers in the corresponding matrix [x, y, z] vector are counted, the pore ratio under the corresponding iteration number is counted, and the pore ratio is determined to be less than 1 / 4, which is the maximum equivalent sphere pore. The vector in the last process of the iteration is marked and set as the boundary in the next traversal process, that is, the cluster is truncated; S4022: After the S4021 process, re-read the midpoint of the cluster truncated in the previous step, and repeat the steps until the size of the cluster after truncation is equal to the pore size of the digital core resolution.

7. According to the method for establishing a pore network model based on nuclear magnetic resonance testing of digital cores according to claim 1, the specific process of super-resolution analysis in Step 5 is: S501: Since it is generally believed that the pore size distribution of each mineral follows a normal distribution, the size of the organic pores in shale is the smallest and lower than the pore distribution value. Therefore, based on the pores in the NMR data that are lower than the resolution of the digital core, the pore distribution in the small-scale direction of the curve is used to fit the organic pores that conform to the normal distribution. S502: The porosity and grayscale value are roughly in EXP relationship according to the HU grayscale conversion algorithm in the digital core measurement process, and the grayscale value data in the organic matter clusters in the statistical matrix are extracted and processed to describe the porosity; the processed data are iteratively counted to obtain the organic pore distribution that meets the nuclear magnetic data test; S503: Based on the data obtained in the above process, the pore network model obtained by Avizo software in Step 4 is supplemented, and the coordination channels connecting the spherical pores in the pore network model are supplemented. The corresponding matrix structure is the coordination channel number and its corresponding pore distribution data.

8. According to the method for establishing a pore network model based on nuclear magnetic resonance testing of digital cores according to claim 7, the specific process of the super-resolution analysis in Step 502 is: S5021: Process the grayscale data in the digital core to obtain a dimensionless parameter that can represent the relative density. The corresponding formula is: the i =ln(grayshade i ) S5022: Traverse the dimensionless density data and obtain the maximum value den in the data max And the minimum value of den min , identify max is the dimensionless density of pure organic matter, the dimensionless relative porosity of organic matter can be characterized by the following formula: in, φ ri and den i Indicates the dimensionless relative porosity and dimensionless relative density values ​​in the corresponding volume element of the digital core; den void It represents the dimensionless relative density value of the digital core pores; S5023: Using the expected μ and standard deviation σ in the equivalent normal distribution data, the minimum organic pore size and digital core resolution d in the NMR test are calculated. min , d res The upper and lower bounds are evenly divided into 100 segments, with d i (i=1,2,...,100), the corresponding dimensionless relative porosity can be expressed as: S5024: Iteration process: set den min for void The initial value of tanh function is used to describe the den void The similarity of the lower curve is as follows: During the iteration process, Iterate until den void ≤0, and the iteration process ends with f(den void ) minimum value determines den void , calculate the relative porosity of the corresponding position of the digital core; S5025: Read the relative porosity data of the aggregates classified as organic matter in the matrix, analyze the corresponding digital core micro-element in the matrix, obtain the corresponding micro-element pore volume by micro-element size*(1-micro-element median porosity), and allocate organic pores in the order from large-sized pore micro-element to small-sized pore micro-element based on the pore proportion in the nuclear magnetic resonance test data. After counting the size and number of organic pores in the corresponding matrix coordinate micro-element, supplement the nano-scale organic pores in the pore throat model obtained in the previous step.