A system level approach to the optimal dimensioning of induction motors variable-frequency drives