A methodology for the evaluation of the power harmonics contents for inverter-fed polyphase induction motors