Water resource scheduling method and device, computer device, readable storage medium and program product
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-06
- Publication Date
- 2026-08-11
AI Technical Summary
常见的水资源调度方法包括线性规划、离散动态规划、启发式策略优化,其中离散动态规划和启发式策略优化计算复杂度高,为降低水资源调度的计算复杂度,提出了一种基于线性规划模型的水资源调度方法
Smart Images

Figure CN120046896B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of water resource management technology, and in particular to a water resource scheduling method, apparatus, computer equipment, readable storage medium, and program product. Background Technology
[0002] River water resources are an important source of water for human agriculture, domestic use, and industry. Reservoirs, as water conservancy projects for water storage and regulation, play an important role in the efficient utilization of water resources.
[0003] Water resource allocation in arid regions is a complex system optimization problem involving multiple reservoirs, multiple river water sources, multiple objectives for irrigation and ecological water use, and water use equity in multiple upstream and downstream regions. Common water resource allocation methods include linear programming, discrete dynamic programming, and heuristic strategy optimization. Among them, discrete dynamic programming and heuristic strategy optimization have high computational complexity. To reduce the computational complexity of water resource allocation, a water resource allocation method based on a linear programming model is proposed.
[0004] However, the water resource scheduling method based on the linear programming model mentioned above suffers from low scheduling accuracy. Summary of the Invention
[0005] Therefore, it is necessary to provide a water resource scheduling method, apparatus, computer equipment, readable storage medium, and program product that can improve the accuracy of water resource scheduling in response to the above-mentioned technical problems.
[0006] Firstly, this application provides a water resource allocation method, including:
[0007] Obtain real-time water flow information for a target area within a historical time period; the target area includes river areas, reservoir areas, and district / county areas; the real-time water flow information includes water diversion flow information, river inflow flow information, reservoir storage information, and related relationships; the related relationships include the relationships between river areas, reservoir areas, and district / county areas;
[0008] Based on the river inflow information and the preset flow prediction model, the target inflow information of the target area in the future time period is predicted.
[0009] Based on the target inflow water flow information, the diversion water flow information, and the preset resource scheduling model, the scheduling information for the target area in the future time period is obtained.
[0010] In one embodiment, the above-mentioned method of obtaining scheduling information for the target area in the future time period based on the target inflow information, the diversion flow information, and the preset resource scheduling model includes:
[0011] Based on the planned water resources corresponding to the target area, the water diversion flow information is updated to obtain the required water diversion flow information for the target area.
[0012] Based on the target inflow water flow information, the required water diversion flow information, and the preset resource scheduling model, the scheduling information for the target area in the future time period is obtained.
[0013] In one embodiment, the above-mentioned method of obtaining scheduling information for the target area in the future time period based on the target inflow information, the required water diversion information, and a preset resource scheduling model includes:
[0014] Based on the target inflow water flow information, the required water diversion flow information, and the preset resource scheduling model, the scheduling information for the current time period is calculated.
[0015] The water resources of the target area are scheduled according to the scheduling information of the current time period. After scheduling, the real-time water flow information of the target area in the historical time period is updated according to the real-time water flow information of the target area in the current time period. Then, the process is returned to execute the step of updating the water diversion flow information according to the planned water resources corresponding to the target area to obtain the required water diversion flow information of the target area.
[0016] In one embodiment, the scheduling information for the current time period is calculated based on the target inflow water flow information, the required diversion water flow information, and a preset resource scheduling model, including:
[0017] Obtain the constraints; the constraints include water resource management constraints, water balance conditions in river areas, water balance conditions in reservoir areas, and water balance conditions in districts and counties.
[0018] Based on the constraints, the target inflow water flow information and the required diversion water flow information are substituted into the preset resource scheduling model for maximization calculation to obtain the scheduling information for the current time period.
[0019] In one embodiment, the above-mentioned prediction of target inflow information for a target area in the future time period based on river inflow information and a preset flow prediction model includes:
[0020] Extract trend parameters, seasonal parameters, and abrupt change parameters from river inflow information;
[0021] By substituting trend parameters, seasonal parameters, and abrupt change parameters into a preset flow prediction model and performing summation calculations, the target inflow flow information for the target area in the future time period is obtained.
[0022] In one embodiment, obtaining real-time water flow information of the target area within a historical time period includes:
[0023] Obtain the inflow rate information and the diversion rate information of the target area;
[0024] The relationships are determined based on the location of river areas, reservoir areas, and district / county areas.
[0025] Secondly, this application also provides a water resource dispatching device, comprising:
[0026] The acquisition module is used to acquire real-time water flow information of a target area within a historical time period; the target area includes river areas, reservoir areas, and district / county areas; the real-time water flow information includes water diversion flow information, river inflow flow information, reservoir storage information, and related relationships; the related relationships include the relationships between river areas, reservoir areas, and district / county areas;
[0027] The prediction module is used to predict the target inflow information of the target area in the future time period based on the river inflow information and the preset flow prediction model.
[0028] The determination module is used to obtain the scheduling information of the target area in the future time period based on the target inflow water flow information, the diversion water flow information and the preset resource scheduling model.
[0029] Thirdly, this application also provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to perform the following steps:
[0030] Obtain real-time water flow information for a target area within a historical time period; the target area includes river areas, reservoir areas, and district / county areas; the real-time water flow information includes water diversion flow information, river inflow flow information, reservoir storage information, and related relationships; the related relationships include the relationships between river areas, reservoir areas, and district / county areas;
[0031] Based on the river inflow information and the preset flow prediction model, the target inflow information of the target area in the future time period is predicted.
[0032] Based on the target inflow water flow information, the diversion water flow information, and the preset resource scheduling model, the scheduling information for the target area in the future time period is obtained.
[0033] Fourthly, this application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, performs the following steps:
[0034] Obtain real-time water flow information for a target area within a historical time period; the target area includes river areas, reservoir areas, and district / county areas; the real-time water flow information includes water diversion flow information, river inflow flow information, reservoir storage information, and related relationships; the related relationships include the relationships between river areas, reservoir areas, and district / county areas;
[0035] Based on the river inflow information and the preset flow prediction model, the target inflow information of the target area in the future time period is predicted.
[0036] Based on the target inflow water flow information, the diversion water flow information, and the preset resource scheduling model, the scheduling information for the target area in the future time period is obtained.
[0037] Fifthly, this application also provides a computer program product, including a computer program that, when executed by a processor, performs the following steps:
[0038] Obtain real-time water flow information for a target area within a historical time period; the target area includes river areas, reservoir areas, and district / county areas; the real-time water flow information includes water diversion flow information, river inflow flow information, reservoir storage information, and related relationships; the related relationships include the relationships between river areas, reservoir areas, and district / county areas;
[0039] Based on the river inflow information and the preset flow prediction model, the target inflow information of the target area in the future time period is predicted.
[0040] Based on the target inflow water flow information, the diversion water flow information, and the preset resource scheduling model, the scheduling information for the target area in the future time period is obtained.
[0041] The aforementioned water resource scheduling method, apparatus, computer equipment, readable storage medium, and program product predict future river inflow information using historical river inflow information, and perform resource scheduling calculations based on future river inflow information and real-time water flow information from historical periods to obtain scheduling information for future periods. Compared to existing methods that only estimate future water flow information based on real-time water flow information from historical periods, this application considers the impact of future inflow information on scheduling information during the water resource scheduling process, making the determined scheduling information for future periods more accurate. Attached Figure Description
[0042] To more clearly illustrate the technical solutions in the embodiments of this application or related technologies, the drawings used in the description of the embodiments of this application or related technologies will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.
[0043] Figure 1 This is an application environment diagram of a water resource scheduling method in one embodiment;
[0044] Figure 2This is a flowchart illustrating a water resource scheduling method in one embodiment;
[0045] Figure 3 This is a schematic diagram of incoming flow forecast results in one embodiment;
[0046] Figure 4 This is a schematic diagram illustrating the calculation of the incoming flow guarantee rate using the empirical quantile method in one embodiment;
[0047] Figure 5 This is a schematic diagram of the inflow and outflow water volume results of the main reservoirs in the initial scheduling scheme of one embodiment;
[0048] Figure 6 This is a flowchart illustrating the water resource scheduling method in another embodiment;
[0049] Figure 7 This is a flowchart illustrating the water resource scheduling method in another embodiment;
[0050] Figure 8 This is a flowchart illustrating the water resource scheduling method in another embodiment;
[0051] Figure 9 This is a flowchart illustrating the water resource scheduling method in another embodiment;
[0052] Figure 10 This is a flowchart illustrating the water resource scheduling method in another embodiment;
[0053] Figure 11 This is a schematic diagram of the relationships in one embodiment;
[0054] Figure 12 This is a flowchart illustrating the water resource scheduling method in another embodiment;
[0055] Figure 13 This is a structural block diagram of a water resource scheduling device in one embodiment;
[0056] Figure 14 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation
[0057] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0058] River water resources are an important source of water for human agriculture, domestic use, and industry. Reservoirs, as water conservancy projects for water storage and regulation, play an important role in the efficient utilization of water resources.
[0059] Water resource allocation in arid regions is a complex system optimization problem involving multiple reservoirs, multiple river water sources, multiple objectives for irrigation and ecological water use, and water use equity across upstream and downstream regions. Common water resource allocation methods include linear programming, discrete dynamic programming, and heuristic strategy optimization. Among these, discrete dynamic programming and heuristic strategy optimization have high computational complexity. To reduce the computational complexity of water resource allocation, a water resource allocation method based on a linear programming model is proposed. However, the aforementioned water resource allocation methods suffer from low allocation accuracy. This application aims to address this problem.
[0060] After introducing the background technology of the water resource scheduling method provided in the embodiments of this application, the implementation environment involved in the water resource scheduling method provided in the embodiments of this application will be briefly described below. The water resource scheduling method provided in the embodiments of this application can be applied to, for example, Figure 1 In the implementation environment shown, the environment includes server 104, which can be implemented as a standalone server or a server cluster composed of multiple servers 104. Data storage system 102 can store the data that server 104 needs to process. Data storage system 102 can be integrated onto server 104 or placed on the cloud or other network servers. Server 104 can acquire real-time water flow information for river areas, reservoir areas, and district / county areas within historical time periods, and based on this information, determine the scheduling information for river areas, reservoir areas, and district / county areas in future time periods.
[0061] Those skilled in the art will understand that Figure 1 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. A specific terminal may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0062] After introducing the application scenarios of the water resource scheduling method provided in the embodiments of this application above, the water resource scheduling method described in this application will be described in detail below.
[0063] In one embodiment, such as Figure 2 As shown, a water resource scheduling method is provided, which can be applied to... Figure 1 Taking the server in the example, the following steps are included:
[0064] S201. Obtain real-time water flow information for the target area within a historical time period.
[0065] The target areas include river areas, reservoir areas, and district / county areas. Real-time water flow information includes water diversion flow information, river inflow flow information, reservoir storage information, and related relationships, including the relationships between river areas, reservoir areas, and district / county areas.
[0066] In this embodiment of the application, when it is necessary to accurately predict water resource scheduling information for future time periods, the water diversion flow information, river inflow flow information, and reservoir storage information corresponding to the river area, reservoir area, and county area respectively within the historical time period can be obtained. In addition, the water diversion relationships between the river area, reservoir area, and county area can be sorted out in advance, that is, the water diversion relationship between the river area and the reservoir area, the water diversion relationship between the river area and the county area, and the water diversion relationship between the reservoir area and the county area.
[0067] S202. Based on the river inflow information and the preset flow prediction model, the target inflow information of the target area in the future time period is predicted.
[0068] In this embodiment of the application, after obtaining the river inflow information of the target area within the historical time period, the river inflow information can be input into a preset flow prediction model for prediction to obtain the target inflow information of the target area in the future time period.
[0069] It should be noted that the preset flow prediction model can be a pre-trained neural network model that predicts the river flow information in future time periods based on historical time period river flow information.
[0070] See Figure 3 It provides a rolling forecast of monthly runoff for the next 12 months based on the historical monthly flow of the Yarkand River main stream and the upstream section of the Tiznaf River, using a pre-set flow prediction model.
[0071] S203. Based on the target inflow water flow information, the diversion water flow information, and the preset resource scheduling model, obtain the scheduling information of the target area in the future time period.
[0072] The preset resource scheduling model includes a linear programming model, and the expression of the linear programming model is shown in the following formula (1):
[0073]
[0074] in, It is a decision variable. It is the primary decision parameter. As the second decision parameter, and It serves as the third decision parameter.
[0075] In this embodiment of the application, after obtaining the target inflow water flow information and the diversion water flow information, the target inflow water flow information and the diversion water flow information can be input into the preset resource scheduling model for resource scheduling to determine the scheduling information of the target area in the future time period.
[0076] Optionally, when determining scheduling information for future time periods, the historical annual runoff data of each independent upstream channel in the basin can be predetermined, the total annual runoff can be obtained by summing the data, and the empirical quantile of each annual runoff value can be used as the guarantee rate (see formula (2) below).
[0077]
[0078] in, Sort and number the annual runoff values from largest to smallest. This represents the total number of years. The guarantee rates for high-water years, normal-water years, and low-water years are 25%, 50%, and 75%, respectively. See also... Figure 4 It provides a schematic diagram of the incoming flow guarantee rate calculated based on the empirical quantile method.
[0079] It should be noted that when determining the scheduling information for a future year, the future year can be pre-defined as a high-water year, a normal-water year, or a low-water year. The monthly inflow processes of each independent upstream river channel for that year can be used as the initial scenario input. The pre-defined resource scheduling model is then solved to obtain the scheduling information for the first month of that future year, which serves as the initial scheduling plan. See also... Figure 5 It provides solutions to the preset resource scheduling model and obtains optimized results for the scheduling information of six major reservoirs.
[0080] The water resource scheduling method provided in this application obtains real-time water flow information of a target area within a historical time period. Based on river inflow information and a preset flow prediction model, it predicts the target inflow information of the target area for a future time period. Based on the target inflow information, water diversion information, and a preset resource scheduling model, it obtains the scheduling information of the target area for the future time period. The target area includes river areas, reservoir areas, and district / county areas. The real-time water flow information includes water diversion information, river inflow information, reservoir storage information, and related relationships, including the relationships between river areas, reservoir areas, and district / county areas. This method predicts future river inflow information using historical river inflow information and performs resource scheduling calculations based on future river inflow information and historical real-time water flow information to obtain scheduling information for the future time period. Compared to existing methods that only estimate future water flow information based on historical real-time water flow information, this application considers the impact of future river inflow information on scheduling information during the water resource scheduling process, making the determined scheduling information for the future time period more accurate.
[0081] In one embodiment, in Figure 2 Based on the illustrated embodiment, the process of obtaining scheduling information for a target area in a future time period can be described as follows: Figure 6 As shown, the above-mentioned S203 "obtaining the scheduling information of the target area in the future time period based on the target inflow information, the diversion flow information, and the preset resource scheduling model" includes:
[0082] S301. Based on the planned water resources corresponding to the target area, update the water diversion flow information to obtain the required water diversion flow information for the target area.
[0083] The planned water resources for the target area can include both hard-condition water resources planning constraints and physical-condition water resources planning constraints. Hard-condition water resources planning constraints are standards and red lines set by the river basin management department based on local water resource conditions. Examples include the annual total ecological discharge of the main river channel, the guaranteed discharge for power generation from each reservoir, the ecological flow of each river channel, and the water withdrawal limits for other water sources (such as groundwater) in each district / county. Physical-condition water resources planning constraints refer to the water balance simulation of each target area, including water balance conditions for river areas, reservoir areas, and district / county areas.
[0084] In this embodiment of the application, before determining the scheduling information for a future time period, the planned water resources corresponding to the target area can be obtained first, and the water diversion flow information can be updated according to the planned water resources corresponding to the target area, thereby obtaining the required water diversion flow information corresponding to the target area.
[0085] Optionally, assuming the rigid water resources planning constraint is that the annual water diversion flow information for district / county A is p, and it is currently month n, then after obtaining the water diversion flow information for the first n-1 months of the year, the water diversion flow information can be updated by subtracting the water diversion flow information for the first n-1 months from the annual water diversion flow information p, thereby obtaining the required water diversion flow information for the target area.
[0086] S302. Based on the target inflow water flow information, the required water diversion flow information, and the preset resource scheduling model, obtain the scheduling information for the target area in the future time period.
[0087] In this embodiment of the application, after obtaining the target inflow water flow information and the required water diversion flow information, the target inflow water flow information and the required water diversion flow information can be input into the preset resource scheduling model for resource scheduling to determine the scheduling information of the target area in the future time period.
[0088] Optionally, this application embodiment also provides a specific implementation method for obtaining scheduling information of a target area in a future time period, see [link to implementation details]. Figure 7 The aforementioned S302, "based on the target inflow water flow information, the required water diversion flow information, and the preset resource scheduling model, obtains the scheduling information for the target area in the future time period," includes:
[0089] S401. Based on the target inflow water flow information, the required water diversion flow information, and the preset resource scheduling model, calculate the scheduling information for the current time period.
[0090] In this embodiment of the application, after obtaining the target inflow water flow information and the required diversion water flow information, the target inflow water flow information and the required diversion water flow information can be input into the preset resource scheduling model to calculate the scheduling information for the current time period.
[0091] S402. Dispatch the water resources of the target area according to the dispatch information of the current time period, and after dispatching, update the real-time water flow information of the target area in the historical time period according to the real-time water flow information of the target area in the current time period, and return to execute S301.
[0092] In this embodiment of the application, after obtaining the scheduling information for the current time period, water resources in the target area can be scheduled based on the scheduling information for the current time period. After the scheduling is completed, the real-time water flow information of the target area within the current time period is obtained. Based on the real-time water flow information of the target area within the current time period, the real-time water flow information of the target area within the historical time period is updated to obtain the real-time water flow information of the target area within the new historical time period. Based on the real-time water flow information of the target area within the new historical time period, the process of updating the water diversion flow information according to the planned water resources corresponding to the target area is repeated until the water resource scheduling information for the whole year is determined.
[0093] The water resource scheduling method provided in this application determines the scheduling information for a future time period. After executing the water resource scheduling, it updates the real-time water flow information of the target area in the historical time period based on the real-time water flow information of the target area in the current time period. Then, it continues to determine the scheduling information for the next time period based on the updated real-time water flow information of the target area in the historical time period. Compared with the existing method that only determines the scheduling information for the next year based on the water flow information of the previous year, this solution adopts a method of real-time dynamic monitoring of water flow information, which can accurately predict the water resource scheduling information for the next time period (e.g., next month).
[0094] In one embodiment, in Figure 7 Based on the illustrated embodiment, the process of obtaining scheduling information for the current time period can be described, such as... Figure 8 As shown, the above-mentioned S401 "calculates the scheduling information for the current time period based on the target inflow water flow information, the required diversion water flow information, and the preset resource scheduling model" includes:
[0095] S501, Obtain constraints.
[0096] The constraints include water resource management constraints, water balance conditions in river areas, water balance conditions in reservoir areas, and water balance conditions in districts and counties.
[0097] The water resources management constraints include standards and red lines set by water resources management departments based on local water resources conditions. For example, the total annual ecological discharge of the main stream of rivers, the guaranteed discharge for power generation of each reservoir, the ecological flow of each river, and the water withdrawal limits of other water sources (such as groundwater) in each district and county.
[0098] The water balance conditions in the river area are shown in the following formula (3):
[0099]
[0100] In the formula, For river inflow, For the outflow of water from the river channel, This represents river evaporation, calculated based on the linear relationship between the river's inflow and the surface evaporation capacity. The river seepage rate is calculated based on the linear relationship between the average inflow and outflow values. For the amount of water diverted from the river channel, For the water storage capacity of the river channel; and The parameters for the Muskingum method of river flood evolution (Cunge, 1969) are calibrated using historical flow data from upstream and downstream sections of the river.
[0101] The water balance conditions in the reservoir area are shown in the following formula (4):
[0102]
[0103] In the formula, For the inflow of water into the reservoir, For the reservoir outflow, The evaporation rate is calculated based on the linear relationship between the average inflow and outflow of the reservoir, taking into account the evaporation capacity of the water surface. The leakage rate of the reservoir is calculated based on the linear relationship between the average inflow and outflow. This refers to the water storage capacity of the reservoir.
[0104] The water balance conditions for the districts and counties are shown in the following formula (5):
[0105]
[0106] In the formula, The total water diversion volume for a single district or county. This refers to the amount of water diverted from a certain river in this district / county. This refers to the amount of water diverted from the district / county to a certain reservoir.
[0107] In this embodiment of the application, before determining the scheduling information for the current time period, the water balance conditions of the river area, the water balance conditions of the reservoir area, and the water balance conditions of the district / county area can be obtained first.
[0108] S502. Based on the constraints, substitute the target inflow water flow information and the required diversion water flow information into the preset resource scheduling model for maximum calculation to obtain the scheduling information for the current time period.
[0109] The preset resource scheduling model can be a combined scheduling objective for an arid region. This combined objective includes, but is not limited to, water satisfaction, reservoir flood control capacity, and ecological discharge flow, which are weighted and averaged to obtain the target model. The expression for the preset resource scheduling model can be found in the following formula (6):
[0110]
[0111] in, To achieve the target rate of irrigation and social water security in districts and counties, Target for the ecological water security rate of natural vegetation For the flood control target of the reservoir during the flood season, The remaining storage capacity target for each reservoir at the end of each time period. The target for downstream discharge in the basin. As weight.
[0112] The scheduling information includes the water diversion volume of each river, the water diversion allocation from each river to districts and counties, the inflow of each reservoir, the outflow of each reservoir, the water supply allocation from each reservoir to districts and counties, and the water intake from other water sources in districts and counties (such as groundwater).
[0113] In this embodiment of the application, after obtaining the constraints as described above, the target inflow water flow information and the required water diversion flow information can be substituted into the preset resource scheduling model for maximum calculation based on the constraints, so as to obtain information such as the water diversion volume of each river, the water diversion allocation from each river to the district / county, the inflow of each reservoir, the outflow of each reservoir, the water supply allocation from each reservoir to the district / county, and the water intake of other water sources in the district / county (such as groundwater).
[0114] The method for determining scheduling information for the current time period provided in this application embodiment maximizes the calculation of a preset resource scheduling model by using preset constraints, thereby making the determined scheduling information for the current time period more accurate.
[0115] In one embodiment, in Figure 2 Based on the illustrated embodiment, the process of predicting target water flow information for a target area in the future time period can be described, such as... Figure 9 As shown, the above-mentioned S202 "predicting the target inflow information of the target area in the future time period based on the inflow information of the river channel and the preset flow prediction model" includes:
[0116] S601. Extract trend parameters, seasonal parameters, and abrupt change parameters from river inflow information.
[0117] In this embodiment of the application, after obtaining the river inflow information of the target area within the historical time period, trend parameters, seasonal parameters, and abrupt change parameters can be extracted from the river inflow information.
[0118] S602. Substitute the trend parameters, seasonal parameters, and abrupt change parameters into the preset flow prediction model and perform summation to obtain the target inflow information for the target area in the future time period.
[0119] The preset traffic forecasting model can be the Prophet time series forecasting model.
[0120] In this embodiment of the application, after obtaining the trend parameters, seasonal parameters and abrupt change parameters in the river inflow information, the trend parameters, seasonal parameters and abrupt change parameters can be input into a preset flow prediction model for summation to obtain the target inflow information of the target area in the future time period.
[0121] Optionally, a method for obtaining target water flow information for a target area in a future time period is provided below, as shown in formula (7):
[0122]
[0123] in, This refers to the inflow rate of water into the river channel. For trend parameters, For seasonal parameters, This is a mutation parameter. This method is an autoregressive forecasting method that extrapolates future values based on historical time series.
[0124] The method for predicting target inflow information provided in this application uses a preset flow prediction model to predict the target inflow information of a target area, providing a data foundation for determining water resource scheduling strategies based on the target inflow information.
[0125] In one embodiment, in Figures 2-9 Based on the illustrated embodiments, as Figure 10 As shown, the acquisition of real-time water flow information of the target area within a historical time period includes:
[0126] S701. Obtain the inflow water flow information and the diversion water flow information of the target area.
[0127] In this embodiment of the application, before obtaining the real-time water flow information of the target area within a historical time period, the inflow water flow information and the diversion water flow information of the target area within a historical time period can also be obtained first.
[0128] S702. Determine the relationships based on the location of river areas, reservoir areas, and district / county areas.
[0129] In this embodiment of the application, in order to obtain the relationship between the river area, the reservoir area and the county area, the location of the river area, the reservoir area and the county area can be obtained first, and the relationship between the river area, the reservoir area and the county area can be determined based on the location of the river area, the reservoir area and the county area.
[0130] For example, in the Yarkand River basin, the reservoir impoundment process can be generalized into two stages: first, water is diverted from the river to the districts and counties, and then distributed to the reservoirs. However, the outflow from plain oasis irrigation reservoirs is only used for water supply, and the amount of water returning to the river is negligible. (See related relationships.) Figure 11 The basin includes 7 districts and counties, 6 river sections, 1 key reservoir in the upstream mountainous area, and 34 plain oasis irrigation reservoirs.
[0131] The method for obtaining real-time water flow information provided in this application provides a data foundation for determining water resource scheduling strategies based on real-time water flow information.
[0132] In one embodiment, referring to 12, a water resource scheduling method is also provided, comprising:
[0133] S10. Obtain information on the inflow of water into the target area and the water diversion flow of the target area;
[0134] S11. Determine the relationships based on the location of river areas, reservoir areas, and district / county areas;
[0135] S12. Extract trend parameters, seasonal parameters, and abrupt change parameters from river inflow information;
[0136] S13. Substitute the trend parameters, seasonal parameters and abrupt change parameters into the preset flow prediction model and perform summation to obtain the target inflow information of the target area in the future time period.
[0137] S14. Update the water diversion flow information according to the planned water resources corresponding to the target area to obtain the required water diversion flow information corresponding to the target area.
[0138] S15. Obtain the water balance conditions of river areas, reservoir areas, and district / county areas.
[0139] S16. Based on the water balance conditions of the river area, the reservoir area, and the district / county area, the target inflow and required diversion flow information are substituted into the preset resource scheduling model for maximum calculation to obtain the scheduling information for the current time period.
[0140] S17. Schedule the water resources of the target area according to the scheduling information of the current time period, and after the scheduling, update the real-time water flow information of the target area in the historical time period according to the real-time water flow information of the target area in the current time period, and return to execute S12.
[0141] The above method uses historical water flow information to predict future water flow information, and performs resource scheduling calculations based on future water flow information and real-time water flow information from historical periods to obtain scheduling information for future periods. Compared with existing methods that only estimate future water flow information based on real-time water flow information from historical periods, this application considers the impact of future water flow information on scheduling information during the water resource scheduling process, making the determined scheduling information for future periods more accurate.
[0142] Table 1. Comparison of the ideal scheduling scheme and the water resource scheduling scheme provided in this application.
[0143]
[0144] To further verify the scheduling effect of this application, see Table 1 above, which provides a comparison of the ideal scheduling scheme and the prediction results of this application. As can be seen from Table 1, the difference between the scheduling method provided by this application and the ideal scheduling scheme is within the preset threshold. It should be noted that the ideal scheduling scheme refers to a scheduling scheme obtained by assuming that the incoming flow information for each future time period is accurately known in advance, and using this complete and error-free incoming flow information to perform only one linear programming solution without dynamic correction for each time period.
[0145] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.
[0146] Based on the same inventive concept, this application also provides a water resource scheduling device for implementing the water resource scheduling method described above. The solution provided by this device is similar to the solution described in the above method; therefore, the specific limitations in one or more water resource scheduling device embodiments provided below can be found in the limitations of the water resource scheduling method described above, and will not be repeated here.
[0147] In one exemplary embodiment, such as Figure 13 As shown, a water resource scheduling device is provided, comprising: an acquisition module 10, a prediction module 11, and a determination module 12, wherein:
[0148] The acquisition module 10 is used to acquire real-time water flow information of the target area within a historical time period; the target area includes river area, reservoir area and district / county area; the real-time water flow information includes water diversion flow information, river inflow flow information, reservoir storage information and related relationships; the related relationships include the relationships between river area, reservoir area and district / county area.
[0149] The prediction module 11 is used to predict the target inflow information of the target area in the future time period based on the river inflow information and the preset flow prediction model.
[0150] The determination module 12 is used to obtain the scheduling information of the target area in the future time period based on the target inflow flow information, the diversion flow information and the preset resource scheduling model.
[0151] In an exemplary embodiment, the determining module 12 includes: an updating unit and a determining unit, wherein:
[0152] The update unit is specifically used to update the water diversion flow information based on the planned water resources corresponding to the target area, so as to obtain the required water diversion flow information corresponding to the target area.
[0153] The determination unit is specifically used to obtain the scheduling information of the target area in the future time period based on the target inflow water flow information, the required water diversion flow information and the preset resource scheduling model.
[0154] In an exemplary embodiment, the aforementioned determining unit is further configured to calculate the scheduling information for the current time period based on the target inflow water flow information, the required water diversion flow information, and a preset resource scheduling model; schedule the water resources of the target area according to the scheduling information for the current time period; and after scheduling, update the real-time water flow information of the target area in the historical time period based on the real-time water flow information of the target area in the current time period, and return to execute the step of updating the water diversion flow information according to the planned water resources corresponding to the target area to obtain the required water diversion flow information corresponding to the target area.
[0155] In an exemplary embodiment, the aforementioned determining unit is further configured to obtain constraints; the constraints include water resource management constraints, water balance conditions in river areas, water balance conditions in reservoir areas, and water balance conditions in districts and counties; based on the constraints, the target inflow information and the required water diversion flow information are substituted into a preset resource scheduling model for maximization calculation to obtain the scheduling information for the current time period.
[0156] In an exemplary embodiment, the prediction module 11 includes: an extraction unit and a prediction unit, wherein:
[0157] The extraction unit is specifically used to extract trend parameters, seasonal parameters, and abrupt change parameters from river inflow information.
[0158] The prediction unit is specifically used to substitute trend parameters, seasonal parameters, and abrupt change parameters into a preset flow prediction model for summation calculation to obtain the target water flow information for the target area in the future time period.
[0159] In an exemplary embodiment, the acquisition module 10 includes: an acquisition unit and a determination unit, wherein:
[0160] The acquisition unit is specifically used to acquire the inflow rate information and the diversion rate information of the target area.
[0161] The unit is defined specifically to determine the relationships based on the location of river areas, reservoir areas, and district / county areas.
[0162] Each module in the aforementioned water resource scheduling device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device, or stored in the memory of a computer device as software, so that the processor can call and execute the corresponding operations of each module.
[0163] In one exemplary embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as follows: Figure 14As shown, this computer device includes a processor, memory, input / output (I / O) interfaces, and a communication interface. The processor, memory, and I / O interfaces are connected via a system bus, and the communication interface is also connected to the system bus via the I / O interfaces. The processor provides computational and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system, computer programs, and a database. The internal memory provides the environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The database stores water flow information. The I / O interfaces are used for information exchange between the processor and external devices. The communication interface is used for communication with external terminals via a network connection. When executed by the processor, the computer program implements a water resource scheduling method.
[0164] Those skilled in the art will understand that Figure 14 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0165] In one exemplary embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to perform the following steps:
[0166] Obtain real-time water flow information for a target area within a historical time period; the target area includes river areas, reservoir areas, and district / county areas; the real-time water flow information includes water diversion flow information, river inflow flow information, reservoir storage information, and related relationships; the related relationships include the relationships between river areas, reservoir areas, and district / county areas;
[0167] Based on the river inflow information and the preset flow prediction model, the target inflow information of the target area in the future time period is predicted.
[0168] Based on the target inflow water flow information, the diversion water flow information, and the preset resource scheduling model, the scheduling information for the target area in the future time period is obtained.
[0169] In one embodiment, the processor, when executing a computer program, also performs the following steps:
[0170] Based on the planned water resources corresponding to the target area, the water diversion flow information is updated to obtain the required water diversion flow information for the target area.
[0171] Based on the target inflow water flow information, the required water diversion flow information, and the preset resource scheduling model, the scheduling information for the target area in the future time period is obtained.
[0172] In one embodiment, the processor, when executing a computer program, also performs the following steps:
[0173] Based on the target inflow water flow information, the required water diversion flow information, and the preset resource scheduling model, the scheduling information for the current time period is calculated.
[0174] The water resources of the target area are scheduled according to the scheduling information of the current time period. After scheduling, the real-time water flow information of the target area in the historical time period is updated according to the real-time water flow information of the target area in the current time period. Then, the process is returned to execute the step of updating the water diversion flow information according to the planned water resources corresponding to the target area to obtain the required water diversion flow information of the target area.
[0175] In one embodiment, the processor, when executing a computer program, also performs the following steps:
[0176] Obtain the constraints; the constraints include water resource management constraints, water balance conditions in river areas, water balance conditions in reservoir areas, and water balance conditions in districts and counties.
[0177] Based on the constraints, the target inflow water flow information and the required diversion water flow information are substituted into the preset resource scheduling model for maximization calculation to obtain the scheduling information for the current time period.
[0178] In one embodiment, the processor, when executing a computer program, also performs the following steps:
[0179] Extract trend parameters, seasonal parameters, and abrupt change parameters from river inflow information;
[0180] By substituting trend parameters, seasonal parameters, and abrupt change parameters into a preset flow prediction model and performing summation calculations, the target inflow flow information for the target area in the future time period is obtained.
[0181] In one embodiment, the processor, when executing a computer program, also performs the following steps:
[0182] Obtain the inflow rate information and the diversion rate information of the target area;
[0183] The relationships are determined based on the location of river areas, reservoir areas, and district / county areas.
[0184] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, the computer program performing the following steps when executed by a processor:
[0185] Obtain real-time water flow information for a target area within a historical time period; the target area includes river areas, reservoir areas, and district / county areas; the real-time water flow information includes water diversion flow information, river inflow flow information, reservoir storage information, and related relationships; the related relationships include the relationships between river areas, reservoir areas, and district / county areas;
[0186] Based on the river inflow information and the preset flow prediction model, the target inflow information of the target area in the future time period is predicted.
[0187] Based on the target inflow water flow information, the diversion water flow information, and the preset resource scheduling model, the scheduling information for the target area in the future time period is obtained.
[0188] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0189] Based on the planned water resources corresponding to the target area, the water diversion flow information is updated to obtain the required water diversion flow information for the target area.
[0190] Based on the target inflow water flow information, the required water diversion flow information, and the preset resource scheduling model, the scheduling information for the target area in the future time period is obtained.
[0191] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0192] Based on the target inflow water flow information, the required water diversion flow information, and the preset resource scheduling model, the scheduling information for the current time period is calculated.
[0193] The water resources of the target area are scheduled according to the scheduling information of the current time period. After scheduling, the real-time water flow information of the target area in the historical time period is updated according to the real-time water flow information of the target area in the current time period. Then, the process is returned to execute the step of updating the water diversion flow information according to the planned water resources corresponding to the target area to obtain the required water diversion flow information of the target area.
[0194] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0195] Obtain the constraints; the constraints include water resource management constraints, water balance conditions in river areas, water balance conditions in reservoir areas, and water balance conditions in districts and counties.
[0196] Based on the constraints, the target inflow water flow information and the required diversion water flow information are substituted into the preset resource scheduling model for maximization calculation to obtain the scheduling information for the current time period.
[0197] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0198] Extract trend parameters, seasonal parameters, and abrupt change parameters from river inflow information;
[0199] By substituting trend parameters, seasonal parameters, and abrupt change parameters into a preset flow prediction model and performing summation calculations, the target inflow flow information for the target area in the future time period is obtained.
[0200] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0201] Obtain the inflow rate information and the diversion rate information of the target area;
[0202] The relationships are determined based on the location of river areas, reservoir areas, and district / county areas.
[0203] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, performs the following steps:
[0204] Obtain real-time water flow information for a target area within a historical time period; the target area includes river areas, reservoir areas, and district / county areas; the real-time water flow information includes water diversion flow information, river inflow flow information, reservoir storage information, and related relationships; the related relationships include the relationships between river areas, reservoir areas, and district / county areas;
[0205] Based on the river inflow information and the preset flow prediction model, the target inflow information of the target area in the future time period is predicted.
[0206] Based on the target inflow water flow information, the diversion water flow information, and the preset resource scheduling model, the scheduling information for the target area in the future time period is obtained.
[0207] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0208] Based on the planned water resources corresponding to the target area, the water diversion flow information is updated to obtain the required water diversion flow information for the target area.
[0209] Based on the target inflow water flow information, the required water diversion flow information, and the preset resource scheduling model, the scheduling information for the target area in the future time period is obtained.
[0210] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0211] Based on the target inflow water flow information, the required water diversion flow information, and the preset resource scheduling model, the scheduling information for the current time period is calculated.
[0212] The water resources of the target area are scheduled according to the scheduling information of the current time period. After scheduling, the real-time water flow information of the target area in the historical time period is updated according to the real-time water flow information of the target area in the current time period. Then, the process is returned to execute the step of updating the water diversion flow information according to the planned water resources corresponding to the target area to obtain the required water diversion flow information of the target area.
[0213] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0214] Obtain the constraints; the constraints include water resource management constraints, water balance conditions in river areas, water balance conditions in reservoir areas, and water balance conditions in districts and counties.
[0215] Based on the constraints, the target inflow water flow information and the required diversion water flow information are substituted into the preset resource scheduling model for maximization calculation to obtain the scheduling information for the current time period.
[0216] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0217] Extract trend parameters, seasonal parameters, and abrupt change parameters from river inflow information;
[0218] By substituting trend parameters, seasonal parameters, and abrupt change parameters into a preset flow prediction model and performing summation calculations, the target inflow flow information for the target area in the future time period is obtained.
[0219] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0220] Obtain the inflow rate information and the diversion rate information of the target area;
[0221] The relationships are determined based on the location of river areas, reservoir areas, and district / county areas.
[0222] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, artificial intelligence (AI) processors, etc., and are not limited to these.
[0223] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.
[0224] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.
Claims
1. A water resource scheduling method, characterized in that, The method includes: The system acquires real-time water flow information for a target area within a historical time period. The target area includes river areas, reservoir areas, and district / county areas. The real-time water flow information includes water diversion flow information, river inflow flow information, reservoir storage information, and related relationships. The related relationships include the relationships between the river areas, reservoir areas, and district / county areas. Based on the river inflow information and the preset flow prediction model, the target inflow information of the target area in the future time period is predicted. Historical annual runoff data for each independent upstream channel in the basin is obtained. Based on the historical annual runoff data, the total annual runoff is summed to obtain the total annual runoff. Based on the total annual runoff, the empirical quantile of the runoff value for each year is determined. The year type of the future time period is determined based on the empirical quantile of the annual runoff value; the year type includes high-water years, normal years, and low-water years. Based on the planned water resources corresponding to the target area, the water diversion flow information is updated to obtain the required water diversion flow information corresponding to the target area; Obtain the constraints; the constraints include water resource management constraints, water balance conditions in river areas, water balance conditions in reservoir areas, and water balance conditions in districts and counties. Based on the constraints, the target inflow water flow information and the required diversion water flow information are substituted into the preset resource scheduling model for maximum calculation to obtain the scheduling information for the current time period. The water resources of the target area are scheduled according to the scheduling information of the current time period. After the scheduling, the real-time water flow information of the target area in the historical time period is updated according to the real-time water flow information of the target area in the current time period. Then, the process returns to the step of updating the water diversion flow information according to the planned water resources corresponding to the target area to obtain the required water diversion flow information corresponding to the target area. determining an empirical quantile of the annual runoff value from the total annual runoff The process is described by the following formula: Wherein, is the total annual runoff, and N is the total number of years. is the total annual runoff, and N is the total number of years. The expression for the preset resource scheduling model is given in the following formula: wherein, a district irrigation and social water guarantee rate target, a natural vegetation ecological water guarantee rate target, a reservoir flood control target during flood season, a residual reservoir capacity target at the end of each time period, a basin outflow target, a weight corresponding to the district irrigation and social water guarantee rate target, a weight of the natural vegetation ecological water guarantee rate target, a weight of the reservoir flood control target during flood season, a weight of the residual reservoir capacity target at the end of each time period, a weight of the basin outflow target.
2. The method of claim 1, wherein, The step of predicting the target inflow information for a target area in the future time period based on the river inflow information and a preset flow prediction model includes: Trend parameters, seasonal parameters, and abrupt change parameters are extracted from the river inflow information. The trend parameters, seasonal parameters, and abrupt change parameters are substituted into the preset flow prediction model and summed to obtain the target water flow information for the target area in the future time period.
3. The method of claim 1, wherein, The acquisition of real-time water flow information of the target area within a historical time period includes: Obtain the inflow rate information of the target area and the diversion rate information of the target area; The relationships are determined based on the locations of the river areas, reservoir areas, and district / county areas.
4. The method according to any one of claims 1 to 3, characterized in that, The planned water resources corresponding to the target area include: hard condition water resources planning constraints and physical condition water resources planning constraints; Among them, the hard conditions water resources planning constraints are standards and red lines formulated based on local water resources conditions, and the physical conditions water resources planning constraints refer to the water balance simulation of each target area, including the water balance conditions of river areas, reservoir areas, and district / county areas.
5. A water resource scheduling device, characterized by, The device includes: The acquisition module is used to acquire real-time water flow information of a target area within a historical time period; the target area includes river areas, reservoir areas, and district / county areas; the real-time water flow information includes water diversion flow information, river inflow flow information, reservoir storage information, and related relationships; the related relationships include the relationships between the river areas, reservoir areas, and district / county areas. The prediction module is used to predict the target inflow information of the target area in the future time period based on the river inflow information and the preset flow prediction model. The determination module is used to acquire historical annual runoff data for each independent upstream channel in the watershed, sum the annual total runoff based on the historical annual runoff data, determine the empirical quantile of the runoff value for each year based on the annual total runoff, and determine the year type of the future time period based on the empirical quantile of the annual runoff value; the year type includes high-water year, normal year, and low-water year. The determination module is used to update the water diversion flow information according to the planned water resources corresponding to the target area to obtain the required water diversion flow information corresponding to the target area; obtain constraints; the constraints include water resource management constraints, water balance conditions of river areas, water balance conditions of reservoir areas, and water balance conditions of districts and counties; according to the constraints, substitute the target inflow flow information and the required water diversion flow information into a preset resource scheduling model for maximization calculation to obtain the scheduling information for the current time period; schedule the water resources of the target area according to the scheduling information for the current time period, and after the scheduling, update the real-time water flow information of the target area in the historical time period according to the real-time water flow information of the target area in the current time period, and return to execute the step of updating the water diversion flow information according to the planned water resources corresponding to the target area to obtain the required water diversion flow information corresponding to the target area; determining an empirical quantile of the annual runoff value from the total annual runoff The process is described by the following formula: in, This refers to sorting the total annual runoff in descending order, and then... The sorting number of the total annual runoff, where N refers to the total number of years; The expression for the preset resource scheduling model is given in the following formula: wherein, a district irrigation and social water guarantee rate target, a natural vegetation ecological water guarantee rate target, a reservoir flood control target during flood season, a residual reservoir capacity target at the end of each time period, a basin outflow target, a weight corresponding to the district irrigation and social water guarantee rate target, a weight of the natural vegetation ecological water guarantee rate target, a weight of the reservoir flood control target during flood season, a weight of the residual reservoir capacity target at the end of each time period, a weight of the basin outflow target.
6. The apparatus of claim 5, wherein, The prediction module includes: The extraction unit is specifically used to extract trend parameters, seasonal parameters, and abrupt change parameters from the river inflow information. The calculation unit is specifically used to substitute the trend parameters, seasonal parameters and abrupt change parameters into the preset flow prediction model for summation calculation to obtain the target water flow information of the target area in the future time period.
7. The apparatus of claim 5, wherein, The acquisition module includes: The acquisition unit is specifically used to acquire the inflow water flow information of the target area and the diversion water flow information of the target area; The determining unit is specifically used to determine the association relationship based on the location of the river area, reservoir area, and district / county area.
8. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 4.
9. A computer-readable storage medium having stored thereon a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 4.
10. A computer program product comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 4.
Citation Information
Patent Citations
Water transfer method applied to hydro-junction project
CN113902160A
Reservoir real-time scheduling method and related equipment
CN118278704A