Geological model generation method and device based on IFC, electronic equipment and medium

By using an IFC-based modeling engine and 3D MRF theory, a voxelized 3D geological model is constructed, which solves the problem of low efficiency in traditional geological modeling, realizes automated updating and standardized expression of geological information, and improves the efficiency and accuracy of model construction.

CN121564256APending Publication Date: 2026-02-24WUHAN UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511684006.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-11-17
Publication Date
2026-02-24

AI Technical Summary

Technical Problem

Traditional geological modeling methods are inefficient, make it difficult to ensure the consistency and traceability of information, and the heterogeneity of geological data leads to long model update cycles and poor information sharing. They also lack a unified data structure and semantic expression, making it difficult to directly call them in BIM or numerical analysis platforms.

Method used

Based on the IFC modeling engine and 3D MRF theory, an initial BIM model is constructed by acquiring geological exploration information, extracting key geological exploration information, generating a voxelized 3D geological model, and constructing a surface mesh model, ultimately forming a full-domain 3D geological BIM model.

Benefits of technology

It improves the efficiency and accuracy of 3D geological model construction, realizes automated updating and standardized expression of geological information, and solves the problems of modeling difficulties and poor information sharing caused by the heterogeneity of geological data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121564256A_ABST
    Figure CN121564256A_ABST
Patent Text Reader

Abstract

The invention relates to a geological model generation method and device based on IFC, electronic equipment and a medium. The method comprises the steps that geological exploration information of a target area is acquired and converted into digital information; based on a preset modeling engine, an initial BIM model is constructed according to the digital information, and key geological exploration information is extracted from the model; based on the three-dimensional MRF theory, geological attribute area information of the target area is deduced according to the key geological exploration information, and a voxelization three-dimensional geological model is generated; geological interface information of the voxelization three-dimensional geological model is extracted, and based on finite element grid generation software, a surface grid model of each geological layer is constructed according to the geological interface information; and on the basis of a preset modeling engine, constructing a global three-dimensional geological BIM model according to the surface mesh model of each geological layer. Therefore, the problems of modeling difficulty, long model updating period and poor information sharing caused by heterogeneity of geological data in related technologies are solved, and the efficiency and precision of three-dimensional geological model construction are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of geological modeling technology, and in particular to a geological model generation method, apparatus, electronic device and medium based on IFC. Background Technology

[0002] Geological information in geotechnical engineering is inherently complex and heterogeneous, with data from various sources exhibiting significant differences in format and semantics. Traditional geological modeling processes typically rely on manual integration and modeling, which is not only inefficient but also struggles to guarantee information consistency and traceability. As the scale of underground engineering projects continues to expand, higher demands are being placed on the accuracy and updating capabilities of geological models.

[0003] In related technologies, commonly used geological modeling methods mostly focus on geometric construction based on CAD (Computer-Aided Design) or independent modeling software. The resulting models lack a unified data structure and semantic expression, making them difficult to directly utilize in subsequent Building Information Modeling (BIM) or numerical analysis platforms. Although BIM technology has been widely used in information integration and management in the construction industry, its application in the field of geological information is still in its early stages, lacking standardized data interfaces and automated update mechanisms. The open data standard IFC (Industry Foundation Classes) in the engineering and construction field provides a technological foundation for the integration and interoperability of multi-source information.

[0004] However, the related technologies still have shortcomings in achieving automatic generation and updating of geological models under the IFC framework: there is a lack of mapping mechanism between geological data and IFC objects; the dynamic updating of geological body topology still relies on manual intervention, which urgently needs to be addressed. Summary of the Invention

[0005] This application provides a geological model generation method, apparatus, electronic device, and medium based on IFC, to solve the problems of modeling difficulties, long model update cycles, and poor information sharing caused by the heterogeneity of geological data in related technologies, thereby improving the efficiency and accuracy of three-dimensional geological model construction.

[0006] To achieve the above objectives, the first aspect of this application proposes a geological model generation method based on IFC, comprising the following steps: Obtain geological exploration information of the target area and convert the geological exploration information into digital information that meets preset reading requirements; Based on a preset modeling engine, an initial BIM model is constructed according to the digital information, and key geological exploration information is extracted from the initial BIM model. Based on the preset three-dimensional MRF theory, the geological attribute regional information of the target area is inferred from the key geological exploration information, and a voxelized three-dimensional geological model is generated based on the geological attribute regional information. Extract the geological interface information of the voxelized three-dimensional geological model, and construct surface mesh models of each geological layer based on the geological interface information using a preset finite element mesh generation software. Based on the preset modeling engine, a global three-dimensional geological BIM model is constructed according to the surface mesh model of each geological layer.

[0007] According to one embodiment of this application, the step of constructing an initial BIM model based on the digital information using a preset modeling engine includes: Create an IFC template file based on a preset modeling engine; Based on a preset method for representing stretched three-dimensional solids, the parameters in the digital information are added to the IFC template file, and a two-dimensional contour section is created based on the first addition result. A two-dimensional cross-sectional geometric representation is added based on the two-dimensional contour cross-section, and a three-dimensional solid is formed by stretching according to the second addition result; The geological attributes of the three-dimensional entity are determined using a preset extended attribute container, and the three-dimensional entity with determined geological attributes is placed in a preset hierarchical structure to obtain the initial BIM model.

