Coal seam three-dimensional modeling optimization method and device based on contour line, equipment, medium and product

By geological interpretation of the coal seam, the construction of the circle connection and triangular grid, combined with the effectiveness evaluation function and the global objective function, the overall quality of the three-dimensional model of the coal seam is optimized, which solves the problem of difficulty in achieving global optimization in the existing technology and improves the accuracy and reliability of the model.

CN119672229APending Publication Date: 2025-03-21XINJIANG HAMI SANTANGHU ENERGY DEV & CONSTR CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411833876.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-13
Publication Date
2025-03-21

AI Technical Summary

Technical Problem

The existing three-dimensional modeling method of coal seam is difficult to achieve global optimization, and the local model quality optimization method cannot meet global optimization. The synchronous progress method does not consider the advantages and disadvantages of model quality during the modeling process.

Method used

By geological interpretation and circle connection of the first coal seam profile and the second coal seam profile of the coal seam, the first contour line and the second contour line are generated, the first triangular grid and the second triangular grid are constructed based on these contour lines, the effectiveness evaluation function and the global objective function are constructed, and the constraints are generated based on the decision variables, and the overall quality of the three-dimensional model of the coal seam is optimized.

Benefits of technology

The global optimization of the three-dimensional model of coal seam is realized, which avoids self-intersection and unreasonable connection in the model, and improves the accuracy and reliability of the model.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119672229A_ABST
    Figure CN119672229A_ABST
Patent Text Reader

Abstract

The invention discloses a contour line-based coal seam three-dimensional modeling optimization method, device and equipment, a medium and a product. The method comprises the steps that geological interpretation circle connection is conducted on a first coal seam section and a second coal seam section of a coal seam, a first contour line and a second contour line are generated, and the first coal seam section is adjacent to the second coal seam section; constructing a first triangular mesh based on the position numbers of the edges of the first contour line and the position numbers of the points of the second contour line, and constructing a second triangular mesh based on the position numbers of the points of the first contour line and the position numbers of the edges of the second contour line; constructing an effectiveness evaluation function; generating constraint conditions based on the first decision variable, the second decision variable, the third decision variable and the fourth decision variable; constructing a global objective function based on the first decision variable and the second decision variable; and constructing a coal seam three-dimensional model based on the effectiveness evaluation function, the constraint condition and the global objective function.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of three-dimensional modeling technology, and in particular to a method, device, equipment, medium and product for optimizing three-dimensional modeling of coal seams based on contour lines. Background Art

[0002] Three-dimensional coal seam modeling has always been a hot topic and a challenge in geoscience research. Currently, the main approach is to connect coal seam contours on exploration sections using geological interpretation based on exploration engineering data. On this basis, the coal seam contours on adjacent exploration sections are connected to create a three-dimensional coal seam model.

[0003] In related technologies, the contour-based three-dimensional modeling methods of coal seams include the minimum surface area method, the minimum perimeter method, the minimum internal angle maximization method and the synchronous forward method. Among them, the minimum surface area method, the minimum perimeter method and the minimum internal angle maximization method are all local model quality optimization methods and may not necessarily meet the global optimality; the synchronous forward method is, to a certain extent, a contour-based three-dimensional modeling method of coal seams constructed from a global perspective, but this method does not consider the quality of the model during the modeling process. Summary of the Invention

[0004] The embodiments of the present application provide a contour-based coal seam three-dimensional modeling optimization method, device, equipment, medium and product, aiming to achieve global optimization of the coal seam three-dimensional model.

[0005] The technical solution of the embodiment of the present application is implemented as follows:

[0006] In a first aspect, an embodiment of the present application provides a contour-based three-dimensional modeling optimization method for coal seams, the method comprising:

[0007] Performing geological interpretation and linking a first coal seam section and a second coal seam section respectively to generate a first contour line and a second contour line, wherein the first coal seam section is adjacent to the second coal seam section;

[0008] constructing a first triangular mesh based on the position numbers of the edges of the first contour line and the position numbers of the points of the second contour line, and constructing a second triangular mesh based on the position numbers of the points of the first contour line and the position numbers of the edges of the second contour line;

[0009] Constructing a validity evaluation function, wherein the validity evaluation function is used to evaluate the intersection position relationship between the first triangular mesh and the second triangular mesh;

[0010] Generate a constraint condition based on a first decision variable, a second decision variable, a third decision variable, and a fourth decision variable; wherein the first decision variable represents whether the first triangular mesh belongs to a three-dimensional coal seam model, the second decision variable represents whether the second triangular mesh belongs to the three-dimensional coal seam model, the third decision variable represents whether a first connection relationship between the first triangular mesh and an adjacent triangular mesh of the first triangular mesh conforms to the three-dimensional coal seam model, and the fourth decision variable represents whether a second connection relationship between the second triangular mesh and an adjacent triangular mesh of the second triangular mesh conforms to the three-dimensional coal seam model;

[0011] constructing a global objective function based on the first decision variable and the second decision variable;

[0012] Based on the effectiveness evaluation function, the constraint conditions and the global objective function, the three-dimensional model of the coal seam is constructed.

[0013] In some embodiments, there are multiple first triangular meshes, multiple second triangular meshes, and the global objective function includes at least one of the following:

[0014] Minimizing the global perimeter of a first triangular mesh belonging to the three-dimensional model of the coal seam and a second triangular mesh belonging to the three-dimensional model of the coal seam;

[0015] Minimizing the global surface area of ​​a first triangular mesh belonging to the three-dimensional model of the coal seam and a second triangular mesh belonging to the three-dimensional model of the coal seam;

[0016] The minimum inner angle between a first triangular mesh belonging to the three-dimensional model of the coal seam and a second triangular mesh belonging to the three-dimensional model of the coal seam is maximized.

[0017] In some embodiments, the constraints include:

[0018] The target edge of the first contour line must construct a triangular mesh with the target point of the second contour line;

[0019] The target edge of the second contour line must construct a triangular mesh with the target point of the first contour line;

[0020] The number of first target connection relationships between the first triangular mesh and adjacent triangular meshes of the first triangular mesh does not exceed 1;

[0021] The number of second target connection relationships between the second triangular mesh and adjacent triangular meshes of the second triangular mesh does not exceed one.

[0022] In some embodiments, the method further comprises:

[0023] If both the first contour line and the second contour line are closed lines, determining the position numbers of the edges of the adjacent triangle meshes of the first triangle mesh based on the position numbers of the edges of the first contour line;

