Calculation of traction force of electric roller