[0008] According to one embodiment of this application, creating an IFC template file based on a preset modeling engine includes: Create a blank IFC project file based on the preset modeling engine; Based on the blank IFC project file, IFC project elements are created, and based on the preset context relationships, the context relationships between the IFC project elements and the site, building, floor and components are constructed in sequence to obtain the IFC template file.

[0009] According to one embodiment of this application, the method for representing a stretched three-dimensional solid based on a preset method adds parameters from the digital information to the IFC template file and creates a two-dimensional contour section based on the first addition result, including: For the rectangular cross-section of the geological domain in the digital information, a contour line is created using a polyline representation method, and the two-dimensional closed contour of the geological domain is obtained by closing the beginning and end of the contour line. For the drilling element in the digital information, the drilling element is represented by a cylinder, and a circular outline of the drilling element is created with the control point of the drilling element as the center coordinate and the control parameter of the drilling element as the radius.

[0010] According to one embodiment of this application, the step of adding a two-dimensional cross-sectional geometric representation based on the two-dimensional contour cross-section, and forming a three-dimensional solid by stretching according to the second addition result, includes: For the two-dimensional closed contour of the geological domain, the three-dimensional entity is constructed by stretching the depth dimension of the geological domain; For the circular profile of the borehole, the three-dimensional solid is constructed by stretching the formation thickness dimension.

[0011] According to one embodiment of this application, the extraction of key geological information from the initial BIM model includes: Based on the preset modeling engine, all entities are retrieved from the initial BIM model; Extract geometric and semantic information from all the entities.

[0012] The geological model generation method based on IFC proposed in this application constructs an initial BIM model from digital information converted from geological exploration information and extracts key geological exploration information to infer regional geological attribute information and generate a voxelized 3D geological model. Geological interface information of the model is extracted to construct surface network models of various geological layers, and a global 3D geological BIM model is built based on this. This solves the problems of modeling difficulties, long model update cycles, and poor information sharing caused by the heterogeneity of geological data in related technologies, improving the efficiency and accuracy of 3D geological model construction.

[0013] To achieve the above objectives, a second aspect of this application provides an IFC-based geological model generation apparatus, comprising: The acquisition module acquires geological exploration information of the target area and converts the geological exploration information into digital information that meets preset reading requirements. The first construction module, based on a preset modeling engine, constructs an initial BIM model according to the digital information and extracts key geological exploration information from the initial BIM model; The generation module, based on the preset three-dimensional MRF theory, infers the geological attribute regional information of the target area according to the key geological exploration information, and generates a voxelized three-dimensional geological model according to the geological attribute regional information. The second construction module extracts the geological interface information of the voxelized three-dimensional geological model and constructs surface mesh models of each geological layer based on the geological interface information using a preset finite element mesh generation software. The third construction module, based on the preset modeling engine, constructs a full-domain three-dimensional geological BIM model according to the surface mesh model of each geological layer.

[0014] According to one embodiment of this application, the first construction module is specifically used for: Create an IFC template file based on a preset modeling engine; Based on a preset method for representing stretched three-dimensional solids, the parameters in the digital information are added to the IFC template file, and a two-dimensional contour section is created based on the first addition result. A two-dimensional cross-sectional geometric representation is added based on the two-dimensional contour cross-section, and a three-dimensional solid is formed by stretching according to the second addition result; The geological attributes of the three-dimensional entity are determined using a preset extended attribute container, and the three-dimensional entity with determined geological attributes is placed in a preset hierarchical structure to obtain the initial BIM model.

[0015] According to one embodiment of this application, the first construction module is specifically used for: Create a blank IFC project file based on the preset modeling engine; Based on the blank IFC project file, IFC project elements are created, and based on the preset context relationships, the context relationships between the IFC project elements and the site, building, floor and components are constructed in sequence to obtain the IFC template file.

[0016] According to one embodiment of this application, the first construction module is specifically used for: For the rectangular cross-section of the geological domain in the digital information, a contour line is created using a polyline representation method, and the two-dimensional closed contour of the geological domain is obtained by closing the beginning and end of the contour line. For the drilling element in the digital information, the drilling element is represented by a cylinder, and a circular outline of the drilling element is created with the control point of the drilling element as the center coordinate and the control parameter of the drilling element as the radius.

[0017] According to one embodiment of this application, the first construction module is specifically used for: For the two-dimensional closed contour of the geological domain, the three-dimensional entity is constructed by stretching the depth dimension of the geological domain; For the circular profile of the borehole, the three-dimensional solid is constructed by stretching the formation thickness dimension.

[0018] According to one embodiment of this application, the first construction module is specifically used for: Based on the preset modeling engine, all entities are retrieved from the initial BIM model; Extract geometric and semantic information from all the entities.

[0019] The IFC-based geological model generation device proposed in this application constructs an initial BIM model based on digital information converted from geological exploration information and extracts key geological exploration information. This allows for the inference of regional geological attribute information and the generation of a voxelized 3D geological model. Furthermore, the device extracts geological interface information from the model to construct surface network models of various geological layers, thereby building a comprehensive 3D geological BIM model. This solves the problems of modeling difficulties, long model update cycles, and poor information sharing caused by the heterogeneity of geological data in related technologies, improving the efficiency and accuracy of 3D geological model construction.

[0020] To achieve the above objectives, a third aspect of this application provides an electronic device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the IFC-based geological model generation method as described in the above embodiments.

[0021] To achieve the above objectives, a fourth aspect of this application provides a computer-readable storage medium having a computer program stored thereon, which is executed by a processor to implement the IFC-based geological model generation method as described in the above embodiments.