[0024] determining position numbers of edges of adjacent triangle meshes of the first triangle mesh based on position numbers of points of the second contour line;

[0025] The first target connection relationship is determined based on the position numbers of the edges of the adjacent triangular meshes and the position numbers of the points of the adjacent triangular meshes.

[0026] In some embodiments, the method further comprises:

[0027] If both the first contour line and the second contour line are non-closed lines, determining a connection relationship to be removed between the first triangular mesh and an adjacent triangular mesh of the first triangular mesh based on position numbers of edges of the first contour line and position numbers of points of the second contour line;

[0028] The to-be-removed connection relationship in the first connection relationship between the first triangular mesh and the adjacent triangular meshes of the first triangular mesh is removed to generate the first target connection relationship.

[0029] In some embodiments, the first triangular meshes include a plurality of meshes, the second triangular meshes include a plurality of meshes, and generating the three-dimensional coal seam model based on the effectiveness evaluation function, the constraint conditions, and the global objective function includes:

[0030] Solving the global objective function based on the constraint conditions to generate an initial coal seam three-dimensional model; the initial coal seam model includes a set of a first triangular mesh that satisfies the constraint conditions and a second triangular mesh that satisfies the constraint conditions;

[0031] The initial coal seam three-dimensional model is evaluated based on the effectiveness evaluation function to generate the coal seam three-dimensional model.

[0032] In a second aspect, an embodiment of the present application provides a three-dimensional coal seam modeling optimization device based on contour lines, the three-dimensional coal seam modeling optimization device comprising:

[0033] a geological interpretation linking module, configured to perform geological interpretation linking on a first coal seam section and a second coal seam section, respectively, to generate a first contour line and a second contour line, wherein the first coal seam section is adjacent to the second coal seam section;

[0034] A first construction module is configured to construct a first triangular mesh based on the position numbers of the edges of the first contour line and the position numbers of the points of the second contour line, and to construct a second triangular mesh based on the position numbers of the points of the first contour line and the position numbers of the edges of the second contour line;

[0035] A second construction module is used to construct a validity evaluation function, wherein the validity evaluation function is used to evaluate the intersection position relationship between the first triangular mesh and the second triangular mesh;

[0036] a generation module, configured to generate constraint conditions based on a first decision variable, a second decision variable, a third decision variable, and a fourth decision variable; wherein the first decision variable represents whether the first triangular mesh belongs to the three-dimensional coal seam model, the second decision variable represents whether the second triangular mesh belongs to the three-dimensional coal seam model, the third decision variable represents whether a first connection relationship between the first triangular mesh and an adjacent triangular mesh of the first triangular mesh conforms to the three-dimensional coal seam model, and the fourth decision variable represents whether a second connection relationship between the second triangular mesh and an adjacent triangular mesh of the second triangular mesh conforms to the three-dimensional coal seam model;

[0037] The third construction module is used to construct a global objective function based on the first decision variable and the second decision variable; and to construct the three-dimensional model of the coal seam based on the effectiveness evaluation function, the constraint conditions and the global objective function.

[0038] In a third aspect, an embodiment of the present application provides an electronic device comprising: a processor and a memory for storing a computer program that can be run on the processor, wherein when the processor is used to run the computer program, it executes the steps of the method described in the first aspect of the embodiment of the present application.

[0039] In a fourth aspect, an embodiment of the present application provides a computer storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps of the method described in the first aspect are implemented.

[0040] In a fifth aspect, an embodiment of the present application provides a computer program product, including a computer program, which, when executed by an electronic device, implements the steps of the method described in the first aspect.

[0041] The technical solution provided by the embodiment of the present application is a method for optimizing three-dimensional modeling of coal seams based on contour lines, the method comprising: performing geological interpretation and circle connection on a first coal seam section and a second coal seam section of the coal seam respectively to generate a first contour line and a second contour line, wherein the first coal seam section is adjacent to the second coal seam section; constructing a first triangular mesh based on the position number of the edge of the first contour line and the position number of the point of the second contour line, and constructing a second triangular mesh based on the position number of the point of the first contour line and the position number of the edge of the second contour line; constructing an effectiveness evaluation function, the effectiveness evaluation function is used to evaluate the cross position relationship between the first triangular mesh and the second triangular mesh; and constructing a first decision variable and a second decision variable based on the first decision variable and the second decision variable. Variables, third decision variables and fourth decision variables are used to generate constraint conditions; wherein, the first decision variable represents whether the first triangular mesh belongs to the three-dimensional model of the coal seam, the second decision variable represents whether the second triangular mesh belongs to the three-dimensional model of the coal seam, the third decision variable represents whether the first connection relationship between the first triangular mesh and the adjacent triangular meshes of the first triangular mesh conforms to the three-dimensional model of the coal seam, and the fourth decision variable represents whether the second connection relationship between the second triangular mesh and the adjacent triangular meshes of the second triangular mesh conforms to the three-dimensional model of the coal seam; based on the first decision variable and the second decision variable, a global objective function is constructed; based on the effectiveness evaluation function, the constraint conditions and the global objective function, a three-dimensional model of the coal seam is constructed.

[0042] In this way, the embodiment of the present application starts from the perspective of optimizing the three-dimensional modeling of coal seams from a global perspective, and optimizes the overall quality of the model from a global perspective by constructing a global optimization objective function based on decision variables. At the same time, through the effectiveness evaluation function and constraint conditions, it effectively avoids self-intersection and unreasonable connections in the three-dimensional model of the coal seam, thereby improving the accuracy and reliability of the model. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] Figure 1 A schematic flow chart of a contour-based coal seam 3D modeling optimization method provided in an embodiment of the present application;

[0044] Figure 2 A schematic diagram of the triangular mesh connection of the contour lines provided in an embodiment of the present application;

[0045] Figure 3 A schematic diagram of the structure of a coal seam three-dimensional modeling optimization device based on contour lines provided in an embodiment of the present application;

[0046] Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0047] The present application will be described in further detail below with reference to the accompanying drawings and embodiments.

[0048] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application pertains. The terms used herein in the specification of this application are for the purpose of describing specific embodiments only and are not intended to limit this application.

[0049] The present invention provides a method for optimizing three-dimensional coal seam modeling based on contour lines, the method comprising the following steps:

[0050] Step 110: Perform geological interpretation and circle connection on the first coal seam section and the second coal seam section respectively to generate a first contour line and a second contour line. The first coal seam section is adjacent to the second coal seam section.

