Inverse distance weighted stochastic simulation method for heterogeneous aquifer structures
By using an inverse distance weighted stochastic simulation method, combined with borehole hard data and prior geological constraint information, the structure of heterogeneous aquifers is optimized, solving the accuracy problem of three-dimensional lithofacies structure simulation under sparse borehole conditions. This generates a more accurate three-dimensional lithofacies model, which is suitable for simulating groundwater flow and pollutant migration.
Patent Information
- Application Number
- CN202611108011.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-07-24
- Publication Date
- 2026-11-27
AI Technical Summary
Existing technologies are insufficient to accurately characterize the three-dimensional lithofacies structure of heterogeneous aquifers under sparse borehole conditions, and the simulation results of the three-dimensional lithofacies structure under sparse borehole conditions using the inverse distance weighting method are insufficient to accurately characterize the heterogeneous features of real aquifers.
An inverse distance weighted stochastic simulation method for heterogeneous aquifer structures is adopted. By acquiring borehole hard data and prior geological constraint information, three-dimensional grid cells are divided, anisotropic normalized distance and moving search window are defined, and the support probability is calculated using the inverse distance weighted method. Local lithofacies probability vectors are constructed, and stochastic simulation and structural optimization are performed. The lithofacies proportion and extension length are corrected by combining the Bayesian update method, and local expansion or connection is performed to optimize the lithofacies structure.
It improves the characterization accuracy of heterogeneous aquifer structures under sparse borehole conditions, generates three-dimensional lithofacies simulation results that are more consistent with the real heterogeneous sedimentary structures, maintains the hard data constraints and random uncertainties of boreholes, and enhances the rationality of local structures.
Smart Images

