Calculates losses from mechanical power for constant efficiency.
This block is replaced by the more general block DriveEfficiency which can be use the same way for useConstantMotorEfficiency = true.
useConstantMotorEfficiency = true