[0051] It's understood that geological interpretation and concatenation is a standard method used in the geological field to determine ore body boundaries. Specifically, by interpreting the geological information revealed by drill holes on a profile, the sections belonging to the coal seam are concatenated according to geological characteristics and relevant standards to generate coal seam contours. Exploration engineering data includes geological information about coal seams obtained through various exploration methods (such as drilling and seismic exploration). This information is fundamental to understanding the geological structure of coal seams and is an important basis for concatenating coal seam profiles.

[0052] For example, the first coal seam section and the second coal seam section may be linked by geological interpretation based on coal seam exploration engineering data, thereby generating a first contour line and a second contour line.

[0053] Step 120: construct a first triangular mesh based on the position numbers of the edges of the first contour line and the position numbers of the points of the second contour line, and construct a second triangular mesh based on the position numbers of the points of the first contour line and the position numbers of the edges of the second contour line.

[0054] It can be understood that in order to accurately describe the structure of the coal seam, based on the position numbers of the edges of the first contour line and the position numbers of the points of the second contour line, each edge of the first contour line is connected to the points of the second contour line to construct a first triangular mesh. Similarly, based on the position numbers of the points of the first contour line and the position numbers of the edges of the second contour line, the points of the first contour line are connected to the edges of the second contour line to construct a second triangular mesh. Here, there are multiple first triangular meshes and multiple second triangular meshes.

[0055] For example, assume that the contour lines of two adjacent coal seams are the first contour line L1 and the second contour line L2. The first contour line L1 consists of m points, and the second contour line L2 consists of n points. Here, i represents the position number of the edge on the first contour line L1, i' represents the position number of the point on the first contour line L1; j represents the position number of the point on the second contour line L2, and j' represents the position number of the edge on the second contour line L2. i,j represents the first triangular mesh formed by the i-th edge on the first contour line L1 and the j-th point on the second contour line L2, T j',i' Represents the second triangular mesh formed by the j'th edge on the second contour line L2 and the i'th point on the first contour line L1.

[0056] Step 130: Constructing a validity evaluation function, where the validity evaluation function is used to evaluate the intersection position relationship between the first triangular mesh and the second triangular mesh.

[0057] For example, the effectiveness evaluation function for constructing the three-dimensional coal seam model is f(T1, T2):

[0058]

[0059] In this way, by checking the intersection between the first triangular mesh and the second triangular mesh, we can verify the topological structure of the three-dimensional model of the coal seam composed of the first triangular mesh and the second triangular mesh, thereby determining whether there is an unreasonable positional relationship within the model.

[0060] Step 140: Generate constraint conditions based on the first decision variable, the second decision variable, the third decision variable, and the fourth decision variable; wherein the first decision variable represents whether the first triangular mesh belongs to the coal seam three-dimensional model, the second decision variable represents whether the second triangular mesh belongs to the coal seam three-dimensional model, the third decision variable represents whether the first connection relationship between the first triangular mesh and the adjacent triangular meshes of the first triangular mesh conforms to the coal seam three-dimensional model, and the fourth decision variable represents whether the second connection relationship between the second triangular mesh and the adjacent triangular meshes of the second triangular mesh conforms to the coal seam three-dimensional model.

[0061] Here, the first decision variable x i,j , the second decision variable Y j',i' , the third decision variable x i,j,k and the fourth decision variable Y j′,i′,k' is a binary variable.

[0062] Here, to characterize whether the first triangular mesh belongs to the coal seam three-dimensional model, the first decision variable x i,j Indicates whether the first triangular mesh formed by the i-th edge on the first contour line L1 and the j-th point on the second contour line L2 belongs to the coal seam three-dimensional model.

[0063] For example, the first decision variable x i,j =0 means that the first triangular mesh formed by the i-th edge on the first contour line L1 and the j-th point on the second contour line L2 does not belong to the coal seam three-dimensional model. i,j =1 represents that the first triangular mesh formed by the i-th edge on the first contour line L1 and the j-th point on the second contour line L2 belongs to the coal seam three-dimensional model.

[0064] Here, to characterize whether the second triangular mesh belongs to the coal seam three-dimensional model, the second decision variable Y j',i' Indicates whether the triangular mesh formed by the j'th edge on the second contour line L2 and the i'th point on the first contour line L1 belongs to the coal seam three-dimensional model. For example, the second decision variable Y j',i' = 0 means that the triangular mesh formed by the j'th edge on the second contour line L2 and the i'th point on the first contour line does not belong to the coal seam three-dimensional model. j',i' =1 means that the triangular mesh formed by the j'th edge on the second contour line L2 and the i'th point on the first contour line does not belong to the coal seam three-dimensional model.

[0065] Here, the number of first target connection relationships between a first triangular mesh and adjacent triangular meshes can be represented by k, and the number of second target connection relationships between a second triangular mesh and adjacent triangular meshes can be represented by k'.

[0066] Here, it is to characterize whether the first connection relationship between the first triangular mesh and the adjacent triangular meshes of the first triangular mesh conforms to the three-dimensional model of the coal seam. i,j,k Represents the first triangular mesh T i,j Whether the kth connection relationship of the adjacent triangular meshes conforms to the three-dimensional model of the coal seam. For example, the third decision variable x i,j,k =0 represents the first triangular mesh T i,j The kth connection relationship of the adjacent triangular mesh does not conform to the three-dimensional model of the coal seam. The third decision variable x i,j,k =1 represents the first triangular mesh T i,j The kth connection relationship between its adjacent triangular meshes conforms to the three-dimensional model of the coal seam.

[0067] Here, it is to characterize whether the second connection relationship between the second triangular mesh and the adjacent triangular meshes of the second triangular mesh conforms to the three-dimensional model of the coal seam. j′,i′,k' Represents the second triangular mesh T j',i' Whether the k'th connection relationship of its adjacent triangular meshes conforms to the three-dimensional model of the coal seam.

[0068] For example, Y j′,i′,k'=0 means that the k'th connection relationship of the adjacent triangular mesh does not conform to the coal seam three-dimensional model, Y j′,i′,k' =1 indicates that the k'th connection relationship of the adjacent triangular meshes conforms to the three-dimensional model of the coal seam.

[0069] For example, it can be expressed by the following formula:

[0070]

[0071]

[0072] Step 150: constructing a global objective function based on the first decision variable and the second decision variable; constructing a three-dimensional coal seam model based on the effectiveness evaluation function, the constraint conditions and the global objective function.

