Optimal pulse width modulation for permanent magnet synchronous motor drive with improved torque and thermal losses using pulse numbers. Issue 1 (1st July 2022)