Electromagnetic analysis of a surface-mounted permanent magnet motor | Synapse