[0073] It can be understood that the global objective function is to optimize the overall quality of the coal seam three-dimensional model. i,j , the second decision variable T j',i' Construct a global objective function.

[0074] In the embodiment of the present application, a variety of indicators can be used to construct the objective function. For example, the global perimeter can be used as an indicator to construct the objective function, c i,j Represents the triangular mesh T i,j The perimeter, c j',i' Represents the triangular mesh T j',i' circumference.

[0075] The objective function Z can be expressed as:

[0076]

[0077] It is understandable that the optimization algorithm can be used to solve the global objective function Z and obtain the optimal decision variable. According to the solution results, the first and second triangular meshes that meet the conditions are selected according to the constraints, and the final coal seam three-dimensional model is constructed according to the effectiveness evaluation function.

[0078] Thus, the embodiments of the present application optimize the three-dimensional modeling of coal seams from a global perspective. By constructing a global optimization objective function based on decision variables, the overall quality of the model is optimized from a global perspective. At the same time, through the effectiveness evaluation function and constraint conditions, self-intersections and unreasonable connections in the three-dimensional coal seam model are effectively avoided, thereby improving the accuracy and reliability of the model. Compared with existing technologies that mainly focus on local optimization, such as the minimum surface area method, the minimum perimeter method, the minimum internal angle maximization method, and the synchronous forward method, the embodiments of the present application take into account the overall quality and effectiveness of the model, providing a more reasonable and reliable three-dimensional coal seam modeling solution for geological exploration and mineral resource development.

[0079] In some embodiments, there are multiple first triangular meshes, multiple second triangular meshes, and the objective function includes at least one of the following:

[0080] Minimizing the global perimeter of a first triangular mesh belonging to the coal seam three-dimensional model and a second triangular mesh belonging to the coal seam three-dimensional model;

[0081] minimizing a global surface area of ​​a first triangular mesh belonging to the three-dimensional model of the coal seam and a second triangular mesh belonging to the three-dimensional model of the coal seam;

[0082] The minimum inner angle between the first triangular mesh belonging to the coal seam three-dimensional model and the second triangular mesh belonging to the coal seam three-dimensional model is maximized.

[0083] It can be understood that the global perimeter refers to the sum of the side lengths of all selected triangular meshes, which in the embodiment of the present application refers to the global perimeter of the first triangular mesh belonging to the coal seam three-dimensional model and the second triangular mesh belonging to the coal seam three-dimensional model. Minimizing the global perimeter can reduce the complexity of the coal seam three-dimensional model, making the model more concise and smooth, and help improve computing efficiency and model visualization.

[0084] It should be understood that the global surface area refers to the sum of the areas of all selected triangular meshes. In this embodiment, this refers to the global surface area of ​​the first and second triangular meshes belonging to the 3D coal seam model. Minimizing the global surface area can reduce the surface area of ​​the 3D coal seam model, making the model more compact and helping to improve the model's stability and accuracy.

[0085] It should be understood that the minimum internal angle refers to the smallest internal angle among all selected triangular meshes. In this embodiment, it refers to the minimum internal angle between the first triangular mesh belonging to the 3D coal seam model and the second triangular mesh belonging to the 3D coal seam model. Maximizing the minimum internal angle can avoid sharp angles in the model, making the model smoother and more stable, and helping to improve the model's geometric quality.

[0086] It can be understood that the comprehensive objective function combines the above multiple objective functions by assigning weights to form a comprehensive objective function. The comprehensive objective function can balance multiple optimization objectives and achieve optimal results in multiple aspects of the model.

[0087] For example, the objective function can be constructed by taking the global perimeter as an example, or the objective function can be replaced by the global surface area minimum or the global minimum internal angle maximization, etc., or the above indicators can be combined to construct a comprehensive objective function by assigning weights.

[0088] In some embodiments, the constraints include:

[0089] The target edge of the first contour line must construct a triangle mesh with the target point of the second contour line;

[0090] The target edge of the second contour line must construct a triangle mesh with the target point of the first contour line;

[0091] The number of first target connection relationships between the first triangular mesh and the adjacent triangular meshes of the first triangular mesh does not exceed 1;

[0092] The number of second target connection relationships between the second triangular mesh and its adjacent triangular meshes does not exceed one.

[0093] For example, the first contour line L1 and the second contour line L2 are composed of m points and n points.

[0094] It is understood that the constraints include that the target edge of the first contour line L1 must form a triangle mesh with the target point of the second contour line L2. This includes: the i-th edge on the first contour line L1 must form a triangle mesh with a point on the second contour line L2; and the j-th point on the second contour line L2 must form a triangle mesh with an edge on the first contour line L1.

[0095] It is understood that the constraints include that the target edge of the second contour line must form a triangle mesh with the target point of the first contour line. This includes: the j'th edge on the second contour line L2 must form a triangle mesh with a point on the first contour line L1 (i.e., the target point of the first contour line); and the i'th point on the first contour line L1 must form a triangle mesh with an edge on the second contour line L2.

[0096] Here, the first contour line is L1, the second contour line is L2, and T i,j represents the first triangular mesh formed by the i-th edge on the coal seam contour line L1 and the j-th point on the coal seam contour line L2, T j',i' Represents the second triangular mesh formed by the j'th edge on the coal seam contour line L2 and the i'th point on the coal seam contour line L1. Here, i is the position number of the edge of the first contour line L1, and i' is the position number of the point on the first contour line; j is the position number of the edge of the second contour line L2, and j' is the position number of the point on the second contour line L2.

[0097] The number of first target connection relationships between a first triangular mesh and adjacent triangular meshes can be represented by k, and the number of second target connection relationships between a second triangular mesh and adjacent triangular meshes can be represented by k'.

[0098] like Figure 2 As shown, Figure 2 The figure is a schematic diagram of the connection relationship of the triangular mesh of the contour line. Figure 2In the figure, the first contour line consists of 6 points m=6, with a total of 5 edges; the second contour line consists of 5 points n=5, with a total of 4 edges. Among them, the first triangle mesh connected by the solid line is T 3,2 , where i=3, j=2, represents the first triangular mesh formed by the third edge on the first contour line L1 and the second point on the second contour line L2. Figure 2 In the figure, the dotted line represents the triangle mesh adjacent to the triangle mesh, and the adjacent triangle mesh is adjacent to the first triangle mesh T 3,2 The connection relationship k=4, that is, the number of connection relationships includes four types:

