Control method, control system, and non-transient computer-readable storage medium
A control method, a control system, and a non-transient computer-readable storage medium are provided. The control method is applicable to a pumping station comprising one or more pumps. The method may include: comparing an inflow rate of the pumping station with a flow rate for optimal energy consumption of the pumping station; determining, based on whether the inflow rate of the pumping station is greater than or equal to, or less than or equal to, the flow rate for optimal energy consumption of the pumping station, a corresponding constraint that indicates whether a target outflow rate of the pumping station is to be greater than or equal to, or less than or equal to, the flow rate for optimal energy consumption of the pumping station; and setting a target outflow rate that meets the constraint, for constant flow rate control of the pumping station.
1 . A method, comprising:
comparing, by a system comprising a processor, an inflow rate of a pumping station comprising one or more pumps with a flow rate for optimal energy consumption of the pumping station;
determining, by the system based on a result of the comparing, a corresponding target outflow rate constraint that indicates whether a target outflow rate of the pumping station is to be greater than or equal to, or less than or equal to, the flow rate for optimal energy consumption of the pumping station; and
setting, by the system, a target outflow rate of the pumping station that satisfies the target outflow rate constraint, wherein the setting comprises:
distributing the target outflow rate among the one or more pumps such that a target flow rate assigned to a pump, of the one or more pumps, satisfies a constraint for the target flow rate of the pump, and a sum of target flow rates assigned to the one or more pumps is equal to the target outflow rate of the pumping station, wherein the constraint for the target flow rate of the pump indicates whether the target flow rate of the pump is to be greater than or equal to, or less than or equal to, a flow rate for optimal energy consumption of the pump;
controlling a pump speed of the pump such that a flow rate of the pump reaches and maintains the target flow rate assigned to the pump; and
in response to determining that the flow rate of the pump is continuously less than the target flow rate of the pump, controlling switches of the one or more pumps according to a first switching rule to increase an outflow rate of the pumping station, or in response to determining that the flow rate of the pump is continuously greater than the target flow rate of the pump, controlling the switches of the one or more pumps according to a second switching rule to reduce an outflow rate of the pumping station,
wherein the first switching rule satisfies a first total flow rate constraint that a maximum value of a total flow rate of running pumps in a pump state switched to under the first switching rule is greater than a maximum value of a total flow rate of currently running pumps, of the one or more pumps, and satisfies an additional condition comprising at least one of:
a difference between a range of the total flow rate of running pumps and a range of a total flow rate of the currently running pumps being minimal;
a quantity of the currently running pumps having a variable speed being maximal;
an energy efficiency of the currently running pumps being maximal; or
an accumulation running time of the running pumps being minimal.
2 . The method of claim 1 , further comprising determining the flow rate for optimal energy consumption of the pumping station based on flow rates for optimal energy consumption of the one or more pumps.
3 . The method of claim 2 , further comprising:
determining, by the system, a flow rate at an efficiency point for the pump determined to satisfy a criterion, and
setting, by the system, the flow rate at the efficiency point as the flow rate for optimal energy consumption of the pump.
4 . The method of claim 2 , further comprising:
determining, by the system, a pump speed for optimal energy consumption of the pump at a current liquid level using a speed model for the pump; and
determining, by the system, the flow rate for optimal energy consumption of the pump using a flow rate model for the pump based on the current liquid level and the pump speed for optimal energy consumption of the pump, wherein
the speed model for the pump estimates a pump speed for optimal energy consumption based on a liquid level,
the flow rate model for the pump estimates a flow rate based on a liquid level and a pump speed, and
the speed model and the flow rate model for the pump are obtained through machine learning using corresponding historical data related to the pump.
5 . The method of claim 1 , wherein the setting of the target outflow rate further comprises:
calculating a candidate flow rate meeting a preset liquid level limit based on a current inflow rate and a current liquid level of the pumping station;
determining whether the candidate flow rate satisfies the target outflow rate constraint; and
setting the candidate flow rate that satisfies the target outflow rate constraint as the target outflow rate of the pumping station.
6 . The control method according to claim 5 , wherein the setting of the target outflow rate further comprises:
determining whether the candidate flow rate is within a pre-set range of a flow rate;
setting the candidate flow rate that satisfies the target outflow rate constraint as the target outflow rate of the pumping station, in a case that the candidate flow rate is within the pre-set range of a flow rate, or
setting an upper limit or a lower limit of the range of a flow rate that satisfies the target outflow rate constraint as the target outflow rate of the pumping station, in a case that the candidate flow rate is not within the range of a flow rate.
7 . The method of claim 1 , wherein
the constraint for the target flow rate of the pump corresponds to the target outflow rate constraint.
8 . The method of claim 7 , wherein a ratio of a difference between the target flow rate assigned to the pump and the flow rate for optimal energy consumption of the pump to a range of a flow rate of the pump is identical for the one or more pumps.
9 . The method of claim 1 , wherein
the first switching rule and the second switching rule correspond to a current pump state of the pumping station,
and
the controlling of the switches comprises controlling respective operating or shutdown states of the one or more pumps.
10 . The method of claim 9 , wherein
the first switching rule satisfies a first total flow rate constraint that a maximum value of a total flow rate of running pumps, of the one or more pumps, in a pump state switched to under the first switching rule is greater than a maximum value of a total flow rate of currently running pumps, or
the second switching rule satisfies a second total flow rate constraint that a minimum value of the total flow rate of the running pumps in the pump state switched to under the second switching rule is less than a minimum value of the total flow rate of currently running pumps.
11 . The method of claim 1 , wherein
the first switching rule and the second switching rule indicate a pump state to be switched to.
12 . A system, comprising:
an electronic device comprising processing circuitry configured to:
compare an inflow rate of a pumping station comprising one or more pumps with a flow rate for optimal energy consumption of the pumping station;
determine, based on a determination of whether the inflow rate of the pumping station is greater than or equal to, or less than or equal to, the flow rate for optimal energy consumption of the pumping station, a corresponding target outflow rate constraint that indicates whether a target outflow rate of the pumping station is to be greater than or equal to, or less than or equal to, the flow rate for optimal energy consumption of the pumping station;
determine a target outflow rate of the pumping station that meets the target outflow rate constraint;
distribute the target outflow rate among the one or more pumps such that a target flow rate assigned to a pump, of the one or more pumps, satisfies a constraint for the target flow rate of the pump, and a sum of target flow rates assigned to the one or more pumps is equal to the target outflow rate of the pumping station, wherein the constraint for the target flow rate of the pump indicates whether the target flow rate of the pump is to be greater than or equal to, or less than or equal to, a flow rate for optimal energy consumption of the pump;
control a pump speed of the pump such that a flow rate of the pump reaches and maintains the target flow rate assigned to the pump; and
at least one of:
in response to a determination that the flow rate of the pump is continuously less than the target flow rate of the pump, control switches of the one or more pumps according to a first switching rule to increase an outflow rate of the pumping station, or
in response to a determination that the flow rate of the pump is continuously greater than the target flow rate of the pump, control the switches of the one or more pumps according to a second switching rule to reduce an outflow rate of the pumping station;
wherein the first switching rule satisfies a first total flow rate constraint that a maximum value of a total flow rate of running pumps in a pump state switched to under the first switching rule is greater than a maximum value of a total flow rate of currently running pumps, of the one or more pumps, and satisfies an additional condition comprising at least one of:
a difference between a range of the total flow rate of running pumps and a range of a total flow rate of the currently running pumps being minimal,
a quantity of the currently running pumps having a variable speed being maximal,
an energy efficiency of the currently running pumps being maximal, or
an accumulation running time of the running pumps being minimal.
13 . The system of claim 12 , wherein the processing circuitry is further configured to:
calculate a candidate flow rate meeting a preset liquid level limit based on a current inflow rate and a current liquid level of the pumping station;
determine whether the candidate flow rate satisfies the target outflow rate constraint; and
set the candidate flow rate that satisfies the target outflow rate constraint as the target outflow rate of the pumping station.
14 . The system of claim 12 , further comprising:
a controller configured to control at least one of the pump speed or a switch of the pump such that the outflow rate of the pumping station reaches and maintains the target outflow rate.
15 . The system of claim 14 , wherein
the first switching rule and the second switching rule corresponds to a current pump state of the pumping station
and
the controller is configured to control at least one of the pump speed or the switch of the pump to control respective operating or shutdown states of the one or more pumps.
16 . The system of claim 12 , wherein
the constraint for a target flow rate of the pump is a constraint that corresponds to the target outflow rate constraint.
17 . A non-transient computer-readable storage medium storing executable instructions, wherein the executable instructions, in response to execution by a processor, cause the processor to execute a control method for a pumping station comprising one or more pumps, wherein the control method comprises:
comparing an inflow rate of the pumping station with a flow rate for optimal energy consumption of the pumping station;
determining, based on a result of the comparing, a corresponding target outflow rate constraint that indicates whether a target outflow rate of the pumping station is to be greater than or equal to, or less than or equal to, the flow rate for optimal energy consumption of the pumping station; and
setting a target outflow rate of the pumping station that meets the target outflow rate constraint, wherein the setting comprises:
distributing the target outflow rate among the one or more pumps such that a target flow rate assigned to a pump of the one or more pumps satisfies a constraint for the target flow rate of the pump, and a sum of target flow rates assigned to the one or more pumps is equal to the target outflow rate of the pumping station, wherein the constraint for the target flow rate of the pump indicates whether the target flow rate of the pump is to be greater than or equal to, or less than or equal to, a flow rate for optimal energy consumption of the pump;
controlling a pump speed of the pump such that a flow rate of the pump reaches and maintains the target flow rate assigned to the pump; and
at least one of:
in response to determining that the flow rate of the pump is continuously less than the target flow rate of the pump, controlling switches of the one or more pumps according to a first switching rule to increase an outflow rate of the pumping station, or
in response to determining that the flow rate of the pump is continuously greater than the target flow rate of the pump, controlling the switches of the one or more pumps according to a second switching rule to reduce an outflow rate of the pumping station;
wherein the first switching rule satisfies a first total flow rate constraint that a maximum value of a total flow rate of running pumps in a pump state switched to under the first switching rule is greater than a maximum value of a total flow rate of currently running pumps, of the one or more pumps, and satisfies an additional condition comprising at least one of:
a difference between a range of the total flow rate of running pumps and a range of a total flow rate of the currently running pumps being minimal,
a quantity of the currently running pumps having a variable speed being maximal,
an energy efficiency of the currently running pumps being maximal, or
an accumulation running time of the running pumps being minimal.
18 . The non-transient computer-readable storage medium of claim 17 , wherein the control method further comprises determining the flow rate for optimal energy consumption of the pumping station based on flow rates for optimal energy consumption of the one or more pumps.
19 . The non-transient computer-readable storage medium of claim 18 , wherein the control method further comprises:
determining a pump speed for optimal energy consumption of the pump at a current liquid level using a speed model for the pump; and
determining the flow rate for optimal energy consumption of the pump using a flow rate model for the pump based on the current liquid level and the pump speed for optimal energy consumption of the pump, wherein
the speed model for the pump estimates a pump speed for optimal energy consumption based on a liquid level,
the flow rate model for the pump estimates a flow rate based on a liquid level and a pump speed, and
the speed model and the flow rate model for the pump are obtained through machine learning using corresponding historical data related to the pump.
20 . The non-transient computer-readable storage medium of claim 17 , wherein the control method further comprises:
determining a flow rate at an efficiency point for the pump determined to satisfy a criterion, and
setting the flow rate at the efficiency point as the flow rate for optimal energy consumption of the pump.