Energy Analysis using the First Law
Energy balances in systems
The First Law of Thermodynamics says energy is conserved: it can change forms, but it can't be created or destroyed. For any system, the change in internal energy () equals the net energy added through heat and work.
For a closed system (no mass crosses the boundary), the energy balance is:
Here, is heat added to the system and is work done by the system. A piston-cylinder device is the classic example. Pay attention to the sign convention: heat into the system is positive, and work done by the system is positive. Some textbooks flip the work sign, so check which convention your course uses.
For an open system (mass flows in and out), you need to account for the energy carried by that mass. The balance becomes:
where and are the masses entering and exiting, and and are their specific enthalpies. Turbines, compressors, and nozzles are all open systems. The enthalpy terms capture both the internal energy and the flow work () that the fluid carries with it.
For steady-state, steady-flow devices (where conditions don't change over time and ), the energy balance simplifies to:
This simplified form is what you'll use most often for turbines, compressors, and heat exchangers on homework problems.

Heat engines and refrigerators
Heat engines convert thermal energy into mechanical work. They absorb heat from a hot reservoir, convert part of it to net work , and reject the remaining heat to a cold reservoir. Think of internal combustion engines or steam turbines.
Thermal efficiency measures how much of the input heat gets converted to useful work:
An efficiency of 1 (100%) would mean all the heat becomes work, which never happens in practice.
Refrigerators and heat pumps do the opposite: they use work input to move heat from a cold space to a hot space. The difference between them is what you care about:
- A refrigerator is designed to remove heat from the cold space. Its performance is measured by:
- A heat pump is designed to deliver heat to the warm space. Its performance is measured by:
Notice that . This follows directly from the First Law (), and it's a useful check on your calculations. COP values are often greater than 1, which is why we don't call them "efficiencies."

Thermodynamic Cycles and Efficiency
Efficiency of thermodynamic cycles
The Carnot cycle is the theoretical best-case scenario: a fully reversible cycle operating between two thermal reservoirs. It consists of four processes:
- Isothermal expansion (heat absorbed from hot reservoir)
- Adiabatic expansion (temperature drops to )
- Isothermal compression (heat rejected to cold reservoir)
- Adiabatic compression (temperature rises back to )
Its efficiency depends only on the reservoir temperatures (which must be in absolute units, i.e., Kelvin):
No real engine operating between the same two temperatures can exceed this efficiency. That's what makes Carnot so important: it sets the upper bound.
The Rankine cycle is the practical vapor power cycle used in most steam power plants. Its four processes are:
- Isentropic compression in a pump (liquid pressurized)
- Constant-pressure heat addition in a boiler (liquid becomes steam)
- Isentropic expansion in a turbine (steam produces work)
- Constant-pressure heat rejection in a condenser (steam returns to liquid)
Rankine efficiency is:
where is turbine work output, is pump work input, and is heat added in the boiler. In practice, the pump work is usually very small compared to the turbine work, so .
Performance of real-world systems
Real systems always perform worse than their ideal counterparts because of irreversibilities, which include:
- Friction in bearings, seals, and moving parts
- Heat transfer across finite temperature differences in heat exchangers (the larger the temperature gap, the greater the irreversibility)
- Unrestrained expansion, such as flow through throttling valves where pressure drops without producing work
To analyze a real system, follow these steps:
- Identify the sources of irreversibility and energy loss in the system
- Apply the First Law energy balance, accounting for those losses
- Calculate the actual efficiency or COP and compare it to the ideal value
Strategies to improve real-world efficiency:
- Minimize irreversibilities: reduce friction through better lubrication and design, optimize heat exchanger sizing to reduce temperature differences
- Recover waste heat: cogeneration uses rejected heat for heating or industrial processes; regeneration preheats the working fluid using exhaust energy
- Use high-performance materials: advanced alloys and ceramics can withstand higher temperatures, allowing operation closer to Carnot limits
The gap between a system's actual efficiency and its Carnot efficiency tells you how much room there is for improvement. A large gap suggests significant irreversibilities that could potentially be reduced through better engineering.