Modelling and verification of electromechanical interaction in a traction drive