Speed regulation of fans and pumps in cooling towers