2.3 Unsteady-State Mass and Energy Balances
Key Takeaways
- The fundamental macroscopic unsteady balance equation states: Rate of Accumulation = Rate of Inflow - Rate of Outflow + Rate of Generation - Rate of Consumption.
- In transient First Law energy balances, the rate of energy accumulation within the control volume is governed by internal energy, d(U_sys)/dt = d(m * u_hat)/dt, whereas streams crossing system boundaries transport flowing enthalpy, h_hat = u_hat + P * v_hat, carrying flow work.
- For constant-mass, well-mixed liquid heating and cooling systems without phase change, thermal response follows first-order exponential dynamics: T(t) = T_env - (T_env - T_0) * exp(-t / τ_th), where the thermal time constant is τ_th = (m * C_p) / (U * A).
- Adiabatic filling of an initially evacuated rigid tank with an ideal gas increases the internal gas temperature to T_final = γ * T_supply (where γ = C_p / C_v), driven entirely by the conversion of flowing enthalpy into stored internal energy.
- In gravity draining of tanks through sharp-edged orifices, discharge velocity depends non-linearly on the instantaneous liquid head (Torricelli's Law: v = C_d * sqrt(2gh)), requiring direct separation and integration of h^(-1/2) dh rather than assuming constant flow or linear decay.
Unsteady-State Mass and Energy Balances
While steady-state operations dominate bulk continuous chemical manufacturing, unsteady-state (transient) processes are ubiquitous during plant startups, emergency shutdowns, batch reactor cycles, tank draining, vessel blowdowns, and process control upsets. On the NCEES PE Chemical exam, transient questions test your ability to formulate differential balance equations, separate variables, and integrate using proper boundary conditions.
1. General Macroscopic Conservation Balance
For any conserved physical quantity $\Psi$ (mass, component mass, or energy) within a defined spatial control volume:
Transient Total Mass Balance
Because total mass cannot be created or destroyed ($\dot{m}{gen} = \dot{m}{cons} = 0$):
For an open liquid tank of constant surface area $A$ and constant liquid density $\rho$, $m_{sys} = \rho A h(t)$, where $h(t)$ is liquid level:
Transient Component (Species) Balance
For chemical species $i$ participating in reactions with volumetric rate $r_i$ ($\text{mol/(m}^3\cdot\text{s)}$):
For a non-reactive, perfectly mixed continuous stirred tank of constant volume $V$ and volumetric throughput $\dot{V}$ ($n_i = V C_i(t)$ and $C_{i,out}(t) = C_i(t)$):
Dividing by $\dot{V}$ defines the hydraulic residence time (time constant $\tau = V / \dot{V}$):
Integrating from initial concentration $C_0$ at $t = 0$ with a step change in inlet concentration to $C_{in}$ yields the classic first-order response:
2. Transient First Law Energy Balances
The general First Law of Thermodynamics for an unsteady open system is:
Neglecting kinetic and potential energies, total system energy equals internal energy ($E_{sys} = U_{sys} = m_{sys} \hat{u}_{sys}$):
The Fundamental Internal Energy vs. Enthalpy Asymmetry
Notice the profound thermodynamic distinction in the governing equation:
- Inside the control volume, energy is stored as internal energy ($\hat{u}$).
- Across the control surface boundaries, flowing streams transport enthalpy ($\hat{h} = \hat{u} + P\hat{v}$).
Why? Because fluid entering or exiting the boundary performs boundary work (flow work $P\hat{v}$) on or by the system fluid. Omitting this distinction is the single most pervasive source of error in transient thermodynamics.
Applying the product rule to the accumulation derivative: For liquids and solids, $\hat{u} \approx \hat{h} \approx C_p(T - T_{ref})$ because specific volume is small. For gases, $\hat{u} = C_v(T - T_{ref})$ and $\hat{h} = C_p(T - T_{ref})$.
3. Jacketed Batch and Semi-Batch Heating / Cooling
Consider a well-insulated, closed batch reactor of liquid mass $m$ and heat capacity $C_p$ being heated by an external jacket maintained at constant temperature $T_j$:
Heat transfer from the jacket follows Newton's Law of Cooling: $\dot{Q} = U A (T_j - T(t))$, where $U$ is the overall heat transfer coefficient and $A$ is heat transfer surface area:
Rearranging into standard first-order differential form:
Defining the thermal time constant:
Separating variables from $t = 0$ ($T = T_0$) to time $t$:
Solving explicitly for vessel temperature $T(t)$:
The time $t$ required to reach a specific process temperature $T(t)$ is:
4. Gas Vessel Pressurization: The Evacuated Tank Paradox
Consider a rigid, thermally insulated tank of volume $V$ that is initially evacuated ($m_1 = 0$, $P_1 = 0$). A supply valve connected to a high-pressure header carrying an ideal gas at temperature $T_0$ is opened, filling the tank until flow stops. What is the final temperature $T_2$ in the tank?
Setting up the transient First Law balance:
- Rigid tank: $\dot{W}_s = 0$
- Insulated: $\dot{Q} = 0$
- No exit stream: $\dot{m}_{out} = 0$
Integrating from initial state ($m=0$) to final state ($m_2$):
Dividing by $m_2$:
For an ideal gas referenced to absolute zero ($T_{ref} = 0\text{ K}$), $\hat{u}2 = C_v T_2$ and $\hat{h}{in} = C_p T_0$:
Where $\gamma = C_p / C_v$ is the heat capacity ratio ($1.40$ for diatomic gases such as $\text{N}_2$, $\text{O}_2$, and air).
Key Insight: If room-temperature air at $25^\circ\text{C}$ ($298.15\text{ K}$) fills an evacuated tank adiabatically, the final temperature inside the tank spikes to: The gas heats up drastically without any external heat addition because the incoming fluid carries flowing enthalpy $P\hat{v}$ (work done by the supply header), which is converted entirely into internal thermal energy inside the rigid vessel.
5. Gravity Draining Hydraulics: Torricelli's Law
When a liquid-filled vertical cylindrical tank drains by gravity through an open bottom orifice of area $A_o$, the discharge velocity is non-linear and governed by Torricelli's Law:
Where $C_d$ is the discharge coefficient ($0.60$ to $0.62$ for sharp-edged orifices) and $h(t)$ is instantaneous liquid head above the orifice.
Setting up the transient total mass balance ($A \frac{dh}{dt} = -\dot{V}_{out}$):
Separating variables:
Integrating from initial height $h_0$ at $t = 0$ to height $h_f$ at time $t$:
Solving for draining time $t$:
To drain the tank completely to $h_f = 0$: Notice that draining from $h_0$ to $0$ takes exactly twice as long as it would if the initial discharge rate had remained constant!
6. Summary: Canonical Transient Balance Archetypes
| System Type | Governing Differential Equation | Analytical Solution | Characteristic Time Constant |
|---|---|---|---|
| Continuous Dilution Tank | $V \frac{dC}{dt} = \dot{V}(C_{in} - C)$ | $C(t) = C_{in} + (C_0 - C_{in})e^{-t/\tau}$ | $\tau = \frac{V}{\dot{V}}$ (Hydraulic) |
| Batch Liquid Heating | $m C_p \frac{dT}{dt} = UA(T_j - T)$ | $T(t) = T_j - (T_j - T_0)e^{-t/\tau_{th}}$ | $\tau_{th} = \frac{m C_p}{UA}$ (Thermal) |
| Evacuated Gas Filling | $\frac{d(m \hat{u})}{dt} = \dot{m}{in}\hat{h}{in}$ | $T_{final} = \gamma T_{supply}$ | Immediate upon pressure equalization |
| Torricelli Tank Draining | $A \frac{dh}{dt} = -C_d A_o \sqrt{2gh}$ | $t = \frac{2A(\sqrt{h_0}-\sqrt{h})}{C_d A_o \sqrt{2g}}$ | $t_{empty} = \frac{2A\sqrt{h_0}}{C_d A_o \sqrt{2g}}$ |
7. Worked Numerical Example: Jacketed Polymerization Reactor Heating
Problem Statement
A batch chemical reactor holds $m = 2,500\text{ kg}$ of a liquid monomer mixture ($C_p = 3.500\text{ kJ/(kg}\cdot\text{K)}$) at an initial temperature of $T_0 = 20.0^\circ\text{C}$. To initiate polymerization, the charge must be preheated to $T(t) = 110.0^\circ\text{C}$.
Heating is provided by condensing saturated steam inside a reactor jacket at $P_{sat} = 0.3614\text{ MPa}$, maintaining a constant inner wall temperature of $T_j = 140.0^\circ\text{C}$.
Vessel Specifications:
- Effective heat transfer area: $A = 5.20\text{ m}^2$
- Overall heat transfer coefficient: $U = 450.0\text{ W/(m}^2\cdot\text{K)}$
- Latent heat of steam condensation at $140.0^\circ\text{C}$: $\lambda_{vap} = 2,144.0\text{ kJ/kg}$
Calculate:
- The thermal time constant of the reactor system ($\tau_{th}$).
- The time required to reach the target temperature of $110.0^\circ\text{C}$ (in minutes).
- The total thermal energy transferred to the batch ($\text{MJ}$).
- The total mass of steam condensed during the heat-up cycle ($\text{kg}$).
Step-by-Step Solution
Step 1: Calculate the Thermal Time Constant
Convert $U$ and $C_p$ to consistent SI units:
- $m C_p = (2,500\text{ kg}) \times (3,500\text{ J/(kg}\cdot\text{K)}) = 8,750,000\text{ J/K}$
- $U A = (450.0\text{ W/(m}^2\cdot\text{K)}) \times (5.20\text{ m}^2) = 2,340.0\text{ W} = 2,340.0\text{ J/s}\cdot\text{K}$
In minutes: $\tau_{th} = 3,739.32 / 60 = 62.32\text{ minutes}$.
Step 2: Time to Reach $110.0^\circ\text{C}$
Converting to minutes:
Step 3: Total Heat Transferred to Monomer
Step 4: Total Steam Condensed
Assuming steam enters as saturated vapor and leaves as saturated condensate without subcooling: Average steam condensation rate over the heat-up cycle:
8. Common PE Exam Traps & Calculation Pitfalls
Trap 1: Confusing Flowing Enthalpy with System Internal Energy
For a closed batch vessel or a variable-mass tank, the accumulation term is $d(m\hat{u})/dt$, not $d(m\hat{h})/dt$. Writing $m C_p dT/dt$ for an ideal gas vessel results in an error of $\gamma = 1.4$, because the closed mass accumulation is governed by $C_v$, whereas boundary flow is governed by $C_p$.
Trap 2: Assuming Constant Gravity Draining Flow
In gravity-drained tanks, flow rate diminishes continuously as liquid head drops ($\dot{V}_{out} \propto \sqrt{h}$). Calculating emptying time by dividing initial volume by initial volumetric flow ($t = V / \dot{V}_0$) yields an answer that is exactly $50%$ of the true draining time! Always integrate Torricelli's equation.
Trap 3: Mixing Hydraulic and Thermal Time Constants
Do not confuse hydraulic residence time $\tau = V/\dot{V}$ with thermal time constant $\tau_{th} = (m C_p)/(UA)$. For a continuous stirred tank with both flow and jacket heat exchange, the total temperature response combines both terms: $\frac{1}{\tau_{total}} = \frac{1}{\tau_{flow}} + \frac{1}{\tau_{th}}$.
A 10.0 m³ continuous stirred tank initially contains pure water. At t = 0, a brine feed containing 50.0 kg/m³ of dissolved NaCl is introduced at a constant volumetric flow rate of 2.0 m³/min. An overflow line maintains a constant liquid volume of 10.0 m³ in the vessel. Assuming perfect, instantaneous mixing and constant solution density, what is the concentration of NaCl in the overflow effluent after 8.0 minutes of operation?
A rigid, thermally insulated pressure vessel of volume 1.50 m³ is completely evacuated. A valve connected to an infinite supply pipeline carrying compressed air at 300.0 K (26.85°C) and 2.00 MPa is cracked open. Air slowly enters the vessel until the pressure inside matches the line pressure of 2.00 MPa, at which point the valve is shut. Assuming air behaves as an ideal gas with constant heat capacities (Cp = 29.1 J/(mol·K), Cv = 20.8 J/(mol·K), γ = 1.40), what is the final temperature of the air in the vessel?
A vertical cylindrical water tank with diameter D = 2.00 m (cross-sectional area A = 3.142 m²) is initially filled to a liquid height of h_0 = 4.00 m. Water discharges by gravity through a circular sharp-edged orifice of diameter d_o = 0.050 m (5.00 cm) located flush in the tank bottom. The orifice discharge coefficient is C_d = 0.60, and acceleration due to gravity is g = 9.81 m/s². How long will it take for the liquid level in the tank to drop from 4.00 m to 1.00 m?