A real-time simulation of induction motor drive: a practical experience