As well as the definition of electrical power: P_elec = V*I. And a conservation of energy equation written for electric motors: P_elec=P_mech+P_heat – Electrical power into the motor is equal to the sum mechanical power produced by the motor and the heat generated in its windings.