Historical Context & Motivation
The concept of entropy arose from the practical question of why heat engines could never convert all absorbed heat into useful work. Early nineteenth-century engineers like Sadi Carnot recognized that some energy was always "lost" to irreversibility, but lacked the mathematical language to describe this loss. The development of entropy as a state property, and subsequently the entropy balance as an accounting tool, gave engineers and scientists a rigorous framework for quantifying irreversibilities in any thermodynamic process. The entropy balance for a closed system — one in which mass does not cross the system boundary — is especially important because it applies to a vast array of practical devices such as pistons, sealed tanks, and rigid vessels.
With the first law (energy balance) alone, one cannot determine whether a proposed process is physically possible — energy conservation places no restriction on the direction of spontaneous change. The entropy balance fills this gap: it tells us not only how much irreversibility a process generates but also whether the process can occur at all. The central question this lesson addresses is: How do we systematically apply the entropy balance to closed systems to quantify entropy transfer, entropy generation, and changes in system entropy?
Core Principles & Definitions
Before applying the entropy balance, it is essential to understand several foundational ideas that underpin the equation. Entropy is an extensive state property, meaning its value depends on the mass of the system and is completely determined by the system's thermodynamic state — not by the path taken to reach that state. The entropy balance is essentially a bookkeeping equation: it tracks how entropy enters or leaves a closed system via heat transfer, how much entropy is generated internally by irreversibilities, and the resulting change in the system's total entropy. Unlike energy, entropy is not conserved; it can be produced but never destroyed, which is the essence of the Second Law.
Closed System
Entropy Transfer via Heat
Entropy Generation (S_gen)
The Second Law Inequality
Visual Explanation — The Entropy Balance Diagram
The diagram above captures the complete entropy accounting for a closed system. Every term in the entropy balance has a clear physical origin: the left-hand side represents the change in stored entropy of the system between two equilibrium states; the summation on the right accounts for entropy transport across the boundary by heat (with each heat interaction divided by the boundary temperature at which it occurs); and Sgen represents the entropy produced internally due to irreversibilities such as friction, mixing, or heat conduction across a finite temperature difference. Notice critically that work — whether boundary work, shaft work, or electrical work — appears nowhere in the entropy balance because work is an organized energy transfer that carries zero entropy.
Mathematical Framework
The entropy balance for a closed system can be expressed in both differential (rate) and integrated (process) forms. The integrated form is most commonly used in engineering problem solving, but the rate form provides insight into instantaneous entropy production and is essential for transient analyses.
Sources of Irreversibility in Closed Systems
Understanding the sources of entropy generation is crucial for applying the entropy balance effectively. In a closed system, irreversibilities can be broadly categorized into several types. Each source contributes a positive amount to Sgen, and the total entropy generated is the sum of all contributions. Identifying these sources also provides insight into how a process might be improved — by reducing or eliminating irreversibilities, one moves the process closer to the ideal (reversible) limit.
| Source | Physical Mechanism | Example in Practice |
|---|---|---|
| Heat transfer across ΔT | Energy flows spontaneously from hot to cold regions within the system. The greater the temperature difference, the larger the entropy produced. | Hot coffee in an insulated but internally non-uniform container; heat redistribution within a piston-cylinder with temperature gradients. |
| Friction | Mechanical friction or viscous shear converts ordered kinetic energy into disordered internal energy (heat), which cannot be fully recovered. | Piston rings sliding against cylinder walls; stirring of a viscous fluid in a sealed vessel. |
| Unresisted expansion | Gas expands into a vacuum (free expansion) or against a pressure significantly lower than the gas pressure, producing no useful work while increasing entropy. | Punctured membrane separating gas from vacuum in a rigid tank (classic Joule expansion). |
| Mixing | Spontaneous mixing of different substances or phases increases the number of accessible microstates, producing entropy even without net heat or work. | Two gases separated by a partition in a rigid, insulated container; partition is removed and gases mix. |
| Inelastic deformation | Permanent deformation of solid components within the system converts mechanical work into internal energy irreversibly. | A paddle wheel churning a liquid in a rigid, insulated container (Joule's paddle-wheel experiment). |
Worked Example — Entropy Balance for a Piston-Cylinder
A rigid-walled piston-cylinder device contains 2 kg of water initially at 200 °C and 400 kPa. The water is cooled at constant pressure by transferring heat to a surrounding reservoir at Tres = 25 °C (298.15 K) until the water reaches 100 °C. Determine (a) the heat transferred, (b) the entropy change of the water, and (c) the entropy generated during the process. Assume the boundary temperature equals the reservoir temperature.
Reversible vs. Irreversible Processes — A Comparison
A central application of the entropy balance is distinguishing between reversible and irreversible processes. The entropy generation term Sgen serves as the quantitative indicator: it is zero for reversible processes and positive for irreversible ones. Understanding the practical differences between these idealized and real-world processes is essential for thermodynamic design and analysis.
| Feature | Reversible Process | Irreversible Process |
|---|---|---|
| S_gen | Exactly zero. The process can be reversed with no net change in the system or surroundings. | Strictly positive. The process leaves a permanent mark on the universe — entropy has been created. |
| Entropy balance | ΔS = Σ Q/T_b (entropy change equals entropy transfer only) | ΔS = Σ Q/T_b + S_gen (entropy change exceeds entropy transfer) |
| Adiabatic case | Isentropic: S₂ = S₁. Entropy is constant. | S₂ > S₁. Entropy increases even without heat transfer. |
| Driving forces | Infinitesimal differences in temperature, pressure, or chemical potential at the boundary. | Finite differences — the larger the driving force, the greater the irreversibility. |
| Physical reality | A theoretical idealization. No real process is perfectly reversible; it would require infinite time. | All real processes. Friction, rapid compression/expansion, and finite-ΔT heat transfer are unavoidable. |
| Use in engineering | Sets the performance benchmark (upper bound on efficiency, lower bound on work input). | Represents actual performance. S_gen quantifies the gap between real and ideal. |
Connection to Open Systems & Exergy Analysis
The entropy balance for a closed system is the foundation upon which the more general open-system entropy balance is built. When mass crosses the system boundary, additional entropy transport terms (ṁ × s at each inlet and exit) must be included. Furthermore, the entropy balance forms the basis for exergy analysis (also called availability analysis), which combines the first and second laws to quantify the maximum useful work obtainable from a system relative to its environment. In exergy analysis, every unit of entropy generated corresponds to a quantifiable amount of exergy destruction given by Xdestroyed = T₀ × Sgen, where T₀ is the environment (dead-state) temperature.
| Aspect | Closed System | Open System (Control Volume) |
|---|---|---|
| Entropy balance | S₂ − S₁ = Σ Qₖ/T_{b,k} + S_gen | dS_cv/dt = Σ Qₖ/T_{b,k} + Σ ṁᵢsᵢ − Σ ṁₑsₑ + Ṡ_gen |
| Mass flow terms | None — mass is fixed within the boundary. | Entropy transported by mass at inlets (ṁᵢsᵢ) and exits (ṁₑsₑ) must be included. |
| Typical devices | Pistons, sealed tanks, bombs, calorimeters | Turbines, compressors, heat exchangers, nozzles |
| Steady-state simplification | Not applicable — closed systems inherently undergo finite changes between two states. | dS_cv/dt = 0, simplifying the balance to a purely algebraic equation. |
Looking forward, the relationship Xdestroyed = T₀ × Sgen (known as the Gouy–Stodola theorem) provides a monetary-equivalent lens for irreversibility: it converts abstract entropy generation into a concrete amount of lost work potential measured in kJ. This makes the entropy balance not just an academic exercise but a practical tool for engineers optimizing power plants, refrigeration cycles, and chemical processes. Mastery of the closed-system entropy balance is therefore the essential stepping stone toward these more advanced applications.
Practice Problems
Lesson Summary
The entropy balance for a closed system is given by S₂ − S₁ = Σ(Qk/Tb,k) + Sgen. The left side is the change in system entropy, determined solely from the initial and final equilibrium states using property tables or ideal-gas relations. The summation term accounts for entropy transfer via heat at each boundary location, where each Q is divided by the corresponding absolute boundary temperature. Work interactions do not appear because work carries no entropy. The entropy generation term S_gen captures all internal irreversibilities — friction, unresisted expansion, mixing, internal heat transfer across finite ΔT — and must always be ≥ 0 by the Second Law of Thermodynamics.
An isentropic process requires both adiabatic conditions (Q = 0) and internal reversibility (Sgen = 0), serving as the ideal benchmark. A computed Sgen < 0 signals an impossible process, making the entropy balance a powerful feasibility check. This closed-system framework extends naturally to open systems (by adding mass-flow entropy terms) and to exergy analysis (where Xdestroyed = T₀ × Sgen converts entropy generation into lost work potential), making it an indispensable tool across all of engineering thermodynamics.