Text this: Optimized design of a permanent magnet brushless DC motor for solar water-pumping applications