Electromagnetic design and finite-element analysis of an axial-flux permanent-magnet machine