[0022] To achieve the above objectives, a fifth aspect of this application provides a computer program product, which, when executed by a processor, implements the IFC-based geological model generation method as described in the above embodiments.

[0023] Additional aspects and advantages of this application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of this application. Attached Figure Description

[0024] The above and / or additional aspects and advantages of this application will become apparent and readily understood from the following description of the embodiments taken in conjunction with the accompanying drawings, wherein: Figure 1 This is a flowchart of a geological model generation method based on IFC provided according to an embodiment of this application; Figure 2 This is a schematic diagram (partial schematic diagram) of an IFC file for a geological exploration model automatically generated by IfcOpenShell according to an embodiment of this application. Figure 3 A schematic diagram of an initial BIM model provided according to an embodiment of this application; Figure 4 A schematic diagram of the most probable voxelized three-dimensional geological model provided according to an embodiment of this application; Figure 5 A point cloud image of the extracted stratigraphic interface provided according to an embodiment of this application; Figure 6 NURBS surface plots of various stratigraphic interfaces provided according to an embodiment of this application; Figure 7 This is a schematic diagram (partial schematic diagram) of an IFC file for a global geological model updated based on IfcOpenShell, according to an embodiment of this application. Figure 8 This is a schematic diagram of a full-domain geological BIM model provided according to an embodiment of this application; Figure 9 A flowchart of an IFC-based geological model generation method according to an embodiment of this application; Figure 10 This is a block diagram of an IFC-based geological model generation device provided according to an embodiment of this application; Figure 11 This is a schematic diagram of the structure of an electronic device provided according to an embodiment of this application. Detailed Implementation

[0025] The embodiments of this application are described in detail below. Examples of these embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and intended to explain this application, and should not be construed as limiting this application.

[0026] The following describes, with reference to the accompanying drawings, the method, apparatus, electronic device and medium for generating geological models based on IFC according to embodiments of this application. First, the method for generating geological models based on IFC according to embodiments of this application will be described with reference to the accompanying drawings.

[0027] Figure 1 This is a flowchart of an IFC-based geological model generation method according to an embodiment of this application.

[0028] like Figure 1 As shown, the IFC-based geological model generation method includes the following steps: In step S101, geological exploration information of the target area is acquired and converted into digital information that meets preset reading requirements.

[0029] Geological exploration information for the target area refers to the general term for various data, materials, and conclusions collected, analyzed, and organized using geological exploration techniques within a specific spatial range, reflecting the geological conditions, geological characteristics, and related natural attributes of that area. Preset reading requirements can be user-defined, obtained through a limited number of experiments, or derived through a limited number of computer simulations. Digital information refers to a collection of information presented in digital form that is computer-recognizable, storable, transmittable, and computational.

[0030] Specifically, the geological exploration information of the target area obtained in this embodiment includes: geological background, drilling data, and geological profile maps. Taking borehole data as an example, the parameters include model size, voxel size, borehole coordinates, and the thickness and properties of each geological layer at the borehole location. Further, the geological exploration information is converted into a file format readable by the program (e.g., .xlsx), and the model to be built is divided into two parts and saved as structured data: one part is the study domain, with the location information of each control point determined using a cuboid as an example; the other part is the exploration information, with boreholes as an example, including borehole coordinates, the thickness and property information of each stratum.

[0031] In step S102, an initial BIM model is constructed based on digital information using a preset modeling engine, and key geological exploration information is extracted from the initial BIM model.

[0032] The default modeling engine can be IfcOpenShell (an open-source IFC toolkit and geometry engine). IfcOpenShell is an open-source software library focused on handling IFC file formats in the BIM field, supporting reading, writing, and modifying BIM models. BIM is a technology for managing the entire lifecycle of engineering projects based on digital 3D models. It integrates all physical attributes, functional parameters, and management information of building projects from design, construction to operation and maintenance phases to build a unified and collaborative digital information carrier.

[0033] Specifically, the embodiments of this application are based on a preset modeling engine, namely IfcOpenShell, to build an initial BIM model using digital geological exploration information as the data source, and then extract key geological exploration information from the model to provide basic data support for subsequent engineering analysis.

[0034] Optionally, in some embodiments, an initial BIM model is constructed based on digital information using a preset modeling engine, including: creating an IFC template file based on the preset modeling engine; adding parameters from the digital information to the IFC template file based on a preset extruded three-dimensional solid representation method, and creating a two-dimensional profile section based on a first addition result; adding a two-dimensional section geometric representation based on the two-dimensional profile section, and forming a three-dimensional solid by extrusion based on a second addition result; determining the geological properties of the three-dimensional solid using a preset extended attribute container, and placing the three-dimensional solid with determined geological properties in a preset hierarchical structure to obtain the initial BIM model.

[0035] The preset method for representing an extruded 3D solid can be a user-defined method, a method obtained through a limited number of experiments, or a method obtained through a limited number of computer simulations. A 2D contour refers to a structured geometric figure generated in a 2D plane to describe the cross-sectional shape of a 3D solid. 3D solid geological attributes refer to a set of structured parameters bound to the 3D geological solid in the BIM model, characterizing the inherent properties of the geological body. The preset hierarchical structure can be a user-defined structure, a structure obtained through a limited number of experiments, or a structure obtained through a limited number of computer simulations. The preset extended attribute container can be IfcPropertySet (IndustryFoundation Classes Property Set).

