The present invention provides a pumping system for moving water of a
swimming pool, including a water pump and a variable speed motor. In one
example, a target volume amount of water and an operational time period
is provided, and the operational time period is altered based upon a
volume of water moved. In another example, operation of the motor is
altered based upon the volume of water moved. In addition or
alternatively, a target flow rate of water to be moved by the water pump
is determined based upon the target volume amount and a time period. In
addition or alternatively, a plurality of operations are performed on the
water, and a total volume of water moved by the pump is determined. In
addition or alternatively, an optimized flow rate value is determined
based upon power consumption.