Evaluation of an Energy Loss-Minimization Algorithm for EVs Based on Induction Motor