Text this: MATLAB/Simulink modeling of electric motors operating with harmonics and unbalance