Exterior rotor permanent magnet generator in variable speed applications