Variable frequency pump set control method and device, electronic equipment and storage medium
By obtaining the current pipeline characteristics and target operating conditions of the pump station, using the working condition inference model and energy consumption prediction model, determining the effective frequency for frequency control, the problems of unstable frequency conversion control of the pump station in the existing technology are solved. , realizes efficient and energy-saving pump station operation.
Patent Information
- Application Number
- CN202411291877.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-14
- Publication Date
- 2024-12-03
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing pump station frequency conversion control method is difficult to ensure the best performance of the system when the load changes violently or there is a large hysteresis, resulting in unstable adjustment, poor real-time performance of manual adjustment and low energy efficiency.
By obtaining the current pipeline characteristics and target operating conditions of the pump station, using the pre-constructed operating condition inference model and energy consumption prediction model, the effective frequency is determined and frequency control is carried out to optimize the operating efficiency and energy-saving effect of the pump station.
It achieves the operational efficiency and energy-saving effect of the pump station while ensuring the operational stability of the pump station, significantly reducing energy consumption, and improving the intelligent level of the system and energy utilization efficiency.
Smart Images

Figure CN119062560A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of variable frequency pump control, and in particular to a variable frequency pump group control method, device electronic equipment and storage medium. Background Art
[0002] With the acceleration of urbanization and the development of industrialization, the energy consumption problem of water supply systems has become increasingly prominent. As the core link in the water supply system, the operating efficiency of the primary pump station directly affects the energy consumption of the entire water supply system. Therefore, how to improve the operating efficiency of the pump station and reduce energy consumption has become the focus of research. At present, the frequency conversion control of the pump station mainly adopts two methods: manual adjustment and proportional-integral-differential PID adjustment. Although manual adjustment is simple to operate, it has poor real-time performance, low energy efficiency, and reliance on experience. PID adjustment is difficult to guarantee the optimal performance of the system when the load changes drastically or there is a large lag, and may even cause unstable adjustment. Summary of the invention
[0003] The present invention provides a variable frequency pump group control method, device, electronic equipment and storage medium, which improve the operation efficiency and energy saving effect of the pump station while ensuring the operation stability of the pump station.
[0004] According to one aspect of the present invention, a variable frequency pump group control method is provided, the method comprising:
[0005] Obtaining the pipeline characteristics of the pump station at the current moment and the target operating condition of the pump station at the target moment; wherein the target moment is the moment next to the current moment;
[0006] For each variable frequency pump group in the pump station, according to a preset candidate frequency set corresponding to the variable frequency pump group, the water level of the suction port of the variable frequency pump group at the current moment, the pipeline characteristics and a pre-built operating condition reasoning model, determine the variable frequency pump group state information corresponding to each candidate frequency in the candidate frequency set at the current moment and the operating condition of the pump station;
[0007] Determining a valid frequency from the candidate frequency set according to the target operating condition and the pump station operating condition;
[0008] According to the effective frequency and the status information of the variable frequency pump group corresponding to the effective frequency, the energy consumption level of the variable frequency pump group at the effective frequency at the current moment is determined, and the target frequency is determined from the effective frequency based on the energy consumption level, so as to control the frequency of the variable frequency pump group at the current moment based on the target frequency.
[0009] According to another aspect of the present invention, a variable frequency pump group control device is provided, the device comprising:
[0010] A target operating condition determination module is used to obtain the pipeline characteristics of the pump station at the current moment and the target operating condition of the pump station at the target moment; wherein the target moment is the moment next to the current moment;
[0011] A pump station operating condition determination module is used to determine, for each variable frequency pump group in the pump station, the variable frequency pump group state information corresponding to each candidate frequency in the candidate frequency set at the current moment and the pump station operating condition according to a preset candidate frequency set corresponding to the variable frequency pump group, the water level of the water suction port of the variable frequency pump group at the current moment, the pipeline characteristics and a pre-built operating condition reasoning model;
[0012] An effective frequency determination module, used to determine an effective frequency from the candidate frequency set according to the target operating condition and the pump station operating condition;
[0013] The variable frequency pump group control module is used to determine the energy consumption level of the variable frequency pump group at the effective frequency at the current moment according to the effective frequency and the variable frequency pump group status information corresponding to the effective frequency, and determine the target frequency from the effective frequency based on the energy consumption level, so as to control the frequency of the variable frequency pump group at the current moment based on the target frequency.
[0014] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:
[0015] at least one processor; and
[0016] a memory communicatively connected to the at least one processor; wherein,
[0017] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the variable frequency pump group control method described in any embodiment of the present invention.
[0018] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the variable frequency pump group control method described in any embodiment of the present invention when executed.
[0019] The technical solution of the embodiment of the present invention obtains the pipeline characteristics of the pump station at the current moment and the target operating condition of the pump station at the target moment; wherein the target moment is the next moment of the current moment; for each variable frequency pump group in the pump station, according to the preset candidate frequency set corresponding to the variable frequency pump group, the water level of the suction port of the variable frequency pump group at the current moment, the pipeline characteristics and the pre-constructed operating condition reasoning model, the variable frequency pump group status information corresponding to each candidate frequency in the candidate frequency set at the current moment and the pump station operating condition are determined; the effective frequency is determined from the candidate frequency set according to the target operating condition and the pump station operating condition; according to the effective frequency and the variable frequency pump group status information corresponding to the effective frequency, the energy consumption level corresponding to the variable frequency pump group at the effective frequency at the current moment is determined, and the target frequency is determined from the effective frequency based on the energy consumption level, so as to control the frequency of the variable frequency pump group at the current moment based on the target frequency. The technical solution of the embodiment of the present invention accurately predicts the frequency control results of all candidate frequencies at the current moment through the operating condition reasoning model, determines the effective frequency that meets the target operating condition, and determines the target frequency in the effective frequency based on the energy consumption level to control the frequency of the variable frequency pump group at the current moment, while ensuring the operating stability of the pump station, improving the operating efficiency and energy-saving effect of the pump station.
[0020] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, 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 invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0022] Figure 1 This is a flow chart of a variable frequency pump group control method provided according to Embodiment 1 of the present invention;
[0023] Figure 2 is a schematic diagram of a training process of a working condition reasoning model provided according to the first embodiment of the present invention;
[0024] Figure 3 is a flow chart of a variable frequency pump group control method provided according to the second embodiment of the present invention;
[0025] Figure 4 is a schematic diagram of a training process of a working condition prediction model provided according to the second embodiment of the present invention;
[0026] Figure 5 is a schematic diagram of the reasoning process of a working condition reasoning model provided according to the second embodiment of the present invention;
[0027] Figure 6 is a schematic diagram of a training process of an energy consumption prediction model provided according to Embodiment 2 of the present invention;
[0028] Figure 7 is a structural schematic diagram of a variable frequency pump group control device provided according to Embodiment 3 of the present invention;
[0029] Figure 8 It is a structural schematic diagram of an electronic device for implementing the variable frequency pump group control method of an embodiment of the present invention. DETAILED DESCRIPTION
[0030] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0031] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0032] Embodiment 1
[0033] Figure 1 A flow chart of a variable frequency pump group control method is provided for the first embodiment of the present invention. This embodiment is applicable to the case of controlling a variable frequency pump group in a pump station. The method can be executed by a variable frequency pump group control device. The variable frequency pump group control device can be implemented in the form of hardware and / or software. The variable frequency pump group control device can be configured in an electronic device. Figure 1 As shown, the method includes:
[0034] S110, obtaining the pipeline characteristics of the pump station at the current moment and the target operating condition of the pump station at the target moment; wherein the target moment is the moment next to the current moment.
[0035] Among them, the pump station is a device and project that can provide hydraulic power and pneumatic power with a certain pressure and flow, mainly including pump groups, electrical equipment, pipelines, gate valves and other facilities, and is widely used in urban water supply, agricultural irrigation, industrial production, hydropower generation and other fields. The pipeline characteristics of the pump station are important parameters that describe the flow state of water in the pipeline. The pipeline characteristic curve can reflect the relationship between the outlet pressure and the outlet flow when the fluid flows through the pipeline under a specific pipeline system and fixed operating conditions. In an embodiment of the present invention, the operating conditions include the outlet pressure and the outlet flow.
[0036] In the embodiment of the present invention, for a primary pump station, in most cases, the characteristics of its water delivery pipeline will basically not change in a short period of time. Therefore, the pipeline characteristics of the pump station at the current moment can be obtained first, and the pipeline characteristics can be used to determine the target operating conditions of the pump station at the target moment. Among them, the pipeline characteristics of the pump station at the current moment can be determined by the current operating conditions at the current moment, the target outlet flow of the target operating condition can be determined according to actual needs, and the target outlet pressure of the target operating condition can be determined by the pipeline characteristics and the target outlet flow.
[0037] S120. For each variable frequency pump group in the pump station, determine the variable frequency pump group status information and the pump station operating condition corresponding to each candidate frequency in the candidate frequency set at the current moment according to the pre-set candidate frequency set corresponding to the variable frequency pump group, the water level at the suction port of the variable frequency pump group at the current moment, the pipeline characteristics and the pre-built operating condition reasoning model.
[0038] Among them, the variable frequency pump group is a system composed of one or more variable frequency water pumps, which adjusts the speed of the water pump in real time through the variable frequency technology to achieve the purpose of constant pressure water supply or adjust the water volume according to demand. The variable frequency pump group uses a motor to drive the pump to operate, and changes the power frequency through the inverter to adjust the speed of the motor to achieve the effect of controlling the flow of the variable frequency pump group. In an embodiment of the present invention, the variable frequency pump group status information includes the variable frequency pump group head and the variable frequency pump group flow, and the pump station operation condition includes the pump station outlet flow and the pump station outlet pressure.
[0039] Among them, when the candidate frequency set is pre-set, a large number of frequency conversion pump group frequencies that do not meet the current operating environment and are inefficient can be excluded by judging the empirical conditions and recording in a table, thereby reducing the number of calculations and speeding up the calculation speed. The liquid level at the suction port of the variable frequency pump group at the current moment can be monitored by a liquid level meter installed at the suction port of the variable frequency pump group.
[0040] Among them, the operating condition reasoning model can be generated by training the neural network model based on the historical operating data of the pump station and the historical operating data of the variable frequency pump group. For example, Figure 2 A schematic diagram of the training process of a working condition reasoning model is shown, such as Figure 2 As shown, the input and output of the model are data at the same time t. Indicates the frequency of the variable frequency pump group at time t, L t represents the liquid level at the suction port of the variable frequency pump group at time t, ω t represents the pipeline characteristics at time t, Indicates the head of the variable frequency pump group corresponding to the frequency at time t, Indicates the frequency conversion pump flow rate corresponding to the frequency at time t, P t represents the outlet pressure at time t, Q t represents the outlet flow at time t, and g(·) represents two neural network models with 2 hidden layers and 64 nodes in each hidden layer. The loss function of the operating condition reasoning model is as follows:
[0041]
[0042] Among them, loss g represents the loss function, N represents the number of samples in a batch training, and They are the predicted and actual values of the outlet pressure at time t, the outlet flow at time t, the head of the variable frequency pump group at time t, and the flow of the variable frequency pump group at time t. and They are the normalized parameters of the outlet pressure, outlet flow, variable frequency pump head and variable frequency pump flow, which are used to normalize the predicted values of the model output before calculating the loss function to ensure that the loss magnitudes among the outlet pressure, outlet flow, variable frequency pump head and variable frequency pump flow are the same to prevent gradient disappearance or gradient explosion.
[0043] In an embodiment of the present invention, a pre-constructed operating condition inference model can be used to accurately predict the variable frequency pump group status information and the pump station operating conditions corresponding to each candidate frequency in the candidate frequency set at the current moment, based on the pre-set candidate frequency set corresponding to the variable frequency pump group, the water intake level of the variable frequency pump group at the current moment, and the pipeline characteristics of the pump station at the current moment, thereby providing scientific and reliable data support for subsequent variable frequency pump group control.
[0044] S130. Determine an effective frequency from a set of candidate frequencies according to the target operating condition and the pump station operating condition.
[0045] Among them, the target operating condition is the operating condition of the pump station at the next moment after the current moment. The operating condition of the pump station is determined based on the candidate frequency set of the variable frequency pump group of the pump station at the current moment. It is the operating condition that can be achieved by controlling and adjusting the frequency of the variable frequency pump group at the current moment. It can be understood that only when the operating condition of the pump station can meet the target operating condition, its corresponding candidate frequency is the effective frequency.
[0046] In the embodiment of the present invention, the error between the target operating condition and the pump station operating condition can be determined, and the candidate frequency corresponding to the pump station operating condition whose error with the target operating condition is within the allowable range can be determined as the effective frequency. Thus, it can be ensured that after the frequency of the variable frequency pump group is controlled and adjusted at the current moment, the operating condition requirement of the pump station at the next moment can be met, thereby ensuring the stability of the operation of the pump station.
[0047] Optionally, an effective frequency is determined from the candidate frequency set according to the target operating condition and the pump station operating condition, including: determining the outlet flow difference between the target outlet flow in the target operating condition and the pump station outlet flow in the pump station operating condition, and the outlet pressure difference between the target outlet pressure in the target operating condition and the pump station outlet pressure in the pump station operating condition; and taking the candidate frequency corresponding to the pump station operating condition in which the outlet flow difference is within a first preset range and the outlet pressure difference is within a second preset range in the candidate frequency set as the effective frequency.
[0048] In the embodiment of the present invention, the error between the target operating condition and the pump station operating condition can be characterized by determining the outlet flow difference and outlet pressure difference between the target operating condition and the pump station operating condition, and the candidate frequency corresponding to the pump station operating condition whose outlet flow difference with the target operating condition is within a first preset range and whose outlet pressure difference is within a second preset range is used as the effective frequency. The first preset range and the second preset range can be set according to the actual pump station management requirements, and the embodiment of the present invention does not limit this.
[0049] S140. Determine the energy consumption level of the variable frequency pump group at the effective frequency at the current moment according to the effective frequency and the variable frequency pump group status information corresponding to the effective frequency, and determine the target frequency from the effective frequency based on the energy consumption level, so as to control the frequency of the variable frequency pump group at the current moment based on the target frequency.
[0050] In an embodiment of the present invention, after determining the effective frequency from the candidate frequency set according to the target operating conditions and the pump station operating conditions, the energy consumption level of the variable frequency pump group at the effective frequency at the current moment can be determined according to each effective frequency and its corresponding variable frequency pump group head and variable frequency pump group flow rate, and the target frequency can be determined from the effective frequencies based on the energy consumption level of each effective frequency, so as to control the frequency of the variable frequency pump group at the current moment based on the target frequency, thereby improving the operating efficiency and energy-saving effect of the pump station while ensuring the operating stability of the pump station.
[0051] The technical solution of the embodiment of the present invention obtains the pipeline characteristics of the pump station at the current moment and the target operating condition of the pump station at the target moment; wherein the target moment is the next moment of the current moment; for each variable frequency pump group in the pump station, according to the preset candidate frequency set corresponding to the variable frequency pump group, the water level of the suction port of the variable frequency pump group at the current moment, the pipeline characteristics and the pre-built operating condition reasoning model, the variable frequency pump group status information corresponding to each candidate frequency in the candidate frequency set at the current moment and the pump station operating condition are determined; the effective frequency is determined from the candidate frequency set according to the target operating condition and the pump station operating condition; according to the effective frequency and the variable frequency pump group status information corresponding to the effective frequency, the energy consumption level corresponding to the variable frequency pump group at the effective frequency at the current moment is determined, and the target frequency is determined from the effective frequency based on the energy consumption level, so as to control the frequency of the variable frequency pump group at the current moment based on the target frequency. The technical solution of the embodiment of the present invention accurately predicts the frequency control results of all candidate frequencies at the current moment through the operating condition reasoning model, determines the effective frequency that meets the target operating condition, and determines the target frequency in the effective frequency based on the energy consumption level to control the frequency of the variable frequency pump group at the current moment, while ensuring the operating stability of the pump station, improving the operating efficiency and energy-saving effect of the pump station.
[0052] Embodiment 2
[0053] Figure 3 This is a flow chart of a variable frequency pump group control method provided in the second embodiment of the present invention. The embodiment of the present invention is optimized based on the above embodiment. For solutions not described in detail in the embodiment of the present invention, please refer to the above embodiment. Figure 3 As shown, the method includes:
[0054] S210, obtaining the current operating condition of the pump station at the current time and the target outlet flow of the pump station at the target time.
[0055] In an embodiment of the present invention, the current operating condition of the pumping station at the current moment includes the current outlet flow and the current outlet pressure of the pumping station at the current moment. The current operating condition of the pumping station at the current moment can be obtained through measuring instruments installed in the pumping station, and the target outlet flow of the pumping station at the target moment can be set according to actual needs.
[0056] S220. Determine the pipeline characteristics of the pump station at the current moment and the target outlet pressure of the pump station at the target moment according to the current operating condition, the target outlet flow rate and the pre-built operating condition prediction model.
[0057] The operating condition prediction model includes a first operating condition prediction sub-model and a second operating condition prediction sub-model. The operating condition prediction model can be generated by training a neural network model based on historical operating data of the pump station. For example, Figure 4 A schematic diagram of the training process of a working condition prediction model is shown in FIG. Figure 4 As shown, P t represents the outlet pressure at time t, Q t represents the outlet flow at time t, P t+1 represents the outlet pressure at time t+1, Q t+1 represents the outlet flow at time t+1, ω t represents the pipeline characteristics of the pump station at time t, f 1 (·) represents two neural networks with 2 hidden layers and 32 nodes in each hidden layer, f 2 (·) represents two neural networks with 2 hidden layers and 32 nodes in each hidden layer. The loss function of the working condition prediction model is as follows:
[0058] loss f =α 1 loss f1 +α 2 loss f2 +α 3 loss f3 ;
[0059] Among them, loss f1 Represents the model regression loss, loss f2 Indicates the loss of unchanged pipeline characteristics, loss f3 represents the pipeline working condition prediction loss, α 1 , α 2 , α 3 are the weight coefficients of the three losses respectively.
[0060] The calculation formula for the model regression loss is: Where N represents the number of samples in a batch training. represents the model prediction result of the i-th sample, Represents the historical running data of the i-th sample.
[0061] The calculation formula for the loss of unchanged pipeline characteristics is: in, is the pipeline characteristic of the i-th sample. The pipeline characteristic unchanged loss can ensure f1 (·) The consistency of the predicted pipeline characteristics at adjacent times.
[0062] The calculation formula for the predicted loss of pipeline working condition is: in, The pipeline condition prediction loss is used to constrain f 2 (·) Predicted operating point at time t+1 and the operating condition point at time t On the same characteristic curve.
[0063] It should be noted that during the model training process, the time interval between time t and time t+1 should not be too long or too short. If the time is too long, the pipeline may have obvious characteristic changes, and if the time is too short, the pipeline may be in an unstable operation state. Generally, 3-10 minutes is sufficient. In addition, when training the neural network model based on the historical operation data of the pump station, it is necessary to resample the historical operation data and delete the data where the operating conditions remain unchanged for a long time during the operation of the pump station to prevent the serious long-tail distribution data from causing the operating condition prediction model to overfit to the scenario where the operating conditions remain unchanged.
[0064] In an embodiment of the present invention, a pre-constructed operating condition prediction model can be used to predict the pipeline characteristics of the pump station at the current moment and the target outlet pressure of the pump station at the target moment according to the current operating condition of the pump station at the current moment and the target outlet flow of the pump station at the target moment, and based on the target outlet flow and target outlet pressure that the pump station will face at the target moment, a suitable variable frequency pump group control strategy can be determined to ensure the stability of the pump station operation.
[0065] Optionally, according to the current operating condition, the target outlet flow rate and a pre-built operating condition prediction model, the pipeline characteristics of the pumping station at the current moment and the target outlet pressure of the pumping station at the target moment are determined, including: inputting the current operating condition into the first operating condition prediction sub-model to obtain the pipeline characteristics of the pumping station at the current moment output by the first operating condition prediction sub-model; inputting the pipeline characteristics and the target outlet flow rate into the second operating condition prediction sub-model to obtain the target outlet pressure of the pumping station at the target moment output by the second operating condition prediction sub-model.
[0066] In an embodiment of the present invention, the current operating conditions can be input into the first operating condition prediction sub-model to obtain the pipeline characteristics of the pump station at the current moment output by the first operating condition prediction sub-model, and based on the principle that the water pipeline characteristics of the primary pump station will basically not change in a short period of time, the pipeline characteristics of the pump station at the current moment are used to determine the target outlet pressure of the pump station at the target moment. Specifically, the pipeline characteristics and the target outlet flow are input into the second operating condition prediction sub-model to obtain the target outlet pressure of the pump station at the target moment output by the second operating condition prediction sub-model.
[0067] S230. Taking the target outlet flow and the target outlet pressure as the target operating condition of the pump station at the target time.
[0068] In the embodiment of the present invention, after the target outlet pressure of the pump station at the target time is determined, the target outlet flow and target outlet pressure of the pump station at the target time may be used as the target operating condition of the pump station at the target time.
[0069] S240. For each variable frequency pump group in the pump station, determine the variable frequency pump group status information and the pump station operating condition corresponding to each candidate frequency in the candidate frequency set at the current moment based on the pre-set candidate frequency set corresponding to the variable frequency pump group, the suction port liquid level of the variable frequency pump group at the current moment, the pipeline characteristics and the pre-built operating condition reasoning model.
[0070] Optionally, based on a pre-set candidate frequency set corresponding to the variable frequency pump group, the water intake liquid level of the variable frequency pump group at the current moment, the pipeline characteristics and a pre-constructed operating condition reasoning model, the variable frequency pump group status information and the pump station operating condition corresponding to each candidate frequency in the candidate frequency set at the current moment are determined, including: traversing each candidate frequency in the pre-set candidate frequency set corresponding to the variable frequency pump group, and inputting the candidate frequency, the water intake liquid level of the variable frequency pump group at the current moment and the pipeline characteristics into the pre-constructed operating condition reasoning model; determining the variable frequency pump group status information and the pump station operating condition corresponding to the candidate frequency at the current moment according to the output result of the operating condition reasoning model.
[0071] In the embodiment of the present invention, for each candidate frequency in the preset candidate frequency set corresponding to the variable frequency pump group, the candidate frequency, the suction port liquid level of the variable frequency pump group at the current moment and the pipeline characteristics are input into the pre-built working condition reasoning model, and the variable frequency pump group state information corresponding to each candidate frequency and the operating condition of the pump station are accurately predicted according to the working condition reasoning model. For example, Figure 5 A schematic diagram of the reasoning process of a working condition reasoning model is shown in FIG. Figure 5 As shown, Indicates the candidate frequency of the variable frequency pump group, L aIndicates the liquid level of the water inlet of the variable frequency pump group at the current moment, ω a Indicates the pipeline characteristics at the current moment, Indicates the head of the variable frequency pump group corresponding to the candidate frequency, Indicates the flow rate of the variable frequency pump group corresponding to the candidate frequency, P a Indicates the outlet pressure of the pump station, Q a Indicates the outlet flow of the pump station.
[0072] S250. Determine an effective frequency from a set of candidate frequencies according to the target operating condition and the pump station operating condition.
[0073] S260, input the effective frequency and the variable frequency pump head and variable frequency pump flow corresponding to the effective frequency into a pre-built energy consumption prediction model.
[0074] The energy consumption prediction model can be generated by training the neural network model based on the historical operation data and historical energy consumption data of the pump station. For example, Figure 6 A schematic diagram of the training process of an energy consumption prediction model is shown in FIG. Figure 6 As shown, Indicates the frequency of the variable frequency pump group at time t, Indicates the head of the variable frequency pump group corresponding to the frequency at time t, Indicates the flow rate of the variable frequency pump group corresponding to the frequency at time t, represents the energy consumption level corresponding to the frequency at time t, and h(·) represents two neural networks with 2 hidden layers and 32 nodes in each hidden layer. The loss function of the energy consumption prediction model is as follows:
[0075] loss h =loss h1 +γloss h2 ;
[0076] Among them, loss h1 Represents the model regression loss, loss h2 represents the pairwise ranking loss, and γ represents the weight coefficient of the pairwise ranking loss.
[0077] The calculation formula for the model regression loss is: Where N represents the number of samples in a batch training. represents the model prediction result of the i-th sample, Represents the historical energy consumption data of the i-th sample.
[0078] The pairwise ranking loss is calculated as: Among them, i and j represent two different samples in a batch, represents the difference between the model prediction results of two samples, It represents the difference between the historical energy consumption data of two samples. When comparing the energy consumption of variable frequency pump head and variable frequency pump flow corresponding to different effective frequencies, the relative size of energy consumption levels between different effective frequencies is often more important, so paired sorting loss is used to ensure that the relative size of energy consumption levels predicted by the model is more accurate.
[0079] In an embodiment of the present invention, the effective frequency and the variable frequency pump group head and variable frequency pump group flow corresponding to the effective frequency can be input into a pre-constructed energy consumption prediction model to obtain more accurate prediction results through the pre-constructed energy consumption prediction model, thereby providing scientific and reliable data support for subsequent variable frequency pump group control.
[0080] S270. According to the output result of the energy consumption prediction model, determine the energy consumption level corresponding to the variable frequency pump group at the effective frequency at the current moment.
[0081] In an embodiment of the present invention, after the effective frequency and the head and flow rate of the variable frequency pump group corresponding to the effective frequency are input into a pre-built energy consumption prediction model, the output result of the energy consumption prediction model can be obtained, and based on the output result of the energy consumption prediction model, the energy consumption level corresponding to the variable frequency pump group at the effective frequency at the current moment can be determined.
[0082] S280. Determine a target frequency from the effective frequencies based on the energy consumption level, so as to control the frequency of the variable frequency pump group at the current moment based on the target frequency.
[0083] In an embodiment of the present invention, a target frequency can be determined from the effective frequencies according to the energy consumption levels corresponding to the effective frequencies, and the frequency of the variable frequency pump group at the current moment can be controlled based on the target frequency so that the variable frequency pump group operates at the target frequency at the target moment.
[0084] Optionally, determining the target frequency from the effective frequencies based on the energy consumption levels includes: sorting the energy consumption levels to determine the lowest energy consumption level; and taking the effective frequency corresponding to the lowest energy consumption level as the target frequency.
[0085] In an embodiment of the present invention, when determining the target frequency from the effective frequencies according to the energy consumption levels corresponding to each effective frequency, the energy consumption levels corresponding to all the effective frequencies can be sorted first, and the lowest energy consumption level can be determined therefrom, and the effective frequency corresponding to the lowest energy consumption level is used as the target frequency, so as to maximize the operating efficiency and energy-saving effect of the pumping station while ensuring the operating stability of the pumping station.
[0086] The technical solution of the embodiment of the present invention obtains the current operating condition of the pump station at the current moment and the target outlet flow of the pump station at the target moment; determines the pipeline characteristics of the pump station at the current moment and the target outlet pressure of the pump station at the target moment according to the current operating condition, the target outlet flow and a pre-built operating condition prediction model; uses the target outlet flow and the target outlet pressure as the target operating condition of the pump station at the target moment; for each variable frequency pump group in the pump station, according to the preset candidate frequency set corresponding to the variable frequency pump group, the water suction port liquid level of the variable frequency pump group at the current moment, the pipeline characteristics and the pre-built operating condition prediction model, The energy consumption prediction model is used to determine the variable frequency pump group status information and the pump station operating conditions corresponding to each candidate frequency in the candidate frequency set at the current moment; the effective frequency is determined from the candidate frequency set according to the target operating conditions and the pump station operating conditions; the effective frequency and the variable frequency pump group head and variable frequency pump group flow corresponding to the effective frequency are input into the pre-built energy consumption prediction model; according to the output result of the energy consumption prediction model, the energy consumption level corresponding to the variable frequency pump group at the effective frequency at the current moment is determined; based on the energy consumption level, the target frequency is determined from the effective frequency, so as to control the frequency of the variable frequency pump group at the current moment based on the target frequency. In the embodiment of the present invention, through the collaborative work of the three models of the working condition prediction model, the working condition reasoning model and the energy consumption prediction model, it is possible to respond to the changes in the operating conditions in real time, accurately predict and optimize the pump station control strategy, significantly reduce energy consumption, and significantly improve the intelligence level and energy utilization efficiency of the pump station system while ensuring the operating stability of the pump station.
[0087] Embodiment 3
[0088] Figure 7 This is a structural schematic diagram of a variable frequency pump group control device provided in Example 3 of the present invention.
[0089] like Figure 7 As shown, the device comprises:
[0090] The target operating condition determination module 310 is used to obtain the pipeline characteristics of the pump station at the current moment and the target operating condition of the pump station at the target moment; wherein the target moment is the moment next to the current moment;
[0091] The pump station operating condition determination module 320 is used to determine, for each variable frequency pump group in the pump station, the variable frequency pump group state information corresponding to each candidate frequency in the candidate frequency set at the current moment and the pump station operating condition according to the preset candidate frequency set corresponding to the variable frequency pump group, the water level of the water inlet of the variable frequency pump group at the current moment, the pipeline characteristics and the pre-built operating condition reasoning model;
[0092] An effective frequency determination module 330, configured to determine an effective frequency from the candidate frequency set according to the target operating condition and the pump station operating condition;
[0093] The variable frequency pump group control module 340 is used to determine the energy consumption level of the variable frequency pump group at the effective frequency at the current moment according to the effective frequency and the variable frequency pump group status information corresponding to the effective frequency, and determine the target frequency from the effective frequency based on the energy consumption level, so as to control the frequency of the variable frequency pump group at the current moment based on the target frequency.
[0094] Optionally, the target operating condition determination module 310 includes:
[0095] A current operating condition determination unit, used to obtain the current operating condition of the pump station at the current moment and the target outlet flow of the pump station at the target moment;
[0096] A current pipeline characteristic determination unit, used to determine the pipeline characteristic of the pump station at the current moment and the target outlet pressure of the pump station at the target moment according to the current operating condition, the target outlet flow rate and a pre-built operating condition prediction model;
[0097] The target operating condition determination unit is used to use the target outlet flow rate and the target outlet pressure as the target operating condition of the pump station at a target time.
[0098] Optionally, the operating condition prediction model includes a first operating condition prediction sub-model and a second operating condition prediction sub-model; the current pipeline characteristic determination unit includes:
[0099] A current pipeline characteristic determination subunit, used for inputting the current operating condition into the first operating condition prediction submodel, and obtaining the pipeline characteristic of the pump station at the current moment output by the first operating condition prediction submodel;
[0100] The target outlet pressure determination subunit is used to input the pipeline characteristics and the target outlet flow into the second operating condition prediction submodel to obtain the target outlet pressure of the pump station at the target time output by the second operating condition prediction submodel.
[0101] Optionally, the pump station operating condition determination module 320 includes:
[0102] The operating condition reasoning model input unit is used to traverse each candidate frequency in the preset candidate frequency set corresponding to the variable frequency pump group, and input the candidate frequency, the water level of the water suction port of the variable frequency pump group at the current moment and the pipeline characteristics into the pre-built operating condition reasoning model;
[0103] The pump station operating condition determination unit is used to determine the variable frequency pump group state information and the pump station operating condition corresponding to the candidate frequency at the current moment according to the output result of the operating condition reasoning model.
[0104] Optionally, the operating conditions include outlet pressure and outlet flow; the effective frequency determination module 330 includes:
[0105] a difference determination unit, for determining an outlet flow difference between a target outlet flow in the target operating condition and a pump station outlet flow in the pump station operating condition, and an outlet pressure difference between the target outlet pressure in the target operating condition and the pump station outlet pressure in the pump station operating condition;
[0106] The effective frequency determination unit is used to take, in the candidate frequency set, the candidate frequency corresponding to the pump station operating condition in which the outlet flow difference is within the first preset range and the outlet pressure difference is within the second preset range as the effective frequency.
[0107] Optionally, the variable frequency pump group state information includes the variable frequency pump group head and the variable frequency pump group flow rate; the variable frequency pump group control module 340 includes:
[0108] An energy consumption prediction model input unit, used to input the effective frequency and the head and flow rate of the variable frequency pump group corresponding to the effective frequency into a pre-built energy consumption prediction model;
[0109] The energy consumption level determination unit is used to determine the energy consumption level corresponding to the variable frequency pump group at the effective frequency at the current moment according to the output result of the energy consumption prediction model.
[0110] Optionally, the variable frequency pump group control module 340 includes:
[0111] A minimum energy consumption level determination unit, used to sort the energy consumption levels and determine the minimum energy consumption level;
[0112] The target frequency determination unit is used to sort the energy consumption levels and determine the lowest energy consumption level.
[0113] The variable frequency pump group control device provided in the embodiment of the present invention can execute the variable frequency pump group control method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0114] Embodiment 4
[0115] Figure 8A schematic diagram of the structure of an electronic device 10 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.
[0116] like Figure 8 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0117] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0118] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as a variable frequency pump group control method.
[0119] In some embodiments, the variable frequency pump group control method can be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the variable frequency pump group control method described above can be performed. Alternatively, in other embodiments, the processor 11 can be configured to execute the variable frequency pump group control method in any other appropriate manner (for example, by means of firmware).
[0120] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0121] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0122] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0123] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0124] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0125] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0126] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0127] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A variable frequency pump group control method, It is characterized in that The method comprises: Obtaining the pipeline characteristics of the pump station at the current moment and the target operating condition of the pump station at the target moment; wherein the target moment is the moment next to the current moment; For each variable frequency pump group in the pump station, according to a preset candidate frequency set corresponding to the variable frequency pump group, the water level of the suction port of the variable frequency pump group at the current moment, the pipeline characteristics and a pre-built operating condition reasoning model, determine the variable frequency pump group state information corresponding to each candidate frequency in the candidate frequency set at the current moment and the operating condition of the pump station; Determining a valid frequency from the candidate frequency set according to the target operating condition and the pump station operating condition; According to the effective frequency and the status information of the variable frequency pump group corresponding to the effective frequency, the energy consumption level of the variable frequency pump group at the effective frequency at the current moment is determined, and the target frequency is determined from the effective frequency based on the energy consumption level, so as to control the frequency of the variable frequency pump group at the current moment based on the target frequency.
2. The method according to claim 1, It is characterized in that Obtaining the pipeline characteristics of the pump station at the current time and the target operating conditions of the pump station at the target time, including: Obtaining the current operating condition of the pump station at the current time and the target outlet flow of the pump station at the target time; Determine the pipeline characteristics of the pump station at the current moment and the target outlet pressure of the pump station at the target moment according to the current operating condition, the target outlet flow rate and a pre-built operating condition prediction model; The target outlet flow rate and the target outlet pressure are used as the target operating conditions of the pump station at the target time.
3. The method according to claim 2, It is characterized in that The operating condition prediction model includes a first operating condition prediction sub-model and a second operating condition prediction sub-model; Determining the pipeline characteristics of the pump station at the current moment and the target outlet pressure of the pump station at the target moment according to the current operating condition, the target outlet flow rate and a pre-built operating condition prediction model, including: Inputting the current operating condition into the first operating condition prediction sub-model to obtain the pipeline characteristics of the pump station at the current moment output by the first operating condition prediction sub-model; The pipeline characteristics and the target outlet flow are input into the second operating condition prediction sub-model to obtain the target outlet pressure of the pump station at the target time output by the second operating condition prediction sub-model.
4. The method according to claim 1, It is characterized in that According to the preset candidate frequency set corresponding to the variable frequency pump group, the water level of the water inlet of the variable frequency pump group at the current moment, the pipeline characteristics and the pre-built working condition reasoning model, the variable frequency pump group state information and the pump station operating condition corresponding to each candidate frequency in the candidate frequency set at the current moment are determined, including: Traversing each candidate frequency in a preset candidate frequency set corresponding to the variable frequency pump group, and inputting the candidate frequency, the water level of the water inlet of the variable frequency pump group at the current moment, and the pipeline characteristics into a pre-built working condition reasoning model; According to the output result of the operating condition reasoning model, the variable frequency pump group state information and the pump station operating condition corresponding to the candidate frequency at the current moment are determined.
5. The method according to claim 1, It is characterized in that The operating conditions include outlet pressure and outlet flow rate; Determining a valid frequency from the candidate frequency set according to the target operating condition and the pump station operating condition includes: Determining an outlet flow difference between a target outlet flow in the target operating condition and a pump station outlet flow in the pump station operating condition, and an outlet pressure difference between the target outlet pressure in the target operating condition and a pump station outlet pressure in the pump station operating condition; In the candidate frequency set, the candidate frequency corresponding to the pump station operation condition in which the outlet flow difference is within the first preset range and the outlet pressure difference is within the second preset range is taken as the effective frequency.
6. The method according to claim 1, It is characterized in that The status information of the variable frequency pump group includes the head and flow rate of the variable frequency pump group; According to the effective frequency and the variable frequency pump group state information corresponding to the effective frequency, determining the energy consumption level of the variable frequency pump group at the effective frequency at the current moment, including: Input the effective frequency and the head and flow rate of the variable frequency pump group corresponding to the effective frequency into a pre-built energy consumption prediction model; According to the output result of the energy consumption prediction model, the energy consumption level corresponding to the variable frequency pump group at the effective frequency at the current moment is determined.
7. The method according to claim 1, It is characterized in that Determining a target frequency from the effective frequency based on the energy consumption level includes: Sorting the energy consumption levels to determine the lowest energy consumption level; The effective frequency corresponding to the minimum energy consumption level is used as the target frequency.
8. A variable frequency pump group control device, It is characterized in that The device comprises: A target operating condition determination module is used to obtain the pipeline characteristics of the pump station at the current moment and the target operating condition of the pump station at the target moment; wherein the target moment is the moment next to the current moment; A pump station operating condition determination module is used to determine, for each variable frequency pump group in the pump station, the variable frequency pump group state information corresponding to each candidate frequency in the candidate frequency set at the current moment and the pump station operating condition according to a preset candidate frequency set corresponding to the variable frequency pump group, the water level of the water suction port of the variable frequency pump group at the current moment, the pipeline characteristics and a pre-built operating condition reasoning model; An effective frequency determination module, used to determine an effective frequency from the candidate frequency set according to the target operating condition and the pump station operating condition; The variable frequency pump group control module is used to determine the energy consumption level of the variable frequency pump group at the effective frequency at the current moment according to the effective frequency and the variable frequency pump group status information corresponding to the effective frequency, and determine the target frequency from the effective frequency based on the energy consumption level, so as to control the frequency of the variable frequency pump group at the current moment based on the target frequency.
9. An electronic device, It is characterized in that The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the variable frequency pump group control method according to any one of claims 1 to 7.
10. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the variable frequency pump group control method according to any one of claims 1 to 7 when executed.
