Adaptive scheduling method and related devices based on hydraulic model and AI algorithm
By combining hydraulic model and AI algorithm, the SARIMAX model and genetic annealing algorithm are used to optimize the water supply scheduling solution, which solves the problem of low accuracy of the water supply scheduling solution and improves the safety and stability of water supply scheduling.
Patent Information
- Application Number
- CN202510100845.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-22
- Publication Date
- 2025-08-22
- Estimated Expiration
- 2045-01-22
AI Technical Summary
The existing water supply scheduling scheme is determined offline based on historical data, resulting in low accuracy of water supply scheduling and the safety and stability of water supply scheduling cannot be guaranteed.
Adaptive scheduling method based on hydraulic model and AI algorithm is adopted to obtain current water consumption and water plant working conditions information, and use the SARIMAX model to predict water volume. Combined with genetic annealing algorithm and hydraulic model, the water supply scheduling scheme is determined and the accuracy and stability of the water supply scheduling scheme are optimized.
It improves the accuracy and stability of the water supply scheduling plan, reduces operating costs, and realizes the flexibility and safety of adaptive water supply scheduling.
Smart Images

Figure CN119539447B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of water supply scheduling, and specifically to an adaptive scheduling method and related devices based on a hydraulic model and an AI algorithm. Background Art
[0002] Water supply refers to the provision of water resources through public facilities, commercial organizations, community efforts, or individuals. Water is typically delivered through pumps and pipes. Currently, water supply systems rely on big data and intelligent algorithms to predict water supply scheduling plans for a specific timeframe. However, these scheduling plans are determined offline based on historical data, resulting in low accuracy and inability to guarantee the security and stability of water supply scheduling. Summary of the Invention
[0003] The embodiments of the present application disclose an adaptive scheduling method and related devices based on a hydraulic model and an AI algorithm, which are used to improve the accuracy of a water supply scheduling scheme, thereby improving the safety and stability of the water supply scheduling.
[0004] In a first aspect, the embodiments of the present application disclose an adaptive scheduling method based on a hydraulic model and an AI algorithm, comprising:
[0005] Get the current water consumption;
[0006] Based on the current water consumption, a SARIMAX model is used to predict water consumption to obtain a predicted water consumption;
[0007] Based on the current water consumption, the predicted water consumption and the current water plant operating condition information, selecting a water outlet pressure scheduling scheme from a scheme library to obtain a first scheme set;
[0008] Determine the outlet pressure scheduling scheme based on the first scheme set using a genetic annealing algorithm to obtain a second scheme set;
[0009] Based on the second solution set, the pipe network hydraulic model is used to determine the pipe network information and the water plant information to obtain a first result set;
[0010] Selecting a pump room scheduling solution from the solution library based on the first result set to obtain a third solution set;
[0011] Determine a pump room scheduling solution based on the third solution set using a genetic annealing algorithm to obtain a fourth solution set;
[0012] Determine a pump room scheduling solution using a pump room hydraulic model based on the first result set and the fourth solution set to obtain a second result set;
[0013] A target water supply scheduling scheme is determined based on the first result set, the second result set and an objective function, and the target water supply scheduling scheme is used to perform adaptive water supply scheduling.
[0014] In a second aspect, the present application discloses an adaptive scheduling device based on a hydraulic model and an AI algorithm, comprising:
[0015] An acquisition unit, used to obtain current water consumption;
[0016] A prediction unit, configured to use a SARIMAX model to perform water consumption prediction based on the current water consumption to obtain a predicted water consumption;
[0017] a selection unit, configured to select a water outlet pressure scheduling scheme from a scheme library based on the current water consumption, the predicted water consumption, and current water plant operating condition information to obtain a first scheme set;
[0018] a determining unit, configured to determine a water outlet pressure scheduling scheme based on the first scheme set using a genetic annealing algorithm to obtain a second scheme set;
[0019] The determining unit is further configured to determine the pipe network information and the water plant information using the pipe network hydraulic model based on the second solution set to obtain a first result set;
[0020] The selection unit is further configured to select a pump room scheduling solution from the solution library based on the first result set to obtain a third solution set;
[0021] The determining unit is further configured to determine a pump room scheduling solution using a genetic annealing algorithm based on the third solution set to obtain a fourth solution set;
[0022] The determining unit is further configured to determine a pump room scheduling solution using a pump room hydraulic model based on the first result set and the fourth solution set to obtain a second result set;
[0023] The determining unit is further configured to determine a target water supply scheduling scheme based on the first result set, the second result set, and an objective function, wherein the target water supply scheduling scheme is used to perform adaptive water supply scheduling.
[0024] In a third aspect, an embodiment of the present application discloses a server, comprising a processor and a memory, wherein the processor is configured to call a computer program stored in the memory to execute the method disclosed in the first aspect.
[0025] In a fourth aspect, an embodiment of the present application discloses a computer-readable storage medium, on which a computer program or computer instructions are stored. When the computer program or computer instructions are executed by a processor, the method disclosed in the first aspect above is implemented.
[0026] In a fifth aspect, an embodiment of the present application discloses a computer program product, which includes a computer program code. When the computer program code is run by a processor, the above method is executed.
[0027] In an embodiment of the present application, the server obtains the current water consumption, uses the SARIMAX model to predict the water consumption based on the current water consumption to obtain the predicted water consumption, selects a water supply scheduling scheme from the scheme library based on the current water consumption, the predicted water consumption and the current water plant operating condition information to obtain a first scheme set, uses a genetic annealing algorithm to determine the outlet pressure scheduling scheme based on the first scheme set to obtain a second scheme set, uses a pipe network hydraulic model to determine the pipe network information and water plant information based on the second scheme set to obtain a first result set, selects a pump room scheduling scheme from the scheme library based on the first result set to obtain a third scheme set, uses a genetic annealing algorithm to determine the pump room scheduling scheme based on the third scheme set to obtain a fourth scheme set, uses the pump room hydraulic model to determine the pump room scheduling scheme based on the first result set and the fourth scheme set to obtain a second result set, determines a target water supply scheduling scheme based on the first result set, the second result set and the objective function, and the target water supply scheduling scheme is used to perform adaptive water supply scheduling. As can be seen, the server can use current water consumption and water plant operating conditions to determine the water supply scheduling plan. Since real-time water consumption and water plant operating conditions are used to determine the water supply scheduling plan online, the accuracy of the determined water supply scheduling plan can be improved, thereby improving the security and stability of water supply scheduling, as well as the accuracy of adaptive water supply scheduling. Furthermore, the use of a genetic annealing algorithm in the water supply scheduling plan determination process improves the stability and efficiency of the water supply scheduling plan. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0029] Figure 1 This is a flow chart of an adaptive scheduling method based on a hydraulic model and an AI algorithm disclosed in an embodiment of the present application;
[0030] Figure 2 This is a flow chart of another adaptive scheduling method based on a hydraulic model and an AI algorithm disclosed in an embodiment of the present application;
[0031] Figure 3 This is a schematic structural diagram of an adaptive scheduling device based on a hydraulic model and an AI algorithm disclosed in an embodiment of the present application;
[0032] Figure 4 This is a structural diagram of a server disclosed in an embodiment of the present application. DETAILED DESCRIPTION
[0033] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.
[0034] The present application discloses an adaptive scheduling method and related devices based on a hydraulic model and AI algorithm, which are used to improve the accuracy of water supply scheduling schemes, thereby improving the safety and stability of water supply scheduling. Detailed descriptions are provided below.
[0035] See also Figure 1 , Figure 1 This is a flow chart of an adaptive scheduling method based on a hydraulic model and an AI algorithm disclosed in an embodiment of the present application. The adaptive scheduling method based on a hydraulic model and an AI algorithm can be applied to a server. Figure 1 As shown, the adaptive scheduling method based on hydraulic model and AI algorithm may include the following steps.
[0036] 101. Get the current water consumption.
[0037] The server may obtain the current water consumption in real time, periodically, or regularly. The current water consumption may be the water consumption at the current moment.
[0038] The current water consumption range obtained varies depending on the water supply scope of the water supply scheduling plan. For example, when determining a water supply scheduling plan for a city, the current water consumption obtained is the current water consumption of the city. When determining a water supply scheduling plan for a community, the current water consumption obtained is the current water consumption of the community.
[0039] 102. Based on the current water consumption, the SARIMAX model is used to predict the water consumption to obtain the predicted water consumption.
[0040] After the server obtains the current water consumption, it can perform a water consumption forecast based on the current water consumption to obtain the predicted water consumption. It can be seen that the future water consumption can be predicted based on the current water consumption.
[0041] In some embodiments, the server may obtain weather information and holiday information and, based on current water consumption, weather information, and holiday information, use a water consumption prediction algorithm to perform a water consumption prediction to obtain predicted water consumption. Weather information refers to future weather information, i.e., weather information for a period of time in the future. Holiday information may include current holiday information. Holiday information may also include future holiday information. Current holiday information refers to current holiday information. Future holiday information refers to future holiday information, i.e., holiday information for a period of time in the future.
[0042] Since the trend of daily water supply changing with time series is relatively stable, the seasonal multivariate autoregressive moving average (SARIMAX) model can be used to predict water consumption, which can improve the accuracy of the prediction results.
[0043] In some embodiments, the server may obtain weather information and holiday information, and may use a SARIMAX model to perform water consumption prediction based on current water consumption, weather information, and holiday information to obtain predicted water consumption.
[0044] After the server obtains the current water consumption, weather information and holiday information, it can input the current water consumption, weather information and holiday information into the SARIMAX model, and the output of the SARIMAX model is the predicted water consumption.
[0045] SARIMAX is a model that has been pre-trained and verified based on historical water consumption, historical meteorological information, and historical holiday information.
[0046] In addition to the SARIMAX model, the water volume prediction algorithm can also be other algorithms that can perform water volume prediction.
[0047] 103. Based on the current water consumption, the predicted water consumption and the current water plant operating condition information, a water outlet pressure scheduling scheme is selected from the scheme library to obtain a first scheme set.
[0048] After the server obtains the predicted water consumption, it can select or search for a water outlet pressure scheduling scheme from the scheme library based on the current water consumption, the predicted water consumption and the current water plant operating condition information to obtain a first scheme set.
[0049] The current water plant operating condition information, that is, the real-time operating condition information of the water plant, is the operating characteristic information of the water plant at the current moment. It may include information on the current water plant's pump operation status (that is, the start and stop status of the pump), the current water plant's outlet flow value, the current water plant's water production value, the current water plant's outlet pressure value, the current water plant's water level value of the water well, and other information related to water supply.
[0050] The plan library stores multiple water supply scheduling plans. These multiple water supply scheduling plans may include water supply scheduling plans determined by the user based on historical experience. These multiple water supply scheduling plans may also include historical water supply scheduling plans determined according to the water supply scheduling plan determination method. Each water supply scheduling plan may include a water outlet pressure scheduling plan for each water plant and a pump room scheduling plan for each pump room within each water plant.
[0051] The outlet water pressure scheduling plan may include water plant information and pipe network information. Water plant information may include information related to water supply scheduling, such as the outlet water pressure and flow rate of the water plant. Pipe network information may include information related to water supply scheduling, such as the pipe network pressure and flow rate.
[0052] The solution library can be stored in a server or in a dedicated database.
[0053] In some embodiments, the server can determine the predicted water consumption trend based on the predicted water consumption, obtain the current water plant operating condition information, calculate the current water consumption, predicted water consumption trend and current water plant operating condition information, and the similarity between each water supply scheduling scheme in the scheme library (that is, the outlet water pressure scheduling scheme in each water supply scheduling scheme), and then select the outlet water pressure scheduling scheme with a similarity greater than the first threshold from the scheme library, that is, the water supply scheduling scheme with a similarity greater than the first threshold can be selected from the scheme library first, and then the outlet water pressure scheduling scheme of each water plant can be selected from the selected water supply scheduling scheme to obtain a first set of schemes.
[0054] The first solution set may include one outlet water pressure scheduling solution or multiple outlet water pressure scheduling solutions.
[0055] Because there may be an error between the predicted water consumption predicted by the SARIMAX model and the actual water consumption, such as an error within 3%, directly using the predicted water consumption may not be accurate enough. Therefore, the predicted water consumption trend can be determined based on the predicted water consumption, that is, the changing trend of the predicted water consumption. Using the predicted water consumption trend can improve the accuracy of the water supply scheduling plan.
[0056] It can be seen that the server can accurately obtain the outlet water pressure scheduling plan with high similarity to the current water consumption, predicted water consumption trend and current water plant operating condition information from the plan library, which can improve the accuracy of the final water supply scheduling plan.
[0057] In some embodiments, the multiple water supply scheduling plans in the plan library can be categorized and stored based on water plant operating conditions. That is, the multiple water supply scheduling plans can be clustered and stored based on the water plant operating conditions. Water supply scheduling plans of the same type can be stored together and grouped together. That is, the plan library can include multiple categories of water supply scheduling plans, and each category of water supply scheduling plans can include multiple water supply scheduling plans. Each category of water supply scheduling plans has different characteristic values.
[0058] The server can obtain the current water plant operating condition information, calculate the current water consumption, predict the water consumption trend and the current water plant operating condition information, and the similarity between the current water supply scheduling scheme and a water supply scheduling scheme in each type of water supply scheduling scheme in the scheme library. Then, one or more types of water outlet pressure scheduling schemes with a similarity greater than a second threshold can be selected from the scheme library to obtain a first scheme set.
[0059] Considering the huge number of water pump combinations, especially the speed-regulating pump combination working conditions, the historical water supply scheduling plans are stored by clustering the working conditions to form a plan library. Similar plans can be directly searched, which can reduce repeated calculations and the amount of calculation, thereby improving the efficiency of determining the water supply scheduling plan.
[0060] 104. Based on the first solution set, a genetic annealing algorithm is used to determine the outlet water pressure scheduling solution to obtain a second solution set.
[0061] After obtaining the first solution set, the server can use the genetic annealing algorithm to determine the outlet water pressure scheduling solution based on the first solution set, that is, generate a batch of outlet water pressure scheduling solutions for each water plant to obtain the second solution set.
[0062] The number of outlet water pressure scheduling schemes included in the first scheme set may be the same as the number of outlet water pressure scheduling schemes included in the second scheme set.
[0063] The number of outlet water pressure scheduling schemes included in the first scheme set may be different from the number of outlet water pressure scheduling schemes included in the second scheme set. The number of outlet water pressure scheduling schemes included in the first scheme set may be greater than or less than the number of outlet water pressure scheduling schemes included in the second scheme set.
[0064] Since the genetic annealing algorithm is used, the local optimal solution can be avoided and the accuracy of the final water supply scheduling plan can be improved.
[0065] 105. Based on the second solution set, use the pipeline network hydraulic model to determine the pipeline network information and water plant information to obtain a first result set.
[0066] 106. Based on the first result set, a pump room scheduling solution is selected from the solution library to obtain a third solution set.
[0067] After the server determines the second set of solutions, it uses the network hydraulic model to determine the network and water plant information based on the second set of solutions, namely, the outlet water pressure scheduling solution, to obtain the first result set. Specifically, the solutions in the second set of solutions are input into the network hydraulic model. The output of the network hydraulic model constitutes the first result set. For a description of the network and water plant information, refer to the above description.
[0068] After obtaining the first result set, the server may select a pump room scheduling solution from the solution library based on the first result set to obtain a third solution set.
[0069] The server can calculate the similarity between each result or plan in the first result set and each water supply scheduling plan in the plan library (that is, the pump room scheduling plan in each water supply scheduling plan), and then select the pump room scheduling plan with a similarity greater than the third threshold from the plan library, that is, the water supply scheduling plan with a similarity greater than the third threshold can be selected from the plan library first, and then the pump room scheduling plan of the pump room of each water plant can be selected from the selected water supply scheduling plan to obtain the third plan set.
[0070] 107. Based on the third solution set, a genetic annealing algorithm is used to determine the pump room scheduling solution to obtain the fourth solution set.
[0071] After obtaining the third solution set, the server may use a genetic annealing algorithm based on the third solution set to determine a pump room scheduling solution, ie, generate a batch of pump room scheduling solutions for each water plant to obtain a fourth solution set.
[0072] The number of pump room scheduling solutions included in the third solution set may be the same as the number of pump room scheduling solutions included in the fourth solution set.
[0073] The number of pump room scheduling solutions included in the third solution set may be different from the number of pump room scheduling solutions included in the fourth solution set. The number of pump room scheduling solutions included in the third solution set may be greater than or less than the number of pump room scheduling solutions included in the fourth solution set.
[0074] Since the genetic annealing algorithm performs a wash-and-dish optimization on the solution, the optimization result is used as the first-generation gene to continue cyclic calculation. The cyclic calculation amount is evaluated based on scheduling variables, expected results, computing performance, etc., which can achieve stable and efficient solution output.
[0075] 108. Based on the first result set and the fourth solution set, a pump room hydraulic model is used to determine a pump room scheduling solution to obtain a second result set.
[0076] After the server determines the fourth solution set, it can use the pump room hydraulic model to determine the pump room scheduling solution based on the first and fourth solution sets, resulting in a second result set. Specifically, the corresponding solutions in the first and fourth solution sets are input into the pump room hydraulic model. The output of the pump room hydraulic model constitutes the second result set.
[0077] The server can use the pump room hydraulic model to determine the pump room scheduling solution based on the water plant's water flow value in the first result set, the fourth solution set, and the water level value of the current water plant's suction well to obtain the second result set.
[0078] The pump room scheduling plan may include information on the operating status of the water pump in the pump room, information on the operating frequency of the water pump, the value of the water outlet pressure of the pump room, the value of the water outlet flow of the pump room, the value of the energy consumption of the pump room (i.e., pump room energy consumption), and other information related to water supply scheduling in the pump room.
[0079] Since the first-level pipe network hydraulic model and the second-level pump room hydraulic model are used, the two-level models can be calculated synchronously, thus greatly improving the efficiency of determining the water supply scheduling plan.
[0080] The server may include multiple processing cores. The pipe network hydraulic model and the pump room hydraulic model may be run by different processing cores, thereby achieving two-level synchronous calculations and improving the efficiency of determining the water supply scheduling plan.
[0081] For example, while one processing core is determining the water supply scheduling plan for this city, another processing core may be determining the water supply scheduling plan for another city, thereby improving processing efficiency.
[0082] 109. Based on the first result set, the second result set and the objective function, determine a target water supply scheduling plan.
[0083] After obtaining the second result set, the server may determine a target water supply scheduling plan based on the first result set, the second result set, and the objective function.
[0084] The server may first calculate the value of the objective function based on the first result set and the second result set, and finally select the result or solution with the minimum value of the corresponding objective function from the first result set and the second result set to obtain the target water supply scheduling solution.
[0085] Since a complete water supply scheduling plan includes pipeline network information, water plant information and pump room information, the server can first associate the corresponding results or plans in the first result set and the second result set, and then calculate the value of the objective function based on the associated results or plans in the first result set and the results or plans in the second result set.
[0086] A result in the first result set may correspond to multiple results in the second result set, while a result in the second result set only corresponds to one result in the first result set. Therefore, each result in the second result set corresponds to a value of the objective function.
[0087] In addition, the target water supply scheduling scheme determined according to the objective function is the optimal water supply scheduling scheme, that is, the water supply scheduling scheme with the lowest energy consumption, which can reduce the power consumption of water supply scheduling, thereby reducing the operating cost of water supply scheduling and realizing the optimized scheduling of water supply from multiple water sources.
[0088] After the target water supply scheduling scheme is determined, adaptive water supply scheduling can be performed based on the target water supply scheduling scheme.
[0089] exist Figure 1 In the described adaptive scheduling method based on the hydraulic model and AI algorithm, the current water consumption and the current water plant operating condition information are used to determine the water supply scheduling plan. Since the real-time water consumption and the real-time water plant operating condition information are used to determine the online water supply scheduling plan, the accuracy of the determined water supply scheduling plan can be improved, thereby improving the safety and stability of the water supply scheduling, as well as the accuracy of the adaptive water supply scheduling. In addition, since the genetic annealing algorithm is used in the process of determining the water supply scheduling plan, the stability and determination efficiency of the water supply scheduling plan can be improved. Furthermore, the basic water supply data, hydraulic model (i.e., the pipe network hydraulic model and the pump room hydraulic model) and the optimal algorithm (genetic annealing algorithm and objective function) are adopted, so that the accuracy of the water supply scheduling plan can be further improved.
[0090] See also Figure 2 , Figure 2 This is a flow chart of another adaptive scheduling method based on a hydraulic model and an AI algorithm disclosed in an embodiment of the present application. The adaptive scheduling method based on a hydraulic model and an AI algorithm can be applied to a server. Figure 2 As shown, the adaptive scheduling method based on hydraulic model and AI algorithm may include the following steps.
[0091] 201. Establish an objective function based on pump room energy consumption, pipe network parameters, water plant parameters and pump room parameters.
[0092] The server can establish an objective function based on the pump room energy consumption, pipe network parameters, water plant parameters and pump room parameters.
[0093] Pipeline network parameters may include pipeline network pressure, pipeline network flow and other pipeline network parameters related to water supply scheduling.
[0094] The water plant parameters may include the water outlet pressure, water outlet flow and other water plant parameters related to the water supply scheduling of the water plant.
[0095] The pump room parameters may include the operating status of the water pump in the pump room, the operating frequency of the water pump, the water outlet pressure of the pump room, the water outlet flow rate of the pump room, and other parameters of the pump room related to the water supply scheduling of the water plant.
[0096] The server can establish an objective function based on the pump room energy consumption, pipe network parameters, water plant parameters and pump room parameters, that is, the objective function is established with the pump room energy consumption as the target reference and the pipe network parameters, water plant parameters and pump room parameters as boundary conditions.
[0097] The objective function may be a penalty function. If any of the values of the pipe network parameters, water plant parameters, and pump room parameters do not meet the conditions, the server may impose a penalty. For example, if any of the values of the pipe network parameters, water plant parameters, and pump room parameters do not meet the conditions, the pump room energy consumption may be penalized by increasing the pump room energy consumption value in the second result set. The more parameter values that do not meet the conditions, the more the pump room energy consumption value is increased.
[0098] 202. Get the current water consumption.
[0099] For a detailed description of step 202 , reference may be made to step 101 .
[0100] 203. Based on the current water consumption, the SARIMAX model is used to predict the water consumption to obtain the predicted water consumption.
[0101] For a detailed description of step 203 , please refer to step 102 .
[0102] 204. Based on the current water consumption, the predicted water consumption and the current water plant operating condition information, a water outlet pressure scheduling scheme is selected from the scheme library to obtain a first scheme set.
[0103] For a detailed description of step 204 , please refer to step 103 .
[0104] 205. Based on the first solution set, a genetic annealing algorithm is used to determine the outlet water pressure scheduling solution to obtain a second solution set.
[0105] For a detailed description of step 205 , please refer to step 104 .
[0106] 206. Based on the second solution set, use the pipeline network hydraulic model to determine the pipeline network information and water plant information to obtain a first result set.
[0107] 207. Based on the first result set, a pump room scheduling solution is selected from the solution library to obtain a third solution set.
[0108] For detailed description of steps 206 and 207 , please refer to steps 105 and 106 .
[0109] 208. Based on the third solution set, a genetic annealing algorithm is used to determine the pump room scheduling solution to obtain a fourth solution set.
[0110] For a detailed description of step 208 , please refer to step 107 .
[0111] 209. Based on the first result set and the fourth solution set, a pump room hydraulic model is used to determine a pump room scheduling solution to obtain a second result set.
[0112] For a detailed description of step 209 , please refer to step 108 .
[0113] 210. Determine a target water supply scheduling plan based on the first result set, the second result set, and the objective function.
[0114] For other detailed descriptions of step 210 , please refer to the relevant description below step 109 .
[0115] 211. Store the target water supply scheduling plan in the plan library.
[0116] After the server determines the target water supply scheduling plan, it can store the target water supply scheduling plan in the plan library for subsequent call, which can enrich the water supply scheduling plans in the plan library.
[0117] When the schemes are stored in a classified manner in the scheme library, the server can first determine the category of the target water supply scheduling scheme, that is, determine the scheme characteristic value of the target water supply scheduling scheme through working condition clustering, and then the target water supply scheduling scheme can be sorted into the corresponding class in the scheme library according to the scheme characteristic value of the target water supply scheduling scheme.
[0118] 212. Send the target water supply scheduling plan to the computer device so that the computer device can perform adaptive water supply scheduling according to the target water supply scheduling plan.
[0119] After determining the target water supply scheduling plan, the server can send the target water supply scheduling plan to the computer device. After receiving the target water supply scheduling plan from the server, the computer device can perform adaptive water supply scheduling according to the target water supply scheduling plan.
[0120] The computer device can generate a scheduling instruction based on the target water supply scheduling plan and the current water plant operating condition information, and can perform water supply scheduling according to the scheduling instruction. The computer device can be the device responsible for water supply call.
[0121] As can be seen, after receiving the target water supply scheduling plan, the computer device not only performs water supply scheduling based on the target water supply scheduling plan, but also combines it with the current water plant operating conditions to perform water supply scheduling. Given the same target water supply scheduling plan, different current water plant operating conditions may result in different water supply scheduling methods, which can improve the flexibility and adaptability of water supply scheduling.
[0122] exist Figure 2 In the described adaptive scheduling method based on a hydraulic model and AI algorithm, current water consumption and water plant operating conditions are used to determine the water supply scheduling plan. Since real-time water consumption and water plant operating conditions are used to determine the water supply scheduling plan online, the accuracy of the determined water supply scheduling plan can be improved, thereby improving the security and stability of water supply scheduling, as well as the accuracy of adaptive water supply scheduling. Furthermore, since a genetic annealing algorithm is used in the water supply scheduling process, the stability and efficiency of the water supply scheduling plan can be improved. Furthermore, the use of basic water supply data, a hydraulic model (i.e., a pipe network hydraulic model and a pump room hydraulic model), and a optimization algorithm (a genetic annealing algorithm and an objective function) can further improve the accuracy of the water supply scheduling plan. Furthermore, the water supply scheduling plan determined according to the objective function is the water supply scheduling plan with the lowest energy consumption, which can reduce the power consumption of water supply scheduling, thereby reducing the operating costs of water supply scheduling and achieving optimized scheduling of water supply from multiple water sources.
[0123] It should be understood that the same or corresponding information in the above different embodiments can be referenced to each other.
[0124] See also Figure 3 , Figure 3 This is a schematic diagram of the structure of an adaptive scheduling device based on a hydraulic model and an AI algorithm disclosed in an embodiment of the present application. The adaptive scheduling device based on a hydraulic model and an AI algorithm can be applied to a server. Figure 3 As shown, the adaptive scheduling device based on the hydraulic model and AI algorithm may include:
[0125] An acquisition unit 301 is used to acquire current water consumption;
[0126] A prediction unit 302 is configured to use a SARIMAX model to predict water consumption based on current water consumption to obtain predicted water consumption;
[0127] The selection unit 303 is configured to select a water outlet pressure scheduling scheme from a scheme library based on current water consumption, predicted water consumption, and current water plant operating condition information to obtain a first scheme set;
[0128] A determining unit 304 is configured to determine a water outlet pressure scheduling scheme based on the first scheme set using a genetic annealing algorithm to obtain a second scheme set;
[0129] The determining unit 304 is further configured to determine the pipe network information and the water plant information using the pipe network hydraulic model based on the second solution set to obtain a first result set;
[0130] The selection unit 303 is further configured to select a pump room scheduling solution from the solution library based on the first result set to obtain a third solution set;
[0131] The determining unit 304 is further configured to determine a pump room scheduling solution using a genetic annealing algorithm based on the third solution set to obtain a fourth solution set;
[0132] The determining unit 304 is further configured to determine a pump room scheduling solution using a pump room hydraulic model based on the first result set and the fourth solution set to obtain a second result set;
[0133] The determination unit 304 is further configured to determine a target water supply scheduling scheme based on the first result set, the second result set, and the objective function, where the target water supply scheduling scheme is used to perform adaptive water supply scheduling.
[0134] In some embodiments, the acquisition unit 301 is further configured to acquire weather information and holiday information;
[0135] The determination unit 304 uses the SARIMAX model to predict water consumption based on the current water consumption, and the predicted water consumption includes:
[0136] Based on the current water consumption, meteorological information and holiday information, the SARIMAX model is used to predict water consumption and obtain the predicted water consumption.
[0137] In some embodiments, the selection unit 303 is specifically configured to:
[0138] Determine the forecast water consumption trend based on the forecast water consumption;
[0139] Calculate the current water consumption, predicted water consumption trend and current water plant operating conditions, and the similarity between each water supply scheduling scheme in the scheme library;
[0140] The outlet water pressure scheduling schemes with similarity greater than a threshold are selected from the scheme library to obtain the first scheme set.
[0141] In some embodiments, the determining unit 304 determines the target water supply scheduling scheme based on the first result set, the second result set, and the objective function, including:
[0142] Calculating a value of an objective function based on the first result set and the second result set;
[0143] The result with the smallest value of the corresponding objective function is selected from the first result set and the second result set to obtain the target water supply scheduling plan.
[0144] In some embodiments, the adaptive scheduling device based on the hydraulic model and AI algorithm may further include:
[0145] A unit is established for establishing an objective function based on the pump room energy consumption, pipe network parameters, water plant parameters and pump room parameters.
[0146] In some embodiments, the adaptive scheduling device based on the hydraulic model and AI algorithm may further include:
[0147] The communication unit is used to send the target water supply scheduling plan to the computer device so that the computer device can perform adaptive water supply scheduling according to the target water supply scheduling plan.
[0148] In some embodiments, the adaptive scheduling device based on the hydraulic model and AI algorithm may further include:
[0149] The storage unit is used to store the target water supply scheduling plan in the plan library.
[0150] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the acquisition unit 301, prediction unit 302, selection unit 303, determination unit 304, establishment unit, communication unit and storage unit described above can refer to the corresponding processes in the aforementioned method embodiment and will not be repeated here.
[0151] In several embodiments provided in this application, the coupling between units may be electrical, mechanical or other forms of coupling.
[0152] In addition, the functional units in the various embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.
[0153] Please refer to Figure 4 , Figure 4 This is a schematic diagram of the structure of a server disclosed in the embodiment of this application. Figure 4 As shown, the server may include a processor 401 and a memory 402. The memory 402 may store one or more computer programs. The one or more computer programs are configured to execute the method described in the above method embodiment. The memory 402 may exist independently or be integrated with the processor 401.
[0154] The processor 401 may include one or more processing cores. The processor 401 may utilize various interfaces and lines to connect the various parts of the entire server, and may execute various functions of the server and process data by running or executing instructions, programs, code sets or instruction sets stored in the memory 402, and calling data stored in the memory 402. Optionally, the processor 401 may be implemented in at least one hardware form of digital signal processing (DSP), field programmable gate array (FPGA), and programmable logic array (PLA). The processor 1201 may integrate a central processing unit (CPU), etc. Among them, the CPU mainly processes the operating system, user interface, and application programs, etc.
[0155] The memory 402 may include random access memory (RAM) or read-only memory (ROM). The memory 402 may be used to store instructions, programs, codes, code sets, or instruction sets. The memory 402 may include a program storage area and a data storage area. The program storage area may store instructions for implementing an operating system, instructions for implementing at least one function, instructions for implementing the various method embodiments described above, and the like. The data storage area may also store data created by the server during use.
[0156] When the computer program instructions stored in the memory 402 are executed, the processor 401 can be used to perform various operations performed by the server in the above method embodiment. The specific implementation of these operations can be found in the previous embodiments and will not be described in detail here.
[0157] Schematic diagram of the structure of a computer-readable storage medium disclosed in an embodiment of the present application. The computer-readable medium stores computer program code, which can be invoked by a processor to perform various operations in the above method embodiments. The specific implementation of each of the above operations can be found in the previous embodiments and will not be repeated here.
[0158] The computer-readable storage medium may be an electronic memory such as a flash memory, an electrically erasable programmable read-only memory (EEPROM), an erasable programmable read-only memory (EPROM), a hard disk, or a ROM. Alternatively, the computer-readable storage medium may include a non-transitory computer-readable storage medium. The computer-readable storage medium has storage space for program codes for executing any of the method steps in the above method. These computer program codes may be read from or written to one or more computer program products. The computer program codes may be compressed, for example, in an appropriate form.
[0159] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. An adaptive scheduling method based on hydraulic model and AI algorithm, characterized in that: include: Get the current water consumption; Based on the current water consumption, a SARIMAX model is used to predict water consumption to obtain a predicted water consumption; Based on the current water consumption, the predicted water consumption, and the current water plant operating condition information, selecting an outlet water pressure scheduling scheme from a scheme library to obtain a first scheme set, wherein the current water plant operating condition information includes a value of the current water plant outlet flow rate and a value of the current water plant water production, and the outlet water pressure scheduling scheme includes a value of the water plant outlet water pressure and a value of the water plant outlet flow rate; Determine the outlet pressure scheduling scheme based on the first scheme set using a genetic annealing algorithm to obtain a second scheme set; Based on the second solution set, the pipe network hydraulic model is used to determine the pipe network information and the water plant information to obtain a first result set; Selecting a pump room scheduling solution from the solution library based on the first result set to obtain a third solution set; Determine a pump room scheduling solution based on the third solution set using a genetic annealing algorithm to obtain a fourth solution set; Determining a pump room scheduling solution using a pump room hydraulic model based on the first result set and the fourth solution set to obtain a second result set, wherein the pump room scheduling solution includes information on the operating status of water pumps in the pump room, information on the operating frequency of the water pumps, a value of the water outlet pressure of the pump room, a value of the water outlet flow rate of the pump room, and a value of the energy consumption of the pump room; Determine a target water supply scheduling scheme based on the first result set, the second result set, and an objective function, wherein the target water supply scheduling scheme is used to perform adaptive water supply scheduling; The method further comprises: An objective function is established with pump room energy consumption as a target reference and pipe network parameters, water plant parameters, and pump room parameters as boundary conditions. The pipe network parameters include pipe network pressure and pipe network flow, the water plant parameters include the water plant outlet pressure and water plant outlet flow, and the pump room parameters include the operating status of the water pump and the operating frequency of the water pump. The water pressure scheduling scheme is selected from the scheme library based on the current water consumption, the predicted water consumption and the current water plant operating condition information, and the first scheme set includes: determining a predicted water consumption trend based on the predicted water consumption; Calculating the similarity between the current water consumption, the predicted water consumption trend, and the current water plant operating condition information and each water supply scheduling scheme in the scheme library; Selecting the outlet water pressure scheduling schemes with a similarity greater than a threshold from the scheme library to obtain a first scheme set; The method of determining a pump room scheduling solution using a pump room hydraulic model based on the first result set and the fourth solution set to obtain a second result set includes: Based on the water outflow value of the water plant in the first result set, the fourth solution set and the water level value of the current water plant's suction well, a pump room hydraulic model is used to determine a pump room scheduling solution to obtain a second result set.
2. The method according to claim 1, characterized in that The method further comprises: Get weather information and holiday information; The water consumption is predicted using the SARIMAX model based on the current water consumption to obtain the predicted water consumption, including: Based on the current water consumption, the meteorological information and the holiday information, a SARIMAX model is used to perform water consumption forecasting to obtain a forecasted water consumption.
3. The method according to claim 1, characterized in that Determining a target water supply scheduling scheme based on the first result set, the second result set, and the objective function includes: Calculating a value of the objective function according to the first result set and the second result set; The result with the smallest value of the corresponding objective function is selected from the first result set and the second result set to obtain a target water supply scheduling plan.
4. The method according to any one of claims 1 to 3, characterized in that The method further comprises: The target water supply scheduling plan is stored in the plan library.
5. The method according to any one of claims 1 to 3, characterized in that The method further comprises: The target water supply scheduling plan is sent to a computer device so that the computer device performs adaptive water supply scheduling according to the target water supply scheduling plan.
6. An adaptive scheduling device based on hydraulic model and AI algorithm, characterized in that: include: An acquisition unit, used to obtain current water consumption; A prediction unit, configured to use a SARIMAX model to perform water consumption prediction based on the current water consumption to obtain a predicted water consumption; a selection unit, configured to select an outlet water pressure scheduling scheme from a scheme library based on the current water consumption, the predicted water consumption, and current water plant operating condition information to obtain a first scheme set, wherein the current water plant operating condition information includes a value of the current water plant outlet flow rate and a value of the current water plant water production, and the outlet water pressure scheduling scheme includes a value of the water plant outlet water pressure and a value of the water plant outlet flow rate; a determining unit, configured to determine a water outlet pressure scheduling scheme based on the first scheme set using a genetic annealing algorithm to obtain a second scheme set; The determining unit is further configured to determine the pipe network information and the water plant information using the pipe network hydraulic model based on the second solution set to obtain a first result set; The selection unit is further configured to select a pump room scheduling solution from the solution library based on the first result set to obtain a third solution set; The determining unit is further configured to determine a pump room scheduling solution using a genetic annealing algorithm based on the third solution set to obtain a fourth solution set; The determining unit is further configured to determine a pump room scheduling scheme using a pump room hydraulic model based on the first result set and the fourth scheme set, to obtain a second result set, wherein the pump room scheduling scheme includes information on the operating status of the water pumps in the pump room, information on the operating frequency of the water pumps, the value of the water outlet pressure of the pump room, the value of the water outlet flow rate of the pump room, and the value of the energy consumption of the pump room; The determining unit is further configured to determine a target water supply scheduling scheme based on the first result set, the second result set, and an objective function, wherein the target water supply scheduling scheme is used to perform adaptive water supply scheduling; An establishment unit is used to establish an objective function with pump room energy consumption as a target reference and with pipe network parameters, water plant parameters and pump room parameters as boundary conditions, wherein the pipe network parameters include pipe network pressure and pipe network flow, the water plant parameters include water outlet pressure and water outlet flow of the water plant, and the pump room parameters include the operating status of the water pump and the operating frequency of the water pump; The selection unit is specifically configured to determine a predicted water consumption trend based on the predicted water consumption; Calculating the similarity between the current water consumption, the predicted water consumption trend, and the current water plant operating condition information and each water supply scheduling scheme in the scheme library; Selecting the outlet water pressure scheduling schemes with a similarity greater than a threshold from the scheme library to obtain a first scheme set; The method of determining a pump room scheduling solution using a pump room hydraulic model based on the first result set and the fourth solution set to obtain a second result set includes: Based on the water outflow value of the water plant in the first result set, the fourth solution set and the water level value of the current water plant's suction well, a pump room hydraulic model is used to determine a pump room scheduling solution to obtain a second result set.
7. A server, characterized in that: The method comprises a processor and a memory, wherein the processor is configured to call a computer program stored in the memory to implement the method according to any one of claims 1 to 5.
8. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program or computer instructions, and when the computer program or computer instructions are executed by a processor, the method according to any one of claims 1 to 5 is implemented.
Citation Information
Patent Citations
Water plant control method and control equipment
CN117196250A