🐍 Interactive Jupyter Notebook: lecture_34_rankine_cycle.ipynb
πŸ“₯ Download Page as .ipynb (Python Notebook) πŸ“‘ Download Blank Slides (PDF)

34. The Ideal and Actual Rankine Vapor Power Cycle

Term: Spring 2026
Instructor: Mukhamad Suhermanto
Primary References:


Learning Objectives:

  1. Describe the four thermodynamic processes comprising the Ideal Rankine Cycle and trace them on T-s and P-v diagrams.
  2. Formulate mass, energy, and entropy rate balances for each steady-flow component: boiler, turbine, condenser, and pump.
  3. Calculate cycle thermal efficiency, back work ratio (BWR), specific steam consumption (SSC), and heat rate (HR).
  4. Evaluate the parametric influences of boiler pressure, boiler superheat, and condenser pressure via the mean temperature of heat addition.
  5. Incorporate isentropic efficiencies for the turbine and pump to evaluate actual Rankine power plant performance.

34.1 Architecture of the Ideal Rankine Cycle

The Rankine cycle serves as the fundamental thermodynamic blueprint for commercial vapor-based electrical power generation worldwide.

Rankine Cycle T-s Diagram Figure 34.1: Complete \(T\)-\(s\) diagram of the Rankine vapor power cycle illustrating the liquid-vapor saturation dome, pump work (\(d \to e\)), boiler heating (\(e \to a \to b\)), ideal (\(b \to c\)) and actual (\(b \to c'\)) turbine expansion, and condenser heat rejection (\(c \to d\)).

The ideal cycle consists of four steady-flow processes:

34.2 Component Steady-Flow Energy Balances & Performance Metrics

Applying the First Law of Thermodynamics to each steady-flow component (neglecting \(\Delta \text{ke}\) and \(\Delta \text{pe}\)):

Feedwater Pump Work (\(1 \to 2\)): Because water is nearly incompressible (\(v_f \approx \text{constant}\)):

\[ w_p = h_{2s} - h_1 = \int_{P_1}^{P_2} v \, dP \approx v_1 (P_2 - P_1) \tag{34.1} \]

Boiler Heat Addition (\(2 \to 3\)):

\[ q_{\text{in}} = h_3 - h_2 \tag{34.2} \]

Turbine Work Output (\(3 \to 4\)):

\[ w_t = h_3 - h_4 \tag{34.3} \]

Condenser Heat Rejection (\(4 \to 1\)):

\[ q_{\text{out}} = h_4 - h_1 \tag{34.4} \]

Cycle Performance Metrics:

\[ w_{\text{net}} = w_t - w_p = q_{\text{in}} - q_{\text{out}} \tag{34.5} \]

\[ \eta_{\text{th}} = \frac{w_{\text{net}}}{q_{\text{in}}} = \frac{(h_3 - h_4) - (h_2 - h_1)}{h_3 - h_2} = 1 - \frac{h_4 - h_1}{h_3 - h_2} \tag{34.6} \]

\[ \text{BWR} = \frac{w_p}{w_t} = \frac{h_2 - h_1}{h_3 - h_4} \tag{34.7} \]

The Specific Steam Consumption (SSC) and Heat Rate (HR) are widely used industrial figures of merit:

\[ \text{SSC} = \frac{3600}{w_{\text{net}}} \quad \left[\frac{\text{kg}}{\text{kW}\cdot\text{h}}\right], \qquad \text{HR} = \frac{3600}{\eta_{\text{th}}} \quad \left[\frac{\text{kJ}}{\text{kW}\cdot\text{h}}\right] \tag{34.8} \]

34.3 Parametric Influences via Mean Temperature of Heat Addition

The thermal efficiency of the Rankine cycle can be interpreted via Carnot equivalence:

\[ \eta_{\text{th}} \approx 1 - \frac{T_{\text{cond}}}{\bar{T}_{\text{in}}}, \qquad \text{where } \bar{T}_{\text{in}} = \frac{q_{\text{in}}}{\Delta s} = \frac{h_3 - h_2}{s_3 - s_2} \tag{34.9} \]

  1. Lowering Condenser Pressure (\(P_{\text{cond}}\)): Lowers \(T_{\text{cond}}\), which directly elevates \(\eta_{\text{th}}\) and enlarges net work area. However, lower \(P_{\text{cond}}\) shifts the turbine exit toward lower moisture qualities (\(x_4 < 0.90\)) and is limited by ambient coolant temperatures.
  2. Superheating Steam to Higher \(T_3\): Raises \(\bar{T}_{\text{in}}\), increasing \(\eta_{\text{th}}\). Crucially, superheating shifts state 4 to the right, raising exit quality (\(x_4 > 0.90\)) and safeguarding blades from droplet erosion.
  3. Elevating Boiler Pressure (\(P_{\text{boiler}}\)): Raises saturation temperature and thus elevates \(\bar{T}_{\text{in}}\), boosting thermal efficiency. However, raising boiler pressure alone shifts state 4 deeper into the wet dome, demanding reheating.

34.4 Actual Rankine Cycle with Isentropic Efficiencies

In physical turbines and pumps, fluid friction and internal irreversibilities generate entropy (\(s_e > s_i\)).

Definition: Turbine and Pump Isentropic Efficiencies

Turbine isentropic efficiency \(\eta_t\) and pump isentropic efficiency \(\eta_p\) account for real irreversibilities:

\[ \eta_t = \frac{w_t}{w_{t,s}} = \frac{h_3 - h_4}{h_3 - h_{4s}} \implies h_4 = h_3 - \eta_t (h_3 - h_{4s}) \tag{34.10} \]

\[ \eta_p = \frac{w_{p,s}}{w_p} = \frac{h_{2s} - h_1}{h_2 - h_1} \implies h_2 = h_1 + \frac{v_1 (P_2 - P_1)}{\eta_p} \tag{34.11} \]

# Example Cycles 11: Ideal Superheated Rankine Cycle using kilojoule
import kilojoule.realfluid as realfluid
from kilojoule.units import Quantity

water = realfluid.Properties('Water')
P_boiler = Quantity(8, 'MPa')
P_cond = Quantity(10, 'kPa')
T3 = Quantity(500, 'degC')

# State 1: Saturated liquid at condenser pressure
h1 = water.h(p=P_cond, x=0).to('kJ/kg')
v1 = water.v(p=P_cond, x=0).to('m^3/kg')

# State 2s: Isentropic pump exit
w_p_ideal = (v1 * (P_boiler - P_cond)).to('kJ/kg')
h2s = h1 + w_p_ideal

# State 3: Superheated vapor at boiler exit
h3 = water.h(p=P_boiler, T=T3).to('kJ/kg')
s3 = water.s(p=P_boiler, T=T3).to('kJ/(kg*K)')

# State 4s: Isentropic turbine exit
h4s = water.h(p=P_cond, s=s3).to('kJ/kg')
x4s = float(water.x(p=P_cond, s=s3))

w_t = h3 - h4s
w_net = w_t - w_p_ideal
q_in = h3 - h2s
eta_th = float(w_net / q_in)
bwr = float(w_p_ideal / w_t)
ssc = 3600.0 / w_net.magnitude
hr = 3600.0 / eta_th

print(f"=== Ideal Rankine Cycle (Cycles 11) ===")
print(f"State 1: h1 = {h1.magnitude:.2f} kJ/kg")
print(f"State 2: h2 = {h2s.magnitude:.2f} kJ/kg, w_pump = {w_p_ideal.magnitude:.2f} kJ/kg")
print(f"State 3: h3 = {h3.magnitude:.2f} kJ/kg, s3 = {s3.magnitude:.4f} kJ/kg.K")
print(f"State 4: h4 = {h4s.magnitude:.2f} kJ/kg, Quality x4 = {x4s:.4f}")
print(f"Turbine Work (w_t):      {w_t.magnitude:.2f} kJ/kg")
print(f"Net Work (w_net):        {w_net.magnitude:.2f} kJ/kg")
print(f"Heat Input (q_in):       {q_in.magnitude:.2f} kJ/kg")
print(f"Thermal Efficiency:      {eta_th*100:.2f}%")
print(f"Back Work Ratio (BWR):   {bwr*100:.3f}%")
print(f"Specific Steam Cons.:    {ssc:.3f} kg/(kW.h)")
print(f"Heat Rate (HR):          {hr:.1f} kJ/(kW.h)")
=== Ideal Rankine Cycle (Cycles 11) ===
State 1: h1 = 191.81 kJ/kg
State 2: h2 = 199.88 kJ/kg, w_pump = 8.07 kJ/kg
State 3: h3 = 3399.49 kJ/kg, s3 = 6.7262 kJ/kg.K
State 4: h4 = 2130.23 kJ/kg, Quality x4 = 0.8104
Turbine Work (w_t):      1269.26 kJ/kg
Net Work (w_net):        1261.19 kJ/kg
Heat Input (q_in):       3199.61 kJ/kg
Thermal Efficiency:      39.42%
Back Work Ratio (BWR):   0.636%
Specific Steam Cons.:    2.854 kg/(kW.h)
Heat Rate (HR):          9133.0 kJ/(kW.h)
# Example Cycles 16: Actual Rankine Cycle with Isentropic Efficiencies using kilojoule
from kilojoule.templates.default import *
import kilojoule.realfluid as realfluid

water = realfluid.Properties('Water')
eta_t = 0.85
eta_p = 0.80

# Actual pump work and state 2
w_p_act = w_p_ideal / eta_p
h2_act = h1 + w_p_act

# Actual turbine work and state 4
w_t_act = eta_t * w_t
h4_act = h3 - w_t_act
x4_act = float(water.x(p=P_cond, h=h4_act))

w_net_act = w_t_act - w_p_act
q_in_act = h3 - h2_act
eta_th_act = float(w_net_act / q_in_act)
bwr_act = float(w_p_act / w_t_act)
ssc_act = 3600.0 / w_net_act.magnitude

print("=== Actual Rankine Cycle (Cycles 16) ===")
print(f"Pump Work:               {w_p_act.magnitude:.2f} kJ/kg (vs {w_p_ideal.magnitude:.2f} kJ/kg ideal)")
print(f"Turbine Work:            {w_t_act.magnitude:.2f} kJ/kg (vs {w_t.magnitude:.2f} kJ/kg ideal)")
print(f"State 4 Enthalpy:        {h4_act.magnitude:.2f} kJ/kg")
print(f"Turbine Exit Quality:    {x4_act:.4f} (up from {x4s:.4f} due to entropy generation)")
print(f"Net Work Output:         {w_net_act.magnitude:.2f} kJ/kg")
print(f"Thermal Efficiency:      {eta_th_act*100:.2f}%")
print(f"Back Work Ratio (BWR):   {bwr_act*100:.3f}%")
print(f"Specific Steam Cons.:    {ssc_act:.3f} kg/(kW.h)")

# Visualize Rankine cycle on T-s diagram with kilojoule
p[1] = Quantity(10, 'kPa')
x[1] = Quantity(0.0, '')
states.fix(1, water)

p[2] = Quantity(8, 'MPa')
s[2] = s[1]
states.fix(2, water)

p[3] = Quantity(8, 'MPa')
T[3] = Quantity(500, 'degC')
states.fix(3, water)

p[4] = Quantity(10, 'kPa')
s[4] = s[3]
states.fix(4, water)

p['4a'] = Quantity(10, 'kPa')
h['4a'] = h4_act
states.fix('4a', water)

Ts = water.Ts_diagram()
for l in Ts.ax.lines[:2]:
    l.set_color('#0055ff')
    l.set_linewidth(2.0)
Ts.ax.grid(True, which='both', linestyle='--', color='gray', alpha=0.5)
Ts.plot_isobar(Quantity(8, 'MPa'), label='8 MPa', pos=0.85, color='#00e676', linewidth=1.5)
Ts.plot_isobar(Quantity(10, 'kPa'), label='10 kPa', pos=0.85, color='#00e676', linewidth=1.5)
for st in [1, 2, 3, 4]:
    Ts.plot_state(states[st])
Ts.plot_state(states['4a'], label_loc='east')
Ts.plot_process(states[1], states[2], path='isentropic', arrow=False)
Ts.plot_process(states[2], states[3], path='isobaric', label='Boiler')
Ts.plot_process(states[3], states[4], path='isentropic', linestyle='dashed', label='Ideal Turb')
Ts.plot_process(states[3], states['4a'], path='nonideal', label='Actual Turb', color='red')
Ts.plot_process(states['4a'], states[1], path='isobaric', label='Condenser')
=== Actual Rankine Cycle (Cycles 16) ===
Pump Work:               10.09 kJ/kg (vs 8.07 kJ/kg ideal)
Turbine Work:            1078.87 kJ/kg (vs 1269.26 kJ/kg ideal)
State 4 Enthalpy:        2320.62 kJ/kg
Turbine Exit Quality:    0.8900 (up from 0.8104 due to entropy generation)
Net Work Output:         1068.78 kJ/kg (reduction: 192.41 kJ/kg)
Thermal Efficiency:      33.42% (drop: 5.99 percentage points)
Back Work Ratio (BWR):   0.935%
Specific Steam Cons.:    3.368 kg/(kW.h)
Ideal and Actual Rankine Vapor Power Cycle on T-s Diagram (Cycles 11 & 16)

Engineering Practice Problems (Self-Study Exercises)

Try each problem on paper first using the principles from this chapter, then expand the step-by-step solution to check your derivation.

Practice Problem 1 β€” Ideal vs.Β Actual Steam Rankine Cycle Analysis (\(P_3 = 8\text{ MPa},\; T_3 = 500^\circ\text{C}\))

A steam power plant operates on a simple Rankine cycle with steam flow \(\dot{m} = 42.0\text{ kg/s}\) between boiler pressure \(P_3 = 8.0\text{ MPa}\), \(T_3 = 500^\circ\text{C}\) (\(h_3 = 3399.5\text{ kJ/kg}\), \(s_3 = 6.7266\text{ kJ}/(\text{kg}\cdot\text{K})\)) and condenser pressure \(P_4 = 15\text{ kPa}\) (\(T_{\text{sat}} = 53.97^\circ\text{C}\), \(v_1 = 0.001014\text{ m}^3/\text{kg}\), \(h_1 = h_f = 225.94\text{ kJ/kg}\), \(h_{fg} = 2372.3\text{ kJ/kg}\), isentropic turbine exit \(h_{4s} = 2179.4\text{ kJ/kg}\), \(x_{4s} = 0.8234\)). Compute: (a) thermal efficiency of the ideal Rankine cycle, and (b) actual exit quality \(x_{4a}\), net power output \(\dot{W}_{\text{net}}\) (MW), and actual thermal efficiency \(\eta_{\text{th,act}}\) if turbine and pump isentropic efficiencies are \(\eta_T = 88.0\%\) and \(\eta_P = 80.0\%\).

πŸ” Click to View Complete Step-by-Step Solution
  1. Ideal Rankine Cycle Work & Efficiency: \[w_{p,s} \approx v_1(P_3 - P_1) = (0.001014)(8000 - 15) = 8.10\text{ kJ/kg} \implies h_{2s} = 225.94 + 8.10 = 234.04\text{ kJ/kg}\] \[w_{t,s} = 3399.5 - 2179.4 = 1220.1\text{ kJ/kg}, \qquad q_{\text{in,s}} = 3399.5 - 234.04 = 3165.5\text{ kJ/kg}\] \[\eta_{\text{ideal}} = \frac{1220.1 - 8.10}{3165.5} = 38.29\%\]

  2. Actual Pump & Turbine States (\(\eta_P = 0.80\), \(\eta_T = 0.88\)): \[w_{p,a} = \frac{8.10}{0.80} = 10.12\text{ kJ/kg} \implies h_{2a} = 236.07\text{ kJ/kg}\] \[w_{t,a} = 0.88(1220.1) = 1073.7\text{ kJ/kg} \implies h_{4a} = 3399.5 - 1073.7 = 2325.8\text{ kJ/kg}\] \[x_{4a} = \frac{2325.8 - 225.94}{2372.3} = 0.8851\]

  3. Actual Net Power & Thermal Efficiency: \[\dot{W}_{\text{net,act}} = \dot{m}(w_{t,a} - w_{p,a}) = 42.0(1073.7 - 10.12) = 44669\text{ kW} = 44.67\text{ MW}\] \[\eta_{\text{th,act}} = \frac{1063.6}{3163.4} = 33.62\%\] Final Result: \(\eta_{\text{ideal}} = 38.29\%\), \(x_{4a} = 0.8851\), \(\dot{W}_{\text{net,act}} = 44.67\text{ MW}\), \(\eta_{\text{th,act}} = 33.62\%\).


Practice Problem 2 β€” Parametric Benefit & Moisture Tradeoff of Condenser Vacuum Reduction

An ideal Rankine cycle expands steam from \(P_3 = 5.0\text{ MPa}\), \(T_3 = 460^\circ\text{C}\) (\(h_3 = 3340.9\text{ kJ/kg}\), \(s_3 = 6.8535\text{ kJ}/(\text{kg}\cdot\text{K})\)). Compare cycle performance between a warm summer condenser at \(P_{4,A} = 50\text{ kPa}\) (\(T_{\text{sat}} = 81.32^\circ\text{C}\), isentropic \(x_{4,A} = 0.8863\), \(w_{\text{net},A} = 952.7\text{ kJ/kg}\)) and a river-cooled winter vacuum of \(P_{4,B} = 10\text{ kPa}\) (\(T_{\text{sat}} = 45.81^\circ\text{C}\), \(v_f = 0.001010\text{ m}^3/\text{kg}\), \(h_f = 191.81\text{ kJ/kg}\), \(h_{4s,B} = 2170.7\text{ kJ/kg}\), \(x_{4,B} = 0.8273\)). Calculate both ideal efficiencies \(\eta_{\text{th},A}\) and \(\eta_{\text{th},B}\) and describe the moisture-erosion tradeoff.

πŸ” Click to View Complete Step-by-Step Solution
  1. Case A (\(P_{\text{cond}} = 50\text{ kPa}\)): Using \(h_{2,A} = 345.6\text{ kJ/kg}\): \[q_{\text{in},A} = 3340.9 - 345.6 = 2995.2\text{ kJ/kg} \implies \eta_{\text{th},A} = 31.81\%\]

  2. Case B (\(P_{\text{cond}} = 10\text{ kPa}\)): \[w_{p,B} = (0.001010)(5000 - 10) = 5.04\text{ kJ/kg} \implies h_{2,B} = 196.85\text{ kJ/kg}\] \[w_{\text{net},B} = (3340.9 - 2170.7) - 5.04 = 1165.1\text{ kJ/kg}\] \[\eta_{\text{th},B} = \frac{1165.1}{3144.0} = 37.06\%\]

  3. Tradeoff Summary: Dropping condenser pressure from \(50\text{ kPa}\) to \(10\text{ kPa}\) lowers \(T_L\) by \(35.5\text{ K}\), boosting thermal efficiency by \(+5.25\) percentage points, while pulling exhaust quality down slightly from \(x_4 = 0.886\) to \(0.827\).


Practice Problem 3 β€” Geothermal Organic Rankine Cycle (ORC) Using Propane Working Fluid

A binary geothermal Organic Rankine Cycle circulates \(\dot{m} = 8.50\text{ kg/s}\) of propane (\(\text{C}_3\text{H}_8\)) between \(P_{\text{boiler}} = 2.20\text{ MPa}\) and \(P_{\text{cond}} = 900\text{ kPa}\). Liquid propane leaves the condenser saturated at \(900\text{ kPa}\) (\(T_{\text{sat}} = 22.81^\circ\text{C}\), \(v_1 = 0.002017\text{ m}^3/\text{kg}\), \(h_1 = 259.17\text{ kJ/kg}\)), and enters an ideal turbine at \(2.20\text{ MPa}\), \(T_3 = 105^\circ\text{C}\) (\(h_3 = 736.45\text{ kJ/kg}\)), exhausting isentropically at \(900\text{ kPa}\) with \(h_{4s} = 684.60\text{ kJ/kg}\) (\(T_{4s} = 66.23^\circ\text{C}\), completely dry!). Compute the net power output \(\dot{W}_{\text{net}}\), back-work ratio \(\text{BWR}\), and ideal ORC thermal efficiency \(\eta_{\text{th}}\).

πŸ” Click to View Complete Step-by-Step Solution
  1. Ideal Pump & Boiler State 2: \[w_p \approx v_1(P_2 - P_1) = (0.002017)(2200 - 900) = 2.62\text{ kJ/kg} \implies h_2 = 259.17 + 2.62 = 261.79\text{ kJ/kg}\]

  2. Turbine Work, Heat Addition, & Net Power: \[w_t = h_3 - h_4 = 736.45 - 684.60 = 51.84\text{ kJ/kg}, \qquad q_{\text{in}} = 736.45 - 261.79 = 474.66\text{ kJ/kg}\] \[\dot{W}_{\text{net}} = 8.50(51.84 - 2.62) = 418.4\text{ kW}\]

  3. Back-Work Ratio & ORC Thermal Efficiency: \[\text{BWR} = \frac{2.62}{51.84} = 5.06\%, \qquad \eta_{\text{th}} = \frac{49.22}{474.66} = 10.37\%\] Notice propane’s overhang leaves turbine exit dry (\(T_{4s} = 66.2^\circ\text{C} > T_{\text{sat}} = 22.8^\circ\text{C}\)), eliminating blade erosion! Final Result: \(\dot{W}_{\text{net}} = 418.4\text{ kW}\), \(\text{BWR} = 5.06\%\), \(\eta_{\text{th}} = 10.37\%\).


Practice Problem 4 β€” Cooling-Water Flow Sizing for an Actual Steam Rankine Condenser

An actual Rankine plant circulates \(\dot{m}_s = 28.0\text{ kg/s}\) of steam leaving a boiler at \(6.0\text{ MPa}\), \(480^\circ\text{C}\) (\(h_3 = 3375.4\text{ kJ/kg}\), \(s_3 = 6.8201\text{ kJ}/(\text{kg}\cdot\text{K})\)). The steam expands in a turbine (\(\eta_T = 85.0\%\)) to condenser pressure \(P_4 = 25\text{ kPa}\) (isentropic exit \(h_{4s} = 2275.9\text{ kJ/kg}\), condensate outlet saturated liquid \(h_1 = 271.96\text{ kJ/kg}\)). If cooling river water (\(c_w = 4.184\text{ kJ}/(\text{kg}\cdot\text{K})\)) undergoes an \(8.5^\circ\text{C}\) temperature rise across the condenser tubes, find the actual turbine exhaust enthalpy \(h_{4a}\), heat rejection rate \(\dot{Q}_{\text{out}}\) in \(\text{MW}\), and required cooling-water flow rate \(\dot{m}_{\text{cw}}\).

πŸ” Click to View Complete Step-by-Step Solution
  1. Actual Turbine Exhaust Enthalpy: \[h_{4a} = 3375.4 - 0.85(3375.4 - 2275.9) = 2440.8\text{ kJ/kg}\]

  2. Condenser Heat Rejection Rate (\(\dot{Q}_{\text{out}} = \dot{m}_s(h_{4a} - h_1)\)): \[\dot{Q}_{\text{out}} = 28.0(2440.8 - 271.96) = 60728\text{ kW} = 60.73\text{ MW}\]

  3. Required River Cooling-Water Mass Flow Rate: \[\dot{m}_{\text{cw}} = \frac{\dot{Q}_{\text{out}}}{c_w \Delta T_{\text{cw}}} = \frac{60728}{(4.184)(8.5)} = 1708\text{ kg/s}\] Final Result: \(h_{4a} = 2440.8\text{ kJ/kg}\), \(\dot{Q}_{\text{out}} = 60.73\text{ MW}\), \(\dot{m}_{\text{cw}} = 1708\text{ kg/s}\).

Summary & Key Takeaways


References, Suggested Reading & Video Lectures

Moran, Michael J., Howard N. Shapiro, Daisie D. Boettner, and Margaret B. Bailey. 2014. Fundamentals of Engineering Thermodynamics. 8th ed. Hoboken, NJ: John Wiley & Sons.
Waitz, Ian A., and Zoltan S. Spakovszky. 2008. 16.unified: Thermodynamics and Propulsion. Cambridge, MA: MIT OpenCourseWare, Massachusetts Institute of Technology.
Wassgren, Carl. 2021. Thermodynamics I (ME 200) Video Lecture Series. School of Mechanical Engineering, Purdue University. https://www.youtube.com/@cw2306/playlists.
β€”β€”β€”. 2025. Notes on Thermodynamics, Fluid Mechanics, and Gas Dynamics. West Lafayette, IN: School of Mechanical Engineering, Purdue University. https://engineering.purdue.edu/~wassgren/notes/NotesOnThermodynamicsFluidMechanicsAndGasDynamics_Wassgren.pdf.
Yan, Claire Yu. 2022. Introduction to Engineering Thermodynamics. BCcampus Open Education. https://open.umn.edu/opentextbooks/textbooks/introduction-to-engineering-thermodynamics.