Design for reliability: The case of fractional-slot surface permanent-magnet machines