Real-time identification of PMSM losses through a novel past-time averaging method. (1st April 2022)