An expert system to diagnose rotor electrical faults of induction motors