A method and system for constructing a three-dimensional model of a water conservancy and hydropower project
By adaptively generating grid areas, combining topographic vectors and water energy analysis, the problems of low model accuracy and waste of resources in traditional methods are solved, and a high-precision three-dimensional model construction of water conservancy and hydropower engineering is achieved.
Patent Information
- Application Number
- CN202510608721.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-13
- Publication Date
- 2025-08-08
- Estimated Expiration
- 2045-05-13
AI Technical Summary
The traditional three-dimensional model construction method of water conservancy and hydropower engineering leads to low model accuracy and waste of computing resources, especially in complex terrain areas where information accuracy is insufficient and computing resources are wasted in flat areas.
By obtaining the elevation data of the initial area, analyzing the terrain vectors and ruggedness, combining the energy and development value of water bodies, grid areas are adaptively generated to build a three-dimensional model, avoiding information loss and saving resources.
It improves the accuracy of the three-dimensional model, saves computing resources, and adapts to the needs of different terrain characteristics.
Smart Images

Figure CN120125769B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data processing, and in particular to a method and system for constructing a three-dimensional model of a water conservancy and hydropower project. Background Art
[0002] Constructing a 3D model of a water conservancy and hydropower project can intuitively display the overall project landscape and complex spatial relationships, thereby improving design accuracy. However, constructing a 3D model of a water conservancy and hydropower project requires watershed gridding, collecting hydrological information from each grid area, and constructing the 3D model. However, traditional watershed gridding uses a fixed grid size, resulting in insufficient accuracy of hydrological information obtained in areas with complex terrain and a waste of computing resources in flat areas. Consequently, traditional methods for constructing 3D models of water conservancy and hydropower projects produce low-precision 3D models and waste computing resources. Summary of the Invention
[0003] The present invention provides a method and system for constructing a three-dimensional model of a water conservancy and hydropower project to solve the existing problem that the three-dimensional model constructed by the traditional method for constructing a three-dimensional model of a water conservancy and hydropower project has low accuracy and causes waste of computing resources.
[0004] The present invention provides a method and system for constructing a three-dimensional model of a water conservancy and hydropower project using the following technical solutions:
[0005] An embodiment of the present invention provides a method for constructing a three-dimensional model of a water conservancy and hydropower project, the method comprising the following steps:
[0006] Obtain the area to be modeled, divide the area to be modeled into several initial areas, and obtain elevation data of each initial area;
[0007] According to the difference in elevation data between the initial area and the adjacent initial area, the terrain vector of the initial area is obtained; according to the difference in terrain vectors between the initial area and the adjacent initial area, the ruggedness of the initial area is obtained;
[0008] Based on the terrain vectors of all initial areas, the flow depth of all initial areas is obtained; based on the flow depth of the initial area, the ruggedness of the initial area, and the difference in elevation data between the initial area and the adjacent initial area, the water body energy of the initial area is obtained; based on the water body energy of the initial area and the ruggedness of the initial area, the development value of the initial area is obtained;
[0009] The importance of the initial area is obtained according to the development value of the initial area and the ruggedness of the initial area. The similarity between the initial areas is obtained according to the importance of the initial area and the distance between the initial areas. The grid area at each position is obtained according to the similarity between the initial areas to construct a three-dimensional model.
[0010] Preferably, the method of obtaining the terrain vector of the initial area according to the difference in elevation data between the initial area and the adjacent initial areas includes:
[0011] For any initial region, the initial region adjacent to the initial region is recorded as the target region;
[0012] For any target area, the direction in which the initial area points to the target area is used as the vector direction from the initial area to the target area; the difference between the elevation data of the initial area and the elevation data of the target area is used as the vector modulus from the initial area to the target area, thereby obtaining the elevation vector from the initial area to the target area;
[0013] The elevation vector from the initial area to each target area is obtained, and the sum of the elevation vectors from the initial area to each target area is used as the terrain vector of the initial area.
[0014] Preferably, the method of obtaining the ruggedness of the initial area according to the difference in terrain vector between the initial area and the adjacent initial area includes:
[0015] For any initial area, the ruggedness of the initial area is obtained according to the difference in terrain vector between the initial area and the target area. The specific calculation formula is:
[0016]
[0017] Where, Indicates the ruggedness of the initial area; Indicates the number of target areas; represents the modulus of the terrain vector of the initial area; Indicates the The modulus of the terrain vector of the target area; The terrain vector representing the initial area and the The cosine similarity between the terrain vectors of the target area; Indicates the absolute value function; represents the linear normalization function.
[0018] Preferably, the flow depths of all initial areas are obtained according to the terrain vectors of all initial areas, including the following specific methods:
[0019] According to the terrain vectors of all initial regions in the domain to be modeled, a directed graph of the domain to be modeled is constructed to obtain a number of initial region blocks;
[0020] For any initial area block, the flow depth of the initial area with in-degree 0 in the initial area block is recorded as 1, and the flow depth of each initial area in the initial area block is set to the flow depth of the directly succeeding initial area plus 1; if there are several direct successors of the initial area in the initial area block, the flow depth in the initial area is the flow depth of the directly succeeding initial area with the largest flow depth plus 1, and the flow depth of all initial areas in the initial area block is obtained.
[0021] Preferably, the specific method of obtaining the water energy in the initial area includes:
[0022] For any initial region, the product of the elevation data of the initial region and the flow depth is linearly normalized, and the normalized result is used as the water body energy of the initial region.
[0023] Preferably, the method of obtaining the development value of the initial area based on the water energy of the initial area and the ruggedness of the initial area includes the following specific methods:
[0024] For any initial area, the development value of the initial area is obtained based on the water energy and ruggedness of the initial area, as well as the difference in elevation data between the initial area and all target areas. The specific calculation formula is:
[0025]
[0026] Where, Indicates the development value of the initial area; represents the water energy of the initial region; Indicates the ruggedness of the initial area; represents the mean difference in elevation data between the initial area and all target areas; represents the linear normalization function.
[0027] Preferably, the obtaining of the importance of the initial area according to the development value of the initial area and the ruggedness of the initial area includes the following specific methods:
[0028] For any initial area, preset a development value threshold , combining the development value of the initial area and the ruggedness of the initial area, the importance of the initial area is obtained, and the specific calculation formula is:
[0029]
[0030] Where, Indicates the importance of the initial area; Indicates the development value of the initial area; Indicates the ruggedness of the initial area; Indicates the preset development value threshold.
[0031] Preferably, the similarity between the initial regions is obtained based on the importance of the initial regions and the distance between the initial regions, and the specific method includes:
[0032] For the The initial region and the Initial area, according to The initial region and the The importance of the first region, and the The initial region and the The distance between the initial areas, get the The initial region and the The similarity between the initial regions is calculated as follows:
[0033]
[0034] Where, Indicates the The initial region and the The similarity between the initial regions; Indicates the The importance of the initial region; Indicates the The importance of the initial region; Indicates the The initial region and the The distance between the initial regions; Represents an exponential function with a natural constant as its base.
[0035] Preferably, the method of obtaining the grid area at each position to construct the three-dimensional model based on the similarity between the initial areas includes the following specific methods:
[0036] The similarity between the initial regions is used as the distance metric, and the AP clustering algorithm is used to cluster all the initial regions to obtain several clusters. For any cluster, the ratio of the side length of the initial region to the average importance of all the initial regions in the cluster is recorded as the side length of the grid area at the corresponding position of the cluster. ;
[0037] Divide the corresponding positions of the cluster into several Meter grid area;
[0038] Obtain the grid areas of all locations and construct a three-dimensional model of the water conservancy and hydropower project based on the grid areas at all locations.
[0039] Another embodiment of the present invention provides a system for constructing a three-dimensional model of a water conservancy and hydropower project, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the system implements the steps of any one of the above-mentioned methods for constructing a three-dimensional model of a water conservancy and hydropower project.
[0040] The beneficial effects of the technical solution of the present invention are as follows: the present application divides the area to be modeled into several initial regions, and obtains the ruggedness of the initial region based on the difference in elevation data between each initial region and its adjacent initial regions. Since the greater the difference in elevation data between each location and its adjacent locations, the more rugged the terrain below the location, and the more rugged the location, the greater the amount of information contained in the location, the smaller the grid area should be used to obtain the hydrological information of the location, so as to avoid losing a large amount of hydrological information and ensure the accuracy of three-dimensional modeling, which serves as a theoretical basis for the subsequent adaptive generation of grid areas;
[0041] When adaptively generating the grid areas at each location, it is necessary not only to avoid losing hydrological information but also to consider the subsequent development at each location. The more water bodies and the larger the elevation data in each initial area, the greater the energy contained in the water bodies in each initial area and the higher its development value. However, the more rugged the terrain of the initial area is, the less conducive it is to the development of the initial area and the lower its development value. Therefore, the development value of the initial area is obtained by further combining the ruggedness of the initial area. Finally, the importance of the initial area is obtained based on the ruggedness and development value of the initial area. In this way, the grid areas at each location are adaptively generated, and a three-dimensional model is constructed based on the adaptively generated grid areas, so as to save computing resources while improving the accuracy of the three-dimensional model. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0043] Figure 1 A flowchart of the steps of a method for constructing a three-dimensional model of a water conservancy and hydropower project according to the present invention;
[0044] Figure 2 It is a schematic diagram of the initial area block in the directed graph;
[0045] Figure 3 Schematic diagram of the flow depth in the initial area of the initial area block. DETAILED DESCRIPTION
[0046] To further illustrate the technical means and effectiveness of the present invention to achieve its intended purpose, the following, in conjunction with the accompanying drawings and preferred embodiments, describes in detail a method and system for constructing a three-dimensional model of a water conservancy and hydropower project, including its specific implementation, structure, features, and effectiveness. In the following description, references to different "one embodiment" or "another embodiment" do not necessarily refer to the same embodiment. Furthermore, specific features, structures, or characteristics of one or more embodiments may be combined in any suitable manner.
[0047] Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.
[0048] The specific scheme of the method and system for constructing a three-dimensional model of a water conservancy and hydropower project provided by the present invention is described in detail below with reference to the accompanying drawings.
[0049] See also Figure 1 , which shows a flowchart of a method for constructing a three-dimensional model of a water conservancy and hydropower project provided by an embodiment of the present invention, the method comprising the following steps:
[0050] Step S001: Obtain the area to be modeled, divide the area to be modeled into several initial areas, and obtain elevation data for each initial area.
[0051] It should be noted that when constructing a three-dimensional model of a water conservancy and hydropower project, it is necessary to perform watershed grid division, divide the area to be modeled into several grid areas, and construct a three-dimensional model through the hydrological information in each grid area; while the traditional grid area size when constructing a three-dimensional model is a preset fixed size, and the grid area is not set according to the actual environment, resulting in insufficient accuracy of the hydrological information obtained in areas with complex terrain, and a waste of computing resources in areas with flat terrain, which ultimately leads to a waste of computing resources and low quality of the constructed three-dimensional model; therefore, this embodiment, as a method for constructing a three-dimensional model of a water conservancy and hydropower project, specifically analyzes the complexity of the terrain at each location and the subsequent development value, and adaptively generates a grid area for each location, thereby saving computing resources while improving the accuracy of the three-dimensional model.
[0052] Specifically, preset a model scale The length of the initial region , and The specific value of can be set according to the actual situation. This embodiment does not make a hard requirement. 、 Take the location of water conservancy and hydropower project as the center for description; The area of square kilometers is used as the area to be modeled; the area to be modeled is divided into several Initial area of meters (if the initial area specifications near the boundary of the area to be modeled do not meet meters, the portion of the initial area located in the area to be modeled is taken as the initial area), and the elevation data of each initial area is obtained by satellite remote sensing technology. Since satellite remote sensing technology is a well-known existing technology, it will not be described in detail in this embodiment.
[0053] Step S002: obtaining a terrain vector of the initial region based on the difference in elevation data between the initial region and the adjacent initial regions; and obtaining a ruggedness of the initial region based on the difference in terrain vectors between the initial region and the adjacent initial regions.
[0054] It should be noted that this embodiment, as a method for constructing a three-dimensional model of a water conservancy and hydropower project, specifically generates grid areas adaptively by analyzing the terrain conditions at each location, thereby improving the accuracy of the three-dimensional model while saving computing resources; the greater the difference in altitude between each location and its adjacent locations, the more rugged the terrain at the location, and the more rugged the location, the greater the amount of information contained in the location, and the smaller the grid area should be used to obtain the hydrological information of the location to ensure the accuracy of the three-dimensional modeling. Therefore, the difference in altitude between each location and its surroundings can be analyzed to obtain the ruggedness of each location, so as to better generate grid areas for subsequent adaptive generation and improve the quality of the three-dimensional model.
[0055] Preferably, in a specific embodiment of the present invention, for any initial region, an initial region adjacent to the initial region is recorded as a target region;
[0056] For any target area, the direction in which the initial area points to the target area is used as the vector direction from the initial area to the target area; the difference between the elevation data of the initial area and the elevation data of the target area is used as the vector modulus from the initial area to the target area, thereby obtaining the elevation vector from the initial area to the target area;
[0057] Similarly, the elevation vector from the initial area to each target area is obtained, and the sum of the elevation vectors from the initial area to each target area is used as the terrain vector of the initial area.
[0058] It should be noted that the terrain vector of the initial area represents the trend of change in the elevation data of the initial area. The more rugged the terrain of the initial area is, the greater the difference in the trend of change in elevation data between the initial area and its surrounding initial areas. Therefore, the difference in the trend of change in elevation data between the initial area and its surrounding initial areas can be used to evaluate the ruggedness of the initial area.
[0059] Preferably, in a specific embodiment of the present invention, for any initial area, an initial area adjacent to the initial area is recorded as a target area; and the ruggedness of the initial area is obtained based on the difference in terrain vector between the initial area and the target area. The specific calculation formula is:
[0060]
[0061] Where, Indicates the ruggedness of the initial area; Indicates the number of target areas; represents the modulus of the terrain vector of the initial area; Indicates the The modulus of the terrain vector of the target area; The terrain vector representing the initial area and the The cosine similarity between the terrain vectors of the target area; Indicates the absolute value function; Represents a linear normalization function, whose specific normalization range is all initial regions .
[0062] It should be noted that It represents the difference in modulus between the initial area and the initial areas around it. It represents the difference in direction between the potential vectors of the initial area and the surrounding initial areas, so The larger the value of , the greater the difference in terrain vector between the initial area and its surrounding initial areas. The terrain vector represents the trend of elevation data change. The larger the value of , the greater the difference in elevation data change trend between the initial region and its surrounding initial regions, that is, the more rugged the initial region is.
[0063] At this point, the ruggedness of the initial area is obtained.
[0064] Step S003: Obtain the flow depth of all initial areas based on the terrain vectors of all initial areas; obtain the water body energy of the initial area based on the flow depth of the initial area, the ruggedness of the initial area, and the difference in elevation data between the initial area and the adjacent initial areas; obtain the development value of the initial area based on the water body energy of the initial area combined with the ruggedness of the initial area.
[0065] It should be noted that when adaptively generating the grid areas at each location, not only the terrain conditions at each location need to be considered, but also the subsequent development value of each location needs to be further considered. For locations with high development value, small grid areas need to be adaptively generated to facilitate subsequent development. The higher the altitude of the water body, the greater the potential energy it contains and the greater its development value. Therefore, the larger the elevation data of the initial area, the higher the development value of the initial area. As the water body flows, the energy contained in the water body will gradually accumulate, and the water body will flow with the terrain. Therefore, the water body energy of the initial area can be quantified by analyzing the elevation data of the initial area. However, since the rugged terrain is not conducive to subsequent development and maintenance, after obtaining the water body energy of the initial area, it is necessary to further combine the ruggedness of the initial area to comprehensively evaluate the development value of the initial area.
[0066] Preferably, in a specific embodiment of the present invention, a directed graph of the area to be modeled is constructed based on the terrain vectors of all initial areas in the area to be modeled, and several initial area blocks are obtained, such as Figure 2 As shown, Figure 2 Schematic diagram of an initial region block in a directed graph; since directed graphs are a well-known prior art, they will not be described in detail in this embodiment;
[0067] For any initial region block, the flow depth of the initial region with in-degree 0 in the initial region block is recorded as 1, and the flow depth of each initial region in the initial region block is the flow depth of the direct successor initial region plus 1; if there are several direct successors of the initial region in the initial region block, the flow depth in the initial region is the flow depth of the direct successor initial region with the largest flow depth plus 1, and the flow depth of all initial regions in the initial region block is obtained, as shown in Figure 3 As shown, Figure 3 is a schematic diagram of the flow depth of the initial area in the initial area block, Figure 3 The characters in the initial area are the flow depth of the initial area.
[0068] It should be noted that the in-degree and direct successor are professional terms in directed graphs, and directed graphs are well-known existing technologies and will not be described in detail in this embodiment. The greater the flow depth in the initial area, the more water bodies in other initial areas will converge into the initial area, that is, the greater the energy contained in the water body in the initial area. The elevation data of the initial area is further calculated to obtain the water body energy of the initial area.
[0069] Preferably, in a specific embodiment of the present invention, for any initial area, the product of the elevation data of the initial area and the flow depth is linearly normalized, and the normalized result is used as the water body energy of the initial area. The specific calculation formula is:
[0070]
[0071] Where, represents the water energy of the initial region; representing elevation data of the initial area; represents the flow depth of the initial region; Represents a linear normalization function, whose specific normalization range is all the initial regions .
[0072] It should be noted that the greater the flow depth and the higher the altitude in the initial area, the greater the energy contained in the water body in the initial area, and the higher the development value of the initial area. However, during the construction, development and subsequent maintenance of the initial area, the more rugged the terrain of the initial area, the less conducive it is to the construction, development and subsequent maintenance of the initial area. After obtaining the water body energy in the initial area, it is necessary to further combine the ruggedness of the initial area to obtain the development value of the initial area.
[0073] Preferably, in a specific embodiment of the present invention, for any initial area, the initial areas adjacent to the initial area are recorded as target areas; the development value of the initial area is obtained based on the water body energy and ruggedness of the initial area, and the difference in elevation data between the initial area and all target areas. The specific calculation formula is:
[0074]
[0075] Where, Indicates the development value of the initial area; represents the water energy of the initial region; Indicates the ruggedness of the initial area; represents the mean difference in elevation data between the initial area and all target areas; Represents a linear normalization function, whose specific normalization range is all initial regions .
[0076] It should be noted that the greater the energy contained in the water body of the initial area, the higher the development value of the initial area. However, the more rugged the terrain of the initial area is, the less conducive it is to the development of the initial area, and the lower its development value. The larger the value is, the greater the energy contained in the water body in the initial area. and The larger the value of , the more rugged the terrain of the initial area; therefore The larger the value of and The smaller the value of , the higher the development value of the initial area.
[0077] At this point, the development value of the initial area is obtained.
[0078] Step S004: Obtain the importance of the initial area based on the development value of the initial area and the ruggedness of the initial area; obtain the similarity between the initial areas based on the importance of the initial area and the distance between the initial areas; and obtain the grid area at each position to construct a three-dimensional model based on the similarity between the initial areas.
[0079] It should be noted that after obtaining the ruggedness and development value of the initial area respectively through step S002 and step S003, the importance of the initial area can be obtained according to the ruggedness and development value of the initial area, and the initial area can be scaled to adaptively obtain the grid area at each position. A three-dimensional model is constructed according to the grid area at each position, ultimately achieving the goal of improving the accuracy of the three-dimensional model while saving computing resources.
[0080] Preferably, in a specific embodiment of the present invention, for any initial area, a development value threshold is preset. , The specific value of can be set according to the actual situation. This embodiment does not make a hard requirement. Taking this as an example, the importance of the initial area is obtained by combining the development value of the initial area and the ruggedness of the initial area. The specific calculation formula is:
[0081]
[0082] Where, Indicates the importance of the initial area; Indicates the development value of the initial area; Indicates the ruggedness of the initial area; Indicates the preset development value threshold.
[0083] It should be noted that when the development value of an initial region is greater than the development threshold, it indicates that the initial region is more likely to be developed later, and the initial region is less tolerant of the loss of hydrological information, that is, the initial region is more important. When the development value of an initial region is less than the development threshold, it indicates that the initial region is less likely to be developed later, and the initial region is more tolerant of the loss of hydrological information, that is, the initial region is less important. After obtaining the importance of the initial region, the grid region at each location can be adaptively generated based on the importance of all the initial regions and the distance between the initial regions, and a three-dimensional model can be constructed based on the grid region at each location.
[0084] Preferably, in a specific embodiment of the present invention, for The initial region and the Initial area, according to The initial region and the The importance of the first region, and the The initial region and the The distance between the initial areas, get the The initial region and the The similarity between the initial regions is calculated as follows:
[0085]
[0086] Where, Indicates the The initial region and the The similarity between the initial regions; Indicates the The importance of the initial region; Indicates the The importance of the initial region; Indicates the The initial region and the The distance between the initial regions; Represents an exponential function with a natural constant as the base. In this embodiment, Model to present inverse proportional relationship and normalization processing, As the input of the model, the implementer can set the inverse proportional function and normalization function according to the actual situation.
[0087] It should be noted that when the importance of different initial regions is closer and the distance between different initial regions is shorter, the different initial regions are more likely to be located in the same terrain and landform area. Therefore, the initial regions can be clustered to obtain the initial regions located in the same terrain and landform. Combined with the analysis of the initial regions located in the same terrain and landform, the optimal grid area can be adaptively generated for the initial regions.
[0088] Specifically, the AP clustering algorithm is used to cluster all initial regions using the similarity between the initial regions as a distance metric to obtain a number of clusters. Since the AP clustering algorithm is a well-known prior art, it will not be described in detail in this embodiment. For any cluster, the ratio of the side length of the initial region to the average importance of all initial regions in the cluster is used as the side length of the grid area at the corresponding position of the cluster. The specific calculation formula is:
[0089]
[0090] Where, Indicates the side length of the grid area at the corresponding position of the cluster, Indicates the preset initial area side length; Represents the average importance of all initial regions in the cluster.
[0091] Furthermore, the cluster corresponding positions are divided into several Meter grid area (if the grid area specifications near the boundary of the cluster corresponding position do not meet meters, the portion of the grid area located at the corresponding position of the cluster is taken as the grid area); similarly, the grid areas of all positions are obtained, and a three-dimensional model of the water conservancy and hydropower project is constructed based on the grid areas at all positions. Since the specific process of constructing the three-dimensional model is a well-known existing technology, it will not be described in detail in this embodiment.
[0092] It should be noted that the greater the importance of the initial region in the cluster, the more it is necessary to improve the modeling accuracy of the corresponding position of the initial region, and the smaller the grid area is needed to model its position. The larger the value, the smaller the grid area specification at the corresponding location. By analyzing the terrain conditions and subsequent development value of each location, the grid area of each location is adaptively generated, thereby saving computing resources and improving the accuracy of the three-dimensional model.
[0093] Another embodiment of the present invention provides a system for constructing a three-dimensional model of a water conservancy and hydropower project, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, a method for constructing a three-dimensional model of a water conservancy and hydropower project in steps S001 to S004 is implemented.
[0094] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the principles of the present invention should be included in the scope of protection of the present invention.
Claims
1. A method for constructing a three-dimensional model of a water conservancy and hydropower project, characterized in that: The method comprises the following steps: Obtain the area to be modeled, divide the area to be modeled into several initial areas, and obtain elevation data of each initial area; According to the difference in elevation data between the initial area and the adjacent initial area, the terrain vector of the initial area is obtained; according to the difference in terrain vectors between the initial area and the adjacent initial area, the ruggedness of the initial area is obtained; Based on the terrain vectors of all initial areas, the flow depth of all initial areas is obtained; based on the flow depth of the initial area, the ruggedness of the initial area, and the difference in elevation data between the initial area and the adjacent initial area, the water body energy of the initial area is obtained; based on the water body energy of the initial area and the ruggedness of the initial area, the development value of the initial area is obtained; The importance of the initial area is obtained according to the development value of the initial area and the ruggedness of the initial area. The similarity between the initial areas is obtained according to the importance of the initial area and the distance between the initial areas. The grid area at each position is obtained according to the similarity between the initial areas to construct a three-dimensional model.
2. A method for constructing a three-dimensional model of a water conservancy and hydropower project according to claim 1, characterized in that: The method of obtaining the terrain vector of the initial area according to the difference in elevation data between the initial area and the adjacent initial areas includes: For any initial region, the initial region adjacent to the initial region is recorded as the target region; For any target area, the direction in which the initial area points to the target area is used as the vector direction from the initial area to the target area; the difference between the elevation data of the initial area and the elevation data of the target area is used as the vector modulus from the initial area to the target area, thereby obtaining the elevation vector from the initial area to the target area; The elevation vector from the initial area to each target area is obtained, and the sum of the elevation vectors from the initial area to each target area is used as the terrain vector of the initial area.
3. The method for constructing a three-dimensional model of a water conservancy and hydropower project according to claim 2, characterized in that: The method for obtaining the ruggedness of the initial region based on the difference in terrain vector between the initial region and the adjacent initial regions includes: For any initial area, the ruggedness of the initial area is obtained according to the difference in terrain vector between the initial area and the target area. The specific calculation formula is: Where, Indicates the ruggedness of the initial area; Indicates the number of target areas; represents the modulus of the terrain vector of the initial area; Indicates the The modulus of the terrain vector of the target area; The terrain vector representing the initial area and the The cosine similarity between the terrain vectors of the target area; Indicates the absolute value function; represents the linear normalization function.
4. The method for constructing a three-dimensional model of a water conservancy and hydropower project according to claim 1, characterized in that: The specific method for obtaining the flow depth of all initial areas according to the terrain vectors of all initial areas is as follows: According to the terrain vectors of all initial regions in the domain to be modeled, a directed graph of the domain to be modeled is constructed to obtain a number of initial region blocks; For any initial area block, the flow depth of the initial area with in-degree 0 in the initial area block is recorded as 1, and the flow depth of each initial area in the initial area block is set to the flow depth of the directly succeeding initial area plus 1; if there are several direct successors of the initial area in the initial area block, the flow depth in the initial area is the flow depth of the directly succeeding initial area with the largest flow depth plus 1, and the flow depth of all initial areas in the initial area block is obtained.
5. The method for constructing a three-dimensional model of a water conservancy and hydropower project according to claim 1, characterized in that: The specific method of obtaining the water energy in the initial area includes: For any initial region, the product of the elevation data of the initial region and the flow depth is linearly normalized, and the normalized result is used as the water body energy of the initial region.
6. A method for constructing a three-dimensional model of a water conservancy and hydropower project according to claim 2, characterized in that: The specific method for obtaining the development value of the initial area based on the water energy of the initial area and the ruggedness of the initial area is as follows: For any initial area, the development value of the initial area is obtained based on the water energy and ruggedness of the initial area, as well as the difference in elevation data between the initial area and all target areas. The specific calculation formula is: Where, Indicates the development value of the initial area; represents the water energy of the initial region; Indicates the ruggedness of the initial area; represents the mean difference in elevation data between the initial area and all target areas; represents the linear normalization function.
7. The method for constructing a three-dimensional model of a water conservancy and hydropower project according to claim 1, characterized in that: The specific method for obtaining the importance of the initial area according to the development value of the initial area and the ruggedness of the initial area is as follows: For any initial area, preset a development value threshold , combining the development value of the initial area and the ruggedness of the initial area, the importance of the initial area is obtained, and the specific calculation formula is: Where, Indicates the importance of the initial area; Indicates the development value of the initial area; Indicates the ruggedness of the initial area; Indicates the preset development value threshold.
8. The method for constructing a three-dimensional model of a water conservancy and hydropower project according to claim 1, characterized in that: The specific method for obtaining the similarity between the initial regions based on the importance of the initial regions and the distance between the initial regions is as follows: For the The initial region and the Initial area, according to The initial region and the The importance of the first region, and the The initial region and the The distance between the initial areas, get the The initial region and the The similarity between the initial regions is calculated as follows: Where, Indicates the The initial region and the The similarity between the initial regions; Indicates the The importance of the initial region; Indicates the The importance of the initial region; Indicates the The initial region and the The distance between the initial regions; Represents an exponential function with a natural constant as its base.
9. The method for constructing a three-dimensional model of a water conservancy and hydropower project according to claim 1, characterized in that: The specific method of obtaining the grid area at each position and constructing the three-dimensional model according to the similarity between the initial areas is as follows: The similarity between the initial regions is used as the distance metric, and the AP clustering algorithm is used to cluster all the initial regions to obtain several clusters. For any cluster, the ratio of the side length of the initial region to the average importance of all the initial regions in the cluster is recorded as the side length of the grid area at the corresponding position of the cluster. ; Divide the corresponding positions of the cluster into several Meter grid area; Obtain the grid areas of all locations and construct a three-dimensional model of the water conservancy and hydropower project based on the grid areas at all locations.
10. A system for constructing a three-dimensional model of a water conservancy and hydropower project, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the computer program is executed by a processor, the steps of the method for constructing a three-dimensional model of a water conservancy and hydropower project as described in any one of claims 1 to 9 are implemented.
Citation Information
Patent Citations
Construction method of environment-adaptive drainage device based on intelligent control
CN119026286A
River network making method using the digital elevation model
KR1020100043489A