[0099] The first connection relationship is (T 2,2 , T 3,2 , T 4,2 ); the second connection relationship is (T 1',3' , T 3,2 , T 2',4' ); The third connection relationship is (T 1',3' , T 3,2 , T 4,2 ); the fourth connection relationship is (T 2,2 , T 3,2 , T 2',4' ).

[0100] Here, the constraints can be expressed as:

[0101] (1) The i-th edge on the first contour line L1 must form a triangle mesh with a point on the second contour line L2:

[0102]

[0103] (2) The j'th edge on the second contour line L2 must construct a triangle mesh with a point on the first contour line L1:

[0104]

[0105] (3) The i'th point on the first contour line L1 must construct a triangle mesh with an edge on the second contour line L2:

[0106]

[0107] (4) The jth point on the second contour line L2 must construct a triangle mesh with an edge on the first contour line L1:

[0108]

[0109] (5) The first triangular mesh T i,jThe logical constraint of the connection relationship with its adjacent triangle meshes, that is, the number k of connection relationships between the first triangle mesh and its adjacent triangle meshes does not exceed 1, is as follows:

[0110]

[0111] Among them, T i,j The connection relationship with its adjacent triangle meshes includes: {T i-1,j ,T i,j ,T i+1,j}、{T j-1,i ,T i,j ,T j,i}、{T j-1,i ,T i,j ,T i+1,j} and {T i-1,j ,T i,j ,T j,i}.

[0112] (6) Second triangular mesh T j′,i′ The logical constraint of the connection relationship with its adjacent triangular meshes, that is, the number k' of connection relationships between the second triangular mesh and its adjacent triangular meshes does not exceed 1, is as follows:

[0113]

[0114] Among them, T j′,i′ The connection relationship with its adjacent triangle meshes includes: {T j′-1,i′ ,T j′,i′ ,T j′+1,i′}、{T i′-1,j′ ,T j′,i′ ,T i′,j′}、{T i′-1,j′ ,T j′,i′ ,T j′+1,i′} and {T j′-1,i′ ,T j′,i′ ,T i′,j′}.

[0115] In some embodiments, the method further comprises:

[0116] If the first contour line and the second contour line are both closed lines, determining the position numbers of the edges of the adjacent triangle meshes of the first triangle mesh based on the position numbers of the edges of the first contour line;

[0117] Determining position numbers of points of adjacent triangular meshes of the first triangular mesh based on position numbers of points of the second contour line;

[0118] A first target connection relationship is determined based on position numbers of edges of adjacent triangular meshes and position numbers of points of adjacent triangular meshes.

[0119] It is understood that the connection relationship between a triangle mesh and its adjacent triangle meshes is different for different contour line types; and it is also understood that for each triangle mesh, it may correspond to multiple different connection relationships with its adjacent triangle meshes. For a first triangle mesh, it is composed of edges on a first contour line and points on a second contour line. The connection relationship with the adjacent triangle meshes, i.e., the first target connection relationship, can be determined based on the position numbers of the edges of the first contour line and the position numbers of the points of the second contour line, ensuring end-to-end connectivity, thereby further improving the accuracy of the three-dimensional modeling of the coal seam.

[0120] For example, when L1 and L2 are closed lines, i is the position number of the edge of the first contour line L1; j is the position number of the point of the second contour line L2. The first contour line L1 and the second contour line L2 are composed of m points and n points, respectively.

[0121] If i is the first edge, then i-1 is the m-1th edge; if i is the m-1th edge, then i+1 is the first edge; if j is the first point, then j-1 is the nth point; if j is the nth point, then j+1 is the first point.

[0122] Here, when i equals 1, i represents the position number of the first edge of the first contour line. i minus 1 becomes the position number of the last edge (that is, m minus 1). Similarly, if i equals m minus 1, then i plus 1 returns to the first edge. The same is true for points: if j represents the position number of the first point, then when j equals 1, j minus 1 becomes the position number of the last point (that is, n). Vice versa. From this, the first target connection relationship can be determined.

[0123] In some embodiments, the method further comprises:

[0124] If both the first contour line and the second contour line are non-closed lines, determining a connection relationship to be removed between the first triangular mesh and an adjacent triangular mesh of the first triangular mesh based on the position number of the edge of the first contour line and the position number of the point of the second contour line;

[0125] The connection relationship to be removed in the first connection relationship between the first triangular mesh and the adjacent triangular meshes of the first triangular mesh is removed to generate a first target connection relationship.

[0126] It can be understood that if the first contour line and the second contour line are both non-closed lines, that is, the two contour lines (here referred to as the first contour line and the second contour line) are both non-closed line segments, it is necessary to remove invalid connection relationships to ensure the rationality of the endpoints, thereby improving the accuracy of the coal seam three-dimensional model.

[0127] For example, the first contour line L1 consists of m points, and the second contour line L2 consists of n points. i is the position number of the edge of the first contour line L1, and i' is the position number of the point of the first contour line; j is the position number of the edge of the second contour line L2, and j' is the position number of the point of the second contour line L2. The first contour line L1 consists of m points, and the second contour line L2 consists of n points.

[0128] When L1 and L2 are non-closed lines, if i is the first edge, then remove {T i-1,j ,T i,j ,T i+1,j} and {T i-1,j ,T i,j ,T j,i}; If i is the m-1th edge, remove {T i-1,j ,T i,j ,T i+1,j} and {T j-1,i ,T i,j ,T i+1,j}, if j is the first point, then remove {T j-1,i ,T i,j ,T j,i} and {T j-1,i ,T i,j ,T i+1,j}, if j is the nth point, then remove {T j-1,i ,T i,j ,T j,i} and {T i-1,j ,T i,j ,T j,i}.

[0129] In some embodiments, the first triangular mesh includes a plurality of meshes, the second triangular mesh includes a plurality of meshes, and generating a three-dimensional coal seam model based on the effectiveness evaluation function, the constraint conditions, and the global objective function includes:

[0130] Solving the global objective function based on the constraint conditions to generate an initial coal seam three-dimensional model; the initial coal seam model includes a set of a first triangular mesh that meets the constraint conditions and a second triangular mesh that meets the constraint conditions;

[0131] The initial coal seam three-dimensional model is evaluated based on the effectiveness evaluation function to generate a coal seam three-dimensional model.

