Reservoir site selection parallel computing method and device, computer equipment and medium
The parallel computing method is used to extract intersection nodes and generate reservoir dam lines in reservoir site selection, which solves the problems of large computational workload and low efficiency in the existing technology, and achieves efficient reservoir site selection.
Patent Information
- Application Number
- CN202411026204.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-29
- Publication Date
- 2024-10-22
AI Technical Summary
Existing reservoir site selection methods require a large calculation workload and low efficiency, and can easily miss good dam sites, resulting in a waste of resources.
Using parallel computing methods, multiple idle computing node machines process tasks simultaneously, extract the intersection nodes and distribution nodes of water lines, generate reservoir dam lines based on contours, and screen out reservoir dams that meet the requirements based on the preset thresholds of terrain characteristic parameters. site.
It greatly improves the efficiency of reservoir site selection, shortens time, improves site selection accuracy, and reduces resource waste.
Smart Images

Figure CN118819859A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of reservoir site selection, and in particular to a parallel calculation method, device, computer equipment and medium for reservoir site selection. Background Art
[0002] Reservoirs are one of the main types of water conservancy projects. Generally, artificial lakes formed by river-blocking dams and natural terrain are used to regulate and store natural flows with uneven time distribution, and play the role of flood control, power generation, water supply, irrigation, and ecological water replenishment. The site selection of reservoirs has strict requirements on terrain conditions. It must be able to form sufficient storage capacity to meet the needs of social and economic development for its regulation capacity. At the same time, the dam height and dam length of the river-blocking dam should not be too large, so as to minimize the dam project volume, save project investment, and obtain a better input-output ratio. Therefore, the reservoir dam site is a very important but relatively scarce engineering resource. Finding a suitable reservoir dam site is one of the main tasks of water conservancy and hydropower project planners.
[0003] At present, planners generally identify reservoir dam sites by combining visual judgment with calculations, that is, first visually search for possible dam construction locations based on topographic map contours, and then calculate the reservoir capacity and dam length, dam height and other parameters on the map to determine whether they meet the reservoir site selection requirements. For a relatively large area, the above method has a huge workload of analysis and calculation, is extremely time-consuming, and has a very low efficiency in reservoir site selection. It is also very easy to miss relatively good dam sites, resulting in a waste of good dam site resources. Summary of the invention
[0004] In view of this, the present invention provides a parallel calculation method, device, computer equipment and medium for reservoir site selection to solve the problem of large calculation workload and extremely low efficiency of reservoir site selection.
[0005] In a first aspect, the present invention provides a parallel computing method for reservoir site selection, which is applied to a main controller. The method comprises:
[0006] Obtain multiple water system lines of the area to be identified and the contour lines corresponding to each water system line;
[0007] Control multiple idle computing nodes to extract the intersection nodes of each water system line through parallel computing, and generate distribution nodes on each water system line;
[0008] Mark the intersection nodes and distribution nodes as dam site nodes;
[0009] Control multiple idle computing nodes to generate reservoir dam lines corresponding to dam site nodes based on contour lines through parallel computing;
[0010] Control multiple idle computing nodes to read the reservoir dam line through parallel computing, retain the reservoir dam line that meets the preset threshold of the terrain characteristic parameters, and use the retained reservoir dam line as the reservoir dam site.
[0011] The parallel calculation method for reservoir site selection provided by the present invention controls multiple idle computing node machines to generate distributed nodes through parallel calculation, calculates the reservoir dam line of the corresponding dam site node based on the contour line, and reads the reservoir dam line, and retains the reservoir dam line that meets the preset threshold value of the terrain feature parameter, so that multiple idle computing node machines can process the tasks to be calculated at the same time, which greatly improves the efficiency of reservoir site selection, shortens the time of reservoir site selection, and solves the problem of large computing workload and extremely low efficiency of reservoir site selection.
[0012] In an optional implementation, obtaining a plurality of water system lines of the area to be identified and a contour line corresponding to each water system line includes:
[0013] Get the elevation attribute value of the area to be identified;
[0014] Based on the elevation attribute value, a geographic information system is used to extract multiple water system lines and the contour lines corresponding to each water system line in the area to be identified.
[0015] The parallel calculation method for reservoir site selection provided by the present invention can quickly extract multiple water system lines and contour lines corresponding to each water system line in the area to be identified through the elevation attribute value of the area to be identified using a geographic information system, thereby providing a basis for the subsequent extraction of intersection nodes of the water system lines.
[0016] In an optional implementation, controlling a plurality of idle computing nodes to extract the intersection node of each water system line through parallel computing includes:
[0017] Read each water system line one by one, and calculate the intersection node of each water system line as the first task to be calculated and distribute it to multiple idle computing node machines respectively;
[0018] Control multiple idle computing nodes to extract the two end points of the corresponding water system line in the first task to be calculated, and determine the intersection node according to the number of water system lines other than the water system line itself connected by the two end points of each water system line.
[0019] The parallel calculation method for reservoir site selection provided by the present invention controls multiple idle computing node machines to extract the two end points of the corresponding water system line in the first task to be calculated, and determines the intersection node according to the number of water system lines other than its own water system line connected by the two end points of each water system line, thereby improving the efficiency of intersection node extraction, reducing the amount of calculation data, and providing a basis for the subsequent determination of dam site nodes.
[0020] In an optional implementation, generating a distribution node on each water system line includes:
[0021] The water system line is divided into multiple discrete intervals using an evenly spaced discretization algorithm between the two end points, and the endpoints of each discrete interval are used as distribution nodes.
[0022] When the length between the two end points of a water system line is less than the discrete spacing, the midpoint of the water system line is used as a distribution node.
[0023] The parallel calculation method for reservoir site selection provided by the present invention achieves the purpose of accurately generating distribution nodes by using an equally spaced uniform discretization algorithm to divide the water system line between the two end points into multiple discrete intervals to generate distribution nodes, and when the length between the two end points of the water system line is less than the discrete interval, the midpoint of the water system line is used as the distribution node, thereby achieving the purpose of accurately generating distribution nodes and providing a basis for the subsequent determination of dam site nodes.
[0024] In an optional implementation, controlling a plurality of idle computing node machines to generate a reservoir dam line corresponding to a dam site node based on a contour line through parallel computing includes:
[0025] Read each dam site node one by one, and distribute the reservoir dam line corresponding to the dam site node as the second task to be calculated to multiple idle computing node machines respectively;
[0026] Control multiple idle computing nodes to read the corresponding dam site nodes in the second task to be calculated, and generate an initial dam line perpendicular to the water system line direction at the corresponding dam site nodes based on the contour lines;
[0027] Control multiple idle computing node machines based on the contour lines with the corresponding dam site node as the center, rotate the initial dam line in the clockwise direction and the counterclockwise direction for a preset number of times according to the preset rotation angle, and use each rotation trajectory as a comparison dam line;
[0028] Calculate the ultimate storage capacity of the initial dam line and the comparison dam line, and take the dam line corresponding to the maximum ultimate storage capacity as the reservoir dam line.
[0029] The parallel calculation method for reservoir site selection provided by the present invention controls multiple idle computing node machines to generate an initial dam line and a comparison dam line perpendicular to the water system line direction at the corresponding dam site node based on contour lines through parallel calculation, and calculates the maximum storage capacity on the initial dam line and the comparison dam line, and uses the dam line corresponding to the maximum maximum storage capacity as the reservoir dam line, so that multiple idle computing node machines work simultaneously and perform parallel calculations, which improves the efficiency of generating the reservoir dam line, reduces the amount of calculation data, shortens the generation time of the reservoir dam line, and provides a basis for subsequent reservoir site selection.
[0030] In an optional implementation, the preset thresholds of the terrain characteristic parameters include a reservoir capacity ratio coefficient threshold and a reservoir surface morphology coefficient threshold;
[0031] Control multiple idle computing nodes to read the reservoir dam line through parallel computing, retain the reservoir dam line that meets the preset threshold of the terrain characteristic parameter, and use the retained reservoir dam line as the reservoir dam site, including:
[0032] Read each reservoir dam line one by one, and assign the determination of the reservoir dam site as the third task to be calculated to multiple idle computing node machines;
[0033] Control multiple idle computing node machines to read the corresponding reservoir dam line in the third task to be calculated, and calculate the storage capacity ratio coefficient and the reservoir surface shape coefficient of the reservoir dam line;
[0034] The reservoir dam line that meets the reservoir capacity ratio coefficient threshold and the reservoir surface shape coefficient threshold is retained, and the retained reservoir dam line is used as the reservoir dam site.
[0035] The parallel calculation method for reservoir site selection provided by the present invention calculates the storage capacity ratio coefficient and the reservoir surface shape coefficient of the reservoir dam line by controlling multiple idle computing node machines, and compares the calculated storage capacity ratio coefficient and the reservoir surface shape coefficient of the reservoir dam line with the corresponding preset threshold values, and finally selects the reservoir dam line that meets the requirements as the final reservoir dam site, so as to accurately determine the reservoir dam line that meets the requirements, improve the efficiency of reservoir site selection, and provide a basis for the subsequent actual construction of the reservoir.
[0036] In an optional implementation, controlling a plurality of idle computing nodes to read the corresponding reservoir dam line in the third task to be calculated, and calculating the storage capacity ratio coefficient and the reservoir surface shape coefficient of the reservoir dam line includes:
[0037] Control multiple idle computing nodes to read the reservoir dam line corresponding to the third task to be calculated, and obtain the limit storage capacity of the reservoir dam line, the minimum limit of the limit storage capacity, the area of the water level line corresponding to the reservoir dam line, and the maximum dam length of the reservoir dam line;
[0038] Calculate the storage capacity ratio coefficient based on the limit storage capacity and the minimum limit storage capacity;
[0039] The reservoir surface shape coefficient is calculated based on the area of the reservoir dam line corresponding to the water level line and the maximum dam length of the reservoir dam line.
[0040] The parallel calculation method for reservoir site selection provided by the present invention obtains the ultimate storage capacity of the reservoir dam line, the minimum limit of the ultimate storage capacity, the area of the water level line corresponding to the reservoir dam line and the maximum dam length of the reservoir dam line through multiple idle computing node machines, and then calculates the reservoir surface shape coefficient, providing a data basis for retaining the reservoir dam line that meets the preset threshold value of the reservoir surface shape coefficient.
[0041] In a second aspect, the present invention provides a parallel computing device for reservoir site selection, which is applied to a main controller, and the device comprises:
[0042] An acquisition module, used to acquire multiple water system lines of the area to be identified and contour lines corresponding to each water system line;
[0043] The extraction and generation module is used to control multiple idle computing nodes to extract the intersection nodes of each water system line through parallel computing, and generate distribution nodes on each water system line;
[0044] A marking module, used for marking intersection nodes and distribution nodes as dam site nodes;
[0045] A generation module, used for controlling a plurality of idle computing node machines to generate a reservoir dam line corresponding to a dam site node based on contour lines through parallel calculation;
[0046] The screening module is used to control multiple idle computing node machines to read the reservoir dam line through parallel computing, retain the reservoir dam line that meets the preset threshold of the terrain characteristic parameters, and use the retained reservoir dam line as the reservoir dam site.
[0047] In a third aspect, the present invention provides a computer device comprising: a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, and the processor executing the parallel calculation method for reservoir site selection of the first aspect or any corresponding embodiment thereof by executing the computer instructions.
[0048] In a fourth aspect, the present invention provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to enable a computer to execute the parallel calculation method for reservoir site selection according to the first aspect or any corresponding embodiment thereof. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0050] Figure 1 is a flow chart of a parallel calculation method for reservoir site selection according to an embodiment of the present invention;
[0051] Figure 2 is a flow chart of another parallel calculation method for reservoir site selection according to an embodiment of the present invention;
[0052] Figure 3 is a flow chart of another parallel calculation method for reservoir site selection according to an embodiment of the present invention;
[0053] Figure 4is a structural block diagram of a parallel computing device for reservoir site selection according to an embodiment of the present invention;
[0054] Figure 5 It is a schematic diagram of the hardware structure of a computer device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0055] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0056] According to an embodiment of the present invention, an embodiment of a parallel computing method for reservoir siting is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0057] In this embodiment, a parallel calculation method for reservoir site selection is provided, which can be used for a main controller. Figure 1 is a flow chart of a parallel calculation method for reservoir site selection according to an embodiment of the present invention. Figure 1 As shown, the process includes the following steps:
[0058] Step S101, obtaining multiple water system lines of the area to be identified and the contour lines corresponding to each water system line.
[0059] Specifically, the area to be identified can be located by the operator through the geographic information system software. For example, the area determined by the location conditions such as the topographic conditions, geological conditions, water source conditions, social conditions and climatic conditions of the reservoir site selection is used as the area to be identified. A water system refers to a system in which the main stream of a river and its tributaries at all levels are connected to each other. A water system line refers to the water system boundary, which is a mountain or river highland that divides adjacent water systems (or rivers). A contour line refers to a closed curve formed by connecting adjacent points with equal elevation attribute values (equal altitudes) on a topographic map. When actually drawing, the closed curve formed by connecting points with the same altitude on the ground is vertically projected onto a horizontal plane and scaled down on the drawing to obtain the contour line. Obtaining multiple water system lines of the area to be identified and the contour lines corresponding to each water system line can be achieved through a digital elevation model. A digital elevation model (DEM) is a geographic information system used to describe the topography of the surface of the area to be identified. The digital simulation of the ground terrain of the area to be identified is achieved through limited terrain elevation attribute values, that is, the digital expression of the terrain surface morphology.
[0060] Exemplarily, a digital elevation model (DEM) is used to describe the topography of the surface of the area to be identified, and multiple water lines contained in the area to be identified and the contour lines corresponding to each water line are extracted through elevation attribute values.
[0061] Step S102, controlling a plurality of idle computing node machines to extract the intersection node of each water system line through parallel computing, and generating distribution nodes on each water system line.
[0062] Specifically, an intersection node refers to the endpoint of each water system line that connects at least two water system lines other than its own water system line. This endpoint is the intersection node. A distribution node refers to a discrete interval divided into sections on a water system line according to a preset method, and the endpoint of each discrete interval is a distribution node.
[0063] The main controller can be implemented by a main control computer, and the main control computer includes an engine management center. The engine management center is also used to monitor the load status of multiple computing node machines. When the engine management center monitors that the load status of the computing node machine is not 0, it determines that the computing node machine is in a busy state; when the engine management center monitors that the load status of the computing node machine is 0, it determines that the computing node machine is an idle computing node machine. Exemplarily, the engine management center will extract the intersection node of each water system line, and generate distribution nodes on each water system line as a task to be calculated and published. When the load status of the computing node machine is not 0, which is a busy state, the main control computer does not assign tasks to be calculated. When the load status of the computing node machine is 0, which is an idle state, the computing node machine is determined to be an idle computing node machine, and the main control computer assigns tasks to be calculated to the idle computing node machine.
[0064] Step S103, marking the intersection nodes and distribution nodes as dam site nodes.
[0065] Specifically, the dam site node refers to the section where water-blocking structures can be built on the planned river section. A dam site node contains several dam lines suitable for building supporting water-blocking structures and reservoirs. The intersection nodes and distribution nodes generated in step S102 are marked as dam site nodes, providing a basis for the subsequent selection of the final reservoir dam line.
[0066] Step S104, controlling a plurality of idle computing node machines to generate reservoir dam lines corresponding to dam site nodes based on contour lines through parallel computing.
[0067] Specifically, the reservoir dam line is the dam axis of the reservoir dam. Contour lines are closed curves formed by connecting adjacent points with equal elevation attribute values (equal altitudes) on a topographic map. For example, the altitude of each dam site node can be extracted based on the contour lines, and the reservoir dam line of the dam site node can be generated based on the dam axis.
[0068] Step S105, controlling multiple idle computing node machines to read the reservoir dam line through parallel computing, retaining the reservoir dam line that meets the preset threshold of the terrain characteristic parameter, and using the retained reservoir dam line as the reservoir dam site.
[0069] Specifically, the terrain characteristic parameters may include the storage capacity ratio coefficient and the reservoir surface shape coefficient of the reservoir dam line. The engine management center of the main control computer will determine the reservoir dam site as a task to be calculated, and distribute it to multiple idle computing node machines respectively. Each idle computing node machine will compare the relationship between the storage capacity ratio coefficient and the reservoir surface shape coefficient of the corresponding reservoir dam line and the preset threshold value of the storage capacity ratio coefficient and the preset threshold value of the reservoir surface shape coefficient, and retain the reservoir dam line that meets the preset threshold value of the storage capacity ratio coefficient and the preset threshold value of the reservoir surface shape coefficient. The retained reservoir dam line will be used as the final reservoir dam site, providing a dam site foundation for the subsequent construction of water-blocking structures and reservoirs.
[0070] The parallel calculation method for reservoir site selection provided in this embodiment controls multiple idle computing node machines to generate distributed nodes through parallel calculation, calculates the reservoir dam line corresponding to the dam site node based on the contour line, and reads the reservoir dam line, retains the reservoir dam line that meets the preset threshold of the terrain feature parameter, so that multiple idle computing node machines can process the tasks to be calculated at the same time, which greatly improves the efficiency of reservoir site selection, shortens the time of reservoir site selection, and solves the problem of large computing workload and extremely low efficiency of reservoir site selection.
[0071] In this embodiment, a parallel calculation method for reservoir site selection is provided, which can be used for the above-mentioned main controller. Figure 2 is a flow chart of a parallel calculation method for reservoir site selection according to an embodiment of the present invention. Figure 2 As shown, the process includes the following steps:
[0072] Step S201, obtaining multiple water system lines of the area to be identified and the contour lines corresponding to each water system line.
[0073] Specifically, the above step S201 includes:
[0074] Step S2011, obtaining the elevation attribute value of the area to be identified.
[0075] Specifically, the elevation attribute value of the area to be identified refers to the altitude value of the area to be identified, and the elevation attribute value of the area to be identified can be obtained by using a digital elevation model (Digital Elevation Model, DEM for short).
[0076] Step S2012, based on the elevation attribute value and using a geographic information system, extract multiple water system lines and contour lines corresponding to each water system line in the area to be identified.
[0077] Specifically, a digital elevation model (DEM) in the geographic information system is used to describe the topography of the surface of the area to be identified, and multiple water lines contained in the area to be identified and the contour lines corresponding to each water line are extracted through the elevation attribute values.
[0078] Step S202, controlling a plurality of idle computing node machines to extract the intersection node of each water system line through parallel computing, and generating distribution nodes on each water system line.
[0079] Specifically, the above step S202 includes:
[0080] Step S2021, read each water system line one by one, and calculate the intersection node of each water system line as the first task to be calculated and distribute it to multiple idle computing node machines respectively.
[0081] Specifically, the main controller can be implemented by a main control computer, and the main control computer includes an engine management center. Exemplarily, the engine management center reads each water system line one by one, and calculates the intersection node of each water system line as the first task to be calculated and publishes it. When the load state of the computing node machine is not 0, which is a busy state, the main control computer does not assign the first task to be calculated. When the load state of the computing node machine is 0, which is an idle state, the computing node machine is determined to be an idle computing node machine, and the main control computer assigns the first task to be calculated to the idle computing node machine.
[0082] Step S2022, control multiple idle computing nodes to extract the two endpoints of the corresponding water system line in the first task to be calculated, and determine the intersection node according to the number of water system lines other than the water system line itself connected by the two endpoints of each water system line.
[0083] Specifically, when multiple idle computing node machines all have the first task to be calculated, multiple idle computing node machines can be controlled to read the water system lines in the first task to be calculated through parallel computing, so that all water system lines in the area can be traversed, and the two endpoints of each water system line can be extracted, and it is determined whether the number of water system lines other than its own water system line connected to each endpoint is greater than 1. If it is greater than 1, the endpoint is determined to be an intersection node. Otherwise, it is not determined to be an intersection node.
[0084] It should be noted that in addition to the intersection nodes, there are also exit nodes and river source nodes. The two ends of the same water system line with a larger elevation attribute value are taken as the starting point of the water system line, and the one with a smaller elevation attribute value is taken as the end point of the water system line. When the end point of a water system line is connected to a water system line other than its own water system line, the end point is determined to be an exit node; when the starting point of a water system line is connected to a water system line other than its own water system line, the starting point is determined to be a river source node.
[0085] Step S2023, using an equally spaced uniform discretization algorithm to divide the water system line between its two end points into multiple discrete intervals along the water system line, and using the endpoints of each discrete interval as distribution nodes.
[0086] Specifically, the equal-interval uniform discretization algorithm is also called the equal-width method. It is an algorithm that converts continuous data into discrete data. A continuous line segment is formed between the two end points of the water system line. Along the direction of the water system line, the equal-interval uniform discretization algorithm is used to evenly divide the continuous line segment between the two end points of the water system line into multiple discrete intervals of equal width, and the endpoints of each discrete interval are used as distribution nodes.
[0087] Step S2024: when the length between the two end points of the water system line is less than the discrete spacing, the midpoint of the water system line is used as a distribution node.
[0088] Specifically, when the continuous line segment formed between the two end points of the water system line is smaller than the discrete interval divided in step S2023, it means that the water system line segment is shorter. Therefore, the midpoint of the water system line is used as the distribution node. The division method of the distribution node is more flexible and convenient for generating distribution nodes.
[0089] Step S203: Mark the intersection node and the distribution node as dam site nodes. Figure 1 Step S103 of the illustrated embodiment will not be described in detail here.
[0090] Step S204, control multiple idle computing nodes to generate reservoir dam lines corresponding to dam site nodes based on contour lines through parallel computing. Figure 1 Step S104 of the illustrated embodiment will not be described in detail here.
[0091] Step S205, control multiple idle computing nodes to read the reservoir dam line through parallel computing, retain the reservoir dam line that meets the preset threshold of the terrain characteristic parameter, and use the retained reservoir dam line as the reservoir dam site. Figure 1 Step S105 of the illustrated embodiment will not be described in detail here.
[0092] The parallel calculation method for reservoir site selection provided in this embodiment can quickly extract multiple water system lines and contour lines corresponding to each water system line in the area to be identified by using the elevation attribute value of the area to be identified, and provide a basis for the subsequent extraction of intersection nodes of water system lines by controlling multiple idle computing nodes to extract the two end points of the corresponding water system line in the first task to be calculated, and determine the intersection nodes according to the number of water system lines other than its own water system line connected by the two end points of each water system line, thereby improving the efficiency of intersection node extraction and reducing the amount of calculated data. By using an equidistant uniform discretization algorithm to divide the water system line into multiple discrete intervals to generate distribution nodes along the water system line between the two end points of the water system line, and when the length between the two end points of the water system line is less than the discrete interval, the midpoint of the water system line is used as the distribution node, the purpose of accurately generating distribution nodes is achieved, and the generation of intersection nodes and distribution nodes provides a basis for the subsequent determination of dam site nodes.
[0093] In this embodiment, a parallel calculation method for reservoir site selection is provided, which can be used for the above-mentioned main controller. Figure 3 is a flow chart of a parallel calculation method for reservoir site selection according to an embodiment of the present invention. Figure 3 As shown, the process includes the following steps:
[0094] Step S301, obtain multiple water system lines and contour lines corresponding to each water system line in the area to be identified. Figure 2 Step S201 of the illustrated embodiment will not be described in detail here.
[0095] Step S302: Control multiple idle computing nodes to extract the intersection nodes of each water system line through parallel computing, and generate distribution nodes on each water system line. Figure 2 Step S202 of the illustrated embodiment will not be described in detail here.
[0096] Step S303: Mark the intersection node and the distribution node as dam site nodes. Figure 2 Step S203 of the illustrated embodiment will not be described in detail here.
[0097] Step S304, controlling a plurality of idle computing node machines to generate reservoir dam lines corresponding to dam site nodes based on contour lines through parallel computing.
[0098] Specifically, the above step S304 includes:
[0099] Step S3041, read each dam site node one by one, and generate a reservoir dam line corresponding to the dam site node as a second task to be calculated and distribute it to multiple idle computing node machines respectively.
[0100] Specifically, the main controller can be implemented by a main control computer, and the main control computer includes an engine management center. The engine management center reads each dam site node one by one, and publishes the reservoir dam line corresponding to the dam site node as the second task to be calculated. When the load state of the computing node machine is not 0, which is a busy state, the main control computer does not allocate the second task to be calculated. When the load state of the computing node machine is 0, which is an idle state, the computing node machine is determined to be an idle computing node machine, and the main control computer allocates the second task to be calculated to the idle computing node machine.
[0101] Step S3042, control multiple idle computing nodes to read the corresponding dam site nodes in the second task to be calculated, and generate an initial dam line perpendicular to the direction of the water system line at the corresponding dam site nodes based on the contour lines.
[0102] Specifically, when multiple idle computing node machines have a second task to be calculated, the multiple idle computing node machines can be controlled to read the corresponding dam site nodes in the second task to be calculated through parallel computing. The altitude of each contour line is the same. With the dam site node as the foot of the perpendicular, a perpendicular line of each water system line is drawn on each contour line. This perpendicular line is the initial dam line, that is, the initial dam line is generated at the corresponding dam site node based on the contour line, perpendicular to the direction of the water system line.
[0103] Step S3043, control multiple idle computing node machines to rotate the initial dam line in clockwise and counterclockwise directions for a preset number of times according to preset rotation angles based on contour lines with the corresponding dam site node as the center through parallel calculation, and use each rotation trajectory as a comparison dam line.
[0104] Specifically, the preset number of times is set according to actual conditions, and no specific restrictions are made here. N represents the preset number of times, and multiple idle computing node machines are controlled to rotate the initial dam line N times in a clockwise direction with the corresponding dam site node as the center through parallel computing, and each rotation angle is α°, and the initial dam line is rotated N times in a counterclockwise direction, and each rotation angle is α°, and each rotation trajectory is used as a comparison dam line. Where α×N<180°.
[0105] Step S3044, calculate the limit storage capacity of the initial dam line and the comparison dam line, and take the dam line corresponding to the maximum limit storage capacity as the reservoir dam line. Specifically, control multiple idle computing nodes to calculate the limit storage capacity V of the initial dam line and the comparison dam line in parallel. max Calculate and take the dam line corresponding to the maximum limit storage capacity as the reservoir dam line. Among them: calculate the limit storage capacity corresponding to the initial dam line and the comparison dam line, including:
[0106] Step a1, starting from the dam site node and extending to both ends of the dam line, calculate the intersection points between the dam line and the contour lines, and set the contour lines that have more than one intersection point with the same contour line as the water level line, and the number of water level lines corresponding to the dam line is recorded as I;
[0107] Step a2, respectively construct the contour surfaces formed by the intersection and closure of the dam line and all the corresponding water level lines, and calculate the area Si (i=1, 2, ..., I) of each contour surface;
[0108] Step a3, using the prism volume formula to calculate the water level-area-storage capacity relationship curve of the dam line, where the storage capacity is recorded as Vi (i=1, 2, ..., I);
[0109] Step a4: Calculate the virtual dam height H' corresponding to each water level i (i=1,2,…,I), virtual dam length L' i (i=1,2,…,I), virtual dam height H' i According to the following calculation, H' i =Z i Z 0 Virtual dam length L' i is the length between the two intersection points of the i-th dam line and the contour line.
[0110] Among them, Z i is the elevation attribute value of the i-th (i=1, 2,…, I) water level line in the water level-area-reservoir capacity relationship curve, Z 0 It is the minimum elevation attribute value of the water level line in the water level-area-reservoir capacity relationship curve.
[0111] Step a5, calculate the corresponding maximum dam height H' of the dam line using the following formula max , Maximum dam length L' max and the limiting storage capacity Vmax :
[0112]
[0113] Where: i * The number of the water level line that meets the requirements of maximum dam height and maximum dam length, i * =1,2,…,I;H' i , L' i is the virtual dam height and virtual dam length corresponding to the i-th water level line; HH' max LL' max is the preset maximum dam height and maximum dam length limit value, which is determined based on engineering experience and resource conditions in the area; H' max , L' max are the maximum dam height and maximum dam length calculated for the reservoir respectively.
[0114] Limit storage capacity V max is the i-th * The reservoir capacity value corresponding to the water level line.
[0115] Step S305, controlling multiple idle computing node machines to read the reservoir dam line through parallel computing, retaining the reservoir dam line that meets the preset threshold of the terrain characteristic parameter, and using the retained reservoir dam line as the reservoir dam site.
[0116] Specifically, the preset thresholds of the terrain characteristic parameters include a reservoir capacity ratio coefficient λ threshold and a reservoir surface shape coefficient θ threshold. The reservoir capacity ratio coefficient λ threshold and the reservoir surface shape coefficient θ threshold are set according to actual conditions and are not specifically limited here.
[0117] The above step S305 includes:
[0118] Step S3051, read each reservoir dam line one by one, and determine the reservoir dam site as the third task to be calculated and distribute it to multiple idle computing node machines respectively.
[0119] Specifically, the main controller can be implemented by a main control computer, and the main control computer includes an engine management center. The engine management center reads each reservoir dam line one by one, and publishes the determination of the reservoir dam site as the third task to be calculated. When the load state of the computing node machine is not 0, which is a busy state, the main control computer does not allocate the third task to be calculated. When the load state of the computing node machine is 0, which is an idle state, the computing node machine is determined to be an idle computing node machine, and the main control computer allocates the third task to be calculated to the idle computing node machine.
[0120] Step S3052, control multiple idle computing node machines to read the corresponding reservoir dam line in the third task to be calculated, and calculate the storage capacity ratio coefficient and reservoir surface shape coefficient of the reservoir dam line.
[0121] In some optional implementations, the above step S3052 includes:
[0122] Step b1, control multiple idle computing nodes to read the reservoir dam line corresponding to the third task to be calculated, obtain the maximum storage capacity of the reservoir dam line, the minimum limit of the maximum storage capacity, the area of the water level line corresponding to the reservoir dam line and the maximum dam length of the reservoir dam line.
[0123] Specifically, when multiple idle computing node machines all have the third task to be calculated, multiple idle computing node machines can be controlled to read the reservoir dam line corresponding to the third task to be calculated through parallel computing to obtain the limit storage capacity V of the reservoir dam line. max (is the i-th * The storage capacity corresponding to the water level line), the minimum limit of the limit storage capacity The area S of the reservoir dam line corresponding to the water level line max and the maximum dam length L' of the reservoir dam line max (Calculated by formula (1)).
[0124] Step b2, calculating the storage capacity ratio coefficient based on the limit storage capacity and the minimum limit value of the limit storage capacity.
[0125] Specifically, the storage capacity ratio coefficient λ is obtained by the following formula:
[0126]
[0127] Where: V max is the limit storage capacity of the reservoir dam line, It is the minimum limit of the ultimate storage capacity.
[0128] Step b3, calculating the reservoir surface shape coefficient based on the area of the reservoir dam line corresponding to the water level line and the maximum dam length of the reservoir dam line.
[0129] Specifically, the storage surface morphology coefficient θ is obtained by the following formula:
[0130]
[0131] Where: S max is the area of the reservoir dam line corresponding to the water level line, obtained according to the water level ~ area ~ reservoir capacity relationship curve, L' max It is the maximum dam length of the reservoir dam line.
[0132] Step S3053, retaining the reservoir dam line that meets the reservoir capacity ratio coefficient threshold and the reservoir surface shape coefficient threshold, and using the retained reservoir dam line as the reservoir dam site.
[0133] Specifically, for example, the preset reservoir capacity ratio coefficient threshold is 2, and the reservoir surface shape coefficient threshold is 3. The reservoir dam line that meets the reservoir capacity ratio coefficient threshold 2 and the reservoir surface shape coefficient threshold 3 is retained, and the reservoir dam site of this reservoir dam line is recorded as the final dam site suitable for the construction of water-blocking structures and reservoirs.
[0134] The parallel calculation method for reservoir site selection provided in this embodiment controls multiple idle computing node machines to generate an initial dam line, compare dam lines and calculate the ultimate storage capacity of the reservoir on the initial dam line and the comparison dam line based on contour lines at the corresponding dam site node perpendicular to the water system line through parallel calculation, and uses the dam line corresponding to the reservoir with the largest ultimate storage capacity as the reservoir dam line, so that multiple idle computing node machines work simultaneously and perform parallel calculations, thereby improving the efficiency of generating the reservoir dam line, reducing the amount of calculation data, and shortening the generation time of the reservoir dam line. By controlling multiple idle computing node machines to calculate the storage capacity ratio coefficient and the reservoir surface shape coefficient of the reservoir dam line, and comparing the calculated storage capacity ratio coefficient and the reservoir surface shape coefficient of the reservoir dam line with the corresponding preset thresholds, the reservoir dam line that meets the requirements is finally selected as the final reservoir dam site, so that the reservoir dam line that meets the requirements can be accurately determined, the efficiency of reservoir site selection is improved, and a basis is provided for the subsequent actual construction of the reservoir.
[0135] It should be noted that the embodiments of the present invention control multiple idle computing nodes to perform parallel computing, including the following situations, which are as follows:
[0136] When the number of pending computing tasks to be processed is the same as the number of idle computing node machines, one pending computing task is assigned to each idle computing node machine, and computing can be performed simultaneously. For example, if there are 10 pending computing tasks to be processed, then there are 10 corresponding idle computing node machines, and one pending computing task is assigned to each idle computing node machine. At this time, all 10 computing node machines have computing tasks and can perform computing simultaneously, which improves computing efficiency.
[0137] When the number of pending tasks to be processed is inconsistent with the number of idle computing node machines, at least one pending task needs to be allocated according to the number of idle computing node machines, and the pending tasks need to be added to the task buffer until all pending tasks are allocated and processed. For example, there are 9 pending tasks to be processed, but there are only 3 idle computing node machines. After allocating 1 pending task to each idle computing node machine, there are 6 pending tasks left. At this time, the remaining 6 pending tasks are waiting to be allocated. If a computing node machine has processed the task and is idle, one of the 6 pending tasks will be allocated to this idle computing node machine. At this time, there are 5 pending tasks left, and so on, until all pending tasks are allocated and processed. For the same pending task, the pending tasks can be allocated to the idle computing node machines on average. For different pending tasks, the computing node machines take different time to process the tasks, so they are not allocated evenly according to the number of pending tasks.
[0138] In the present embodiment, a parallel computing device for reservoir site selection is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the term "module" can implement a combination of software and / or hardware of a predetermined function. Although the device described in the following embodiments is preferably implemented in software, the implementation of hardware, or a combination of software and hardware is also possible and conceived.
[0139] This embodiment provides a parallel computing device for reservoir site selection, such as Figure 4 As shown, including:
[0140] The acquisition module 401 is used to acquire multiple water system lines and contour lines corresponding to each water system line in the area to be identified.
[0141] The extraction and generation module 402 is used to control multiple idle computing node machines to extract the intersection node of each water system line through parallel computing, and generate distribution nodes on each water system line.
[0142] The marking module 403 is used to mark the intersection nodes and distribution nodes as dam site nodes.
[0143] The generation module 404 is used to control a plurality of idle computing node machines to generate a reservoir dam line corresponding to a dam site node based on the contour line through parallel calculation.
[0144] The screening module 405 is used to control multiple idle computing nodes to read the reservoir dam lines through parallel computing, retain the reservoir dam lines that meet the preset threshold of the terrain characteristic parameters, and use the retained reservoir dam lines as the reservoir dam sites.
[0145] In some optional implementations, the acquisition module 401 includes:
[0146] The first acquisition unit is used to acquire the elevation attribute value of the area to be identified.
[0147] The first extraction unit is used to extract multiple water system lines and contour lines corresponding to each water system line in the area to be identified based on the elevation attribute value and using a geographic information system.
[0148] In some optional implementations, the extraction generation module 402 includes:
[0149] The first computing unit is used to read each water system line one by one, and calculate the intersection node of each water system line as the first task to be calculated and distribute it to multiple idle computing node machines respectively.
[0150] The second extraction unit is used to control multiple idle computing node machines to extract the two endpoints of the corresponding water system line in the first task to be calculated, and determine the intersection node according to the number of water system lines other than its own water system line connected by the two endpoints of each water system line.
[0151] The first generating unit is used to divide the water system line between the two end points into a plurality of discrete intervals along the water system line by using an equally spaced uniform discretization algorithm, and use the end point of each discrete interval as a distribution node.
[0152] The second generating unit is used to use the midpoint of the water system line as a distribution node when the length between the two end points of the water system line is less than the discrete spacing.
[0153] In some optional implementations, the generating module 404 includes:
[0154] The first allocation unit is used to read each dam site node one by one, and allocate the reservoir dam line corresponding to the dam site node as the second task to be calculated to multiple idle computing node machines respectively.
[0155] The third generating unit is used to control a plurality of idle computing nodes to read the corresponding dam site nodes in the second task to be calculated, and generate an initial dam line perpendicular to the direction of the water system line at the corresponding dam site nodes based on the contour lines.
[0156] The fourth generation unit is used to control multiple idle computing node machines to rotate the initial dam line in clockwise and counterclockwise directions for a preset number of times according to a preset rotation angle based on the contour lines with the corresponding dam site node as the center, and use each rotation trajectory as a comparison dam line.
[0157] The second calculation unit is used to calculate the ultimate storage capacity of the initial dam line and the comparison dam line, and take the dam line corresponding to the maximum ultimate storage capacity as the reservoir dam line.
[0158] In some optional implementations, the screening module 405 includes:
[0159] The second allocation unit is used to read each reservoir dam line one by one, and allocate the determination of the reservoir dam site as the third task to be calculated to multiple idle computing node machines respectively.
[0160] The third computing unit is used to control a plurality of idle computing node machines to read the corresponding reservoir dam line in the third task to be calculated, and calculate the storage capacity ratio coefficient and the reservoir surface shape coefficient of the reservoir dam line;
[0161] The screening unit is used to retain the reservoir dam line that meets the reservoir capacity ratio coefficient threshold and the reservoir surface shape coefficient threshold, and use the retained reservoir dam line as the reservoir dam site.
[0162] In some optional implementations, the third computing unit includes:
[0163] The second acquisition unit is used to control multiple idle computing nodes to read the reservoir dam line corresponding to the third task to be calculated, and obtain the limit storage capacity of the reservoir dam line, the minimum limit value of the limit storage capacity, the area of the water level line corresponding to the reservoir dam line, and the maximum dam length of the reservoir dam line;
[0164] A fourth calculation unit, used for calculating a storage capacity ratio coefficient based on the limit storage capacity and the minimum limit value of the limit storage capacity;
[0165] The fifth calculation unit is used to calculate the reservoir surface shape coefficient based on the area of the water level line corresponding to the reservoir dam line and the maximum dam length of the reservoir dam line.
[0166] The further functional description of each of the above modules and units is the same as that of the above corresponding embodiments and will not be repeated here.
[0167] The parallel computing device for reservoir site selection in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.
[0168] The embodiment of the present invention also provides a computer device having the above Figure 4 The parallel computing device for reservoir site selection is shown.
[0169] See also Figure 5 , Figure 5 is a schematic diagram of the structure of a computer device provided by an optional embodiment of the present invention, such as Figure 5As shown, the computer device includes: one or more processors 10, a memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. Various components are connected to each other using different buses for communication, and can be installed on a common mainboard or installed in other ways as needed. The processor can process the instructions executed in the computer device, including instructions stored in or on the memory to display the graphical information of the GUI on an external input / output device (such as, a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple computer devices can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Figure 5 A processor 10 is taken as an example.
[0170] The processor 10 may be a central processing unit, a network processor or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be a dedicated integrated circuit, a programmable logic device or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic or any combination thereof.
[0171] The memory 20 stores instructions executable by at least one processor 10, so that the at least one processor 10 executes the method shown in the above embodiment.
[0172] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the computer device, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 20 may optionally include a memory remotely arranged relative to the processor 10, and these remote memories may be connected to the computer device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0173] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid state drive; the memory 20 may also include a combination of the above types of memory.
[0174] The computer device also includes an input device 30 and an output device 40. The processor 10, the memory 20, the input device 30 and the output device 40 may be connected via a bus or other means. Figure 5 The example of connecting through bus is taken in the following.
[0175] The input device 30 can receive input digital or character information, and generate key signal input related to the user settings and function control of the computer device, such as a touch screen, a keypad, a mouse, a track pad, a touch pad, an indicator bar, one or more mouse buttons, a trackball, a joystick, etc. The output device 40 may include a display device, an auxiliary lighting device (e.g., an LED) and a tactile feedback device (e.g., a vibration motor), etc. The above-mentioned display device includes but is not limited to a liquid crystal display, a light emitting diode, a display and a plasma display. In some optional embodiments, the display device can be a touch screen.
[0176] The embodiment of the present invention also provides a computer-readable storage medium. The method according to the embodiment of the present invention can be implemented in hardware, firmware, or can be implemented as a computer code that can be recorded in a storage medium, or can be implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium through a network download, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state hard disk, etc.; further, the storage medium can also include a combination of the above types of memories. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor, or hardware, the method shown in the above embodiment is implemented.
[0177] Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations are all within the scope defined by the appended claims.
Claims
1. A parallel computing method for reservoir site selection, characterized in that: Applied in a main controller, the method comprises: Obtain multiple water system lines of the area to be identified and the contour lines corresponding to each water system line; Control multiple idle computing nodes to extract the intersection nodes of each water system line through parallel computing, and generate distribution nodes on each water system line; Marking the intersection nodes and distribution nodes as dam site nodes; Control multiple idle computing nodes to generate reservoir dam lines corresponding to dam site nodes based on contour lines through parallel computing; Control multiple idle computing node machines to read the reservoir dam line through parallel computing, retain the reservoir dam line that meets the preset threshold of the terrain characteristic parameter, and use the retained reservoir dam line as the reservoir dam site.
2. The method according to claim 1, characterized in that The step of obtaining a plurality of water system lines of the area to be identified and the contour lines corresponding to each water system line comprises: Get the elevation attribute value of the area to be identified; Based on the elevation attribute value, a plurality of water system lines and contour lines corresponding to each water system line in the area to be identified are extracted using a geographic information system.
3. The method according to claim 1, characterized in that The controlling of a plurality of idle computing nodes to extract the intersection node of each water system line through parallel computing comprises: Read each water system line one by one, and calculate the intersection node of each water system line as the first task to be calculated and distribute it to multiple idle computing node machines respectively; Control multiple idle computing nodes to extract the two end points of the corresponding water system line in the first task to be calculated, and determine the intersection node according to the number of other water system lines connected by the two end points of each water system line except the water system line itself.
4. The method according to claim 1, characterized in that: The distribution nodes generated on each water system line include: Divide the water system line between the two end points into multiple discrete intervals using an equidistant uniform discretization algorithm, and use the endpoints of each discrete interval as distribution nodes; When the length between the two end points of a water system line is less than the discrete spacing, the midpoint of the water system line is used as a distribution node.
5. The method according to claim 1, characterized in that The controlling of a plurality of idle computing nodes to generate a reservoir dam line corresponding to a dam site node based on contour lines through parallel computing comprises: Read each dam site node one by one, and distribute the reservoir dam line corresponding to the dam site node as the second task to be calculated to multiple idle computing node machines respectively; Control multiple idle computing nodes to read the corresponding dam site nodes in the second task to be calculated, and generate an initial dam line perpendicular to the water system line direction at the corresponding dam site nodes based on the contour lines; Control multiple idle computing node machines based on the contour lines with the corresponding dam site node as the center, rotate the initial dam line in the clockwise direction and the counterclockwise direction for a preset number of times according to the preset rotation angle, and use each rotation trajectory as a comparison dam line; The ultimate storage capacities of the initial dam line and the comparison dam line are calculated, and the dam line corresponding to the maximum ultimate storage capacity is taken as the reservoir dam line.
6. The method according to claim 1, characterized in that The preset thresholds of the terrain characteristic parameters include a reservoir capacity ratio coefficient threshold and a reservoir surface morphology coefficient threshold; The controlling of a plurality of idle computing nodes to read the reservoir dam line through parallel computing, retaining the reservoir dam line that meets the preset threshold of the terrain characteristic parameter, and using the retained reservoir dam line as the reservoir dam site comprises: Read each reservoir dam line one by one, and assign the determination of the reservoir dam site as the third task to be calculated to multiple idle computing node machines; Controlling a plurality of idle computing node machines to read the corresponding reservoir dam line in the third task to be calculated, and calculating the storage capacity ratio coefficient and the reservoir surface shape coefficient of the reservoir dam line; The reservoir dam line that meets the reservoir capacity ratio coefficient threshold and the reservoir surface shape coefficient threshold is retained, and the retained reservoir dam line is used as the reservoir dam site.
7. The method according to claim 6, characterized in that The controlling of the plurality of idle computing nodes to read the corresponding reservoir dam line in the third task to be calculated, and calculating the storage capacity ratio coefficient and the reservoir surface shape coefficient of the reservoir dam line comprises: Control multiple idle computing nodes to read the reservoir dam line corresponding to the third task to be calculated, and obtain the limit storage capacity of the reservoir dam line, the minimum limit of the limit storage capacity, the area of the water level line corresponding to the reservoir dam line, and the maximum dam length of the reservoir dam line; Calculating a storage capacity ratio coefficient based on the limit storage capacity and the minimum limit value of the limit storage capacity; The reservoir surface shape coefficient is calculated based on the area of the water level line corresponding to the reservoir dam line and the maximum dam length of the reservoir dam line.
8. A parallel computing device for reservoir site selection, characterized in that: Applied in a main controller, the device comprises: An acquisition module, used to acquire multiple water system lines of the area to be identified and contour lines corresponding to each water system line; The extraction and generation module is used to control multiple idle computing nodes to extract the intersection nodes of each water system line through parallel computing, and generate distribution nodes on each water system line; A marking module, used for marking the intersection node and the distribution node as a dam site node; A generation module, used for controlling a plurality of idle computing node machines to generate a reservoir dam line corresponding to a dam site node based on contour lines through parallel calculation; The screening module is used to control multiple idle computing node machines to read the reservoir dam line through parallel computing, retain the reservoir dam line that meets the preset threshold of the terrain characteristic parameter, and use the retained reservoir dam line as the reservoir dam site.
9. A computer device, characterized in that: include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the parallel calculation method for reservoir site selection according to any one of claims 1 to 7 by executing the computer instructions.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the parallel calculation method for reservoir site selection according to any one of claims 1 to 7.
Citation Information
Cited By
Pumped storage station rapid general selection method and equipment based on hierarchical clustering and parallel computing and storage medium
CN119863043A
Pumped storage reservoir intelligent site selection method and system based on python
CN119992338A
