Secondary water supply optimization control method and device, computer equipment and storage medium
By constructing and optimizing the curve model related to water supply and dynamically adjusting the operating parameters of the water pump, the problem of insufficient water pressure in high-rise residential areas is solved, and the stability and reliability of the water supply system are achieved.
Patent Information
- Application Number
- CN202411531771.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-30
- Publication Date
- 2025-02-07
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
How to ensure stable water pressure in high-rise residential areas and solve the problem of insufficient municipal water supply pressure.
By obtaining real-time water supply information, the flow-head curve model, the flow-efficiency curve model and the flow-power curve model are constructed and optimized, the operating frequency and quantity of the water pump are dynamically adjusted, and the PLC controller is used to maintain a constant water supply pressure.
It realizes the constant water supply pressure under different loads, meets the water needs of users, and improves the stability and reliability of the water supply system.
Smart Images

Figure CN119396053A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of secondary water supply optimization and control, and in particular to a secondary water supply optimization control method, device, computer equipment and storage medium. Background Art
[0002] Secondary water supply refers to a water supply method that stores and pressurizes the water supplied by the city's public water supply or self-built facilities, and then supplies it to users through pipes. It is usually used in residential areas with high floors. However, the pressure of municipal water supply is not enough to supply water directly to high floors, so how to ensure stable water pressure in high floors is a technical problem that needs to be solved urgently. Summary of the invention
[0003] In order to achieve constant pressure water supply for secondary water supply in a residential area, the present application provides a secondary water supply optimization control method, device, computer equipment and storage medium.
[0004] The above-mentioned invention objective of the present application is achieved through the following technical solutions: A secondary water supply optimization control method, the secondary water supply optimization control method comprising: Get real-time water supply information; According to the real-time water supply information, a flow-lift curve model, a flow-efficiency curve model and a flow-power curve model are constructed; Optimizing the flow-head curve model, the flow-efficiency curve model and the flow-power curve model to obtain optimized flow-head curve model, optimized flow-efficiency curve model and optimized flow-power curve model, and obtaining the operating frequency and number of water pumps from the optimized flow-head curve model, the optimized flow-efficiency curve model and the optimized flow-power curve model; The operating frequency of the water pump and the number of the water pumps are controlled by a PLC controller to maintain a constant water supply pressure.
[0005] By adopting the above technical solutions, the acquisition of real-time water supply information can provide accurate data on current water supply demand. By constructing flow-head curve models, flow-efficiency curve models and flow-power curve models, the performance and operating status of the water pump can be obtained in real time. It can help predict the head, efficiency and power consumption under different flow rates. Meet water supply needs. The PLC controller dynamically adjusts the operating frequency and number of water pumps according to the optimized operation plan to ensure that the water supply system always operates in the best condition. Real-time adjustment of the operating parameters of the water pump can quickly respond to changes in water supply demand and maintain a constant water supply pressure. Ensure water supply stability.
[0006] In a preferred example, the present application can be further configured as follows: the acquisition of historical water supply information from the water supply storage data and the acquisition of real-time water supply information specifically include: The real-time water supply information is collected through a water supply pressure sensor, a water outlet flow sensor and a water tank liquid level sensor.
[0007] By adopting the above technical solution, real-time water supply information is collected through water supply pressure sensors, water outlet flow sensors and water tank liquid level sensors, which can accurately monitor the status of the water supply system, quickly respond to changes in water supply demand, optimize water pump operation efficiency, and improve the reliability and safety of the water supply system.
[0008] In a preferred example, the present application can be further configured as follows: constructing a flow-lift curve model, a flow-efficiency curve model and a flow-power curve model according to the real-time water supply information, specifically including: The flow-head curve model is expressed by the following formula: , where H(Q) is the head (m), H0 is the head at zero flow (m), Q real is the real-time water supply information (m³ / h or L / s), a is a coefficient related to the water pump characteristics (m / (m³ / h)² or m / (L / s)²); The flow-efficiency curve model is expressed by the following formula: , where η(Q) is the efficiency, ηmax is the maximum efficiency, and Qopt is the flow rate corresponding to the maximum efficiency; The flow-power curve model is expressed by the following formula: , P(Q) is power, P0 is the power consumption at zero flow, b and c are coefficients related to the pump characteristics.
[0009] By adopting the above technical solutions, the QH curve model can help select the appropriate pump model and determine the head required at different flow rates. The Q-η curve model provides the relationship between flow and efficiency, and improves the efficiency of the pump by selecting the best operating point. Efficient pumps can reduce energy consumption and reduce operating costs. The QP curve model shows the relationship between flow and power consumption, which can achieve the purpose of energy saving. By optimizing the selection and operation of the pump, the performance of the constant pressure water supply system can be improved, ensuring that the system can maintain a stable water supply pressure under different flow conditions.
[0010] In a preferred example, the present application can be further configured as follows: the flow-head curve model, the flow-efficiency curve model and the flow-power curve model are optimized to obtain the optimized flow-head curve model, the optimized flow-efficiency curve model and the optimized flow-power curve model for optimization, and the operating frequency and number of water pumps are obtained from the optimized flow-head curve model, the optimized flow-efficiency curve model and the optimized flow-power curve model, specifically including: Optimizing the flow-lift curve model, the flow-efficiency curve model and the flow-power curve model according to a genetic optimization algorithm to obtain the optimized flow-lift curve model, the optimized flow-efficiency curve model and the optimized flow-power curve model; The operating frequency of the water pump and the number of the water pumps are obtained from the optimized flow-lift curve model, the optimized flow-efficiency curve model and the optimized flow-power curve model.
[0011] By adopting the above technical solution and genetic optimization algorithm, the optimal flow-head, flow-efficiency and flow-power curve model parameter combination can be determined to improve the performance of the water pump. The optimized water pump operation plan will be more suitable for actual working conditions and improve the operation efficiency and stability of the water pump.
[0012] In a preferred example, the present application can be further configured as follows: the operation frequency of the water pump and the number of the water pumps are controlled by the PLC controller to maintain a constant water supply pressure, specifically including: The real-time water supply information is used to obtain the real-time operating frequency of the water pump and the real-time number of water pumps. The real-time operating frequency of the water pump is compared with the operating frequency of the water pump, and the real-time number of water pumps is compared with the number of water pumps to obtain a water pressure comparison result. If the water pressure comparison result indicates that the water supply needs to be increased, the number of running water pumps is increased or the frequency of the water pumps is increased; if the water pressure comparison result indicates that the water supply needs to be reduced, the number of running water pumps is reduced or the frequency of the water pumps is reduced to maintain the constant water supply pressure.
[0013] By adopting the above technical solution, based on the real-time monitored water supply information, the changing trend of water supply can be discovered in time and the operation of the water pump can be adjusted quickly. By adjusting the operating frequency and number of water pumps in real time, it can ensure that the water supply system maintains a constant water supply pressure under different loads to meet the water needs of users. According to the water pressure comparison results, the system can dynamically adjust the operating frequency and number of water pumps to keep the water supply pressure constant. Avoiding the occurrence of excessive or low water supply pressure improves the stability and reliability of the water supply system.
[0014] In a preferred example, the present application can be further configured as follows: the secondary water supply optimization control method further includes: Obtain historical water supply information from a water storage database; Acquire a time series analysis algorithm, analyze the historical water supply information according to the time series analysis algorithm, and obtain a water pressure prediction result; According to the time series analysis algorithm, the historical water supply information is formed into a continuous time series data set; Constructing a SARIMA model, wherein the continuous time series data set is used to train the SARIMA model to obtain a trained SARIMA model; The trained SARIMA model is used to predict the water supply in the future time period to generate a water supply demand forecast value; According to the real-time water supply information, the water supply demand forecast value is evaluated to obtain the water pressure forecast result, and the water pressure forecast result is used to pre-control the PLC controller.
[0015] By adopting the above technical solution, by analyzing historical water supply information and using the SARIMA model for prediction, the changing trend of water supply demand in future time periods can be predicted in advance. Advance prediction allows the water supply system to be better planned and prepared, thereby avoiding sudden changes in water supply pressure. The predicted water supply demand information can be used to optimize the operation scheduling of water pumps so that the operation frequency and number of water pumps can better match actual demand. By reasonably scheduling the operation of water pumps, it is possible to effectively avoid situations where the water supply pressure is too high or too low, and maintain the stability of the water supply system. By pre-controlling the PLC controller, adjustments can be made before the water supply demand changes, shortening the system response time and improving the sensitivity of the system. It helps to quickly adjust water supply parameters when demand changes and keep the water supply pressure constant. The second object of the invention is achieved by the following technical solutions: A secondary water supply optimization control device, the secondary water supply optimization control device comprising: An information acquisition module is used to obtain historical water supply information from a water supply storage database and obtain real-time water supply information; An information acquisition module is used to obtain real-time water supply information; A model building module, used to build a flow-lift curve model, a flow-efficiency curve model and a flow-power curve model according to the real-time water supply information; A model optimization module is used to optimize the flow-head curve model, the flow-efficiency curve model and the flow-power curve model to obtain an optimized flow-head curve model, an optimized flow-efficiency curve model and an optimized flow-power curve model, and obtain the operating frequency and number of water pumps from the optimized flow-head curve model, the optimized flow-efficiency curve model and the optimized flow-power curve model; The water pressure control module is used to control the operating frequency of the water pump and the number of the water pumps through a PLC controller to maintain a constant water supply pressure.
[0016] By adopting the above technical solutions, the acquisition of real-time water supply information can provide accurate data on current water supply demand. By constructing flow-head curve models, flow-efficiency curve models and flow-power curve models, the performance and operating status of the water pump can be obtained in real time. It can help predict the head, efficiency and power consumption under different flow rates. The optimized operation plan can maximize the efficiency of the water pump, reduce energy consumption, and meet the water supply demand. The PLC controller dynamically adjusts the operating frequency and number of water pumps according to the optimized operation plan to ensure that the water supply system always operates in the best condition. Real-time adjustment of the operating parameters of the water pump can quickly respond to changes in water supply demand and maintain a constant water supply pressure. Ensure the stability of water supply.
[0017] The third objective of the present application is achieved through the following technical solutions: A computer device comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the secondary water supply optimization control method when executing the computer program.
[0018] The fourth objective of the present application is achieved through the following technical solutions: A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of the secondary water supply optimization control method.
[0019] In summary, the present application includes at least one of the following beneficial technical effects: 1. Acquisition of real-time water supply information can provide accurate data on current water supply demand. By constructing flow-head curve model, flow-efficiency curve model and flow-power curve model, the performance and operating status of the water pump can be obtained in real time. It can help predict the head, efficiency and power consumption under different flow rates. The optimized operation plan can maximize the efficiency of the water pump, reduce energy consumption, and meet the water supply demand. The PLC controller dynamically adjusts the operating frequency and number of water pumps according to the optimized operation plan to ensure that the water supply system always operates in the best condition. Real-time adjustment of the operating parameters of the water pump can quickly respond to changes in water supply demand and maintain a constant water supply pressure. Ensure the stability of water supply.
[0020] 2. Based on the real-time monitoring of water supply information, timely discover the changing trend of water supply and quickly adjust the operation of the water pump. By adjusting the operating frequency and number of water pumps in real time, it can ensure that the water supply system maintains a constant water supply pressure under different loads to meet the water needs of users. According to the water pressure comparison results, the system can dynamically adjust the operating frequency and number of water pumps to keep the water supply pressure constant. Avoiding the occurrence of excessive or low water supply pressure improves the stability and reliability of the water supply system; 3. The QH curve model can help select the appropriate pump model and determine the head required at different flow rates. The Q-η curve model provides the relationship between flow and efficiency, and improves the efficiency of the pump by selecting the best operating point. An efficient pump can reduce energy consumption and operating costs. The QP curve model shows the relationship between flow and power consumption, which can achieve the purpose of energy saving. By optimizing the selection and operation of the pump, the performance of the constant pressure water supply system can be improved, ensuring that the system can maintain a stable water supply pressure under different flow conditions. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] Figure 1 is a flow chart of a secondary water supply optimization control method in an embodiment of the present application; Figure 2 This is a flowchart for implementing step S10 of the secondary water supply optimization control method in one embodiment of the present application; Figure 3 This is a flowchart for implementing step S20 of the secondary water supply optimization control method in one embodiment of the present application; Figure 4 This is a flowchart for implementing step S30 of the secondary water supply optimization control method in one embodiment of the present application; Figure 5 This is a flowchart for implementing step S40 of the secondary water supply optimization control method in one embodiment of the present application; Figure 6 This is a flowchart of the implementation of the secondary water supply optimization control method after step S40 in an embodiment of the present application; Figure 7 This is a principle block diagram of a secondary water supply optimization control method in an embodiment of the present application; Figure 8 It is a schematic diagram of a device in an embodiment of the present application. DETAILED DESCRIPTION
[0022] The present application is further described in detail below in conjunction with the accompanying drawings.
[0023] In one embodiment, if Figure 1 As shown, the present application discloses a secondary water supply optimization control method, which specifically includes the following steps: S10: Obtain real-time water supply information.
[0024] In this embodiment, the real-time water supply information refers to the water flow rate, water pump operation status, water pressure information, water pump head, water pump efficiency and power consumption at the current moment.
[0025] Specifically, the water flow rate, water pump operating status, water pressure information, water pump head, water pump efficiency and power consumption at the current moment are obtained through the water supply pressure sensor, water outlet flow sensor and water tank liquid level sensor.
[0026] S20: constructing a flow-lift curve model, a flow-efficiency curve model and a flow-power curve model according to the real-time water supply information.
[0027] In this embodiment, the flow-head curve model refers to one of the characteristic curves describing the performance of the water pump. It shows the head that the water pump can provide under different flow conditions (i.e., the height to which the water pump can lift water). The flow-efficiency curve model refers to the change in efficiency of the water pump under different flow conditions. The flow-power curve model refers to the change in power of the water pump under different flow conditions.
[0028] Specifically, a flow sensor is used to measure the current flow rate Q in real time, and then the current head H is calculated according to the formula to monitor and control the operation status of the water pump. According to the current flow rate Q measured by the flow sensor, the current efficiency η is calculated according to the above formula. The operation efficiency of the water pump is monitored in real time. According to the current flow rate Q measured by the flow sensor, the current power consumption P is calculated according to the above formula.
[0029] S30: Optimizing the flow-head curve model, the flow-efficiency curve model and the flow-power curve model to obtain optimized flow-head curve model, optimized flow-efficiency curve model and optimized flow-power curve model, and obtaining the operating frequency and number of water pumps from the optimized flow-head curve model, optimized flow-efficiency curve model and optimized flow-power curve model.
[0030] In this embodiment, the operating frequency of the water pump refers to the number of times or cycles that the water pump operates in a unit time. The number of water pumps refers to the total number of water pumps in use.
[0031] Specifically, a genetic algorithm is used to determine the operation plan of the water pump. By clearly defining the optimization objectives and constraints, a suitable individual encoding method is designed and the population is initialized. Next, a fitness function is designed to evaluate the quality of individuals, and then selection, crossover and mutation operations are performed to update the population. During the iteration process, the termination condition is judged to determine whether to continue the optimization. Finally, the individual with the highest fitness is obtained as the operating frequency and number of water pumps.
[0032] S40: The operating frequency and number of water pumps are controlled by the PLC controller to maintain a constant water supply pressure.
[0033] Specifically, according to the operating frequency of the water pumps and the number of water pumps, the PLC controller controls the water pressure to ensure a constant water pressure.
[0034] In one embodiment, if Figure 2 As shown, in step S10, real-time water supply information is obtained, which specifically includes: S11: Collect real-time water supply information through the water supply pressure sensor, water outlet flow sensor and water tank liquid level sensor.
[0035] Specifically, the PLC controller is connected with the water supply pressure sensor, the water outlet flow sensor and the water tank liquid level sensor to read the sensor information in real time to obtain the real-time water supply information.
[0036] In one embodiment, if Figure 3 As shown, in step S20, a flow-lift curve model, a flow-efficiency curve model and a flow-power curve model are constructed according to the real-time water supply information, specifically including: S21: The flow-head curve model is expressed by the following formula: , where H(Q) is the head (m), H0 is the head at zero flow (m), Q real is the real-time water supply information (m³ / h or L / s), and a is the coefficient related to the pump characteristics (m / (m³ / h)² or m / (L / s)²).
[0037] Specifically, a flow sensor is used to measure the current flow rate Q in real time, and then the current head H is calculated according to a formula to monitor and control the operating status of the water pump.
[0038] S22: The flow-efficiency curve model is expressed by the following formula: , where η(Q) is the efficiency, ηmax is the maximum efficiency, and Qopt is the flow rate corresponding to the maximum efficiency.
[0039] Specifically, according to the current flow rate Q measured by the flow sensor, the current efficiency η is calculated according to the above formula to monitor the operating efficiency of the water pump in real time.
[0040] S23: The flow-power curve model is expressed by the following formula: , P(Q) is power, P0 is the power consumption at zero flow, b and c are coefficients related to the pump characteristics.
[0041] Specifically, according to the current flow rate Q measured by the flow sensor, the current power consumption P is then calculated according to the above formula.
[0042] Furthermore, b is a coefficient related to the linear power consumption of the pump and represents the flow rate Q real The linear contribution to the power P, as the flow rate increases, the power consumption also increases linearly. C is the coefficient related to the secondary power consumption of the pump, representing the flow rate Q real The contribution of the square term to the power P.
[0043] In one embodiment, if Figure 4 As shown, in step S30, the flow-head curve model, the flow-efficiency curve model and the flow-power curve model are optimized to obtain the optimized flow-head curve model, the optimized flow-efficiency curve model and the optimized flow-power curve model, and the operating frequency and number of water pumps are obtained from the optimized flow-head curve model, the optimized flow-efficiency curve model and the optimized flow-power curve model, specifically including: S31: optimizing the flow-lift curve model, the flow-efficiency curve model and the flow-power curve model according to the genetic optimization algorithm to obtain an optimized flow-lift curve model, an optimized flow-efficiency curve model and an optimized flow-power curve model.
[0044] In this embodiment, the genetic optimization algorithm refers to selecting the optimal water pump operation plan in an iterative manner. The individual with the highest fitness refers to the individual with the highest score obtained by the genetic optimization algorithm.
[0045] Specifically, real number coding is used to represent the pump frequency and combination, Individual = [f1, f2, ..., fn], where f n represents the operating frequency of the ith pump. Define a fitness function to evaluate the quality of each individual. The fitness function can combine the objectives of the flow-head curve, flow-efficiency curve, and flow-power curve (such as minimizing energy consumption and maximizing efficiency). , through the roulette wheel selection method, select individuals for reproduction according to the fitness value. Select the crossover individual with the crossover probability Pc, and perform the crossover operation to generate a new individual. Select the mutated individual with the mutation probability Pm, and perform the mutation operation to generate a new individual. Add the new individual to the population and replace the individual with the worst fitness. When the maximum number of iterations T is reached, stop the iteration.
[0046] S32: Obtaining the operating frequency of the water pump and the number of water pumps from the optimized flow-head curve model, the optimized flow-efficiency curve model, and the optimized flow-power curve model.
[0047] Specifically, the fitness of each individual is calculated by generating an initial population. After multiple generations of iterations, the individual with the highest fitness is found. The operating frequency of each pump is extracted from the individual with the highest fitness score. The performance indicators of each pump at a specified frequency are calculated using the flow-head, flow-efficiency, and flow-power curve models. Based on the calculation results, a detailed pump operation plan is formulated to specify the operating frequency and number of pumps.
[0048] In one embodiment, if Figure 5 As shown, in step S40, the operating frequency and number of water pumps are controlled by the PLC controller to maintain a constant water supply pressure, specifically including: S41: The real-time operating frequency of the water pump and the real-time number of water pumps are obtained through the real-time water supply information, and the water pressure comparison result is obtained by comparing the real-time operating frequency of the water pump with the operating frequency of the water pump and the real-time number of water pumps with the number of water pumps.
[0049] Specifically, the water pressure and water supply volume of the water supply system are monitored in real time through pressure sensors and flow sensors. The data is transmitted to the PLC controller. For water pressure comparison, the PLC controller compares the real-time water pressure with the target water pressure. The water pressure difference is calculated to obtain the comparison result.
[0050] S42: If the water pressure comparison result indicates that the water supply needs to be increased, the number of running water pumps is increased or the frequency of the water pumps is increased; if the water pressure comparison result indicates that the water supply needs to be reduced, the number of running water pumps is reduced or the frequency of the water pumps is reduced to maintain a constant water supply pressure.
[0051] Specifically, determine the water supply demand and determine whether to increase or decrease the water supply based on the water pressure comparison results. If the water pressure is lower than the target water pressure, increase the water supply. If the water pressure is higher than the target water pressure, reduce the water supply. Adjust measures to increase the water supply: start more water pumps. Increase the operating frequency of existing water pumps. Reduce the water supply: shut down some water pumps. Reduce the operating frequency of existing water pumps. The PLC controller issues corresponding control instructions. Adjust the operating status of the water pump to ensure that the water supply system reaches the target water pressure.
[0052] In one embodiment, if Figure 6 As shown, after step S40, the secondary water supply optimization control method further includes: S51: Acquire historical water supply information from a water storage database.
[0053] In this embodiment, the water volume storage database refers to a database used to record and manage water flow data in a water supply system.
[0054] Specifically, the historical water supply, water flow and water pressure are obtained from the water supply storage database.
[0055] S52: Obtain a time series analysis algorithm, analyze historical water supply information according to the time series analysis algorithm, and obtain a water pressure prediction result.
[0056] In this embodiment, the time series analysis algorithm refers to data points arranged in chronological order, which is used to predict future trends. Water supply demand refers to the prediction and estimation of the water demand of the water supply system in a specific time period in the future.
[0057] Specifically, historical water supply information is collected, and data cleaning, missing values and outliers are processed to ensure the continuity and accuracy of time series data. According to the characteristics of time series data and forecasting requirements, the parameters of the SARIMA model are determined, including the order of the non-seasonal part and the seasonal part. The SARIMA model is trained using historical water supply data, and the prediction performance of the model is cross-validated, and the parameters are adjusted to improve the accuracy and robustness of the model. The trained SARIMA model is used to forecast water supply demand and generate water supply forecasts within a specific time period.
[0058] S53: According to the time series analysis algorithm, the historical water supply information is formed into a continuous time series data set.
[0059] Specifically, obtain the historical water supply information, including the timestamp (date / time) and the corresponding water supply, and ensure that the timestamps of the historical water supply data are continuous and arranged in chronological order. Use the timestamp as the time index of the time series and the water supply as the value of the time series.
[0060] S54: Construct a SARIMA model. The continuous time series data set is used to train the SARIMA model to obtain a trained SARIMA model.
[0061] Specifically, by determining the parameters of the SARIMA model, including the autoregressive order (p), the difference order (d), the moving average order (q), the seasonal autoregressive order (P), the seasonal difference order (D), the seasonal moving average order (Q) and the seasonal period (s), the SARIMA model is fitted to the historical data, and the fitted model is diagnosed to obtain the trained SARIMA model.
[0062] S55: Use the trained SARIMA model to predict the water supply in the future time period and generate a water supply demand forecast value.
[0063] In this embodiment, the water supply demand forecast value refers to a value that estimates and forecasts the water supply demand in a future period of time based on historical water supply.
[0064] Specifically, determine the future time period, that is, the time range to be predicted, and use the get_forecast() or forecast() function of the trained SARIMA model to predict the water supply in the future time period. Get the predicted value of water supply demand.
[0065] S56: Based on the real-time water supply information, the water supply demand forecast value is evaluated to obtain a water pressure forecast result, and the water pressure forecast result is used to pre-control the PLC controller.
[0066] Specifically, the flow sensor, pressure sensor and water tank level sensor are used to collect water supply and water pressure information in real time. The trained SARIMA model is used to predict the water supply demand in the future time period and generate a water supply demand forecast value. The real-time water supply information is compared with the water supply demand forecast value generated by the SARIMA model to calculate the error index. The relationship between the head (H) and flow (Q) of the water pump can usually be expressed as, , where H is the head (or water pressure), H0 is the rated head of the pump, K is a constant related to the pump characteristics, and Q is the flow rate. Using the water supply forecast results, the corresponding water pressure forecast value is calculated using the above formula. This allows the PLC controller to be dynamically adjusted to maintain a constant water supply pressure.
[0067] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0068] In one embodiment, a secondary water supply optimization control device is provided, and the secondary water supply optimization control device corresponds one-to-one to the secondary water supply optimization control method in the above embodiment. Figure 7As shown, the secondary water supply optimization control device includes an information acquisition module, a model building module, a model optimization module and a water pressure control module. The detailed description of each functional module is as follows: An information acquisition module is used to obtain real-time water supply information; A model building module, used to build a flow-lift curve model, a flow-efficiency curve model and a flow-power curve model according to real-time water supply information; A model optimization module is used to optimize the flow-head curve model, the flow-efficiency curve model and the flow-power curve model to obtain the optimized flow-head curve model, the optimized flow-efficiency curve model and the optimized flow-power curve model, and obtain the operating frequency and number of water pumps from the optimized flow-head curve model, the optimized flow-efficiency curve model and the optimized flow-power curve model; The water pressure control module is used to control the operating frequency and number of water pumps through the PLC controller to maintain a constant water supply pressure.
[0069] Optionally, the information acquisition module includes: The real-time water quantum module is used to collect real-time water supply information through the water supply pressure sensor, water outlet flow sensor and water tank level sensor.
[0070] Optionally, model building modules include: The flow-head curve submodule is used to express the flow-head curve model through the following formula: , where H(Q) is the head (m), H0 is the head at zero flow (m), Q real is the real-time water supply information (m³ / h or L / s), a is the coefficient related to the pump characteristics (m / (m³ / h)² or m / (L / s)²); The flow-efficiency curve submodule is used to express the flow-efficiency curve model through the following formula: , where η(Q) is the efficiency, ηmax is the maximum efficiency, and Qopt is the flow rate corresponding to the maximum efficiency; The flow-power curve submodule is used to express the flow-power curve model through the following formula: , P(Q) is power, P0 is the power consumption at zero flow, b and c are coefficients related to the pump characteristics.
[0071] Optionally, the model optimization module includes: The model optimization submodule is used to optimize the flow-lift curve model, the flow-efficiency curve model and the flow-power curve model according to the genetic optimization algorithm to obtain the optimized flow-lift curve model, the optimized flow-efficiency curve model and the optimized flow-power curve model; The scheme formulation submodule is used to obtain the operating frequency and the number of water pumps from the optimized flow-head curve model, the optimized flow-efficiency curve model and the optimized flow-power curve model.
[0072] Optionally, the water pressure control module includes: The comparison result submodule obtains the real-time operating frequency and the real-time number of water pumps through the real-time water supply information, and obtains the water pressure comparison result by comparing the real-time operating frequency of the water pump with the operating frequency of the water pump and the real-time number of water pumps with the number of water pumps; The constant water supply pressure submodule, if the water pressure comparison result indicates that the water supply needs to be increased, the number of running water pumps is increased or the frequency of the water pump is increased; if the water pressure comparison result indicates that the water supply needs to be reduced, the number of running water pumps is reduced or the frequency of the water pump is reduced to maintain a constant water supply pressure.
[0073] Optionally, the water pressure control module also includes: A historical water volume module is used to obtain historical water supply information from a water volume storage database; A water pressure prediction module is used to obtain a time series analysis algorithm, analyze historical water supply information according to the time series analysis algorithm, and obtain a water pressure prediction result; The time series data set module is used to form a continuous time series data set from the historical water supply information according to the time series analysis algorithm; SARIMA model module is used to build the SARIMA model. The continuous time series data set is used to train the SARIMA model to obtain the trained SARIMA model. The water supply demand forecast value module is used to use the trained SARIMA model to predict the water supply in the future time period and generate the water supply demand forecast value; The pre-control module is used to obtain real-time water supply information, evaluate the predicted value of water supply demand, and obtain water pressure prediction results. The water pressure prediction results are used to pre-control the PLC controller.
[0074] For the specific definition of the secondary water supply optimization control device, please refer to the definition of the secondary water supply optimization control method above, which will not be repeated here. Each module in the above-mentioned secondary water supply optimization control device can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0075] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 8 As shown. The computer device includes a processor, a memory, a network interface and a database connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store a water supply database. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a secondary water supply optimization control method is implemented.
[0076] In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the following steps when executing the computer program: Get real-time water supply information; According to the real-time water supply information, the flow-head curve model, flow-efficiency curve model and flow-power curve model are constructed; Optimizing the flow-lift curve model, the flow-efficiency curve model and the flow-power curve model to obtain the optimized flow-lift curve model, the optimized flow-efficiency curve model and the optimized flow-power curve model, and obtaining the operating frequency and number of water pumps from the optimized flow-lift curve model, the optimized flow-efficiency curve model and the optimized flow-power curve model; The operating frequency and number of water pumps are controlled by a PLC controller to maintain a constant water supply pressure.
[0077] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented: Get real-time water supply information; According to the real-time water supply information, the flow-head curve model, flow-efficiency curve model and flow-power curve model are constructed; Optimizing the flow-lift curve model, the flow-efficiency curve model and the flow-power curve model to obtain the optimized flow-lift curve model, the optimized flow-efficiency curve model and the optimized flow-power curve model, and obtaining the operating frequency and number of water pumps from the optimized flow-lift curve model, the optimized flow-efficiency curve model and the optimized flow-power curve model; The operating frequency and number of water pumps are controlled by a PLC controller to maintain a constant water supply pressure.
[0078] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
[0079] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. In actual applications, the above-mentioned functions can be distributed and completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above.
[0080] The embodiments described above 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, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A secondary water supply optimization control method, characterized in that: The secondary water supply optimization control method comprises: Get real-time water supply information; According to the real-time water supply information, a flow-lift curve model, a flow-efficiency curve model and a flow-power curve model are constructed; Optimizing the flow-head curve model, the flow-efficiency curve model and the flow-power curve model to obtain optimized flow-head curve model, optimized flow-efficiency curve model and optimized flow-power curve model, and obtaining the operating frequency and number of water pumps from the optimized flow-head curve model, the optimized flow-efficiency curve model and the optimized flow-power curve model; The operating frequency of the water pump and the number of the water pumps are controlled by a PLC controller to maintain a constant water supply pressure.
2. The secondary water supply optimization control method according to claim 1, characterized in that: The obtaining of real-time water supply information specifically includes: The real-time water supply information is collected through a water supply pressure sensor, a water outlet flow sensor and a water tank liquid level sensor.
3. The secondary water supply optimization control method according to claim 1, characterized in that: The constructing of a flow-lift curve model, a flow-efficiency curve model and a flow-power curve model according to the real-time water supply information specifically includes: The flow-head curve model is expressed by the following formula: , where H(Q) is the head (m), H0 is the head at zero flow (m), Q real is the real-time water supply information (m³ / h or L / s), a is the coefficient related to the pump characteristics (m / (m³ / h)² or m / (L / s)²); The flow-efficiency curve model is expressed by the following formula: , where η(Q) is the efficiency, ηmax is the maximum efficiency, and Qopt is the flow rate corresponding to the maximum efficiency; The flow-power curve model is expressed by the following formula: , P(Q) is power, P0 is the power consumption at zero flow, b and c are coefficients related to the pump characteristics.
4. The secondary water supply optimization control method according to claim 1, characterized in that: The flow-head curve model, the flow-efficiency curve model and the flow-power curve model are optimized to obtain the optimized flow-head curve model, the optimized flow-efficiency curve model and the optimized flow-power curve model, and the operating frequency and the number of water pumps are obtained from the optimized flow-head curve model, the optimized flow-efficiency curve model and the optimized flow-power curve model, specifically including: Optimizing the flow-lift curve model, the flow-efficiency curve model and the flow-power curve model according to a genetic optimization algorithm to obtain the optimized flow-lift curve model, the optimized flow-efficiency curve model and the optimized flow-power curve model; The operating frequency of the water pump and the number of the water pumps are obtained from the optimized flow-lift curve model, the optimized flow-efficiency curve model and the optimized flow-power curve model.
5. The secondary water supply optimization control method according to claim 1, characterized in that: The PLC controller is used to control the operating frequency of the water pump and the number of the water pumps to maintain a constant water supply pressure, specifically including: The real-time water supply information is used to obtain the real-time operating frequency of the water pump and the real-time number of water pumps. The real-time operating frequency of the water pump is compared with the operating frequency of the water pump, and the real-time number of water pumps is compared with the number of water pumps to obtain a water pressure comparison result. If the water pressure comparison result indicates that the water supply needs to be increased, the number of running water pumps is increased or the frequency of the water pumps is increased; if the water pressure comparison result indicates that the water supply needs to be reduced, the number of running water pumps is reduced or the frequency of the water pumps is reduced to maintain the constant water supply pressure.
6. The secondary water supply optimization control method according to claim 5, characterized in that: The secondary water supply optimization control method also includes: Obtain historical water supply information from a water storage database; Acquire a time series analysis algorithm, analyze the historical water supply information according to the time series analysis algorithm, and obtain a water pressure prediction result; According to the time series analysis algorithm, the historical water supply information is formed into a continuous time series data set; Constructing a SARIMA model, wherein the continuous time series data set is used to train the SARIMA model to obtain a trained SARIMA model; The trained SARIMA model is used to predict the water supply in the future time period to generate a water supply demand forecast value; The water supply demand forecast value is evaluated according to the real-time water supply information to obtain the water pressure forecast result, and the water pressure forecast result is used to pre-control the PLC controller.
7. A secondary water supply optimization control device, characterized in that: The secondary water supply optimization control device comprises: An information acquisition module is used to obtain historical water supply information from a water supply storage database and obtain real-time water supply information; An information acquisition module is used to obtain real-time water supply information; A model building module, used to build a flow-lift curve model, a flow-efficiency curve model and a flow-power curve model according to the real-time water supply information; A model optimization module is used to optimize the flow-head curve model, the flow-efficiency curve model and the flow-power curve model to obtain an optimized flow-head curve model, an optimized flow-efficiency curve model and an optimized flow-power curve model, and obtain the operating frequency and number of water pumps from the optimized flow-head curve model, the optimized flow-efficiency curve model and the optimized flow-power curve model; The water pressure control module is used to control the operating frequency of the water pump and the number of the water pumps through a PLC controller to maintain a constant water supply pressure.
8. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the secondary water supply optimization control method according to any one of claims 1 to 6 are implemented.
9. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the secondary water supply optimization control method according to any one of claims 1 to 6 are implemented.