A 2D analytical method for magnetic vector potential calculation in inner rotor surface mounted and surface inset permanent magnet machines considering slotting effects, magnetization orientation and winding layout has been proposed in this paper. The analytical method is based on the resolution of Laplace and Poisson equations as well as Maxwell equation in quasi- Cartesian coordinate by using sub-domain method and hyperbolic functions. The developed method is applied on the performance computation of two prototypes surface mounted permanent magnet motors and two prototypes surface inset permanent magnet motors. A radial and a parallel magnetization orientation is considered for each type of motor. The results of these models are validated through FEM method.