using heat loss of a motor