Figure CN123179782A_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of modeling and stochastic simulation technology of three-dimensional lithofacies structure of heterogeneous aquifers, and more specifically, relates to an inverse distance weighted stochastic simulation method for heterogeneous aquifer structure. Background Technology
[0002] The structure and spatial distribution of underground aquifers are crucial for simulating groundwater flow, pollutant migration and transformation, and reaction processes. The accuracy of their characterization directly impacts the reliability of groundwater environmental assessment, pollution remediation design, and risk prediction. However, in real-world sites, borehole and other observational data are typically limited and spatially unevenly distributed. Reconstructing a realistic and reliable three-dimensional heterogeneous aquifer structure under sparse constraints remains a key challenge in the detailed characterization of groundwater systems.
[0003] Aquifer lithofacies information is typically derived from boreholes, profiles, outcrops, geophysical interpretations, or limited hydrogeological testing data. Among these, borehole data can provide reliable hard data constraints at the sampling location, but the lithofacies information it provides is usually vertically dense along the borehole direction and sparse horizontally between boreholes, resulting in significant uncertainties regarding lithofacies boundaries, lateral continuity, and three-dimensional connectivity.
[0004] To compensate for the sparse spatial distribution of borehole data, spatial interpolation methods are widely used for spatial estimation of aquifer properties. Spatial interpolation methods such as the Inverse Distance Weighted (IDW) method have the advantages of simple operation, high computational efficiency, and intuitive results. The IDW method estimates unknown location properties by applying distance attenuation weights to neighboring observation points, enabling the rapid construction of spatially continuous property distributions without relying on complex prior models. Therefore, it is widely used in geoscientific property mapping and spatial estimation under conditions of limited observation data. However, the IDW method is essentially a deterministic interpolation tool, typically outputting a single interpolated result map, and is highly sensitive to the morphology of the search neighborhood and the distance attenuation exponent. Although existing IDW methods have been extended to interpolation of categorical variables or anisotropic parameters, most still remain at the level of deterministic estimation or geological domain classification. They cannot systematically incorporate lithofacies proportion, directional length, local neighborhood consistency, and geological body connectivity as structural constraints into the simulation process, resulting in the inaccurate characterization of the heterogeneous features of real aquifers in the three-dimensional lithofacies structure simulation results under sparse borehole conditions.
[0005] Therefore, improving the characterization accuracy of heterogeneous aquifer structures under sparse borehole conditions is an urgent problem to be solved. Summary of the Invention
[0006] To address the shortcomings of existing technologies, the purpose of this application is to provide an inverse distance weighted stochastic simulation method for heterogeneous aquifer structures, which can effectively improve the characterization accuracy of heterogeneous aquifer structures under sparse borehole conditions.
[0007] To achieve the above objectives, in a first aspect, this application provides an inverse distance-weighted stochastic simulation method for heterogeneous aquifer structures, comprising the following steps: S10, acquire borehole hard data and prior geological constraint information of the aquifer to be simulated, and divide the aquifer to be simulated into three-dimensional grid cells; the prior geological constraint information includes the volume percentage of each lithofacies, and in x direction, y direction and z The average extension length in the direction; the grid cell containing the borehole data is defined as the hard data cell and remains unchanged in subsequent simulations, while the remaining grid cells are defined as cells to be simulated; S20, for each type of lithofacies, an anisotropic normalized distance and anisotropic moving search window size are defined based on the average extension length in each direction. The center of the search window is taken as the target unit for simulation. The support probability on the unit to be simulated is calculated using the inverse distance weighting method. The support probability of all lithofacies categories is normalized to obtain the local lithofacies probability vector of the unit to be simulated. S30, construct a cumulative distribution function based on the local lithofacies probability vector, use uniform random numbers to extract the lithofacies category of the unit to be simulated, sequentially traverse all units to be simulated, and repeat this process to generate multiple sets of initial lithofacies random simulation results constrained by borehole hard data; S40, Identify candidate adjustment units from the initial lithofacies random simulation results, construct a comprehensive support criterion based on the local lithofacies probability vector, the lithofacies category consistency of adjacent grid units around the candidate adjustment unit, and the borehole hard data, and replace the lithofacies category of candidate adjustment units that do not meet the comprehensive support criterion to obtain the lithofacies random simulation results with preliminary structural optimization; S50, compare the preliminary optimized lithofacies random simulation results with the volume proportion and directional average length in the prior geological constraint information, and locally expand or connect the lithofacies with deviations along the corresponding directions until the preset tolerance range is met, and obtain the final lithofacies random simulation results.
[0008] As a further preferred embodiment, in step S10, when the prior geological constraint information comes from an incompletely exposed outcrop or profile, a Bayesian update method is used to correct the volume ratio and the average extension length. The Bayesian update method includes: statistically analyzing the observation length and termination state of each lithofacies segment on the profile; calculating the termination frequency based on the observation length and termination state; iteratively updating the lithofacies ratio and termination frequency based on the Bayesian formula until convergence; and calculating the corrected directional average length based on the converged termination frequency.
[0009] As a further preferred embodiment, in the Bayesian update method, it is assumed that the outcrop has K For the first type of lithofacies t The first of the lithofacies j Each lithofacies segment, its observed length is denoted as . l tj Its termination state is denoted as N tj ,in N tj =0 indicates that no boundary was fully observed. N tj =1 indicates that a boundary has been observed. N tj =2 indicates that two boundaries have been observed; the number of observations is calculated based on the observation length and the termination state. t Termination frequency of lithofacies f t If the first t Rock-like facies appeared M t Then the termination frequency is expressed as ; The probability of lithofacies length is described using a second-order Erlang distribution. t The conditional probability of each occurrence is calculated based on Bayes' theorem, and the lithofacies proportion is updated iteratively. p t and termination frequency f t The process continues until the change in probability density distribution between two consecutive iterations is less than a preset threshold; t Corrected directional average length representation of lithofacies .
[0010] As a further preferred embodiment, in step S20, the anisotropic normalized distance, for the unit to be simulated... x 0 and neighboring units x i Regarding the first t Lithofacies are defined as:
[0011] in, k Indicates spatial direction, refers to x direction 、y direction and z direction;L t,k Indicates the first t Rock facies in k Average length of extension in the direction.
[0012] As a further preferred embodiment, in step S20, the first... t Probability of support for lithological facies Q t ( x 0) represents
[0013] Among them, Ω t ( x 0) indicates that the value assigned to the active moving window is the first one. t A set of neighboring units of lithological facies. ε To avoid the occurrence of singular values in small constants when the distance is too small, ω The distance decay exponent; The support probabilities of all lithofacies categories are normalized to obtain the elements to be simulated. x Local lithofacies probability vector of 0 :
[0014] in, K This represents the total number of lithofacies categories.
[0015] As a further preferred embodiment, after obtaining the local lithofacies probability vector, a distance decay index is used respectively. ω s and distance decay index ω r Calculate the normalized lithofacies probabilities for two sets, where ω s Greater than ω r According to the unit to be simulated x The adaptive mixing factor is determined by the local uncertainty of 0 and the low proportion of lithofacies support. λx 0, yielding the mixing probability, which is used as the replacement local lithofacies probability vector, the mixing probability being... ,in This indicates the use of the distance attenuation index. ω s The calculated first t lithofacies in the unit to be simulated x Normalized lithofacies probability at 0 This indicates the use of the distance attenuation index. ω r The calculated first t lithofacies in the unit to be simulated xNormalized lithofacies probability at 0; When the uncertainty of local lithofacies distribution exceeds a preset threshold, or when a low proportion of lithofacies has spatial significance and its support strength is below a preset threshold, the adaptive mixing factor is increased. λx 0.
[0016] As a further preferred embodiment, after calculating the support probability and before normalization, for the first... t Lithofacies, expressed by introducing a proportional correction factor:
[0017] in, β For correction factor, For the first t Prior proportion of rock-like targets The current simulated unit t Rock facies ratio; When the t When the proportion of a facies type is lower than the target prior proportion and has non-zero local support, the proportion correction factor is greater than 1; otherwise, it remains 1. The proportion correction factor is multiplied by the support probability of the corresponding facies type to obtain the corrected support probability. Normalization is performed based on the corrected support probability to obtain the corrected local facies probability vector.
[0018] As a further preferred embodiment, in step S40, the candidate adjustment units include grid units with local lithofacies probability lower than a first preset threshold, lithofacies uncertainty higher than a second preset threshold, neighborhood consistency lower than a third preset threshold, and exhibiting isolated patches or inconsistencies with nearby borehole hard data; borehole hard data units are not involved in the modification, and the neighborhood surrounding the borehole hard data units is given priority for inspection.
[0019] As a further preferred option, in step S50, when expanding or connecting the deviated facies along the corresponding direction, for non-background facies, a connectivity repair strategy guided by the main connected body is adopted: if the facies is divided into multiple connected components, candidate connection operations are preferentially carried out near the existing main connected body or borehole-supported facies segment. When the gap between two identical facies bodies is less than a preset distance threshold, and filling the gap can improve the proportion, directional average length and neighborhood consistency, the gap is updated to the facies category.
[0020] Secondly, this application provides a method for evaluating the results of stochastic simulation of heterogeneous aquifer structures, comprising the following steps: Obtain multiple final lithofacies stochastic simulation results obtained by the method described in any one of the above-mentioned methods; For the r Each implementation calculates its overall accuracy, defined as the fraction of grid cells that simulate the same lithofacies as the reference lithofacies:
[0021] in, N G This represents the total number of grid cells. Z r ( x i ) indicates the first r Mesh cells in group implementation x i Lithofacies category; Z ref ( x i ) represents a grid cell x i Reference lithofacies category; ||[·] is an indicator function, which is 1 when the condition is true and 0 otherwise; For R sets of random implementations, calculate the element belonging to the first set. t The set probability of a lithofacies group, wherein the set probability is expressed as .
[0022] The beneficial effects of this application are as follows: This application defines anisotropic normalized distance based on the average extension length in each direction, allowing lithofacies with larger directional lengths to have an impact over a wider range, while lithofacies with shorter directional lengths are used to limit the nearest neighborhood. At the same time, it defines an adaptive moving search window size based on the average extension length in each direction to adapt to the characteristics of borehole data being vertically dense and horizontally sparse, while providing random traversal paths. On this basis, the interpolation results of lithofacies type indicator data are converted into local probability vectors and multiple sets are generated through random sampling. This extends the inverse distance weighting method from deterministic interpolation to a conditional stochastic simulation method, thereby quantifying spatial uncertainty while maintaining the constraints of borehole hard data. Furthermore, it utilizes local probability fields, neighborhood consistency, and borehole hard data to construct comprehensive support criteria for structural optimization and adjustment, which can enhance the rationality of local structures while maintaining randomness. Finally, by comparing volume proportions and directional average lengths and locally expanding or connecting lithofacies with deviations, the proportion and directional continuity of lithofacies are improved. The above methods work together to extend the inverse distance weighting method into a conditional stochastic simulation method with structural constraints without relying on the variogram model or training images, thereby improving the characterization accuracy of heterogeneous aquifer structures under sparse borehole conditions. Attached Figure Description
[0023] Figure 1 This is a flowchart of the overall process for the inverse distance weighted stochastic simulation method for heterogeneous aquifer structures provided in the embodiments of this application; Figure 2These are schematic diagrams of the actual three-dimensional aquifer structure, borehole hard data, and profile data provided in the embodiments of this application; wherein, (a) is a schematic diagram of the actual three-dimensional aquifer structure, (b) is a schematic diagram of the borehole hard data distribution, and (c) and (d) are... y =15m and x Schematic diagram of cross-sectional data at 25m; Figure 3 This is a schematic diagram of an anisotropic search window provided in the embodiments of this application; wherein, (a) is a schematic diagram of the search neighborhood of a conventional or initial moving window, and (b) is a schematic diagram of a lithofacies adaptive anisotropic search window controlled by the directional length scale; Figure 4 This is a schematic diagram of the post-processing method for random simulation results provided in the embodiments of this application; wherein, (a) is a schematic diagram of the anisotropic support envelope around the borehole-constrained lithofacies section, and (b) is a schematic diagram of generating candidate updates under local and structural constraints to form an acceptable update bridge. Figure 5 This is a comparative schematic diagram of the inverse distance weighted random simulation results, the preliminary optimization results of the simulation structure, and the fine optimization results of the simulation structure, taking one random simulation implementation as an example, provided in the embodiments of this application; wherein, (a) is a schematic diagram of the real three-dimensional aquifer structure, (b) is a schematic diagram of the initial random simulation results, (c) is the preliminary optimization results of the simulation structure, and (d) is the fine optimization results of the simulation structure; Figure 6 This is a probability distribution diagram of lithofacies 1 obtained by statistical implementation of 100 models according to the embodiments of this application; wherein, (a) is a probability distribution diagram obtained based on the initial random simulation results, (b) is a probability distribution diagram obtained based on the preliminary optimization results of the structure, and (c) is a probability distribution diagram obtained based on the fine optimization results of the simulated structure. Detailed Implementation
[0024] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0025] This embodiment provides a stochastic simulation method for heterogeneous aquifer structures based on structural constraints. Taking borehole hard data and prior geological statistics (data can come from any source such as profiles, outcrops, geophysical exploration, well logging, or expert interpretation) as input, the anisotropic IDW interpolation results are converted into local lithofacies probability vectors. Multiple initial lithofacies frameworks under borehole constraints are generated through sequential random sampling. Subsequently, the structural organization of the initial framework is optimized using interpolation local probability, neighborhood consistency, the influence of borehole hard data, and lithofacies proportion constraints. Finally, geological constraints such as lithofacies proportion and directional average length obtained through Bayesian updates are used to further optimize the structural organization locally, making it more consistent with the characteristics of real heterogeneous sedimentary structures. Ultimately, a three-dimensional lithofacies simulation result is obtained that maintains both borehole hard data and stochastic uncertainty with geological structural consistency.
[0026] like Figure 1 As shown, the method provided in this embodiment mainly includes the following steps: Step 1: Acquire and organize borehole hard data and prior geological constraint information ( Figure 2 ).
[0027] First, a three-dimensional mesh is generated for the aquifer to be simulated, and the borehole data is transformed into a data structure combining spatial coordinates and discrete lithofacies categories. The mesh cells containing the borehole data are defined as hard data cells, and their lithofacies categories remain unchanged in all subsequent simulation stages to ensure the simulation effect. The remaining mesh cells are used as the cells to be simulated. Second, prior geological constraint information describing the volume proportion and spatial continuity of lithofacies is obtained. This information can come from two-dimensional profiles, outcrop analogies, geophysical inversion results, ground-penetrating radar, resistivity tomography, hydraulic tomography, nuclear magnetic resonance logging, or user-defined information. For each lithofacies category, its volume proportion and spatial continuity need to be obtained. x -、 y -、 z - Average extension length and length variance in three directions. Lithofacies with high volume fraction and large average length in each direction are defined as background facies. This definition is only used to guide the generation process of heterogeneous structures and does not affect borehole hard data constraints.
[0028] Step 2: Update and correct the prior statistical parameters of lithofacies structure based on Bayesian methods.
[0029] When using outcrops or profiles, the lithofacies lengths obtained directly from the profiles are often affected by truncation boundaries and cannot reflect the true structural characteristics because they cannot fully represent the extension of lithofacies. Therefore, this embodiment uses a Bayesian update method to correct the volume proportions and extension lengths obtained from outcrops or profiles with incomplete exposure. The correction calculation requires statistically analyzing the apparent lengths of each lithofacies segment on the profile and recording the boundary termination of the corresponding lithofacies segment. It is assumed that there are a total of... K For the first type of lithofacies t The first of the lithofacies j Each lithofacies segment, its observed length is denoted as . l tj Its termination state is denoted as N tj ,in N tj =0 indicates that no boundary is fully observed (not fully exposed). N tj =1 indicates that a boundary has been observed (only partially exposed). N tj =2 indicates that two boundaries were observed (fully exposed). Based on the lithofacies segment length and termination state, the first step is to calculate... t Termination frequency of lithofacies f t If the first t Rock-like facies appeared M t Then the termination frequency can be expressed as:
[0030] For different termination states, a second-order Erlang distribution is used to describe the probability of lithofacies length, and the conditional probability of the observed length belonging to each lithofacies category is calculated based on Bayes' theorem:
[0031] Therefore, the conditional probability of each occurrence in lithofacies t is calculated using Bayes' theorem:
[0032] The lithofacies proportions were then recalculated using the updated conditional probability. p t and termination frequency f t The above process is iterated until the change in probability density distribution between two adjacent iterations is less than a preset threshold. Finally, the average length of the corrected direction for the t-th lithofacies can be expressed as:
[0033] In this embodiment, the lithofacies proportion, directional average length, and length variance obtained through the above Bayesian update will be used as soft prior constraints, which will be used for subsequent anisotropic search window size definition, random sampling, and structural optimization of the initial simulation results, respectively.
[0034] Step 3: Generate an initial lithofacies random skeleton based on anisotropic IDW probability support.
[0035] In the stochastic simulation process, borehole hard data cells are first assigned a known lithofacies category, and this grid value is fixed in subsequent simulations. For the remaining unknown grid cells, an arbitrary point to be simulated is selected for inverse distance interpolation calculation. Then, another arbitrary point to be simulated is randomly selected, and this process continues until all unknown grid cells have been sequentially traversed. During this process, grid cells close to the borehole hard data or for which interpolation results have already been obtained are preferentially selected as the simulation points. This grid selection method preserves the characteristics of random perturbation as much as possible, avoiding the similarity problem of results caused by a fixed calculation direction. Given the vertically dense and horizontally sparse nature of borehole data, this embodiment further employs a progressively expandable moving search window method. (Reference) Figure 3 The window initially takes the representative directional length of the non-background lithofacies as its size. When neighborhood information is insufficient (e.g., below the specified number of conditional hard data points) to form a stable probability estimate, the window size will be gradually expanded. During the expansion process, the horizontal search range will be increased first, while the vertical expansion will remain relatively conservative to avoid excessive influence of repeated samples within the borehole in the vertical direction.
[0036] For the target element x0 to be simulated and its neighboring elements x i For the t-th lithofacies, define the anisotropic normalized distance:
[0037] in, k Indicates spatial direction, refers to x , y , z ; L t,k Indicates the first t Rock facies in k The average extension length in the direction. Lithofacies with a larger directional length can influence the target unit over a wider area, while lithology with a shorter directional length is mainly limited to the nearest neighborhood. Based on this distance, the first... t IDW support probability of lithofacies Q t ( x 0) is represented as:
[0038] Among them, Ω t ( x0) indicates the set of neighborhood cells within the valid moving window that have been assigned the value of lithofacies type t. ε To avoid the occurrence of singular values in small constants when the distance is too small, ω This represents the distance attenuation index. Subsequently, the support probabilities for all lithofacies categories are normalized to obtain the local lithofacies probability vector of the target unit:
[0039] To balance local selectivity and protect low-proportion lithofacies, this embodiment also developed an adaptive hybrid power exponent strategy. Specifically, a stronger distance attenuation exponent is adopted. ω s and weaker distance decay index ω r Calculate two sets of normalized lithofacies probabilities, and determine an adaptive mixing factor based on the local uncertainty of the target element and the low proportion of lithofacies support. λx 0, yielding the mixed probability:
[0040] When the uncertainty of local lithofacies distribution is high, or when a low proportion of lithofacies has spatial significance but relatively weak support, the attenuation index of the corresponding low volume proportion lithofacies can be appropriately increased to reduce the systematic suppression brought about by the high proportion of lithofacies during sequential simulation.
[0041] This embodiment also considers a low volume ratio correction factor to reduce the cumulative deviation between the lithofacies ratio and the target prior ratio during the simulation. For the first... t The proportion correction factor for the lithofacies is:
[0042] in, β For correction factor, Let t be the prior proportion of the lithofacies target. The current simulated unit t Rock facies ratio. When the first t When the proportion of rock-like facies is below the target and there is non-negligible local IDW support, the correction factor is greater than 1; otherwise, it remains at 1. Therefore, the final IDW support probability is:
[0043] In the stochastic simulation process, the probability vector finally calculated on the grid to be determined is converted into a cumulative distribution function. Then, uniform random numbers are used to extract the lithofacies category of the target unit. This extends the IDW interpolation method from continuous attribute variables to discrete classification index variables. Under random sampling conditions, multiple sets of borehole-constrained initial lithofacies stochastic simulation results and their corresponding local lithofacies probability fields can be generated. These preliminary simulation results will be further optimized for structural continuity and statistical parameter similarity. The local lithofacies probability fields will also provide effective constraint information and participate in the optimization of the simulation results.
[0044] Step 4: Preliminary optimization of the simulation structure based on probability field, neighborhood information and borehole hard data.
[0045] The initial lithofacies random skeleton based on IDW already satisfies the constraints of borehole observation data and possesses randomness. However, its local spatial structure is mainly controlled by random sampling of the simulated grid, and non-background lithofacies tend to appear as short fragments or isolated patches. To improve the consistency of local structure, this embodiment utilizes probability fields, neighborhood support, and the influence of borehole hard data to integrate and optimize the structural organization of the initial lithofacies skeleton.
[0046] First, candidate adjustment regions are identified from the initial randomized implementation (i.e., a randomized simulation result) and the probability field. Candidate cells include those with low local lithofacies probability, high lithofacies uncertainty, poor neighborhood consistency, and those exhibiting isolated patches or inconsistencies with nearby borehole hard data. Borehole hard data cells themselves are not modified, but their surrounding neighborhoods are carefully examined to avoid situations where observed lithofacies are surrounded by other lithofacies near the borehole, forming isolated hard data points. For each candidate cell, a comprehensive local support criterion is established. This criterion considers three types of evidence simultaneously (…). Figure 4 (a) : First, the IDW lithofacies probabilistic support from the sequential simulation phase; second, the consistency and local connectivity of lithofacies categories of adjacent units; third, the influence of hard data from nearby boreholes and borehole-constrained lithofacies segments. If the current lithofacies category meets the comprehensive support requirements, it is retained; if other lithofacies categories have stronger comprehensive support, limited replacement is allowed without violating hard data preservation and proportional constraints.
[0047] A lithofacies volume ratio constraint is introduced during the candidate update process. For lithofacies whose proportion already significantly exceeds the prior constraint, their further expansion priority is reduced; for non-background lithofacies that are below the target proportion and supported by both local probability and borehole evidence, they are preferentially retained or enhanced. This optimization process sets a cyclic constraint condition, which is jointly constrained by the candidate area, comprehensive support evaluation, volume fraction balance, and maximum modification ratio, until the condition is met, at which point the structural optimization process terminates. The structural optimization process can effectively reduce locally unstable fragments appearing in the stochastic simulation results, while avoiding the simple absorption of all low-proportion lithofacies into the background lithofacies. The lithofacies random field output in this stage will serve as the input for subsequent length-constrained optimization operations.
[0048] Step 5: Simulate fine optimization of the structure based on extension length and connectivity constraints.
[0049] The lithofacies field after structural organization is compared with the prior lithofacies proportion, directional mean length and length variance obtained by Bayesian update to identify problems such as prior proportion deviation, insufficient or excessive directional extension, fragmentation of geological bodies and insufficient maximum connectivity of each lithofacies, and to determine the priority of candidate operations accordingly.
[0050] For lithofacies with insufficient proportion and small directional average length, their expansion or connection along the corresponding direction is given priority. For lithofacies with excessively high proportion or those that have already met the directional length constraints, their expansion priority is reduced. For non-background lithofacies, especially those with low volume fraction but significant hydrogeological importance, this embodiment adopts a connectivity repair strategy guided by the main interconnection. Figure 4 (b) If the lithofacies is divided into multiple weakly connected components, candidate connection operations are preferentially carried out near existing main connected bodies or borehole-supported lithofacies segments. When there is a short gap between two identical lithofacies bodies, and filling the gap can improve the proportion, directional length and local neighborhood consistency, the gap is allowed to be updated to the corresponding lithofacies, thereby forming a reasonable connection.
[0051] All fine-grained optimization operations are constrained by hard data and limited modification rules. Candidate updates are only accepted when supported by local lithofacies evidence and structural statistics, and without causing unacceptable deviations in lithofacies proportions. As lithofacies proportions and directional lengths gradually approach the preset tolerance range, the intensity of structural adjustments gradually decreases. Finally, residual isolated elements and local boundary anomalous structures are lightly modified to avoid over-smoothing and preserve the uncertainties generated by the stochastic simulation process.
[0052] Step 6: Output the final lithofacies random simulation results and perform model evaluation.
[0053] After the above process, a final set of stochastic realizations of lithofacies is obtained. This result simultaneously satisfies the following conditions: all borehole hard data constraints are maintained; the overall lithofacies proportion is close to the prior target; the directional mean length and length variance are closer to the prior geostatistics; the fragmentation of low-proportion non-background lithofacies is reduced and the main connectivity is enhanced; and reasonable spatial differences are still preserved between different stochastic realizations.
[0054] For the r-th implementation, the overall accuracy is defined as the fraction of mesh cells that simulate the same lithofacies as the reference lithofacies:
[0055] in, N G The total number of grid cells. Z r ( x i ) indicates the first r Mesh cells in group implementation x i lithofacies categories, Z ref ( x i ) represents a grid cell x i Reference lithofacies category. ||[·] is an indicator function, which is 1 when the condition is true, and 0 otherwise.
[0056] For the R-group random implementation, the probability of each grid cell belonging to the t-th lithofacies group is further calculated to represent spatial uncertainty:
[0057] The high-probability region indicates that the lithofacies categories are stable across different random realizations, while the low- to medium-probability region indicates that there is still uncertainty regarding lithofacies boundaries or inter-bore connectivity. (Reference) Figure 5 and Figure 6 The final output includes single or multiple sets of 3D lithofacies models, aggregated lithofacies probability maps, lithofacies proportion statistics, directional average length statistics, number of connected components, proportion of the largest connected component, and lithofacies mesh files for use in groundwater flow and solute transport models.
[0058] The key point of this application is: (1) The lithofacies proportion and directional length information obtained from incomplete profiles or outcrops are corrected by Bayesian update to obtain more accurate structural prior statistical information such as proportion, directional average length and length variance of three-dimensional lithofacies simulation, thereby reducing the impact of finite profile truncation effect on structural simulation results.
[0059] (2) The distance-weighted interpolation results in traditional IDW are converted into local probability vectors of each lithofacies category, and multiple lithofacies fields are generated by sequential random sampling, thereby extending IDW from a single deterministic interpolation method to a stochastic structure simulation method applicable to discrete lithofacies variables.
[0060] (3) Construct a moving search window for anisotropy of lithofacies perception to ensure that each lithofacies type can be subjected to random simulation and structural optimization in different directions within the effective influence range. This design can adapt to the characteristics of borehole data being vertically dense and horizontally sparse, and avoid the excessive propagation of interpolation effects along the vertical direction caused by conventional spherical neighborhoods.
[0061] (4) An adaptive hybrid power exponent strategy is introduced, which uses the strong distance decay probability to maintain local structural constraints and the weak distance decay probability to provide global spatial support. When there is weak but meaningful structural support in a low proportion of lithofacies, the probability of sampling is increased, thereby alleviating the problem of non-background lithofacies being systematically suppressed.
[0062] (5) After the initial random structural skeleton is generated, a comprehensive support criterion is constructed by combining local probability, neighborhood consistency, and the influence of borehole hard data. Only candidate units with low support, high uncertainty, or inconsistent structures are subject to limited adjustments. This process is not global smoothing, but rather enhances the rationality of local geological structures while maintaining randomness.
[0063] (6) In the length constraint fine optimization stage, the priority of candidate operations is determined by the proportion of lithofacies, the average extension length of the direction, the length variance and the connectivity deviation. The structural adjustment is gradually weakened according to the current deviation degree of different lithofacies, especially the connection repair guided by the main connectivity for low proportion of non-background lithofacies.
[0064] (7) The entire process strictly maintains that the borehole hard data is not modified, and can output multiple sets of random realizations and ensemble probability diagrams. It can generate three-dimensional lithofacies models that can be used for groundwater numerical simulation, and can also express the uncertainty of lithofacies boundaries and connectivity between boreholes.
[0065] The beneficial effects of this application are as follows: (1) This application retains the advantages of IDW method in terms of clear concept, high computational efficiency and easy interpretation. At the same time, it overcomes the limitation of traditional IDW in that it can only perform deterministic interpolation. It can directly generate multiple sets of discrete lithofacies random realizations with borehole constraints and quantify the spatial expression uncertainty of the corresponding lithofacies.
[0066] (2) This application does not require the establishment of a complete variation function model, transformation probability model, target body template or external training image, and is particularly suitable for aquifer modeling scenarios with only sparse borehole data and a small amount of profile, outcrop, geophysical or expert prior information.
[0067] (3) This application employs Bayesian updated structural statistical priors, anisotropic IDW probabilistic support, and hard data support. It sequentially conducts stochastic simulations of lithofacies field distribution and progressive optimization of the structure, ultimately achieving optimization in multiple aspects such as lithofacies proportion, directional continuity, and geological body connectivity. From the example of a three-dimensional heterogeneous aquifer with three lithofacies, in 100 sets of stochastic implementation results (such as...) Figure 6 As shown in the figure, the similarity between the random simulation results and the real structure increased from 0.668 to 0.693 and finally to 0.716. The Macro-F1 value for evaluating global connectivity increased from 0.627 to 0.658 and finally to 0.677, indicating that the structure improvement steps have an improving effect on multiple rock facies categories.
[0068] (4) such as Figure 5 As shown, for high-proportion background lithofacies, the final maximum connected component ratio reaches 0.999, and the directional average length is close to that of the reference model, indicating that this application can maintain the overall connectivity of the main background lithofacies framework. For low-proportion lithofacies, the number of connected components decreases from 423.4 in the random simulation stage to 18.4 in the fine optimization stage, close to the true value of 16 in the reference model. Furthermore, the maximum connected component ratio increases from 0.401 to 0.747, indicating that this method can effectively organize low-volume lithofacies from isolated fragments into more continuous structures.
[0069] (5) In the MATLAB computing environment, it takes about 3 minutes to generate a complete set of random simulations for the three-dimensional test case, which shows that the method of this application has good computational feasibility while maintaining structural constraints and randomness, and can serve subsequent work such as groundwater flow, solute transport and pollution risk assessment.
[0070] Those skilled in the art will readily understand that the above description is merely a preferred embodiment of this application and is not intended to limit this application. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this application should be included within the protection scope of this application.
Claims
1. A method for inverse distance weighted stochastic simulation of heterogeneous aquifer structures, characterized in that, Includes the following steps: S10, acquire borehole hard data and prior geological constraint information of the aquifer to be simulated, and divide the aquifer to be simulated into three-dimensional grid cells; the prior geological constraint information includes the volume percentage of each lithofacies, and in x direction, y direction and z The average extension length in the direction; the grid cell containing the borehole data is defined as the hard data cell and remains unchanged in subsequent simulations, while the remaining grid cells are defined as cells to be simulated; S20, for each type of lithofacies, an anisotropic normalized distance and anisotropic moving search window size are defined based on the average extension length in each direction. The center of the search window is taken as the target unit for simulation. The support probability on the unit to be simulated is calculated using the inverse distance weighting method. The support probability of all lithofacies categories is normalized to obtain the local lithofacies probability vector of the unit to be simulated. S30, construct a cumulative distribution function based on the local lithofacies probability vector, use uniform random numbers to extract the lithofacies category of the unit to be simulated, sequentially traverse all units to be simulated, and repeat this process to generate multiple sets of initial lithofacies random simulation results constrained by borehole hard data; S40, Identify candidate adjustment units from the initial lithofacies random simulation results, construct a comprehensive support criterion based on the local lithofacies probability vector, the lithofacies category consistency of adjacent grid units around the candidate adjustment unit, and the borehole hard data, and replace the lithofacies category of candidate adjustment units that do not meet the comprehensive support criterion to obtain the lithofacies random simulation results with preliminary structural optimization; S50, compare the preliminary optimized lithofacies random simulation results with the volume proportion and directional average length in the prior geological constraint information, and locally expand or connect the lithofacies with deviations along the corresponding directions until the preset tolerance range is met, and obtain the final lithofacies random simulation results.
2. The inverse distance weighted stochastic simulation method for heterogeneous aquifer structures as described in claim 1, characterized in that, In step S10, when the prior geological constraint information comes from an incompletely exposed outcrop or profile, the Bayesian update method is used to correct the volume ratio and the average extension length. The Bayesian update method includes: statistically analyzing the observation length and termination state of each lithofacies segment on the profile; calculating the termination frequency based on the observation length and termination state; iteratively updating the lithofacies ratio and termination frequency based on the Bayesian formula until convergence; and calculating the corrected average length in each direction based on the converged termination frequency.
3. The inverse distance weighted stochastic simulation method for heterogeneous aquifer structures as described in claim 2, characterized in that, In the Bayesian update method, it is assumed that the outcrop has K For the first type of lithofacies t The first of the lithofacies j Each lithofacies segment, its observed length is denoted as . l tj Its termination state is denoted as N tj ,in N tj =0 indicates that no boundary was fully observed. N tj =1 indicates that a boundary has been observed. N tj =2 indicates that two boundaries have been observed; the number of observations is calculated based on the observation length and the termination state. t Termination frequency of lithofacies f t If the first t Rock-like facies appeared M t Then the termination frequency is expressed as ; The probability of lithofacies length is described using a second-order Erlang distribution. t The conditional probability of each occurrence is calculated based on Bayes' theorem, and the lithofacies proportion is updated iteratively. p t and termination frequency f t The process continues until the change in probability density distribution between two consecutive iterations is less than a preset threshold; t Corrected directional average length representation of lithofacies .
4. The inverse distance weighted stochastic simulation method for heterogeneous aquifer structures as described in claim 1, characterized in that, In step S20, the anisotropic normalized distance, for the unit to be simulated... x 0 and neighboring units x i Regarding the first t Lithofacies are defined as: in, k Indicates spatial direction, refers to x direction 、y direction and z direction; L t,k Indicates the first t Rock facies in k Average length of extension in the direction.
5. The inverse distance weighted stochastic simulation method for heterogeneous aquifer structures as described in claim 4, characterized in that, In step S20, the first t Probability of support for lithological facies Q t ( x 0) represents Among them, Ω t ( x 0) indicates that the value assigned to the moving window is the first one. t A set of neighboring units of lithological facies. ε To avoid the occurrence of singular values in small constants when the distance is too small, ω The distance decay exponent; The support probabilities of all lithofacies categories are normalized to obtain the elements to be simulated. x Local lithofacies probability vector of 0 : in, K This represents the total number of lithofacies categories.
6. The inverse distance weighted stochastic simulation method for heterogeneous aquifer structures as described in claim 5, characterized in that, After obtaining the local lithofacies probability vector, an adaptive hybrid power exponent is used to balance local selectivity and apply protection to low-proportion lithofacies. ω s and ω r Calculate the normalized lithofacies probabilities for the two sets of units, and then apply them to the units to be simulated. x The adaptive mixing factor is determined by the local uncertainty of 0 and the low proportion of lithofacies support. λx 0, yielding the mixing probability, which is used as the replacement local lithofacies probability vector, the mixing probability being... ,in This indicates the use of the distance attenuation index. ω s The calculated first t lithofacies in the unit to be simulated x Normalized lithofacies probability at 0 This indicates the use of the distance attenuation index. ω r The calculated first t lithofacies in the unit to be simulated x Normalized lithofacies probability at 0; When the uncertainty of local lithofacies distribution exceeds a preset threshold, or when a low proportion of lithofacies has spatial significance and its support strength is below a preset threshold, the adaptive mixing factor is increased. λx 0.
7. The inverse distance weighted stochastic simulation method for heterogeneous aquifer structures as described in claim 5, characterized in that, After calculating the support probability and before normalization, for the first... t Lithofacies, expressed by introducing a proportional correction factor: in, β For correction factor, For the first t Prior proportion of rock-like targets The current simulated unit t Rock facies ratio; When the t When the proportion of a facies type is lower than the target prior proportion and has non-zero local support, the proportion correction factor is greater than 1; otherwise, it remains 1. The proportion correction factor is multiplied by the support probability of the corresponding facies type to obtain the corrected support probability. Normalization is performed based on the corrected support probability to obtain the corrected local facies probability vector.
8. The inverse distance weighted stochastic simulation method for heterogeneous aquifer structures as described in claim 1, characterized in that, In step S40, the candidate adjustment units include grid units with local lithofacies probability lower than a first preset threshold, lithofacies uncertainty higher than a second preset threshold, neighborhood consistency lower than a third preset threshold, and exhibiting isolated patches or inconsistencies with nearby borehole hard data; borehole hard data units are not involved in the modification, and the neighborhood surrounding the borehole hard data units is given priority for inspection.
9. The inverse distance weighted stochastic simulation method for heterogeneous aquifer structures as described in claim 1, characterized in that, In step S50, when expanding or connecting the deviated facies along the corresponding direction, for non-background facies, a connectivity repair strategy guided by the main connected body is adopted: if the facies is divided into multiple connected components, candidate connection operations are preferentially carried out near the existing main connected body or borehole-supported facies segment. When the gap between two identical facies bodies is less than the preset distance threshold, and filling the gap can improve the proportion, directional average length and neighborhood consistency, the gap is updated to the facies category.
10. A method for evaluating the results of stochastic simulation of heterogeneous aquifer structure, characterized in that, Includes the following steps: Obtain multiple final lithofacies stochastic simulation results obtained by the method according to any one of claims 1 to 9; For the r Each implementation calculates its overall accuracy, defined as the fraction of grid cells that simulate the same lithofacies as the reference lithofacies: in, N G This represents the total number of grid cells. Z r ( x i ) indicates the first r Mesh cells in group implementation x i Lithofacies category; Z ref ( x i ) represents a grid cell x i Reference lithofacies category; ||[·] is an indicator function, which is 1 when the condition is true and 0 otherwise; For R sets of random implementations, calculate the element belonging to the first set. t The probabilities of the assemblages of lithofacies, wherein the assemblages are expressed as .
