Simscape Implementation of a Nonlinear Permanent Magnet Synchronous Machine Model for Sensorless Polarity Detection | IEEE Conference Publication | IEEE Xplore