Motor Torque Calculation