01 / 21

Entropy Balance:
Closed Systems

Master the entropy balance equation for closed systems: learn how heat transfer and irreversibilities drive entropy change, and apply the second law with confidence.

Thermodynamics

What Is Entropy?

Entropy, denoted \( S \), is a thermodynamic property that measures the molecular disorder or randomness of a system. It tells us the direction in which natural processes proceed.

Symbol
\( S \) (total) or \( s \) (specific, per unit mass), measured in \( \text{kJ/K} \) or \( \text{kJ/(kg·K)} \)
State Property
Entropy depends only on the current state, not on how the system got there: it is path-independent.

Why Does Entropy Balance Matter?

The first law (energy balance) tells us how much energy is conserved, but it cannot tell us which direction a process will go or whether it is even possible. The entropy balance fills that gap.

Direction
Entropy balance predicts whether a proposed process can actually occur in nature.
Irreversibility
It quantifies how far a real process deviates from the ideal reversible case.
Feasibility
If the balance predicts negative entropy generation, the process is impossible.

What Is a Closed System?

System (\( m = \text{const} \))
Fixed mass, no mass flow
\( Q \)
\( W \)
Boundary: energy crosses, mass does NOT CLOSED SYSTEM

The Entropy Balance Equation

For a closed system undergoing a process from state 1 to state 2:

\( S_2 - S_1 \)
Change in entropy of the system between the initial and final states.
\( \sum \frac{Q_k}{T_k} \)
Entropy transfer due to heat: each heat interaction \( Q_k \) at boundary temperature \( T_k \).
\( S_{\text{gen}} \)
Entropy generation: always \( \geq 0 \). Measures irreversibility within the system.

Breaking Down Each Term

Closed System
\( \Delta S = S_2 - S_1 \)
\( Q / T \)
(entropy transfer in)
\( S_{\text{gen}} \geq 0 \)
\( \Delta S = (\text{Entropy Transfer}) + (\text{Entropy Generation}) \)

Reversible vs. Irreversible

Reversible Process Irreversible Process
\( S_{\text{gen}} \) \( = 0 \) \( > 0 \)
Entropy change \( \Delta S = \sum \frac{Q_k}{T_k} \) \( \Delta S > \sum \frac{Q_k}{T_k} \)
Examples Frictionless, quasi-static Friction, rapid expansion, mixing
Reality Idealization only All real processes
Can it be negative? \( S_{\text{gen}} \) never \( < 0 \) \( S_{\text{gen}} \) never \( < 0 \)

The Second Law Constraint

The second law of thermodynamics imposes a single, non-negotiable rule on every process:

1
\( S_{\text{gen}} = 0 \): The process is reversible (ideal, no friction, no finite temperature differences).
2
\( S_{\text{gen}} > 0 \): The process is irreversible (real, with friction, heat transfer across a temperature gap, etc.).
3
\( S_{\text{gen}} < 0 \): The process is impossible: it violates the second law of thermodynamics.

Rate Form of the Entropy Balance

When analysing a process that unfolds over time, we can write the balance in rate form:

\( \frac{dS}{dt} \)
Rate of entropy change within the system \( \text{(kW/K)} \).
\( \dot{Q}_k / T_k \)
Rate of entropy transfer accompanying heat flow at boundary temperature \( T_k \).
\( \dot{S}_{\text{gen}} \)
Rate of entropy generation inside the system due to irreversibilities.

How to Apply the Entropy Balance

1
Draw the system boundary. Confirm it is closed: no mass crosses the boundary.
2
Identify states 1 and 2. Find \( S_1 \) and \( S_2 \) from property tables, equations of state, or ideal-gas relations.
3
Identify every heat interaction \( Q_k \) and its associated boundary temperature \( T_k \). Remember: \( T_k \) must be in Kelvin.
4
Write the entropy balance: \( S_2 - S_1 = \sum \frac{Q_k}{T_k} + S_{\text{gen}} \).
5
Solve for the unknown. If reversible, set \( S_{\text{gen}} = 0 \). If irreversible, solve for \( S_{\text{gen}} \) and verify \( S_{\text{gen}} \geq 0 \).

Example 1: Reversible Isothermal

A closed piston-cylinder contains steam. It undergoes a reversible isothermal expansion at \( T = 400\,\text{K} \). During this process, \( Q = 600\,\text{kJ} \) of heat is added.

Piston (movable) Steam
\( T = 400 \) K
\( Q = 600 \) kJ
Reversible

Example 2: Irreversible Heating

A rigid, sealed tank contains 2 kg of air (ideal gas, \( c_v = 0.718\,\text{kJ/(kg·K)} \)). It is heated from \( T_1 = 300\,\text{K} \) to \( T_2 = 500\,\text{K} \). The heat source is a reservoir at \( T_R = 800\,\text{K} \).

Example 3: Adiabatic Expansion

An insulated piston-cylinder (adiabatic: \( Q = 0 \)) contains gas that expands irreversibly. Property tables give \( s_1 = 6.800\,\text{kJ/(kg·K)} \) and \( s_2 = 7.050\,\text{kJ/(kg·K)} \). Mass \( m = 3\,\text{kg} \).

Special Case: Adiabatic Closed System

When no heat crosses the boundary (\( Q = 0 \)), the entropy balance becomes particularly elegant:

Isentropic
If also reversible: \( S_2 = S_1 \). The process is isentropic (constant entropy).
Real adiabatic
With irreversibilities: \( S_2 > S_1 \). Entropy always increases.

Common Mistakes to Avoid

✕ Using Celsius for \( T \)
The entropy transfer term \( Q/T \) requires absolute temperature in Kelvin. Using Celsius gives wildly wrong answers.
✕ Wrong sign on \( Q \)
\( Q > 0 \) means heat into the system. Heat out means \( Q < 0 \). Mixing this up flips the entire answer.
✕ Allowing \( S_{\text{gen}} < 0 \)
If your calculation gives negative entropy generation, something is wrong: check your states, sign conventions, or property values.

Summary at a Glance

Scenario Equation \( S_{\text{gen}} \)
General closed system \( \Delta S = \sum \frac{Q_k}{T_k} + S_{\text{gen}} \) \( \geq 0 \)
Adiabatic (\( Q = 0 \)) \( \Delta S = S_{\text{gen}} \) \( \geq 0 \)
Reversible \( \Delta S = \sum \frac{Q_k}{T_k} \) \( = 0 \)
Reversible + Adiabatic \( \Delta S = 0 \) (isentropic) \( = 0 \)
Isothermal, single \( T \) \( \Delta S = \frac{Q}{T} + S_{\text{gen}} \) \( \geq 0 \)

Question 1 of 5

What does the term \( S_{\text{gen}} \) represent in the entropy balance for a closed system?

Question 2 of 5

A closed system receives \( Q = 500\,\text{kJ} \) of heat from a reservoir at \( T = 400\,\text{K} \). If the process is reversible, what is \( \Delta S \) of the system?

Question 3 of 5

In an adiabatic closed system, a process is found to have \( S_2 < S_1 \). What can you conclude?

Question 4 of 5

A rigid tank (closed system) loses \( Q = 200\,\text{kJ} \) of heat to the surroundings at \( T_{\text{surr}} = 300\,\text{K} \). The entropy of the system decreases by \( 0.534\,\text{kJ/K} \). What is \( S_{\text{gen}} \)?

Question 5 of 5

An ideal gas in a closed piston-cylinder undergoes a reversible adiabatic (isentropic) compression. Which statement is correct?