Investigation of challenges in interior and surface permanent magnet synchronous machines during integrated charging operation in electric vehicles. (2018)