A widely used method for the magnetic field calculation in permanent magnet (PM) machines is the harmonic modeling (HM) method. Despite its many advantages, the application of this method is limited to machines in which armature currents, as a source of the magnetic field, are known. Since most of PM machines are supplied with three phase voltages, any variation of parameters in the armature electric circuit could lead to the uncertainty in knowing the armature currents and therefore limit use of the harmonic modeling method. In this paper an approach for overcoming this limitation is presented which enables the calculation of the magnetic field in PM machines without a priori knowledge of the armature currents