They can not do this task perfectly , so some of the input heat energy is not converted into work , but is dissipated as waste heat Qout into the environment The thermal efficiency of a heat engine is the percentage of heat energy that is transformed into work .
When transforming thermal energy into mechanical energy , the thermal efficiency of a heat engine is the percentage of energy that is transformed into work .