Compute thermal efficiency as useful output divided by energy input, with losses and the fuel cost per unit of useful energy.
η = 有效输出 / 能量输入。