[0036] Specifically, such as Figure 2 and Figure 3 As shown, Figure 2 This is a schematic diagram (partial schematic diagram) of an IFC file for a geological exploration model automatically generated by IfcOpenShell according to an embodiment of this application. Figure 3This is a schematic diagram of an initial BIM model provided according to an embodiment of this application. This embodiment creates an IFC project file and defines the IFC. An IFC template file is created using a preset modeling engine (IfcOpenShell). Numerical information is added to the IFC template file using a preset extruded 3D solid representation method. A 2D profile section is created based on the first addition result. A 2D geometric representation of the section is added, and a 3D solid is formed by extrusion based on the second addition result. Geological properties are defined using a preset extended property container IfcPropertySet, including: each borehole object is assigned an attribute with a specific string name, including constitutive model, density, and Poisson's ratio, etc. These attribute sets (numerical or descriptive) are stored and defined using IfcPropertySingleValue (single-value attribute). The relationship between the attribute set definition and the object is defined using IfcRelDefinesByProperties (defining association relationships). The created 3D solid is placed in a preset hierarchical structure to ensure a clear logical organization of the file. An IFC file is output, and an initial BIM model is obtained.

[0037] Furthermore, in some embodiments, an IFC template file is created based on a preset modeling engine, including: creating a blank IFC project file based on the preset modeling engine; creating IFC project elements based on the blank IFC project file; and sequentially constructing the contextual relationships between the IFC project elements and the site, building, floor, and components based on preset contextual relationships to obtain the IFC template file.

[0038] Specifically, this embodiment of the application creates a new blank IFC project file. Based on the blank IFC project file, IFC project elements (Industry Foundation Classes Project, IfcProject) are created. Specifically, based on the IFC file structure and the IfcOpenShell toolkit, a programming language (such as Python) is used to construct geological domain elements and borehole elements in the IFC file, and the borehole elements integrate corresponding attribute information. Based on the preset context relationships (IndustryFoundation Classes Relationship Aggregates, IfcRelAggregates), geometric context relationships are constructed sequentially with the site (IfcSite), building (IfcBuilding), floor (IfcBuildingStorey), and component (IfcAirTerminalBox) to obtain the IFC template file.

[0039] Optionally, in some embodiments, based on a preset extruded three-dimensional solid representation method, parameters in the digital information are added to the IFC template file, and a two-dimensional contour section is created according to the first addition result, including: for the rectangular cross section of the geological domain in the digital information, a contour line is created by a polyline representation method, and the beginning and end of the contour line are closed to obtain a two-dimensional closed contour of the geological domain; for the borehole element in the digital information, the borehole element is represented by a cylinder, and a circular contour of the borehole is created with the control point of the borehole element as the center coordinate and the control parameter of the borehole element as the radius.

[0040] Among them, the outline refers to an ordered set of lines generated by a specific geometric representation method to describe the boundary shape of the cross section of a geological entity.

[0041] Specifically, in this embodiment, a preset extruded three-dimensional solid representation method is used to add geometric control parameters and control points for geological domains and boreholes to the IFC template file. For the rectangular cross-section of the geological domain in the digital information, since a closed loop is required, five control points are needed (the coordinates of the first and last points are the same). A contour line (IfcPolyline) is created using a polyline representation method, and then a two-dimensional closed contour (Industry Foundation Classes ArbitraryClosed Profile Definition, IfcArbitraryClosedProfileDef) is created. For borehole elements in the digital information, a cylindrical representation is used. A drilling location is divided into several connected cylinders according to multiple strata, so the cross-section is circular, the control points are the center coordinates, and the control parameters are the radius to create a contour line (Industry Foundation ClassesCircle Profile Definition, IfcCircleProfileDef).

[0042] Optionally, in some embodiments, a two-dimensional cross-sectional geometric representation is added based on the two-dimensional contour cross-section, and a three-dimensional entity is formed by stretching according to the second addition result, including: for a two-dimensional closed contour of a geological domain, a three-dimensional entity is constructed by stretching the depth dimension of the geological domain; for a circular contour of a borehole, a three-dimensional entity is constructed by stretching the formation thickness dimension.

[0043] Specifically, for the two-dimensional contour of the geological domain created above, a three-dimensional solid (IfcExtrudedAreaSolid) is constructed by stretching the depth dimension of the geological domain; for the created circular contour of the borehole, a three-dimensional solid (IfcExtrudedAreaSolid) is constructed by stretching the formation thickness dimension.

[0044] Optionally, in some embodiments, extracting key geological information from the initial BIM model includes: retrieving all entities from the initial BIM model based on a preset modeling engine; and extracting geometric and semantic information from all entities.

[0045] Geometric information refers to a set of quantified data used to describe the spatial form, location coordinates, dimensional parameters, and topological relationships of BIM entities. Semantic information refers to non-geometric structured information related to BIM entities, used to describe their essential attributes, classification, functional characteristics, and logical relationships.

[0046] Specifically, this embodiment extracts key geological information from the BIM model. Specifically, it uses the `by_type` function (type matching filtering function) from the `IfcOpenShell` library to retrieve all entities (IfcProduct) from the IFC file; and utilizes the `ifcopenshell.geom` (the geometric data processing and conversion module for the IFC model) and the `ifcopenshell.util.element` module (a module simplifying daily operations for IFC entities) to extract geometric and semantic information, corresponding to location and geological attribute information respectively, as input for subsequent stochastic geological modeling. This mainly involves obtaining the extent information of the study domain, the location information of each borehole, and the thickness information of each stratum at the borehole location.

