A long time ago a guy called Carnot discovered a whole heap of rules about energy systems. One rule talks about the temperature that arrives at the engine and the temperature that it leaves. Generally, and don't quote this as it's far more complex, set both temperatures to degrees Kelvin, then the maximum energy that you can get out of the system is the difference between the temperatures divided by the higher temperature. As -273 deg Kelvin is hard to get 100% efficiency is out of the question. If your hot source is 273 Celcius and rejected temperature is 0deg C then it is 543 /273, or 50%. So the higher the high temperature and the lower the rejected temperature the more you can get out of the engine.