Pumps with a frequency converter