[0132] It is understood that the optimal combination of decision variables is found by solving the global objective function Z using an appropriate optimization algorithm (such as a genetic algorithm or simulated annealing algorithm) under constraints. This step aims to achieve the optimal value of the objective function while satisfying all constraints, thereby generating an initial three-dimensional coal seam model. This model is constructed based on the optimal combination of decision variables obtained, but at this point, the model is only a preliminary result and requires further verification of its effectiveness.

[0133] Furthermore, the initial coal seam three-dimensional model is evaluated based on the effectiveness evaluation function to generate a coal seam three-dimensional model.

[0134] For example, based on the above constraints, the constraints that satisfy the model validity are determined to be:

[0135]

[0136] Solve the above mathematical model, the decision variable x i,j =1 and y j′,i′ =1 is the final three-dimensional model of the coal seam.

[0137] Below, this application is described in detail with reference to an application example.

[0138] Three-dimensional modeling of coal seams has always been a hot topic and a difficult topic in the field of geology. Among them, the most basic and mainstream method is to connect the coal seam contour lines on the exploration section through geological interpretation circles based on exploration engineering data. On this basis, the coal seam contour lines on adjacent exploration sections are connected to establish a three-dimensional model of the coal seam.

[0139] Contour-based 3D modeling methods for coal seams include the minimum surface area method, the minimum perimeter method, the minimum internal angle maximization method, and the synchronous forward method. Among them, the minimum surface area method, the minimum perimeter method, and the minimum internal angle maximization method are all local model quality optimization methods and may not necessarily meet the global optimum. The synchronous forward method is, to a certain extent, a contour-based 3D modeling method for coal seams constructed from a global perspective, but this method does not consider the quality of the model during the modeling process.

[0140] Therefore, a contour-based 3D coal seam modeling optimization method is urgently needed to achieve global optimization of the model quality of the coal seam 3D modeling results. The solution includes the following three parts:

[0141] 1. Constructing the effectiveness evaluation function of the coal seam three-dimensional model

[0142] Assume that the contour lines of two adjacent coal seams are L1 and L2, L1 consists of m points, L2 consists of n points, T i,jrepresents the triangular mesh formed by the i-th edge on the coal seam contour line L1 and the j-th point on the coal seam contour line L2 (i.e., the first triangular mesh mentioned above), T j',i' The triangular mesh formed by the j'th edge on the coal seam contour line L2 and the i'th point on the coal seam contour line L1 (ie the aforementioned second triangular mesh) is represented, and the validity evaluation function of the coal seam three-dimensional model is f(T1, T2).

[0143]

[0144] 2. Establish a mathematical model for coal seam 3D modeling optimization based on contour lines

[0145] parameter:

[0146] c i,j Represents the triangular mesh T i,j circumference

[0147] c j',i' Represents the triangular mesh T j',i' circumference

[0148] Decision variables:

[0149]

[0150] The objective function is:

[0151] The above objective function is constructed based on the minimum global perimeter as an example. The objective function can be replaced by minimizing the global surface area or maximizing the global minimum internal angle, etc. It can also be constructed by combining the above indicators and assigning weights to a comprehensive objective function.

[0152] constraint:

[0153] (1) The i-th edge on L1 must construct a triangular mesh with a point on L2

[0154]

[0155] (2) The j'th edge on L2 must form a triangular mesh with a point on L1

[0156]

[0157] (3) The i'th point on L1 must form a triangular mesh with an edge on L2

[0158]

[0159] (4) The jth point on L2 must construct a triangular mesh with an edge on L1

[0160]

[0161] (5)T i,j Logical constraints on the connection relationship with its adjacent triangle meshes

[0162]

[0163] Among them, T i,j The connection relationship with its adjacent triangle meshes includes: {T i-1,j ,T i,j ,T i+1,j}、{T j-1,i ,T i,j ,T j,i}、{T j-1,i ,T i,j ,T i+1,j} and {T i-1,j ,T i,j ,T j,i}

[0164] 1. When L1 and L2 are closed lines, if i is the first edge, then i-1 is the m-1th edge; if i is the m-1th edge, then i+1 is the first edge; if j is the first point, then j-1 is the nth point; if j is the nth point, then j+1 is the first point;

[0165] 2. When L1 and L2 are non-closed lines, if i is the first edge, remove {T i-1,j ,T i,j ,T i+1,j} and {T i-1,j ,T i,j ,T j,i}; If i is the m-1th edge, remove {T i-1,j ,T i,j ,T i+1,j} and {T j-1,i ,T i,j ,T i+1,j}, if j is the first point, then remove {T j-1,i ,T i,j ,T j,i} and {T j-1,i ,T i,j ,T i+1,j}, if j is the nth point, then remove {T j-1,i ,T i,j ,T j,i} and {T i-1,j ,T i,j ,T j,i}.

[0166] The same principle applies to other scenarios.

[0167] (6)T j′,i′Logical constraints on the connection relationship with its adjacent triangle meshes

[0168]

[0169]

[0170] Among them, T j′,i′ The connection relationship with its adjacent triangle meshes includes: {T j′-1,i′ ,T j′,i′ ,T j′+1,i′}、{T i′-1,j′ ,T j′,i′ ,T i′,j′}、{T i′-1,j′ ,T j′,i′ ,T j′+1,i′} and {T j′-1,i′ ,T j′,i′ ,T i′,j′}

[0171] (7) Constraints on model validity

[0172]

[0173] 3. Solve the mathematical model and construct a three-dimensional model of the coal seam based on the solution results

[0174] Solve the above mathematical model, the decision variable x i,j =1 and y j′,i′ =1 is the final three-dimensional model of the coal seam.

[0175] In order to implement the method of the embodiment of the present application, the embodiment of the present application also provides a contour-based coal seam three-dimensional modeling optimization device. The contour-based coal seam three-dimensional modeling optimization device corresponds to the above-mentioned contour-based coal seam three-dimensional modeling optimization method, and each step in the above-mentioned contour-based coal seam three-dimensional modeling method embodiment is also fully applicable to the present contour-based coal seam three-dimensional modeling optimization device embodiment.

