Reservoir auxiliary dam site selection method, device, computer equipment and storage medium
By cutting the dam axis extension line and the initial watershed line of the main dam, the location of the reservoir sub-dam is determined, and the problem of low efficiency and accuracy of the sub-dam site selection in the existing technology is solved, and a more efficient site selection of the sub-dam of the reservoir is achieved.
Patent Information
- Application Number
- CN202411022517.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-29
- Publication Date
- 2024-11-05
- Estimated Expiration
- 2044-07-29
AI Technical Summary
In the prior art, the site selection of the secondary dam of the reservoir relies on manual experience, has low efficiency and accuracy, and lacks mature standardized solutions.
By cutting the initial watershed line according to the dam axis extension line of the main dam, the target watershed line and the target curve are determined, and the secondary dam location is determined using data points with the same elevation and different starting points in the target curve. It is performed using computer equipment and storage media Relevant computer instructions to select the site.
It improves the efficiency and accuracy of site selection of reservoir sub-dams, overcomes the shortcomings of relying on manual experience, and provides a standardized site selection method.
Smart Images

Figure CN118552557B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to a reservoir auxiliary dam site selection method, device, computer equipment and storage medium. Background Art
[0002] As an important water conservancy project, reservoirs can be used for flood control, water storage for irrigation, water supply, power generation, etc. In the actual design process of reservoir dams, the main dam, as the main water retaining dam, is the core part of the entire water retaining structure. Most of the relevant technologies are aimed at the site selection of the main dam, and the site selection of the auxiliary dam is less considered. At present, the location of the auxiliary dam is mainly identified and predicted by manual experience, and there is no mature standardized solution. Relying on manual experience to select the site of the auxiliary dam is inefficient and inaccurate.
[0003] Therefore, how to improve the efficiency and accuracy of reservoir auxiliary dam site selection has become a technical problem that technical personnel in this field need to solve urgently. Summary of the invention
[0004] In view of this, the present invention provides a method, device, computer equipment and storage medium for selecting a reservoir auxiliary dam site to solve the problem in the related art that the location of the auxiliary dam is predicted based on manual experience, which is inefficient and has low accuracy.
[0005] In a first aspect, the present invention provides a method for selecting a site for a reservoir auxiliary dam, comprising:
[0006] Determine the initial watershed line based on the digital elevation model of the target area where the main dam is located;
[0007] The initial watershed line is cut according to the extension line of the dam axis of the main dam to obtain a target watershed line; the target watershed line is the watershed line within the reservoir to which the main dam belongs;
[0008] Determine a target curve corresponding to the target watershed line, wherein the target curve represents a corresponding relationship between a starting point distance and an elevation;
[0009] When there is at least one set of target data in the target curve, determining the position of the corresponding auxiliary dam according to each set of target data;
[0010] The target data are data points in the target curve with the same elevation and different starting point distances.
[0011] In an optional implementation, before the initial watershed line is cut according to the extension line of the dam axis of the main dam, the method further includes:
[0012] The axis of the main dam is extended to intersect with the initial watershed line to obtain an extension line of the axis of the main dam.
[0013] In an optional implementation, determining the target curve corresponding to the target watershed line includes:
[0014] Taking the intersection of the extension line of the dam axis of the main dam and the initial watershed line as the starting point, the starting point distance and elevation corresponding to the target watershed line are plotted in the target coordinate system to obtain the target curve corresponding to the target watershed line; the horizontal axis of the target coordinate system is related to the starting point distance, and the vertical axis is related to the elevation.
[0015] In an optional implementation, determining the position of the corresponding auxiliary dam according to each set of target data includes:
[0016] Determine the coordinates of both ends of the dam axis of the corresponding auxiliary dam according to the starting point distance in each set of target data;
[0017] Determine the contour line corresponding to the elevation in each set of target data as the contour line where the dam axis of the corresponding auxiliary dam is located;
[0018] The coordinates of both ends of the dam axis are plotted on the contour line where the dam axis is located, and the coordinates of both ends of the dam axis are connected to determine the position of the corresponding auxiliary dam.
[0019] In an optional implementation, before determining the position of the corresponding auxiliary dam according to each set of target data, the method further includes:
[0020] The target curve is clipped according to a straight line with a preset elevation to determine whether there is at least one target contour; the preset value is less than or equal to the elevation corresponding to the maximum water level of the main dam; each target contour includes at least a portion of the straight line and at least a portion of the target curve; the elevation corresponding to at least a portion of the target curve is less than or equal to the preset value; each target contour is a closed contour; the scale index of the auxiliary dam corresponding to each target contour meets the preset index;
[0021] When it is determined that there is at least one target contour, the intersection points of the straight line and the target curve in each target contour are taken as a set of target data.
[0022] In an optional embodiment, the method further includes:
[0023] When it is determined that there is no target contour, the following steps are repeatedly performed until it is determined that there is at least one target contour:
[0024] The preset value is adjusted, and the target curve is clipped according to a straight line whose elevation is the adjusted preset value.
[0025] In an optional embodiment, the method further includes:
[0026] determining contour lines according to the digital elevation model;
[0027] Determine the intersection point of the extended line of the dam axis of the main dam and the contour line;
[0028] The contour lines that have more than one intersection with the same contour line are determined as water level lines;
[0029] Determine the size index of the dam corresponding to each water level;
[0030] Determine a target scale index among the scale indexes of the dam corresponding to each water level line; the target scale index is less than or equal to a preset threshold;
[0031] The elevation corresponding to the highest water level line among the water levels corresponding to the target scale index is determined as the elevation corresponding to the maximum water storage level of the main dam.
[0032] In a second aspect, the present invention provides a reservoir auxiliary dam site selection device, comprising:
[0033] The first processing module is used to determine the initial watershed line according to the digital elevation model of the target area where the main dam is located;
[0034] The second processing module is used to cut the initial watershed line according to the extension line of the dam axis of the main dam to obtain a target watershed line; the target watershed line is the watershed line within the reservoir to which the main dam belongs;
[0035] A third processing module is used to determine a target curve corresponding to the target watershed line, wherein the target curve represents a corresponding relationship between a starting point distance and an elevation;
[0036] a fourth processing module, configured to determine the position of the corresponding auxiliary dam according to each set of target data when there is at least one set of target data in the target curve;
[0037] The target data are data points in the target curve with the same elevation and different starting point distances.
[0038] 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 reservoir auxiliary dam site selection method of the first aspect or any corresponding embodiment thereof by executing the computer instructions.
[0039] 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 reservoir auxiliary dam site selection method of the first aspect or any corresponding embodiment thereof.
[0040] In a fifth aspect, the present invention provides a computer program product, comprising computer instructions for causing a computer to execute the reservoir auxiliary dam site selection method of the first aspect or any corresponding embodiment thereof.
[0041] The technical solution provided by the present invention has the following technical effects:
[0042] In the embodiment of the present invention, the initial watershed line is clipped by the extension line of the dam axis of the main dam to obtain the target watershed line, that is, the watershed line within the reservoir to which the main dam belongs. The relationship between the starting point distance and the elevation of the target watershed line is represented by a target curve. The position of the corresponding auxiliary dam is determined according to data points with the same elevation but different starting point distances on the target curve. The auxiliary dam position is predicted by the above scheme, which overcomes the deficiency in the related art that the site selection of the reservoir auxiliary dam must rely on manual experience, thereby improving the efficiency and accuracy of the site selection of the reservoir auxiliary dam. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] 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.
[0044] Figure 1 is a schematic flow chart of a method for selecting a reservoir auxiliary dam site according to an embodiment of the present invention;
[0045] Figure 2 is a schematic flow chart of another reservoir auxiliary dam site selection method according to an embodiment of the present invention;
[0046] Figure 3 is a schematic diagram of a target curve according to an embodiment of the present invention;
[0047] Figure 4 is a schematic flow chart of another reservoir auxiliary dam site selection method according to an embodiment of the present invention;
[0048] Figure 5 is a schematic diagram of a target profile according to an embodiment of the present invention;
[0049] Figure 6 is a structural block diagram of a reservoir auxiliary dam site selection device according to an embodiment of the present invention;
[0050] Figure 7 It is a schematic diagram of the hardware structure of a computer device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0051] 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.
[0052] In the actual design process of the reservoir dam, the main dam, as the main water retaining dam, is the core part of the entire water retaining structure. Most of the relevant technologies are aimed at the site selection of the main dam.
[0053] At present, in the process of reservoir planning and design, when considering the construction of auxiliary dams, the location of the auxiliary dam is mainly identified and selected based on manual experience, and there is no mature standardized solution.
[0054] Therefore, the present invention provides a method, device, computer equipment and storage medium for selecting a reservoir auxiliary dam site to solve the above-mentioned problems and improve the efficiency and accuracy of selecting a reservoir auxiliary dam site.
[0055] An embodiment of the present invention provides a method for selecting a site for a reservoir auxiliary dam. It should be noted that the steps shown in the flowchart in 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 this.
[0056] Figure 1 It is a schematic flow chart of a method for selecting a reservoir auxiliary dam site according to an embodiment of the present invention.
[0057] like Figure 1 As shown, a method for selecting a reservoir auxiliary dam site is provided in an embodiment of the present invention, and the method includes:
[0058] S101: Determine the initial watershed line based on the digital elevation model of the target area where the main dam is located.
[0059] In this embodiment, the water collection surface of the target area where the main dam is located is extracted according to the digital elevation model (DEM) of the target area where the main dam is located to determine the initial watershed line. The initial watershed line can be determined according to the digital elevation model of the target area where the main dam is located using analysis tools in related technologies, for example, the initial watershed line can be determined using the hydrological analysis function of ArcGis.
[0060] S102: The initial watershed line is cut according to the extension line of the dam axis of the main dam to obtain a target watershed line.
[0061] In this embodiment, the target watershed line is a watershed line within the reservoir to which the main dam belongs.
[0062] In this embodiment, the dam axis of the main dam is extended until it intersects with the initial watershed line, the initial watershed line is divided into multiple watershed lines, and the watershed line within the reservoir to which the main dam belongs is determined as the target watershed line.
[0063] S103: Determine a target curve corresponding to the target watershed line.
[0064] In this embodiment, the target curve represents the corresponding relationship between the starting point distance and the elevation.
[0065] In this embodiment, the starting point distance and the elevation corresponding to the target watershed line are collected, and the target curve corresponding to the target watershed line is generated according to the starting point distance and the elevation corresponding to the target watershed line.
[0066] S104: When there is at least one set of target data in the target curve, determine the position of the corresponding auxiliary dam according to each set of target data.
[0067] In this embodiment, the target data are data points in the target curve with the same elevation and different starting point distances.
[0068] In this embodiment, multiple starting point distances and the elevations corresponding to the multiple starting point distances can be obtained to obtain multiple discrete data points. The discrete data points can be fitted into a target curve by interpolation. The target data can be the original discrete data points or the data points obtained by interpolation.
[0069] In this embodiment, the elevation in the target data can be used as the upper water storage level of the auxiliary dam. One set of target data can determine the position of an auxiliary dam, and the number of auxiliary dams to be built can be determined based on the number of target data in the target curve. If there are three sets of target data in the target curve, it means that three auxiliary dams can be built, and the positions of the three auxiliary dams can be determined based on the three sets of target data. In this embodiment, there may be a situation where the auxiliary dam intersects with the main dam. For example, the end point of the axis of the auxiliary dam coincides with the end point of the axis of the main dam. When the above situation exists, the auxiliary dam that intersects with the main dam is still retained. In this embodiment, if there is no target data in the target curve, it indicates that there is no auxiliary dam. The scheme according to this embodiment can not only predict the position of the auxiliary dam, but also be used to determine whether an auxiliary dam can be built within the range of the reservoir to which the main dam belongs.
[0070] In the embodiment of the present invention, the initial watershed line is clipped by the extension line of the dam axis of the main dam to obtain the target watershed line, that is, the watershed line within the reservoir to which the main dam belongs. The relationship between the starting point distance and the elevation of the target watershed line is represented by a target curve. The position of the corresponding auxiliary dam is determined according to data points with the same elevation but different starting point distances on the target curve. The position of the auxiliary dam is predicted by the above scheme, which overcomes the deficiency in the related art that the site selection of the reservoir auxiliary dam must rely on manual experience, thereby improving the efficiency and accuracy of the site selection of the reservoir auxiliary dam.
[0071] Figure 2 It is a schematic flow chart of another reservoir auxiliary dam site selection method according to an embodiment of the present invention.
[0072] like Figure 2 As shown, a method for selecting a reservoir auxiliary dam site is provided in an embodiment of the present invention, and the method includes:
[0073] S201: Determine the initial watershed line according to the digital elevation model of the target area where the main dam is located. For details, refer to the relevant description of S101, which will not be repeated here.
[0074] S202: Extend the axis of the main dam to intersect with the initial watershed line to obtain an extension line of the axis of the main dam.
[0075] S203: The initial watershed line is cut according to the extension line of the dam axis of the main dam to obtain the target watershed line. For details, refer to the relevant description of S102, which will not be repeated here.
[0076] S204: Determine the target curve corresponding to the target watershed line. For details, refer to the relevant description of S103, which will not be repeated here.
[0077] S205: When there is at least one set of target data in the target curve, the position of the corresponding auxiliary dam is determined according to each set of target data. For details, refer to the relevant description of S104, which will not be repeated here.
[0078] In an optional implementation, S103: determining a target curve corresponding to the target watershed line specifically includes:
[0079] Taking the intersection of the extension line of the main dam axis and the initial watershed line as the starting point, the starting point distance and elevation corresponding to the target watershed line are plotted in the target coordinate system to obtain the target curve corresponding to the target watershed line. The horizontal axis of the target coordinate system is related to the starting point distance, and the vertical axis is related to the elevation.
[0080] In this embodiment, the intersection points of the extension line of the dam axis of the main dam and the initial watershed line include the left bank intersection point and the right bank intersection point. One of the left bank intersection point and the right bank intersection point is taken as the starting point, that is, one of the two end points of the target watershed line is taken as the starting point, and the target coordinate system is established with the starting point distance as the horizontal axis and the elevation as the vertical axis. Figure 3 is a schematic diagram of a target curve according to an embodiment of the present invention. The starting distance and elevation corresponding to the target watershed line are plotted in the target coordinate system to obtain the following: Figure 3 The target watershed line shown corresponds to the target curve.
[0081] In an optional implementation, S104: determining the position of the corresponding auxiliary dam according to each set of target data specifically includes:
[0082] Sa1: Determine the coordinates of both ends of the dam axis of the corresponding auxiliary dam according to the starting point distance in each set of target data.
[0083] In this embodiment, the coordinates corresponding to the starting point distance in each set of target data are determined as the coordinates of the two ends of the dam axis of the corresponding auxiliary dam. For example, there are 2 sets of target data in the target curve, the unit of the starting point distance is km, the unit of the elevation is m, the first set of target data is: {(2, 900), (2.5, 900)}, and the second set of target data is: {(4, 900), (5, 900)}. According to the above example, 2 and 2.5 can be determined as the coordinates of the two ends of the dam axis of the first auxiliary dam, 4 and 5 can be determined as the coordinates of the two ends of the dam axis of the second auxiliary dam, and 900 can be determined as the dam top elevation of the first and second auxiliary dams.
[0084] Sa2: The contour line corresponding to the elevation in each set of target data is determined as the contour line where the dam axis of the corresponding auxiliary dam is located.
[0085] In this embodiment, if the above two sets of target data are taken as an example, 900 can be determined as the dam crest elevation of the corresponding auxiliary dam. An auxiliary dam with a dam crest elevation of 900 can be built at a starting point distance of 2km to 2.5km, and an auxiliary dam with a dam crest elevation of 900 can be built at a starting point distance of 4km to 5km.
[0086] Sa3: Draw the coordinates of both ends of the dam axis on the contour line where the dam axis is located, and connect the coordinates of both ends of the dam axis to determine the position of the corresponding auxiliary dam.
[0087] In this embodiment, if the above two sets of target data are taken as an example, the coordinates 2 and 2.5 at both ends of the dam axis of the first auxiliary dam can be plotted on the contour line corresponding to 900, and 2 and 2.5 are connected to obtain the position of the first auxiliary dam. The coordinates 4 and 5 at both ends of the dam axis of the second auxiliary dam are plotted on the contour line corresponding to 900, and 4 and 5 are connected to obtain the position of the second auxiliary dam.
[0088] Figure 4 It is a flow chart of another reservoir auxiliary dam site selection method according to an embodiment of the present invention.
[0089] like Figure 4 As shown, a method for selecting a reservoir auxiliary dam site is provided in an embodiment of the present invention, and the method includes:
[0090] S301: Determine the initial watershed line according to the digital elevation model of the target area where the main dam is located. For details, refer to the relevant description of S101, which will not be repeated here.
[0091] S302: The initial watershed line is cut according to the extension line of the dam axis of the main dam to obtain a target watershed line. For details, refer to the relevant description of S102, which will not be repeated here.
[0092] S303: Determine the target curve corresponding to the target watershed line. For details, refer to the relevant description of S103, which will not be repeated here.
[0093] S304: Clipping the target curve according to a straight line whose elevation is a preset value to determine whether there is at least one target contour.
[0094] In this embodiment, the preset value is less than or equal to the elevation corresponding to the maximum water level of the main dam. Each target contour includes at least a portion of a straight line and at least a portion of a target curve. The elevation corresponding to at least a portion of the target curve is less than or equal to the preset value. Each target contour is a closed contour. The scale index of the auxiliary dam corresponding to each target contour meets the preset index.
[0095] In this embodiment, the scale index of the auxiliary dam is determined according to the length and height of the auxiliary dam. The length of the line connecting the two ends of the dam axis of the auxiliary dam, that is, the length of the auxiliary dam, is the difference between the maximum start distance and the minimum start distance in the target profile, and the height of the auxiliary dam is the difference between the maximum elevation and the minimum elevation in the target profile. The maximum elevation in the target profile corresponds to the upper limit water storage level of the auxiliary dam.
[0096] In this embodiment, a straight line with a preset elevation is drawn in the target coordinate system, and the straight line intersects with the target curve to form at least one contour. It is determined whether each contour meets the preset conditions, and the contour meeting the preset conditions is determined as the target contour, and the preset conditions include: the contour is a closed contour, and the elevation corresponding to at least a part of the target curve in the contour is less than or equal to the preset value, and the scale index of the auxiliary dam corresponding to the contour meets the preset index.
[0097] In this embodiment, the step of determining whether each contour meets the preset condition may specifically be:
[0098] Sc1: Determine whether the elevations corresponding to at least a portion of the target curve in the profile are all less than or equal to a preset value.
[0099] When the elevations corresponding to at least a portion of the target curve in the contour are all less than or equal to a preset value, Sc2: determining whether the contour is a closed contour.
[0100] When the contour is a closed contour, Sc3: determine whether the scale index of the auxiliary dam corresponding to the contour meets the preset index.
[0101] In this embodiment, when the scale index of the auxiliary dam corresponding to the contour is greater than a preset index, the preset value can be lowered, the target curve is clipped according to a straight line whose elevation is the lowered preset value, and whether the target contour exists is re-determined.
[0102] In this embodiment, taking the above step of determining whether each contour meets the preset conditions as an example, when the contour is a closed contour, when it is determined that the scale index of the auxiliary dam corresponding to the contour does not meet the preset index, it is determined that the target contour does not exist.
[0103] The above is only an example of the step of determining whether each contour satisfies a preset condition. In this embodiment, the execution order of Sc1, Sc2, and Sc3 is not limited.
[0104] In this embodiment, a straight line with a preset elevation is drawn in the target coordinate system to cut the target curve. The preset value can be designed and modified according to actual needs.
[0105] This embodiment takes into account that if the preset value is less than or equal to the elevation corresponding to the maximum water level of the main dam, the range of the preset value is large, resulting in a decrease in the efficiency of determining the target data. In order to further improve the efficiency of determining the target data, this embodiment also designs the following scheme:
[0106] Determine whether there is at least one target point in the target curve. When there is at least one target point in the target curve, determine the elevation corresponding to each target point as a preset value. The target point includes at least one of a target starting point, a target end point, and a target inflection point. Among them, the elevation on the right side of the target starting point is less than the elevation corresponding to the target starting point and the elevation corresponding to the target starting point is less than or equal to the elevation corresponding to the maximum water storage level of the main dam; when there is a target starting point, the elevation on the left side of the target end point is less than the elevation corresponding to the target end point and the elevation corresponding to the target end point is less than or equal to the elevation corresponding to the maximum water storage level of the main dam; the elevations on both sides of the target inflection point are less than the elevation corresponding to the target inflection point and the elevation corresponding to the target inflection point is less than or equal to the elevation corresponding to the maximum water storage level of the main dam. The preset value includes at least one of the elevation corresponding to the target starting point, the elevation corresponding to the target end point, and the elevation corresponding to the target inflection point in the target curve. In the target coordinate system, straight lines with elevations corresponding to the elevations corresponding to the target starting point, the elevation corresponding to the target end point, and the elevation corresponding to the target inflection point are drawn respectively, and the target curve is clipped respectively. In this embodiment, when there is no target point in the target curve, it is determined that there is no auxiliary dam.
[0107] Taking the above solution as an example, S304 specifically includes:
[0108] Sb1: Draw a straight line 1 with an elevation corresponding to the target starting point in the target coordinate system, cut the target curve according to the straight line 1, and determine whether there is at least one target contour.
[0109] Sb2: Draw a straight line 2 in the target coordinate system whose elevation is the elevation corresponding to the target end point, cut the target curve according to the straight line 2, and determine whether there is at least one target contour.
[0110] Sb2: Draw a straight line 3 in the target coordinate system whose elevation is the elevation corresponding to the target inflection point, cut the target curve according to the straight line 3, and determine whether there is at least one target contour.
[0111] S305: When it is determined that there is at least one target contour, intersection points between the straight line and the target curve in each target contour are taken as a set of target data.
[0112] In this embodiment, before determining the position of the corresponding auxiliary dam according to each set of target data, steps S304 to S305 are performed to determine the target data.
[0113] In this embodiment, the above-mentioned scheme for improving the efficiency of determining target data is taken as an example to specifically explain S305, for example: the target curve is clipped according to straight line 1 to determine that there is no at least one target contour, the target curve is clipped according to straight line 2 to determine that there is a target contour, target contour 1, and the target curve is clipped according to straight line 3 to determine that there are three target contours, target contour 2, target contour 3, and target contour 4. The intersection points of the straight lines in target contour 1 and the target curve are taken as a group of target data. The intersection points of the straight lines in target contour 2 and the target curve are taken as a group of target data. The intersection points of the straight lines in target contour 3 and the target curve are taken as a group of target data. The intersection points of the straight lines in target contour 4 and the target curve are taken as a group of target data.
[0114] like Figure 5 As shown, there is a starting point, an end point, and four inflection points in the target curve. The elevation corresponding to the maximum water level of the main dam is 900m, where the starting point is the target starting point, the end point is not the target end point, and the four inflection points are not the target inflection points. Then the target point is the target starting point, and the elevation corresponding to the target starting point is determined as the preset value. Draw a straight line with an elevation of the preset value in the target coordinate system, and the straight line intersects with the target curve to form a contour. Determine that the contour meets the preset conditions, and determine the contour that meets the preset conditions as the target contour.
[0115] S306: When there is at least one set of target data in the target curve, the position of the corresponding auxiliary dam is determined according to each set of target data. For details, refer to the relevant description of S104, which will not be repeated here.
[0116] In an optional implementation manner, the reservoir auxiliary dam site selection method further includes:
[0117] When it is determined that there is no target contour, the following steps are repeatedly performed until it is determined that there is at least one target contour:
[0118] Sd1: Adjust the preset value and cut the target curve according to the straight line whose elevation is the adjusted preset value.
[0119] In this embodiment, the condition for ending the loop execution Sd1 should also include: ending the loop when it is determined that there is no auxiliary dam. That is, when it is determined that there is no target contour, Sd1 is repeatedly executed until it is determined that there is at least one target contour or there is no auxiliary dam.
[0120] If the adjusted preset value is any value within the preset range, it is still not determined that at least one target contour exists, then it is determined that there is no auxiliary dam. The preset range is that the adjusted preset value is less than or equal to the elevation corresponding to the maximum water level of the main dam and greater than or equal to the minimum elevation in the target curve.
[0121] In this embodiment, adjusting the preset value may include lowering the preset value in sequence with a preset gradient, or increasing the preset value in sequence with a preset gradient. Specifically, when the preset value is the elevation corresponding to the maximum water level of the main dam, adjusting the preset value includes lowering the preset value in sequence with a preset gradient. When the preset value is the minimum elevation in the target curve, adjusting the preset value includes increasing the preset value in sequence with a preset gradient. When the preset value is the median value within a preset range, adjusting the preset value includes starting with the median value and lowering the preset value in sequence with a preset gradient; or starting with the median value and increasing the preset value in sequence with a preset gradient.
[0122] For example, when the preset value is the elevation corresponding to the maximum water level of the main dam, the preset value is adjusted, including successively reducing the preset value with the preset gradient k to obtain the adjusted preset value. If the elevation corresponding to the maximum water level of the main dam is 1000m, the minimum elevation in the target curve is 875m, and the preset gradient k is 1, then the preset value is 1000m. When the preset value is 1000m and it is determined that there is no target contour, the preset value is adjusted to 999m after adjustment, and the target curve is clipped according to the straight line with an elevation of 999m. If there is no target contour, Sd1 is repeatedly executed until it is determined that there is at least one target contour. Or the preset value is successively reduced with the preset gradient k until the adjusted preset value takes the minimum elevation of 875m in the target curve, it is determined that there is no auxiliary dam, and the execution of Sd1 ends.
[0123] In this embodiment, taking the above-mentioned solution for improving the efficiency of determining target data as an example, the adjustment of the preset value in the above-mentioned Sd1 may include sequentially lowering the preset value with a preset gradient, but does not include sequentially increasing the preset value with a preset gradient.
[0124] In an optional implementation manner, the reservoir auxiliary dam site selection method further includes:
[0125] Se1: Determine contour lines based on digital elevation models.
[0126] Se2: Determine the intersection of the extension line of the main dam's axis and the contour line.
[0127] Se3: Contour lines that have more than one intersection with the same contour line are determined as water level lines.
[0128] Se4: Determine the size index of the dam corresponding to each water level line.
[0129] In this embodiment, the calculation formula of the dam scale index is:
[0130] ,in, represents the size index of the dam, Indicates the length of the dam. Indicates the height of the dam. , is a constant, hour, ,exist hour, .
[0131] Se5: Determine a target scale index in the scale index of the dam corresponding to each water level line. The target scale index is less than or equal to a preset threshold.
[0132] In this embodiment, the scale index of the dam corresponding to each water level line that is less than or equal to a preset threshold is determined.
[0133] A scale index that is less than or equal to a preset threshold is determined as a target scale index.
[0134] Se6: Determine the elevation corresponding to the highest water level line among the water levels corresponding to the target scale index as the elevation corresponding to the maximum water storage level of the main dam.
[0135] In an embodiment of the present invention, the upper limit water level of the reservoir can be obtained according to the position of the main dam and the auxiliary dam, and the relationship curve between the reservoir water level, reservoir area and reservoir capacity can be obtained through calculation according to the dam length and dam height of the main dam and the dam length and dam height of the auxiliary dam.
[0136] It should be noted that the contents not described in detail in the specification of the present invention belong to the common knowledge of those skilled in the art.
[0137] In this embodiment, a reservoir auxiliary dam site selection device is also provided, which is used to implement the above-mentioned embodiments and optional implementation methods, 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 for a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.
[0138] Figure 6 It is a structural block diagram of a reservoir auxiliary dam site selection device according to an embodiment of the present invention.
[0139] This embodiment provides a reservoir auxiliary dam site selection device, such as Figure 6 As shown, including:
[0140] The first processing module 11 is used to determine the initial watershed line according to the digital elevation model of the target area where the main dam is located;
[0141] The second processing module 12 is used to cut the initial watershed line according to the extension line of the dam axis of the main dam to obtain a target watershed line; the target watershed line is the watershed line within the reservoir to which the main dam belongs;
[0142] The third processing module 13 is used to determine a target curve corresponding to the target watershed line, wherein the target curve represents a corresponding relationship between a starting point distance and an elevation;
[0143] A fourth processing module 14 is used to determine the position of the corresponding auxiliary dam according to each set of target data when there is at least one set of target data in the target curve;
[0144] The target data are data points in the target curve with the same elevation and different starting point distances.
[0145] In an optional implementation, before the second processing module 12 executes the trimming of the initial watershed line according to the extension line of the dam axis of the main dam, the reservoir auxiliary dam site selection device further includes: a first processing unit.
[0146] The first processing unit is used to extend the dam axis of the main dam to intersect with the initial watershed line to obtain an extension line of the dam axis of the main dam.
[0147] In an optional implementation, the third processing module 13 is specifically used for:
[0148] Taking the intersection of the extension line of the main dam axis and the initial watershed line as the starting point, the starting point distance and elevation corresponding to the target watershed line are plotted in the target coordinate system to obtain the target curve corresponding to the target watershed line. The horizontal axis of the target coordinate system is related to the starting point distance, and the vertical axis is related to the elevation.
[0149] In an optional implementation, the fourth processing module 14 is specifically configured to:
[0150] The coordinates of the two ends of the dam axis of the corresponding auxiliary dam are determined according to the starting point distance in each set of target data.
[0151] The contour line corresponding to the elevation in each set of target data is determined as the contour line at which the dam axis of the corresponding auxiliary dam is located.
[0152] The coordinates of both ends of the dam axis are plotted on the contour line where the dam axis is located, and the coordinates of both ends of the dam axis are connected to determine the position of the corresponding auxiliary dam.
[0153] In an optional implementation, the reservoir auxiliary dam site selection device further includes: a second processing unit.
[0154] The second processing unit is used to clip the target curve according to the straight line with a preset elevation to determine whether there is at least one target contour. The preset value is less than or equal to the elevation corresponding to the maximum water level of the main dam. Each target contour includes at least a portion of the straight line and at least a portion of the target curve. The elevation corresponding to at least a portion of the target curve is less than or equal to the preset value. Each target contour is a closed contour. The scale index of the auxiliary dam corresponding to each target contour meets the preset index.
[0155] When it is determined that there is at least one target contour, the intersection points of the straight line and the target curve in each target contour are taken as a set of target data.
[0156] In an optional implementation, the reservoir auxiliary dam site selection device further includes: a third processing unit.
[0157] The third processing unit is configured to, when it is determined that there is no target contour, repeatedly perform the following steps until it is determined that there is at least one target contour:
[0158] The preset value is adjusted, and the target curve is clipped according to a straight line whose elevation is the adjusted preset value.
[0159] In an optional implementation, the reservoir auxiliary dam site selection device further includes: a fourth processing unit.
[0160] The fourth processing unit comprises:
[0161] The first subunit is used to determine contour lines according to the digital elevation model.
[0162] The second subunit is used to determine the intersection point of the extension line of the dam axis of the main dam and the contour line.
[0163] The third subunit is used to determine the contour lines that have more than one intersection point with the same contour line as the water level line.
[0164] The fourth subunit is used to determine the scale index of the dam corresponding to each water level line.
[0165] The fifth subunit is used to determine a target scale index in the scale index of the dam corresponding to each water level line. The target scale index is less than or equal to a preset threshold.
[0166] The sixth subunit is used to determine the elevation corresponding to the highest water level line among the water levels corresponding to the target scale index as the elevation corresponding to the maximum water storage level of the main dam.
[0167] 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.
[0168] The reservoir auxiliary dam site selection device in this embodiment is presented in the form of a functional unit, where the unit refers to an application specific integrated circuit (ASIC) circuit, a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.
[0169] The embodiment of the present invention also provides a computer device having the above Figure 6 The reservoir auxiliary dam site selection device is shown.
[0170] See also Figure 7 , Figure 7 Schematic diagram of the hardware structure of the computer device according to the embodiment of the present invention. Figure 7 As 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 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 an optional embodiment, 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 7 A processor 10 is taken as an example.
[0171] 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.
[0172] 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.
[0173] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application required by 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 an optional embodiment, 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.
[0174] 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.
[0175] The computer device further comprises a communication interface 30 for the computer device to communicate with other devices or a communication network.
[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] A part of the present invention may be applied as a computer program product, such as a computer program instruction, which, when executed by a computer, can call or provide the method and / or technical solution according to the present invention through the operation of the computer. Those skilled in the art should understand that the existence of the computer program instruction in a computer-readable medium includes, but is not limited to, a source file, an executable file, an installation package file, etc., and accordingly, the way in which the computer program instruction is executed by the computer includes, but is not limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installed program. Here, the computer-readable medium may be any available computer-readable storage medium or communication medium accessible to the computer.
[0178] 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 method for selecting a site for a reservoir auxiliary dam, characterized in that: include: Determine the initial watershed line based on the digital elevation model of the target area where the main dam is located; The initial watershed line is cut according to the extension line of the dam axis of the main dam to obtain a target watershed line; The target watershed line is the watershed line within the reservoir to which the main dam belongs; Determine a target curve corresponding to the target watershed line, wherein the target curve represents a corresponding relationship between a starting point distance and an elevation; When there is at least one set of target data in the target curve, determining the position of the corresponding auxiliary dam according to each set of target data; Wherein, the target data are data points with the same elevation and different starting point distances in the target curve; The step of determining a target curve corresponding to the target watershed line includes: Taking the intersection of the extension line of the dam axis of the main dam and the initial watershed line as the starting point, plotting the starting point distance and elevation corresponding to the target watershed line in the target coordinate system to obtain the target curve corresponding to the target watershed line; the abscissa axis of the target coordinate system is related to the starting point distance, and the ordinate axis is related to the elevation; Determining the position of the corresponding auxiliary dam according to each set of target data includes: Determine the coordinates of both ends of the dam axis of the corresponding auxiliary dam according to the starting point distance in each set of target data; Determine the contour line corresponding to the elevation in each set of target data as the contour line where the dam axis of the corresponding auxiliary dam is located; The coordinates of both ends of the dam axis are plotted on the contour line where the dam axis is located, and the coordinates of both ends of the dam axis are connected to determine the position of the corresponding auxiliary dam.
2. The method according to claim 1, characterized in that Before cutting the initial watershed line according to the extension line of the dam axis of the main dam, the method further comprises: The axis of the main dam is extended to intersect with the initial watershed line to obtain an extension line of the axis of the main dam.
3. The method according to claim 1, characterized in that Before determining the position of the corresponding auxiliary dam according to each set of target data, the method further includes: The target curve is clipped according to a straight line with a preset elevation to determine whether there is at least one target contour; the preset value is less than or equal to the elevation corresponding to the maximum water level of the main dam; each target contour includes at least a portion of the straight line and at least a portion of the target curve; the elevation corresponding to at least a portion of the target curve is less than or equal to the preset value; each target contour is a closed contour; the scale index of the auxiliary dam corresponding to each target contour meets the preset index; When it is determined that there is at least one target contour, the intersection points of the straight line and the target curve in each target contour are taken as a set of target data.
4. The method according to claim 3, characterized in that: The method further comprises: When it is determined that there is no target contour, the following steps are repeatedly performed until it is determined that there is at least one target contour: The preset value is adjusted, and the target curve is clipped according to a straight line whose elevation is the adjusted preset value.
5. The method according to claim 1, characterized in that The method further comprises: determining contour lines according to the digital elevation model; Determine the intersection point of the extended line of the dam axis of the main dam and the contour line; The contour lines that have more than one intersection with the same contour line are determined as water level lines; Determine the size index of the dam corresponding to each water level; Determine a target scale index among the scale indexes of the dam corresponding to each water level line; the target scale index is less than or equal to a preset threshold; Determine the elevation corresponding to the highest water level among the water levels corresponding to the target scale index as the elevation corresponding to the maximum water storage level of the main dam; The calculation formula of the dam scale index is: ,in, represents the size index of the dam, Indicates the length of the dam. Indicates the height of the dam. , is a constant, hour, ,exist hour, .
6. A reservoir auxiliary dam site selection device, characterized in that: include: The first processing module is used to determine the initial watershed line according to the digital elevation model of the target area where the main dam is located; A second processing module is used to cut the initial watershed line according to the extension line of the dam axis of the main dam to obtain a target watershed line; The target watershed line is the watershed line within the reservoir to which the main dam belongs; A third processing module is used to determine a target curve corresponding to the target watershed line, wherein the target curve represents a corresponding relationship between a starting point distance and an elevation; a fourth processing module, configured to determine the position of the corresponding auxiliary dam according to each set of target data when there is at least one set of target data in the target curve; Wherein, the target data are data points with the same elevation and different starting point distances in the target curve; The third processing module is specifically used for: Taking the intersection of the extension line of the dam axis of the main dam and the initial watershed line as the starting point, plotting the starting point distance and elevation corresponding to the target watershed line in the target coordinate system to obtain the target curve corresponding to the target watershed line; the abscissa axis of the target coordinate system is related to the starting point distance, and the ordinate axis is related to the elevation; The fourth processing module is specifically used for: Determine the coordinates of both ends of the dam axis of the corresponding auxiliary dam according to the starting point distance in each set of target data; Determine the contour line corresponding to the elevation in each set of target data as the contour line where the dam axis of the corresponding auxiliary dam is located; The coordinates of both ends of the dam axis are plotted on the contour line where the dam axis is located, and the coordinates of both ends of the dam axis are connected to determine the position of the corresponding auxiliary dam.
7. 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 steps of the method according to any one of claims 1 to 5 by executing the computer instructions.
8. 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 steps of the method according to any one of claims 1 to 5.