[0047] In step S103, based on the preset three-dimensional MRF theory, the geological attribute regional information of the target area is inferred from the key geological exploration information, and a voxelized three-dimensional geological model is generated based on the geological attribute regional information.

[0048] Among them, the 3D Markov Random Field (MRF) theory refers to discretizing a 3D space into a voxel network, where each voxel represents a random variable, and the variable value represents the geological attribute at that location. A voxelized 3D geological model refers to discretizing the 3D geological space of a target area into a series of volumetric units (voxels) according to a regular network. Each voxel stores a unique geological attribute value, and all voxels are stacked to form a discrete, numerical, and directly usable digital model for calculation and visualization.

[0049] Specifically, in this embodiment, the study domain is discretized into a voxel model, which is divided into borehole voxels and unknown voxel units; based on the preset three-dimensional MRF theory, information of unknown attribute regions is inferred to realize three-dimensional random geological modeling and generate multiple sets of three-dimensional geological models in batches.

[0050] Specifically, based on the three-dimensional discriminative adaptive nearest neighbor theory, the distance between the unknown voxel and all borehole voxels is calculated using the following formula: ; in, x Let be the three-dimensional coordinate vector of the unknown voxel. x 0 represents the three-dimensional coordinate vector of the borehole voxel, D( x, x 0) represents the distance between the unknown voxel and the borehole voxel. This is the metric matrix.

[0051] Wherein, the metric matrix The calculation formula is: ; Where ε is the tuning parameter, W is the covariance matrix between the same geological attributes, B is the covariance matrix between different geological attributes, and I is the identity matrix.

[0052] Furthermore, the formulas for calculating W and B are as follows:

[0053] Among them, C (m) To have the same geological properties m The covariance of the known voxel coordinates, f (m) To learn the geological properties in the domain m proportion, v (m) To learn the geological properties in the domain m The centroid coordinates of a voxel v The centroid coordinates of all voxels within the learning domain are determined.