[0176] like Figure 3As shown, the contour-based coal seam three-dimensional modeling optimization device 300 includes: a geological interpretation linking module 301, a first construction module 302, a second construction module 303, a generation module 304 and a third construction module 305. The geological interpretation linking module 301 is used to perform geological interpretation linking on the first coal seam section and the second coal seam section of the coal seam respectively to generate a first contour line and a second contour line, and the first coal seam section is adjacent to the second coal seam section; the first construction module 302 is used to construct a first triangular mesh based on the position number of the edge of the first contour line and the position number of the point of the second contour line, and to construct a second triangular mesh based on the position number of the point of the first contour line and the position number of the edge of the second contour line; the second construction module 303 is used to construct a validity evaluation function, and the validity evaluation function is used to evaluate the cross position relationship between the first triangular mesh and the second triangular mesh; the generation module 304 is used to generate a triangular mesh based on the first decision variable, the second decision variable, The third decision variable and the fourth decision variable generate constraint conditions; wherein, the first decision variable represents whether the first triangular mesh belongs to the three-dimensional model of the coal seam, the second decision variable represents whether the second triangular mesh belongs to the three-dimensional model of the coal seam, the third decision variable represents whether the first connection relationship between the first triangular mesh and the adjacent triangular meshes of the first triangular mesh conforms to the three-dimensional model of the coal seam, and the fourth decision variable represents whether the second connection relationship between the second triangular mesh and the adjacent triangular meshes of the second triangular mesh conforms to the three-dimensional model of the coal seam; the third construction module 305 is used to construct a global objective function based on the first decision variable and the second decision variable; and construct a three-dimensional model of the coal seam based on the effectiveness evaluation function, the constraint conditions and the global objective function.

[0177] In some embodiments, the coal seam three-dimensional modeling device also includes a determination module 306, which is used to determine the position number of the edge of the adjacent triangular mesh of the first triangular mesh based on the position number of the edge of the first contour line if the first contour line and the second contour line are both closed lines; determine the position number of the point of the adjacent triangular mesh of the first triangular mesh based on the position number of the point of the second contour line; and determine the first target connection relationship based on the position number of the edge of the adjacent triangular mesh and the position number of the point of the adjacent triangular mesh.

[0178] In some embodiments, the determination module 306 is also used to determine the connection relationship to be removed between the first triangular mesh and the adjacent triangular meshes of the first triangular mesh if both the first contour line and the second contour line are non-closed lines based on the position number of the edge of the first contour line and the position number of the point of the second contour line; the coal seam three-dimensional modeling device also includes a removal module 307, which is used to remove the connection relationship to be removed in the first connection relationship between the first triangular mesh and the adjacent triangular meshes of the first triangular mesh, and generate a first target connection relationship.

[0179] In some embodiments, the generation module 304 is further configured to solve the global objective function based on the constraint conditions to generate an initial coal seam three-dimensional model; the initial coal seam model includes a set of a first triangular mesh satisfying the constraint conditions and a second triangular mesh satisfying the constraint conditions;

[0180] The initial coal seam three-dimensional model is evaluated based on the effectiveness evaluation function to generate a coal seam three-dimensional model.

[0181] In practical applications, the geological interpretation linking module 301, the first construction module 302, the second construction module 303, the generation module 304, the third construction module 305, the determination module 306, and the removal module 307 can be implemented by a processor in the coal seam 3D modeling device. Of course, the processor needs to run a computer program in memory to implement its functions.

[0182] It should be noted that the above-mentioned embodiment provides a three-dimensional coal seam modeling optimization device based on contour lines, and only uses the division of the above-mentioned program modules as an example to illustrate when performing three-dimensional coal seam modeling optimization based on contour lines. In actual applications, the above-mentioned processing can be assigned to different program modules as needed, that is, the internal structure of the device can be divided into different program modules to complete all or part of the processing described above. In addition, the three-dimensional coal seam modeling optimization device based on contour lines provided in the above-mentioned embodiment and the embodiment of the three-dimensional coal seam modeling optimization method based on contour lines are of the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.

[0183] Based on the hardware implementation of the above program modules, and in order to implement the method of the embodiment of the present application, the embodiment of the present application also provides an electronic device. Figure 4 Only an exemplary structure of the electronic device is shown, not all structures, and it can be implemented as needed. Figure 4 Part or all of the structure shown. Figure 4 As shown, the electronic device 400 provided in the embodiment of the present application includes: at least one processor 401, a memory 402, a user interface 403 and at least one network interface 404. The various components in the electronic device 400 are coupled together through a bus system 405. It can be understood that the bus system 405 is used to realize the connection and communication between these components. In addition to the data bus, the bus system 405 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, Figure 4 Various buses are labeled as bus system 405 .

[0184] The user interface 403 may include a display, a keyboard, a mouse, a trackball, a click wheel, keys, buttons, a touch pad or a touch screen.

[0185] The memory 402 in the embodiment of the present application is used to store various types of data to support the operation of the electronic device. Examples of such data include: any computer program used to operate on the electronic device.

[0186] The control method of the electronic device disclosed in the embodiment of the present application can be applied to the processor 401 or implemented by the processor 401. The processor 401 may be an integrated circuit chip with signal processing capabilities. During implementation, each step of the control method of the electronic device can be completed by the hardware integrated logic circuit in the processor 401 or by instructions in the form of software. The above-mentioned processor 401 can be a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The processor 401 can implement or execute the various methods, steps and logic block diagrams disclosed in the embodiments of the present application. The general-purpose processor can be a microprocessor or any conventional processor, etc. The steps of the method disclosed in the embodiment of the present application can be directly embodied as being executed by a hardware decoding processor, or can be executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a storage medium, which is located in the memory 402. The processor 401 reads the information in the memory 402 and completes the steps of the control method of the electronic device provided in the embodiment of the present application in combination with its hardware.

[0187] In an exemplary embodiment, the electronic device may be implemented by one or more application-specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field programmable gate arrays (FPGAs), general-purpose processors, controllers, microcontrollers (MCUs), microprocessors, or other electronic components to perform the aforementioned method.

[0188] It is understood that the memory 402 can be a volatile memory or a non-volatile memory, or can include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a non-volatile memory.

[0189] Volatile memory can be Erasable Programmable Read-Only Memory, ferromagnetic random access memory (FRAM), flash memory, magnetic surface storage, optical disk, or compact disc read-only memory (CD-ROM); magnetic surface storage can be magnetic disk storage or. Volatile memory can be random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), synchronous static random access memory (SSRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), direct RAM bus random access memory (DRRAM). The memory described in the embodiments of the present application is intended to include, but is not limited to, these and any other suitable types of memory.

[0190] In an exemplary embodiment, the present application also provides a computer storage medium, specifically a computer-readable storage medium, storing a computer program. The computer program can be executed by a processor to perform the steps of the method of the present application. The computer-readable storage medium can be a memory such as ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface storage, optical disk, or CD-ROM.

