Test environments for inverters like hardware-in-the-loop-systems (HiL) and dyno test benches are state of the art. An alternative test environment represents a so-called electric machine emulator, in which the power flow of a permanent-magnet synchronous machine are simulated physically, but completely without any moving mechanical parts. The core of the emulator is, in addition to a fast-switching power electronics, a real-time, freely configurable electric machine model. The highly utilized permanent magnet synchronous machines with buried magnets (IPMSM) used in the automotive industry have distinct saturation effects and harmonics in the currents and voltages, which cannot be reproduced by simple models. Initially different modeling approaches were investigated and evaluated, which do not have these restrictions. As a good compromise between emulation accuracy, implementation complexity and real-time capability, a modified flux linkage model turned out, which could simulate iron saturation effects and harmonics in the EMF with good accuracy. A drive inverter test bench with an electric machine emulator was constructed in the hybrid vehicle development at the Daimler AG in Sindelfingen. The comparison between the dyno test bench and e-machine emulator has shown that the emulator can reproduce the real behavior of an IPMSM with very good accuracy in the active and passive operating mode. After the emulation performance of the emulator has been validated in comparison to the real machine, some practical applications, in which an electric machine emulator offers significant advantages against a conventional dyno test bench, follows in the last chapter of this thesis.