[0054] After calculating the distances between the unknown voxel and all borehole voxels in this embodiment, the local probabilities of various attributes of the unknown voxel are further calculated. It is necessary to calculate the correlation between the location voxel and each geological attribute based on the harmonic mean distance. The formula for calculating the harmonic mean distance is as follows: ; in, HMD (m) For unknown voxels and geological properties m The recent k Harmonic mean distance between borehole voxels k The number of nearest neighbor borehole voxels selected. D ( j , i () is a voxel i and j DANN distance, x j voxels j Its geological properties.

[0055] Furthermore, the local probabilities of various geological properties of the unknown voxels are obtained, and the specific calculation formulas are as follows: ; in, HMD i (m) voxels with unknown properties i The closest to DANN k The attributes are m The harmonic mean distance of the borehole voxel position, HMD i (m´) voxels with unknown properties i The closest to DANN k The attributes are m The harmonic mean distance of the borehole voxel location is ´, and T is the set of geological attributes.

[0056] Furthermore, based on the local probability formula, the initial field of the three-dimensional geological model can be sampled.

[0057] Based on the initial field of the three-dimensional geological model obtained from the above sampling, the conditional probabilities of the unknown voxels are calculated and the three-dimensional geological model is updated. The specific method is as follows: The three-dimensional geological model was further updated using Markov chain Monte Carlo techniques, with the conditional probability formula as follows: ; in, X i and X i All are voxels i Potential geological properties i voxels i The neighborhood set of voxels, X i For neighborhood system i The set of geological attributes, U ( X i , X i )and U ( X i ', X i All of these are local neighborhood systems. i Local energy, p ( X i | X i ) for neighborhood system i Its geological properties are X i Time voxel i Its geological properties are X i The probability of.

[0058] Furthermore, the local energy is characterized using the Potts model (multi-state spin model), with the specific formula as follows: ; in, V i ( X i The harmonic mean distance described above is used to characterize... V i,j ( X i , X j ) is the potential function term that reflects the neighborhood constraint.

[0059] V i,j ( X i , X j The specific calculation formula is as follows: ; in, β d For the granularity coefficients of the neighborhood system parameters, X j It is a voxel j Potential geological properties.

[0060] Furthermore, the granularity coefficients of the neighborhood system are updated based on Bayesian theory, using the following specific formula: ; in, p ( β | X u , X b ), p ( β )and L ( β | X u , X b ) represent the posterior probability, prior probability, and likelihood function, respectively. X u and X bThese are sets of voxels representing unknown and known stratigraphic properties, respectively.

[0061] Using a multivariate Gaussian distribution as p ( β The specific formula for the likelihood function is as follows: ; in, p ( X i | X i , β ) is the set of attributes of the neighborhood system. X i And the particle size coefficient is β Time voxel i The geological properties of the location are X i The probability of.

[0062] Therefore, based on the three-dimensional discriminative adaptive nearest neighbor theory, preliminary sampling of areas with unknown geological attributes is adopted to obtain an initial geological model with discrete characteristics. Subsequently, constraint relationships between voxel neighborhood systems are introduced, and based on three-dimensional MRF theory and Bayesian inference theory, voxel attribute values ​​and neighborhood system parameters are iteratively updated to form a single Markov chain. Finally, multiple Markov chains are generated synchronously using parallel computing to achieve batch generation of three-dimensional geological models. Based on the batch-generated three-dimensional geological models, the probability of various stratigraphic configurations for each voxel unit is statistically analyzed, and the most probable stratigraphic configurations are finally selected to form the most probable three-dimensional geological model. For example, such as Figure 4 As shown, Figure 4 This is a schematic diagram of the most likely voxelized three-dimensional geological model provided according to one embodiment of this application.

[0063] In step S104, the geological interface information of the voxelized three-dimensional geological model is extracted, and the surface mesh model of each geological layer is constructed based on the geological interface information using a preset finite element mesh generation software.

[0064] Geological interface information refers to the set of spatial, attribute, and geometric features contained in the contact boundaries between different geological units in a voxelized 3D geological model. Pre-defined finite element mesh generation software is used in fields such as geological modeling and numerical simulation to transform geological interface information into structured surface networks.

[0065] Specifically, in this application embodiment, geological interface information of the voxelized three-dimensional geological model is extracted, such as... Figure 5 As shown, Figure 5This is a point cloud map of the extracted stratigraphic interface according to an embodiment of this application. The specific process is as follows: Based on the results of 3D random geological modeling, the most likely stratigraphic configuration is generated by assigning the most frequent stratigraphic type to each voxel; point cloud data of the stratigraphic interface is extracted, and the interface location is identified using a layer-by-layer voxel scanning method using a programming language (such as Python). Specifically, if the stratigraphic type of a voxel's vertically adjacent voxel is different from its own, it is identified as part of the stratigraphic interface. The interface point cloud location is determined by the median coordinates of the geometric centers of the vertically adjacent voxels. Furthermore, for the topological completeness of subsequent Boolean operations, some points outside the study domain will be added, and the edge points will be copied outwards in a normal direction.

[0066] Furthermore, surface network models of each geological layer are constructed based on a pre-defined finite element mesh generation software. The specific construction process is as follows. In this embodiment, for the extracted point clouds of each stratum interface, the PointsToBSplineSurface module (point cloud to B-spline surface conversion function) in PythonOCC (Python wrapper for OpenCASCADE Technology; OpenCASCADE, OpenComputer-Aided Software for Computer-Aided Design and Computer-Aided Engineering) is used to perform NURBS (Non-Uniform Rational B-Spline) surface fitting, converting the discrete point cloud into a continuous, smooth freeform surface, and saving it as a .step file, such as... Figure 6 As shown, Figure 6 This is a NURBS surface plot of various layer interfaces provided according to an embodiment of this application. Based on pre-defined finite element mesh generation software (such as the open-source mesh generation tool Gmsh (Geometry Modeling and Meshing Suite)), geological bodies of different strata are cut. Based on the geological domain geometry automatically obtained from the geological exploration BIM model, cutting objects are created in Python using the Gmsh toolkit. NURBS surfaces are imported as cutting tools, and Boolean operations (fragments) are automatically performed to retain all subdivided strata entities. The mesh operation of Gmsh is used to generate surface meshes for the subdivided strata entities and save them as .off files.

[0067] In step S105, a global three-dimensional geological BIM model is constructed based on a preset modeling engine and the surface mesh model of each geological layer.

[0068] Specifically, such as Figure 7 and Figure 8 As shown, Figure 7 This is a schematic diagram (partial schematic diagram) of an IFC file for a global geological model updated based on IfcOpenShell, according to an embodiment of this application. Figure 8 This is a schematic diagram of a global geological BIM model provided according to an embodiment of this application. This embodiment uses a Python script to read the stratigraphic entity mesh file (.off), automatically extracting the mesh nodes (coordinates and indices) and facets (triangular or quadrilateral facet meshes defined by node indices) for each stratigraphic body. Using the obtained node and facet information, a geological model is created using IfcPolygonalFaceSet (IFC standard geometric entity) entities based on polygonal mesh surface tessellation technology, effectively representing complex geological bodies in the IFC mode. The semantic information in the geological exploration BIM model is extracted using the ifcopenshell.util.element module. Similarly, the extended attribute container IfcPropertySet is used to define geological attributes, and IfcPropertySingleValue is used to store and define attribute sets. The relationship between the attribute set and the stratigraphic body object is defined using IfcRelDefinesByProperties.

[0069] Therefore, based on key geological information extracted from geological exploration data, a geological exploration BIM model conforming to IFC standards is constructed, realizing the structured representation and unified storage of geological exploration information. Through the analysis of spatial and attribute information in the geological exploration BIM model, and combined with 3DMRF theory, a voxelized 3D geological model is automatically generated. Finally, based on the dynamic extraction and reconstruction mechanism of geological interfaces, the entire geological BIM model is automatically updated, achieving multi-scale integration and continuous updating of geological information. This automates and standardizes the geological information modeling process, significantly improving the efficiency and accuracy of 3D geological model construction and updating. It solves the problems of modeling difficulties, long model update cycles, and poor information sharing caused by the heterogeneity of geological data in related technologies, providing a unified geological information expression framework for the digitization and intelligentization of geotechnical engineering.

[0070] To facilitate a better understanding of the IFC-based geological model generation method proposed in this application for those skilled in the art, the following is a detailed explanation. Figure 9 Further explanation is needed.

[0071] like Figure 9 As shown, Figure 9This is a flowchart of an IFC-based geological model generation method according to an embodiment of this application, the method comprising the following steps: S901, to obtain on-site geological survey data.

[0072] S902, a geological exploration BIM model generation method based on IfcOpenShell generates geological exploration models.

[0073] S903, extract geological exploration information from the model.

[0074] S904 is a stochastic geological modeling method based on 3D MRF, which generates voxelized three-dimensional geological models.

[0075] S905, extract geological interface information from voxel models.

[0076] S906, based on Gmsh, constructs surface network models of various geological layers.

[0077] S907, based on IfcOpenShell, constructs a full-domain 3D geological BIM model.

[0078] The geological model generation method based on IFC proposed in this application constructs an initial BIM model from digital information converted from geological exploration information and extracts key geological exploration information to infer regional geological attribute information and generate a voxelized 3D geological model. Geological interface information of the model is extracted to construct surface network models of various geological layers, and a global 3D geological BIM model is built based on this. This solves the problems of modeling difficulties, long model update cycles, and poor information sharing caused by the heterogeneity of geological data in related technologies, improving the efficiency and accuracy of 3D geological model construction.

[0079] Next, referring to the accompanying drawings, an IFC-based geological model generation apparatus is described according to an embodiment of this application.

[0080] Figure 10 This is a block diagram of an IFC-based geological model generation device according to an embodiment of this application.

[0081] like Figure 10 As shown, the IFC-based geological model generation device 10 includes: an acquisition module 100, a first construction module 200, a generation module 300, a second construction module 400, and a third construction module 500.

[0082] Among them, the acquisition module 100 acquires geological exploration information of the target area and converts the geological exploration information into digital information that meets the preset reading requirements; The first construction module 200, based on a preset modeling engine, constructs an initial BIM model according to digital information and extracts key geological exploration information from the initial BIM model. The generation module 300, based on the preset three-dimensional MRF theory, infers the geological attribute regional information of the target area based on key geological exploration information, and generates a voxelized three-dimensional geological model based on the geological attribute regional information. The second construction module 400 extracts the geological interface information of the voxelized three-dimensional geological model and constructs the surface mesh model of each geological layer based on the geological interface information using the preset finite element mesh generation software. The third module 500, based on a preset modeling engine, constructs a full-domain 3D geological BIM model according to the surface mesh model of each geological layer.

[0083] According to one embodiment of this application, the first construction module 200 is specifically used for: Create an IFC template file based on a preset modeling engine; Based on a preset method for representing stretched 3D solids, parameters from digital information are added to the IFC template file, and a 2D profile section is created based on the first addition result. A two-dimensional cross-sectional geometric representation is added based on the two-dimensional contour cross-section, and a three-dimensional solid is formed by stretching according to the second addition result; The geological properties of a 3D entity are determined using a pre-defined extended attribute container, and the 3D entity with the determined geological properties is placed in a pre-defined hierarchical structure to obtain the initial BIM model.

[0084] According to one embodiment of this application, the first construction module 200 is specifically used for: Create a blank IFC project file based on the preset modeling engine; Based on a blank IFC project file, IFC project elements are created, and based on preset context relationships, the context relationships between IFC project elements and site, building, floor and component are constructed in sequence to obtain the IFC template file.

[0085] According to one embodiment of this application, the first construction module 200 is specifically used for: For a rectangular cross-section of a geological domain in digital information, a contour line is created using a polyline representation method, and the two-dimensional closed contour of the geological domain is obtained by closing the beginning and end of the contour line. For drill elements in digital information, the drill element is represented by a cylinder, and a circular outline of the drill is created with the control point of the drill element as the center coordinate and the control parameter of the drill element as the radius.

[0086] According to one embodiment of this application, the first construction module 200 is specifically used for: For a two-dimensional closed contour of a geological domain, a three-dimensional solid is constructed by stretching the depth dimension of the geological domain. For a circular borehole profile, a three-dimensional solid is constructed by stretching the formation thickness.

[0087] According to one embodiment of this application, the first construction module 200 is specifically used for: Based on the preset modeling engine, all entities are retrieved from the initial BIM model; Extract geometric and semantic information from all entities.

[0088] It should be noted that the foregoing explanation of the IFC-based geological model generation method embodiment also applies to the IFC-based geological model generation device of this embodiment, and will not be repeated here.

[0089] The IFC-based geological model generation device proposed in this application constructs an initial BIM model based on digital information converted from geological exploration information and extracts key geological exploration information. This allows for the inference of regional geological attribute information and the generation of a voxelized 3D geological model. Furthermore, the device extracts geological interface information from the model to construct surface network models of various geological layers, thereby building a comprehensive 3D geological BIM model. This solves the problems of modeling difficulties, long model update cycles, and poor information sharing caused by the heterogeneity of geological data in related technologies, improving the efficiency and accuracy of 3D geological model construction.

[0090] Figure 11 This is a schematic diagram of an electronic device provided in an embodiment of the present invention. The electronic device may include: The memory 1101, the processor 1102, and the computer program stored on the memory 1101 and executable on the processor 1102.

[0091] When the processor 1102 executes the program, it implements the IFC-based geological model generation method provided in the above embodiments.

[0092] Furthermore, electronic devices also include: Communication interface 1103 is used for communication between memory 1101 and processor 1102.

[0093] The memory 1101 is used to store computer programs that can run on the processor 1102.

[0094] The memory 1101 may include high-speed RAM (Random Access Memory) memory, and may also include non-volatile memory, such as at least one disk storage.

[0095] If the memory 1101, processor 1102, and communication interface 1103 are implemented independently, then the communication interface 1103, memory 1101, and processor 1102 can be interconnected via a bus to complete communication between them. The bus can be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus, or an EISA (Extended Industry Standard Architecture) bus, etc. The bus can be divided into address bus, data bus, control bus, etc. For ease of representation, Figure 11 The bus is represented by a single thick line, but this does not mean that there is only one bus or one type of bus.

[0096] Optionally, in a specific implementation, if the memory 1101, processor 1102, and communication interface 1103 are integrated on a single chip, then the memory 1101, processor 1102, and communication interface 1103 can communicate with each other through an internal interface.

[0097] The processor 1102 may be a CPU (Central Processing Unit), an ASIC (Application Specific Integrated Circuit), or one or more integrated circuits configured to implement embodiments of the present invention.

[0098] This invention also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the above-described IFC-based geological model generation method.

[0099] This application also provides a computer program product, which includes a computer program that, when executed by a processor, implements the steps in any of the above embodiments of the IFC-based geological model generation method.

[0100] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. In the description of this application, "multiple" means at least two, such as two, three, etc., unless otherwise explicitly specified.

[0101] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., refer to specific features, structures, materials, or characteristics described in connection with that embodiment or example, which are included in at least one embodiment or example of this application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples.

[0102] Although embodiments of this application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting this application. Those skilled in the art can make changes, modifications, substitutions and variations to the above embodiments within the scope of this application.

Claims

1. A geological model generation method based on IFC, characterized in that, include: Obtain geological exploration information of the target area and convert the geological exploration information into digital information that meets preset reading requirements; Based on a preset modeling engine, an initial BIM model is constructed according to the digital information, and key geological exploration information is extracted from the initial BIM model. Based on the preset three-dimensional MRF theory, the geological attribute regional information of the target area is inferred from the key geological exploration information, and a voxelized three-dimensional geological model is generated based on the geological attribute regional information. Extract the geological interface information of the voxelized three-dimensional geological model, and construct surface mesh models of each geological layer based on the geological interface information using a preset finite element mesh generation software. Based on the preset modeling engine, a global three-dimensional geological BIM model is constructed according to the surface mesh model of each geological layer.

2. The method according to claim 1, characterized in that, The initial BIM model, constructed based on the digital information using a preset modeling engine, includes: Create an IFC template file based on a preset modeling engine; Based on a preset method for representing stretched three-dimensional solids, the parameters in the digital information are added to the IFC template file, and a two-dimensional contour section is created based on the first addition result. A two-dimensional cross-sectional geometric representation is added based on the two-dimensional contour cross-section, and a three-dimensional solid is formed by stretching according to the second addition result; The geological attributes of the three-dimensional entity are determined using a preset extended attribute container, and the three-dimensional entity with determined geological attributes is placed in a preset hierarchical structure to obtain the initial BIM model.

3. The method according to claim 2, characterized in that, The creation of IFC template files based on a preset modeling engine includes: Create a blank IFC project file based on the preset modeling engine; Based on the blank IFC project file, IFC project elements are created, and based on the preset context relationships, the context relationships between the IFC project elements and the site, building, floor and components are constructed in sequence to obtain the IFC template file.

4. The method according to claim 2, characterized in that, The method for representing a stretched three-dimensional solid based on a preset method adds parameters from the digital information to the IFC template file and creates a two-dimensional contour section based on the first addition result, including: For the rectangular cross-section of the geological domain in the digital information, a contour line is created using a polyline representation method, and the two-dimensional closed contour of the geological domain is obtained by closing the beginning and end of the contour line. For the drilling element in the digital information, the drilling element is represented by a cylinder, and a circular outline of the drilling element is created with the control point of the drilling element as the center coordinate and the control parameter of the drilling element as the radius.

5. The method according to claim 4, characterized in that, The step of adding a two-dimensional cross-sectional geometric representation based on the two-dimensional contour cross-section, and forming a three-dimensional solid by stretching according to the second addition result, includes: For the two-dimensional closed contour of the geological domain, the three-dimensional entity is constructed by stretching the depth dimension of the geological domain; For the circular profile of the borehole, the three-dimensional solid is constructed by stretching the formation thickness dimension.

6. The method according to claim 1, characterized in that, The extraction of key geological information from the initial BIM model includes: Based on the preset modeling engine, all entities are retrieved from the initial BIM model; Extract geometric and semantic information from all the entities.

7. A geological model generation device based on IFC, characterized in that, include: The acquisition module acquires geological exploration information of the target area and converts the geological exploration information into digital information that meets preset reading requirements. The first construction module, based on a preset modeling engine, constructs an initial BIM model according to the digital information and extracts key geological exploration information from the initial BIM model; The generation module, based on the preset three-dimensional MRF theory, infers the geological attribute regional information of the target area according to the key geological exploration information, and generates a voxelized three-dimensional geological model according to the geological attribute regional information. The second construction module extracts the geological interface information of the voxelized three-dimensional geological model and constructs surface mesh models of each geological layer based on the geological interface information using a preset finite element mesh generation software. The third construction module, based on the preset modeling engine, constructs a full-domain three-dimensional geological BIM model according to the surface mesh model of each geological layer.

8. An electronic device, characterized in that, include: A memory, a processor, and a computer program stored in the memory and executable on the processor, the processor executing the program to implement the IFC-based geological model generation method as described in any one of claims 1-6.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that, The program is executed by the processor to implement the IFC-based geological model generation method as described in any one of claims 1-6.

10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by the processor, it implements the IFC-based geological model generation method as described in any one of claims 1-6.