[0191] In an exemplary embodiment, the embodiment of the present application further provides a computer program product, including a computer program. The above computer program can be executed by the processor 401 of the electronic device to complete the steps described in the method of the embodiment of the present application.

[0192] It should be noted that: "first", "second", etc. are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.

[0193] In addition, the technical solutions described in the embodiments of the present application can be arbitrarily combined without conflict.

[0194] The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in the present application should be included in the scope of protection of the present application. Therefore, the scope of protection of the present application should be based on the scope of protection of the claims.

Claims

1. A three-dimensional coal seam modeling optimization method based on contour lines, characterized in that: The method comprises: Performing geological interpretation and linking on a first coal seam section and a second coal seam section of the coal seam respectively to generate a first contour line and a second contour line, wherein the first coal seam section is adjacent to the second coal seam section; constructing a first triangular mesh based on the position numbers of the edges of the first contour line and the position numbers of the points of the second contour line, and constructing a second triangular mesh based on the position numbers of the points of the first contour line and the position numbers of the edges of the second contour line; Constructing a validity evaluation function, wherein the validity evaluation function is used to evaluate the intersection position relationship between the first triangular mesh and the second triangular mesh; Generate constraint conditions based on a first decision variable, a second decision variable, a third decision variable, and a fourth decision variable; wherein the first decision variable represents whether the first triangular mesh belongs to a three-dimensional model of a coal seam, the second decision variable represents whether the second triangular mesh belongs to the three-dimensional model of a coal seam, the third decision variable represents whether a first connection relationship between the first triangular mesh and an adjacent triangular mesh of the first triangular mesh conforms to the three-dimensional model of a coal seam, and the fourth decision variable represents whether a second connection relationship between the second triangular mesh and an adjacent triangular mesh of the second triangular mesh conforms to the three-dimensional model of a coal seam; Constructing a global objective function based on the first decision variable and the second decision variable; Based on the effectiveness evaluation function, the constraint conditions and the global objective function, the three-dimensional model of the coal seam is constructed.

2. The method according to claim 1, characterized in that There are multiple first triangular meshes, there are multiple second triangular meshes, and the global objective function includes at least one of the following: Minimizing the global perimeter of a first triangular mesh belonging to the three-dimensional model of the coal seam and a second triangular mesh belonging to the three-dimensional model of the coal seam; Minimizing the global surface area of ​​a first triangular mesh belonging to the three-dimensional model of the coal seam and a second triangular mesh belonging to the three-dimensional model of the coal seam; The minimum inner angle between a first triangular mesh belonging to the three-dimensional model of the coal seam and a second triangular mesh belonging to the three-dimensional model of the coal seam is maximized.

3. The method according to claim 1, characterized in that The constraints include: The target edge of the first contour line must construct a triangular mesh with the target point of the second contour line; The target edge of the second contour line must construct a triangular mesh with the target point of the first contour line; The number of first target connection relationships between the first triangular mesh and adjacent triangular meshes of the first triangular mesh does not exceed 1; The number of second target connection relationships between the second triangular mesh and adjacent triangular meshes of the second triangular mesh does not exceed one.

4. The method according to claim 3, characterized in that The method further comprises: If both the first contour line and the second contour line are closed lines, determining the position numbers of the edges of the adjacent triangle meshes of the first triangle mesh based on the position numbers of the edges of the first contour line; Determine the position numbers of the points of the adjacent triangular meshes of the first triangular mesh based on the position numbers of the points of the second contour line; The first target connection relationship is determined based on the position numbers of the edges of the adjacent triangular meshes and the position numbers of the points of the adjacent triangular meshes.

5. The method according to claim 3, characterized in that: The method further comprises: If both the first contour line and the second contour line are non-closed lines, determining a connection relationship to be removed between the first triangular mesh and adjacent triangular meshes of the first triangular mesh based on the position numbers of the edges of the first contour line and the position numbers of the points of the second contour line; The to-be-removed connection relationship in the first connection relationship between the first triangular mesh and the adjacent triangular meshes of the first triangular mesh is removed to generate the first target connection relationship.

6. The method according to claim 1, characterized in that The first triangular meshes include a plurality of meshes, the second triangular meshes include a plurality of meshes, and the generating of the three-dimensional model of the coal seam based on the effectiveness evaluation function, the constraint condition and the global objective function includes: Solving the global objective function based on the constraint condition to generate an initial coal seam three-dimensional model; the initial coal seam model includes a set of a first triangular mesh satisfying the constraint condition and a second triangular mesh satisfying the constraint condition; The initial coal seam three-dimensional model is evaluated based on the effectiveness evaluation function to generate the coal seam three-dimensional model.

7. A three-dimensional modeling and optimization device for coal seams based on contour lines, characterized in that: The device also includes: A geological interpretation linking module is used to perform geological interpretation linking on a first coal seam section and a second coal seam section of the coal seam to generate a first contour line and a second contour line, wherein the first coal seam section is adjacent to the second coal seam section; A first construction module, configured to construct a first triangular mesh based on the position numbers of the edges of the first contour line and the position numbers of the points of the second contour line, and to construct a second triangular mesh based on the position numbers of the points of the first contour line and the position numbers of the edges of the second contour line; A second construction module is used to construct a validity evaluation function, where the validity evaluation function is used to evaluate the intersection position relationship between the first triangular mesh and the second triangular mesh; A generation module, used to generate constraint conditions based on a first decision variable, a second decision variable, a third decision variable and a fourth decision variable; wherein the first decision variable represents whether the first triangular mesh belongs to a three-dimensional coal seam model, the second decision variable represents whether the second triangular mesh belongs to the three-dimensional coal seam model, the third decision variable represents whether a first connection relationship between the first triangular mesh and an adjacent triangular mesh of the first triangular mesh conforms to the three-dimensional coal seam model, and the fourth decision variable represents whether a second connection relationship between the second triangular mesh and an adjacent triangular mesh of the second triangular mesh conforms to the three-dimensional coal seam model; The third construction module is used to construct a global objective function based on the first decision variable and the second decision variable; and to construct the three-dimensional model of the coal seam based on the effectiveness evaluation function, the constraint conditions and the global objective function.

8. An electronic device, characterized in that: include: A processor and a memory for storing a computer program that can be run on the processor, wherein the processor, when running the computer program, executes the steps of the method according to any one of claims 1 to 6.

9. A computer storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by an electronic device, the computer program implements the steps of the method according to any one of claims 1 to 6.