Analytical Model of Open-Circuit Air-Gap Field Distribution in Interior Permanent Magnet Machines Based on Magnetic Equivalent Circuit Method and Boundary Conditions of Macroscopic Equations