A three-dimensional geological modeling method, device and computer equipment
Through the combination of stacking machine learning models and geological data databases, the problem of sparse data and insufficient accuracy in 3D geological modeling is solved, and a 3D geological model with higher precision and detailed expression is achieved.
Patent Information
- Application Number
- CN202210545188.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-19
- Publication Date
- 2024-09-06
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In the existing three-dimensional geological modeling methods, the geological modeling data is sparse and there is a lack of a modeling framework that integrates modeling and model modification, resulting in low model accuracy and insufficient expression of details.
The stacking machine learning model is combined with the geological data database, and the model accuracy and detailed expression capabilities are improved through resampling, normalization processing and iterative correction. Specific steps include obtaining drilling data, training stacking model, accuracy evaluation, model correction, and iterative optimization until the set requirements are met.
It improves the accuracy and detail expression capabilities of the three-dimensional geological model, integrates stacking machine learning algorithms and geological knowledge, and achieves more efficient model classification and correction.
Smart Images

Figure CN114943178B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of three-dimensional geological modeling, and in particular to a three-dimensional geological modeling method, device and computer equipment. Background Art
[0002] With the advancement of science and technology and the development of human society, it has become an inevitable trend for cities to obtain land and space underground. Regional geological surveys, urban geological exploration, geological environment assessment, and the development and safe use of urban underground space are all inseparable from three-dimensional geological models.
[0003] Since most three-dimensional geological models are based on the simulation results obtained by feature deduction and spatial interpolation of structured data such as boreholes and profiles, these data are always sparse for complex geological modeling tasks. Therefore, in the modeling process, geological modelers usually need to use a lot of experience and knowledge to adjust the direction of geological surfaces, the thickness of geological bodies, and the relationship between geological bodies; and in the current three-dimensional geological modeling methods, there is a lack of a modeling framework that integrates modeling and model correction, and the process of geological modeling correction is mostly a single correction; the accuracy of three-dimensional geological models is not high and the expression of details is insufficient. Summary of the invention
[0004] In order to solve the above problems, an embodiment of the present invention provides a three-dimensional geological modeling method, which specifically includes the following steps:
[0005] Step S1: Acquire drilling data of multiple drilling positions in the study area, wherein the drilling data includes three-dimensional coordinates of stratum boundaries and stratum attributes;
[0006] Step S2: resampling the drilling data of each drilling position point so that there are the same number of interpolation points between the stratum boundaries of each stratum, obtaining the three-dimensional coordinates and stratum attributes of the interpolation points, and normalizing the stratum boundaries and the three-dimensional coordinates of the interpolation points;
[0007] Step S3: using the normalized three-dimensional coordinates of the stratum boundary and the interpolation point and the stratum attributes of the stratum boundary and the interpolation point to train the stacking machine learning model, and using the trained stacking machine learning model to predict the stratum attributes at each grid point in the gridded three-dimensional geological modeling area of the study area to obtain a three-dimensional geological model;
[0008] Step S4: Acquire a geological data database of the study area, and obtain the thickness and occurrence of each rock layer at multiple locations in the study area from the geological data database;
[0009] Step S5: using the thickness and occurrence of the rock layer to evaluate the accuracy of the three-dimensional geological model, and selecting some position points of the three-dimensional geological model whose modeling accuracy for the study area does not meet the requirements as error position points, and some position points that meet the requirements as non-error position points according to the accuracy evaluation result, wherein the error position points and the non-error position points are grid points on the top surface of the gridded three-dimensional geological modeling area;
[0010] Step S6: for each error position point, a set number of non-error position points are selected in a 360-degree direction along a direction gradually away from the error position point, and boundary grid points of corresponding stratum boundaries located directly below the multiple non-error position points in the three-dimensional geological model are obtained, and the three-dimensional coordinates of the boundary grid points with the same stratum attributes are interpolated by using a spline surface fitting interpolation algorithm to calculate and obtain the corrected boundary grid points of the corresponding stratum boundaries directly below the error position point, and the stratum attributes of the grid located directly below the error position point in the three-dimensional geological model are corrected according to the corrected boundary grid points to obtain a corrected three-dimensional geological model;
[0011] Step S7: Return to step S5 to iteratively correct the three-dimensional geological model until the accuracy evaluation result of the corrected three-dimensional geological model meets the set requirements, then stop the iterative correction and output the three-dimensional geological model.
[0012] Furthermore, in step S2, the normalized formula is:
[0013] P * =(P-μ) / σ
[0014] Where P represents the coordinate data of the stratum boundary or interpolation point in different dimensions, μ represents the mean of the coordinate data of all stratum boundaries and interpolation points in different dimensions, σ represents the standard deviation of the coordinate data of all stratum boundaries and interpolation points in different dimensions, and P * Represents the normalized coordinate data of the stratigraphic boundary or interpolation point in different dimensions.
[0015] Furthermore, step S3 includes the following steps:
[0016] Step S31: Select a plot of land with a set thickness under the circumscribed rectangle of the study area and perform grid division in the three-dimensional direction according to a set density to obtain a gridded three-dimensional geological modeling area;
[0017] Step S32: dividing the original data set consisting of the normalized three-dimensional coordinates of the stratum boundary and the interpolation point and the corresponding stratum attributes of the stratum boundary and the interpolation point into a training set and a test set according to a set ratio;
[0018] Step S33: Divide the training set into 5 parts. During each training, take one of the parts as the test set without repetition, and take the other 4 parts as the training set. According to this classification method, 5 classifiers can be obtained.
[0019] Step S34: For each classification method in step S33, the five classifiers are used to predict the extracted test set, and each prediction result is vertically spliced in sequence as a feature of the meta-classifier; in addition, the test set divided in step S32 is predicted, and another feature of the meta-classifier is obtained based on the prediction result;
[0020] Step S35: From step S34, two features provided by each classifier can be obtained, and the three base classifiers have a total of 6 features. The 6 features are used as training features of the meta-classifier, and the corresponding real categories are used as training labels. The test set of the meta-classifier is the real label corresponding to the prediction result of the test set divided in step S32 in step S34;
[0021] Step S36: train the meta-classifier using the training set and the test set obtained in step S35 to obtain the final stacking machine learning model;
[0022] Step S37: Use the trained stacking machine learning model to predict each grid center point in the gridded three-dimensional geological modeling area to obtain the stratigraphic attributes of each point to be predicted.
[0023] Preferably, step S5 comprises the following steps:
[0024] Step S51: Calculate the thickness of each rock layer at multiple locations in the geological data database using the three-dimensional geological model, and calculate the layer thickness error Q and the average relative thickness error D at multiple locations based on the thickness of the rock layer calculated by the three-dimensional geological model and the thickness of the rock layer in the geological data database. MAE , layer thickness error Q, thickness average relative error D MAE The calculation formula is as follows:
[0025]
[0026]
[0027] Where n is the number of rock layers, D mi The thickness of each rock layer at each location point calculated for the 3D geological model, D bi is the thickness of each rock layer at each location point in the geological data database;
[0028] Step S52: using the Kriging interpolation method in ArcGIS, generating a stratum thickness error contour map of the study area on the top surface of the gridded three-dimensional geological modeling area according to the stratum thickness error Q at multiple location points, using the natural break point method to divide the error contour map into five intervals according to the size value, taking the grid points in the partial area of the top surface corresponding to the two intervals with the largest errors as error location points, and taking the grid points in the partial area of the top surface corresponding to the remaining three intervals as non-error location points;
[0029] Step S53: Calculate the actual horizontal distance S between the highest point of each rock layer and the bottom point of each rock layer in the study area projected on the horizontal plane according to the rock layer occurrence in the geological data database. i , actual horizontal distance S i The calculation formula is as follows:
[0030] S i =L i sina i
[0031] Among them, L i represents the length of the rock layer, a i Indicates the inclination of rock formation;
[0032] The three-dimensional geological model is used to calculate the predicted horizontal distance S' between the highest point of each rock layer and the bottom point of each rock layer in the study area projected on the horizontal plane. i , according to the actual horizontal distance S i and the predicted horizontal distance S' i Calculate the average relative error S of the distance MAE , the average relative error of distance S MAE The calculation formula is as follows:
[0033]
[0034] Step S54: The thickness average relative error D MAE and the average relative error S of the distance MAE The sum is taken as the average relative error MAE of the entire study area. The calculation formula of the average relative error MAE is as follows:
[0035]
[0036] Preferably, in step S6, the spline surface fitting interpolation algorithm selects a bicubic spline interpolation algorithm, and the corresponding number of the plurality of non-error position points is set to 16.
[0037] Preferably, step S7 comprises the following steps:
[0038] Return to step S51 to iteratively correct the three-dimensional geological model until the mean relative error MAE is less than a set threshold, then stop the iterative correction and output the three-dimensional geological model.
[0039] Preferably, the three-dimensional geological model is corrected three times.
[0040] Preferably, the following steps are respectively included after step S3 and step S7: visualizing the three-dimensional geological model.
[0041] The embodiment of the present invention further provides a three-dimensional geological modeling device, comprising:
[0042] A first data acquisition module, used to acquire drilling data of multiple drilling positions in the study area, wherein the drilling data includes three-dimensional coordinates of stratum boundaries and stratum attributes;
[0043] A data processing module, used for resampling the drilling data of each drilling position point so that there are the same number of interpolation points between the stratum boundaries of each stratum, obtaining the three-dimensional coordinates and stratum attributes of the interpolation points, and normalizing the stratum boundaries and the three-dimensional coordinates of the interpolation points;
[0044] A machine learning model prediction module is used to train a stacking machine learning model using the normalized three-dimensional coordinates of the stratum boundary and the interpolation point and the stratum attributes of the stratum boundary and the interpolation point, and to predict the stratum attributes at each grid point in the gridded three-dimensional geological modeling area of the study area using the trained stacking machine learning model to obtain a three-dimensional geological model;
[0045] A second data acquisition module is used to acquire a geological data database of the study area, and obtain the thickness and occurrence of each rock layer at multiple locations in the study area from the geological data database;
[0046] an accuracy evaluation module, for evaluating the accuracy of the three-dimensional geological model by using the thickness and occurrence of the rock layer, and screening out some position points of the three-dimensional geological model whose modeling accuracy for the study area does not meet the requirements as error position points, and some position points that meet the requirements as non-error position points according to the accuracy evaluation result, wherein the error position points and the non-error position points are grid points on the top surface of the gridded three-dimensional geological modeling area;
[0047] A correction module is used to select a set number of non-error position points in a 360-degree direction for each error position point along a direction gradually away from the error position point, obtain boundary grid points of corresponding stratum boundaries located directly below the multiple non-error position points in the three-dimensional geological model, interpolate the three-dimensional coordinates of the boundary grid points with the same stratum attributes by using a spline surface fitting interpolation algorithm, calculate and obtain the corrected boundary grid points of the corresponding stratum boundaries directly below the error position point, and correct the stratum attributes of the grid located directly below the error position point in the three-dimensional geological model according to the corrected boundary grid points to obtain a corrected three-dimensional geological model;
[0048] The iterative output module is used to iteratively correct the three-dimensional geological model until the accuracy evaluation result of the corrected three-dimensional geological model meets the set requirements, then stop the iterative correction and output the three-dimensional geological model.
[0049] An embodiment of the present invention also provides a computer device, including a processor and a memory, a three-dimensional geological modeling program stored in the memory and executable on the processor, and the modeling program implements the steps of the modeling method described above when executed by the processor.
[0050] Compared with the prior art, the beneficial effects of the present invention include: the method integrates the stacking machine learning algorithm and incorporates the geological knowledge obtained from the geological data database, and can obtain model results that meet the requirements of geological knowledge through iterative correction. The results show that the integrated stacking machine learning algorithm has better classification effect on strata than a single classifier, and the three-dimensional geological model obtained after iterative correction of the geological knowledge database has higher accuracy and enhanced detail expression ability of the model. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] Figure 1 is a flow chart of the modeling method of the present invention;
[0052] Figure 2 It is a schematic diagram of the resampling principle of the modeling method of the present invention;
[0053] Figure 3 It is a schematic diagram of the principle of stacking machine learning model training of the modeling method of the present invention;
[0054] Figure 4 It is a schematic diagram of a three-dimensional geological model predicted by a stacking machine learning model of the modeling method of the present invention;
[0055] Figure 5 is an error contour map of the modeling method of the present invention;
[0056] Figure 6It is a schematic diagram of a method for obtaining multiple non-error position points in the modeling method of the present invention;
[0057] Figure 7 It is a schematic diagram of the change of the error contour map in the iterative correction process of the modeling method of the present invention;
[0058] Figure 8 It is a schematic diagram of a three-dimensional geological model obtained by iterative correction of the modeling method of the present invention;
[0059] Fig. 9 It is a detailed comparison diagram of the three-dimensional geological model predicted by the modeling method of the present invention and the three-dimensional geological model obtained by iterative correction;
[0060] Fig.10 A schematic structural diagram of the modeling device of the present invention. DETAILED DESCRIPTION
[0061] 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 and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.
[0062] Example 1
[0063] The present invention provides a three-dimensional geological modeling method. Figure 1 , Figure 1 is a flow chart of the reconstruction method of the present invention; the method of the present invention comprises the following steps:
[0064] Step S1: Acquire drilling data of multiple drilling positions in the study area, wherein the drilling data includes three-dimensional coordinates of stratum boundaries and stratum attributes.
[0065] Borehole data is obtained by surveyors by drilling holes underground at multiple borehole locations selected on the ground in the study area. By drilling at different depths at a location point, the stratigraphic attribute arrangement from top to bottom at the same location point can be measured, and then the three-dimensional coordinates of the boundaries of different stratigraphic areas can be determined. Figure 2 As shown, the bar graph on the left side of the figure is a stratigraphic structure map obtained by drilling a hole at a location point. From the ground point (x, y, H) to the lowest point (x, y, H3), three stratigraphic layers A, B, and C are distributed from top to bottom. The three-dimensional coordinates at the boundary between A and B are (x, y, H1), and the three-dimensional coordinates at the boundary between B and C are (x, y, H2). In this embodiment, the attribute mark of the stratigraphic boundary is the attribute of the stratigraphic layer above the stratigraphic boundary.
[0066] Step S2: resample the drilling data of each drilling position point so that there are the same number of interpolation points between the stratum boundaries of each stratum, obtain the three-dimensional coordinates and stratum attributes of the interpolation points, and normalize the stratum boundaries and the three-dimensional coordinates of the interpolation points.
[0067] Since different strata have different thicknesses, and the numerical levels of the three-dimensional coordinates of the sampling location points in different dimensions vary greatly, especially the coordinates in the depth direction are much larger than the horizontal and vertical coordinates. In order to ensure the accuracy of machine learning, the drilling data of each drilling location point must be resampled to ensure that different strata have the same number of data points, and the three-dimensional coordinate data of all data points must be normalized to ensure that the three-dimensional coordinates of all data points are close in magnitude.
[0068] like Figure 2 As shown, multiple points (x, y, H1')A, (x, y, H2')A... etc. are inserted between the ground point (x, y, H) and the stratum boundary point (x, y, H1), multiple points (x, y, H3')A, (x, y, H4')B... etc. are inserted between the stratum boundary point (x, y, H1) and the stratum boundary point (x, y, H2), and multiple points (x, y, H5')A, (x, y, H6')C... etc. are inserted between the stratum boundary point (x, y, H2) and the stratum boundary point (x, y, H3), to ensure that each stratum has the same number of interpolation points.
[0069] Specifically, the normalized formula is as follows:
[0070] P * =(P-μ) / σ
[0071] Where P represents the coordinate data of the stratum boundary or interpolation point in different dimensions, μ represents the mean of the coordinate data of all stratum boundaries and interpolation points in different dimensions, σ represents the standard deviation of the coordinate data of all stratum boundaries and interpolation points in different dimensions, and P * Represents the normalized coordinate data of the stratigraphic boundary or interpolation point in different dimensions.
[0072] Step S3: Use the normalized three-dimensional coordinates of the stratigraphic boundary and the interpolation point and the stratigraphic attributes of the stratigraphic boundary and the interpolation point to train the stacking machine learning model, and use the trained stacking machine learning model to predict the stratigraphic attributes at each grid point in the gridded three-dimensional geological modeling area of the study area to obtain a three-dimensional geological model.
[0073] Specifically, the steps include:
[0074] Step S31: Select a plot of land with a set thickness under the circumscribed rectangle of the study area and divide it into grids according to the set density in the three-dimensional direction to obtain a gridded three-dimensional geological modeling area. Specifically, the plot is divided into grids according to the set density in the horizontal (X direction), vertical (Y direction), and vertical (Z direction) directions to obtain an N x *N y *N z The gridded 3D geological modeling area, N x Indicates the number of grids in the horizontal direction (X direction), N y Indicates the number of grids in the vertical direction (Y direction), N z It represents the number of grids in the vertical direction (Z direction). The center point of each grid is used as the point to be predicted. The trained stacking machine learning model is needed to predict the stratigraphic properties of the predicted point.
[0075] Step S32: The original data set consisting of the normalized three-dimensional coordinates of the stratum boundary and the interpolation point and the corresponding stratum attributes of the stratum boundary and the interpolation point is divided into a training set and a test set according to a set ratio. Specifically, the original data set is divided into a training set and a test set according to a ratio of 80%:20%.
[0076] Step S33: Divide the training set into 5 parts. Each time training is performed, one of the parts is taken as the test set without repetition, and the other 4 parts are taken as the training sets. Five classifiers can be obtained according to this classification method.
[0077] Step S34: For each classification method in step S33, use 5 classifiers to predict the taken out test set, and vertically splice each prediction result (i.e., classification probability) in sequence as the feature of the meta-classifier; in addition, the test set divided in step S32 is predicted, and another feature of the meta-classifier is obtained based on the prediction result.
[0078] Step S35: Two features provided by each classifier can be obtained from step S34, and a total of 6 features are obtained for the three base classifiers. The 6 features are used as training features of the meta-classifier, and the corresponding real categories are used as training labels. The test set of the meta-classifier is the real label corresponding to the prediction result of the test set divided in step S32 in step S34.
[0079] Step S36: Use the training set and test set obtained in step S35 to train the meta-classifier to obtain the final stacking machine learning model, such as Figure 3 shown.
[0080] Step S37: Use the trained stacking machine learning model to predict each grid center point in the gridded three-dimensional geological modeling area to obtain the stratigraphic attributes of each point to be predicted.
[0081] Preferably, after step S3, the method further includes the following step: visualizing the three-dimensional geological model.
[0082] Specifically, the three-dimensional coordinates of the points to be predicted and the corresponding stratigraphic attributes are input into the GMS software to generate a visual three-dimensional geological model, as shown in FIG4 .
[0083] Step S4: Acquire a geological data database of the study area, and obtain the thickness and occurrence of each rock layer at multiple locations in the study area from the geological data database.
[0084] Specifically, the geological information database is formed by data extracted from geological reports and geological yearbooks, and the data include lithology, rock layer thickness, occurrence, topography, and the like.
[0085] Step S5: The three-dimensional geological model is evaluated for accuracy using the thickness and occurrence of the rock layer. Some position points of the three-dimensional geological model whose modeling accuracy for the study area does not meet the requirements are screened out as error position points, and some position points that meet the requirements are screened out as non-error position points according to the accuracy evaluation results. The error position points and the non-error position points are grid points on the top surface of the gridded three-dimensional geological modeling area.
[0086] Specifically, the steps include:
[0087] Step S51: Calculate the thickness of each rock layer at multiple locations in the geological data database using the three-dimensional geological model, and calculate the layer thickness error Q and the average relative thickness error D at multiple locations based on the thickness of the rock layer calculated by the three-dimensional geological model and the thickness of the rock layer in the geological data database. MAE , layer thickness error Q, thickness average relative error D MAE The calculation formula is as follows:
[0088]
[0089]
[0090] Where n is the number of rock layers, D mi The thickness of each rock layer at each location point calculated for the 3D geological model, D bi is the thickness of each rock layer at each location in the geological data database.
[0091] Step S52: Using the Kriging interpolation method in ArcGIS, a stratum thickness error contour map of the study area is generated on the top surface of the gridded three-dimensional geological modeling area according to the stratum thickness error Q at multiple location points. The error contour map is divided into five intervals according to the size value using the natural break point method. The grid points in the partial area of the top surface corresponding to the two intervals with the largest errors are used as error location points, and the grid points in the partial area of the top surface corresponding to the remaining three intervals are used as non-error location points. Figure 5 .
[0092] Step S53: Calculate the actual horizontal distance S between the highest point of each rock layer and the bottom point of each rock layer in the study area projected on the horizontal plane according to the rock layer occurrence in the geological data database. i , actual horizontal distance S i The calculation formula is as follows:
[0093] S i =L i sina i
[0094] Among them, L i represents the length of the rock layer, a i Indicates the inclination of rock formation;
[0095] The three-dimensional geological model is used to calculate the predicted horizontal distance S' between the highest point of each rock layer and the bottom point of each rock layer in the study area projected on the horizontal plane. i , according to the actual horizontal distance S i and the predicted horizontal distance S' i Calculate the average relative error S of the distance MAE , the average relative error of distance S MAE The calculation formula is as follows:
[0096]
[0097] Step S54: The thickness average relative error D MAE and the average relative error S of the distance MAE The sum is taken as the average relative error MAE of the entire study area. The calculation formula of the average relative error MAE is as follows:
[0098]
[0099] Step S6: For each error position point, a set number of non-error position points are selected in a 360-degree direction along a direction gradually away from the error position point, and boundary grid points of corresponding stratum boundaries located directly below the multiple non-error position points in the three-dimensional geological model are obtained, and the three-dimensional coordinates of the boundary grid points with the same stratum attributes are interpolated by using a spline surface fitting interpolation algorithm to calculate and obtain corrected boundary grid points of the corresponding stratum boundaries directly below the error position point, and the stratum attributes of the grid located directly below the error position point in the three-dimensional geological model are corrected according to the corrected boundary grid points to obtain a corrected three-dimensional geological model.
[0100] like Figure 6 As shown, the method for selecting a set number of multiple non-error position points in a 360-degree direction along a direction gradually away from the error position point is as follows: on the top surface of the gridded three-dimensional geological modeling area, every three adjacent grid points among the grid points corresponding to the multiple drilling position points are connected to generate a triangulated network, and the triangle where the error position point M is located is used as the reference triangle, and the three sides of the reference triangle are used to search for adjacent triangles layer by layer outward, the L1 triangle where the M point is located is the reference triangle, the second layer triangle is L2, the third layer triangle is L3, and the fourth layer triangle is L4, to obtain a set number of multiple non-error position points.
[0101] The set number of the multiple non-error position points corresponds to the spline surface fitting interpolation algorithm. Preferably, in this embodiment, the bicubic spline interpolation algorithm is selected, and the corresponding set number of the multiple non-error position points is 16.
[0102] The stratigraphic boundary is the boundary between two stratigraphic layers with different attributes. The three-dimensional coordinates and stratigraphic attributes of the boundary grid points can be obtained according to the three-dimensional geological model. The stratigraphic attributes of the grid points directly above the boundary grid points and directly below another boundary grid point above in the three-dimensional geological model are the same as the stratigraphic attributes of the boundary grid points. The boundary grid points with the same stratigraphic attributes directly below multiple non-error position points are obtained from the three-dimensional geological model respectively. For each identical stratigraphic attribute, there is a boundary grid point directly below multiple non-error position points. The three-dimensional coordinates of multiple boundary grid points with the same stratigraphic attributes are interpolated using the spline surface fitting interpolation algorithm to obtain the coordinates of the boundary point corresponding to the stratigraphic attribute directly below the error position point. When the boundary point corresponds to a grid point, the grid point is a corrected boundary grid point corresponding to the above stratigraphic attribute; when the boundary point does not correspond to a grid point, the nearest grid point directly above the boundary point is a corrected boundary grid point corresponding to the above stratigraphic attribute. The stratigraphic attributes of the grid points directly above the correction boundary grid point and directly below another correction boundary grid point in the three-dimensional geological model are assigned the same stratigraphic attributes as the above-mentioned correction boundary grid point. After completing the correction of the stratigraphic attributes of the grid directly below each error position point, the corrected three-dimensional geological model is obtained.
[0103] Step S7: Return to step S5 to iteratively correct the three-dimensional geological model until the accuracy evaluation result of the corrected three-dimensional geological model meets the set requirements, then stop the iterative correction and output the three-dimensional geological model.
[0104] Specifically, the steps include:
[0105] Return to step S51 to iteratively correct the three-dimensional geological model until the mean relative error MAE is less than a set threshold, then stop the iterative correction and output the three-dimensional geological model.
[0106] Preferably, the three-dimensional geological model is corrected more than three times. Figure 7 As shown in the figure, the changes of the stratum thickness error contour lines before and after the four three-dimensional geological model corrections are compared. After the three-dimensional geological model is corrected more than three times, the stratum thickness error contour lines do not change significantly.
[0107] Preferably, after step S7, the method further includes the following step: visualizing the three-dimensional geological model.
[0108] Specifically, the three-dimensional coordinates of the predicted points and the corresponding stratigraphic attributes are input into the GMS software to generate a visual three-dimensional geological model, as shown in Figure 8. The three-dimensional geological models obtained before and after correction are compared. Fig. 9 As shown, by comparing the local details A and B, a and b before and after correction, it can be concluded that the corrected three-dimensional geological model has enhanced detail expression compared to the uncorrected model.
[0109] The present invention proposes a three-dimensional geological modeling method, which integrates a stacking machine learning algorithm and incorporates geological knowledge obtained from a geological data database. The method can obtain a model result that meets the requirements of geological knowledge through iterative correction. The results show that the integrated stacking machine learning algorithm has a better classification effect on strata than a single classifier, and the three-dimensional geological model obtained after iterative correction of the geological knowledge database has higher accuracy and enhanced detail expression ability of the model.
[0110] Example 2
[0111] The present invention provides a three-dimensional geological modeling device, please refer to Fig.10 , Fig.10 1 is a schematic diagram of the structure of the modeling device 100 of the present invention; the modeling device 100 of the present invention comprises:
[0112] The first data acquisition module 110 is used to acquire drilling data of multiple drilling positions in the study area, wherein the drilling data includes three-dimensional coordinates of stratum boundaries and stratum attributes.
[0113] The data processing module 120 is used to resample the drilling data of each drilling position point so that there are the same number of interpolation points between the stratigraphic boundaries of each stratum, obtain the three-dimensional coordinates and stratigraphic attributes of the interpolation points, and normalize the stratigraphic boundaries and the three-dimensional coordinates of the interpolation points.
[0114] The machine learning model prediction module 130 is used to train the stacking machine learning model using the normalized three-dimensional coordinates of the stratigraphic boundaries and the interpolation points and the stratigraphic attributes of the stratigraphic boundaries and the interpolation points, and use the trained stacking machine learning model to predict the stratigraphic attributes at each grid point in the gridded three-dimensional geological modeling area of the study area to obtain a three-dimensional geological model.
[0115] The second data acquisition module 140 is used to acquire a geological data database of the study area, and obtain the thickness and occurrence of each rock layer at multiple locations in the study area from the geological data database.
[0116] The accuracy evaluation module 150 is used to evaluate the accuracy of the three-dimensional geological model by using the thickness and occurrence of the rock layer, and select some position points of the three-dimensional geological model whose modeling accuracy for the study area does not meet the requirements as error position points, and some position points that meet the requirements as non-error position points according to the accuracy evaluation results. The error position points and the non-error position points are grid points on the top surface of the gridded three-dimensional geological modeling area.
[0117] The correction module 160 is used to select a set number of non-error position points in a 360-degree direction along a direction gradually away from the error position point for each error position point, obtain boundary grid points of the corresponding stratum boundary located directly below the multiple non-error position points in the three-dimensional geological model, interpolate the three-dimensional coordinates of the boundary grid points with the same stratum attributes by using a spline surface fitting interpolation algorithm, calculate and obtain the corrected boundary grid points of the corresponding stratum boundary located directly below the error position point, and correct the stratum attributes of the grid located directly below the error position point in the three-dimensional geological model according to the corrected boundary grid points to obtain a corrected three-dimensional geological model.
[0118] The iterative output module 170 is used to iteratively correct the three-dimensional geological model until the accuracy evaluation result of the corrected three-dimensional geological model meets the set requirements, then stop the iterative correction and output the three-dimensional geological model.
[0119] Example 3
[0120] The present invention also provides a computer device, including a processor and a memory, a three-dimensional geological model modeling program stored in the memory and executable on the processor, and when the modeling program is executed by the processor, each process of the above-mentioned three-dimensional geological model modeling method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be described here.
[0121] The specific implementation of the present invention described above does not constitute a limitation on the protection scope of the present invention. Any other corresponding changes and modifications made based on the technical concept of the present invention should be included in the protection scope of the claims of the present invention.
Claims
1. A three-dimensional geological modeling method, characterized in that: The steps include: Step S1: Acquire drilling data of multiple drilling positions in the study area, wherein the drilling data includes three-dimensional coordinates of stratum boundaries and stratum attributes; Step S2: resampling the drilling data of each drilling position point so that there are the same number of interpolation points between the stratum boundaries of each stratum, obtaining the three-dimensional coordinates and stratum attributes of the interpolation points, and normalizing the stratum boundaries and the three-dimensional coordinates of the interpolation points; Step S3: using the normalized three-dimensional coordinates of the stratum boundary and the interpolation point and the stratum attributes of the stratum boundary and the interpolation point to train the stacking machine learning model, and using the trained stacking machine learning model to predict the stratum attributes at each grid point in the gridded three-dimensional geological modeling area of the study area to obtain a three-dimensional geological model; Step S4: Acquire a geological data database of the study area, and obtain the thickness and occurrence of each rock layer at multiple locations in the study area from the geological data database; Step S5: using the thickness and occurrence of the rock layer to evaluate the accuracy of the three-dimensional geological model, and selecting some position points of the three-dimensional geological model whose modeling accuracy for the study area does not meet the requirements as error position points, and some position points that meet the requirements as non-error position points according to the accuracy evaluation result, wherein the error position points and the non-error position points are grid points on the top surface of the gridded three-dimensional geological modeling area; Step S6: for each error position point, a set number of non-error position points are selected in a 360-degree direction along a direction gradually away from the error position point, and boundary grid points of corresponding stratum boundaries located directly below the multiple non-error position points in the three-dimensional geological model are obtained, and the three-dimensional coordinates of the boundary grid points with the same stratum attributes are interpolated by using a spline surface fitting interpolation algorithm to calculate and obtain the corrected boundary grid points of the corresponding stratum boundaries directly below the error position point, and the stratum attributes of the grid located directly below the error position point in the three-dimensional geological model are corrected according to the corrected boundary grid points to obtain a corrected three-dimensional geological model; Step S7: Return to step S5 to iteratively correct the three-dimensional geological model until the accuracy evaluation result of the corrected three-dimensional geological model meets the set requirements, then stop the iterative correction and output the three-dimensional geological model.
2. The modeling method according to claim 1, characterized in that: In step S2, the normalized formula is: P * =(P-μ) / σ Where P represents the coordinate data of the stratum boundary or interpolation point in different dimensions, μ represents the mean of the coordinate data of all stratum boundaries and interpolation points in different dimensions, σ represents the standard deviation of the coordinate data of all stratum boundaries and interpolation points in different dimensions, and P * Represents the normalized coordinate data of the stratigraphic boundary or interpolation point in different dimensions.
3. The modeling method according to claim 1, characterized in that: The step S3 comprises the following steps: Step S31: Select a plot of land with a set thickness under the circumscribed rectangle of the study area and perform grid division in the three-dimensional direction according to a set density to obtain a gridded three-dimensional geological modeling area; Step S32: dividing the original data set consisting of the normalized three-dimensional coordinates of the stratum boundary and the interpolation point and the corresponding stratum attributes of the stratum boundary and the interpolation point into a training set and a test set according to a set ratio; Step S33: Divide the training set into 5 parts. During each training, take one of the parts as the test set without repetition, and take the other 4 parts as the training set. According to this classification method, 5 classifiers can be obtained. Step S34: For each classification method in step S33, the five classifiers are used to predict the extracted test set, and each prediction result is vertically spliced in sequence as a feature of the meta-classifier; in addition, the test set divided in step S32 is predicted, and another feature of the meta-classifier is obtained based on the prediction result; Step S35: From step S34, two features provided by each classifier can be obtained, and the three base classifiers have a total of 6 features. The 6 features are used as training features of the meta-classifier, and the corresponding real categories are used as training labels. The test set of the meta-classifier is the real label corresponding to the prediction result of the test set divided in step S32 in step S34; Step S36: train the meta-classifier using the training set and the test set obtained in step S35 to obtain the final stacking machine learning model; Step S37: Use the trained stacking machine learning model to predict each grid center point in the gridded three-dimensional geological modeling area to obtain the stratigraphic attributes of each point to be predicted.
4. The modeling method according to claim 1, characterized in that: The step S5 comprises the following steps: Step S51: Calculate the thickness of each rock layer at multiple locations in the geological data database using the three-dimensional geological model, and calculate the layer thickness error Q and the average relative thickness error D at multiple locations based on the thickness of the rock layer calculated by the three-dimensional geological model and the thickness of the rock layer in the geological data database. MAE , layer thickness error Q, thickness average relative error D MAE The calculation formula is as follows: Where n is the number of rock layers, D mi The thickness of each rock layer at each location point calculated for the 3D geological model, D bi is the thickness of each rock layer at each location point in the geological data database; Step S52: using the Kriging interpolation method in ArcGIS, generating a stratum thickness error contour map of the study area on the top surface of the gridded three-dimensional geological modeling area according to the stratum thickness error Q at multiple location points, using the natural break point method to divide the error contour map into five intervals according to the size value, taking the grid points in the partial area of the top surface corresponding to the two intervals with the largest errors as error location points, and taking the grid points in the partial area of the top surface corresponding to the remaining three intervals as non-error location points; Step S53: Calculate the actual horizontal distance S between the highest point of each rock layer and the bottom point of each rock layer in the study area projected on the horizontal plane according to the rock layer occurrence in the geological data database. i , actual horizontal distance S i The calculation formula is as follows: S i =L i sina i Among them, L i represents the length of the rock layer, a i Indicates the inclination of rock formation; The three-dimensional geological model is used to calculate the predicted horizontal distance S' between the highest point of each rock layer and the bottom point of each rock layer in the study area projected on the horizontal plane. i , according to the actual horizontal distance S i and the predicted horizontal distance S' i Calculate the average relative error S of the distance MAE , the average relative error of distance S MAE The calculation formula is as follows: Step S54: The thickness average relative error D MAE and the average relative error S of the distance MAE The sum is taken as the average relative error MAE of the entire study area. The calculation formula of the average relative error MAE is as follows:
5. The modeling method according to claim 1, characterized in that: In step S6, the spline surface fitting interpolation algorithm selects the bicubic spline interpolation algorithm, and the corresponding number of the plurality of non-error position points is set to 16.
6. The modeling method according to claim 4, characterized in that: The step S7 comprises the following steps: Return to step S51 to iteratively correct the three-dimensional geological model until the mean relative error MAE is less than a set threshold, then stop the iterative correction and output the three-dimensional geological model.
7. The modeling method according to claim 6, characterized in that: The number of times the three-dimensional geological model is modified is equal to 3 times.
8. The modeling method according to claim 1, characterized in that: After step S3 and step S7, the following steps are respectively included: visualizing the three-dimensional geological model.
9. A three-dimensional geological modeling device, characterized in that: include: A first data acquisition module, used to acquire drilling data of multiple drilling positions in the study area, wherein the drilling data includes three-dimensional coordinates of stratum boundaries and stratum attributes; A data processing module, used for resampling the drilling data of each drilling position point so that there are the same number of interpolation points between the stratum boundaries of each stratum, obtaining the three-dimensional coordinates and stratum attributes of the interpolation points, and normalizing the stratum boundaries and the three-dimensional coordinates of the interpolation points; A machine learning model prediction module is used to train a stacking machine learning model using the normalized three-dimensional coordinates of the stratum boundary and the interpolation point and the stratum attributes of the stratum boundary and the interpolation point, and to predict the stratum attributes at each grid point in the gridded three-dimensional geological modeling area of the study area using the trained stacking machine learning model to obtain a three-dimensional geological model; A second data acquisition module is used to acquire a geological data database of the study area, and obtain the thickness and occurrence of each rock layer at multiple locations in the study area from the geological data database; an accuracy evaluation module, for evaluating the accuracy of the three-dimensional geological model by using the thickness and occurrence of the rock layer, and screening out some position points of the three-dimensional geological model whose modeling accuracy for the study area does not meet the requirements as error position points, and some position points that meet the requirements as non-error position points according to the accuracy evaluation result, wherein the error position points and the non-error position points are grid points on the top surface of the gridded three-dimensional geological modeling area; A correction module is used to select a set number of non-error position points in a 360-degree direction for each error position point along a direction gradually away from the error position point, obtain boundary grid points of corresponding stratum boundaries located directly below the multiple non-error position points in the three-dimensional geological model, interpolate the three-dimensional coordinates of the boundary grid points with the same stratum attributes by using a spline surface fitting interpolation algorithm, calculate and obtain the corrected boundary grid points of the corresponding stratum boundaries directly below the error position point, and correct the stratum attributes of the grid located directly below the error position point in the three-dimensional geological model according to the corrected boundary grid points to obtain a corrected three-dimensional geological model; The iterative output module is used to iteratively correct the three-dimensional geological model until the accuracy evaluation result of the corrected three-dimensional geological model meets the set requirements, then stop the iterative correction and output the three-dimensional geological model.
10. A computer device, characterized in that: The invention comprises a processor and a memory, a three-dimensional geological modeling program stored in the memory and executable on the processor, and the steps of the modeling method as claimed in any one of claims 1 to 8 are executed by the processor.
