Rankine & Refrigeration Cycle Simulator Back
Thermal Engineering & Thermodynamics

Rankine & Refrigeration Cycle Simulator

Visualize steam power (Rankine) and refrigeration cycles on T-s and P-h diagrams in real time. Automatically calculate thermal efficiency, COP, and state properties.

Presets
Boiler & Turbine
Boiler pressure P_high (MPa)
MPa
Condenser pressure P_low (kPa)
kPa
Turbine isentropic eff. η_t
Pump isentropic eff. η_p
Results
Results
32.1%
Thermal efficiency η_th
0
Net work (kJ/kg)
0
Heat input (kJ/kg)
0.000
Back work ratio
T-s Diagram (Temperature–Entropy)
P-h Diagram (Pressure–Enthalpy)
State Points
StateT (°C)P (MPa)h (kJ/kg)s (kJ/kg·K)Description
Theory & Key Formulas
Rankine thermal efficiency:
$\eta_{th}= \dfrac{w_{net}}{q_{in}}= \dfrac{(h_3-h_4)-(h_2-h_1)}{h_3-h_2}$

Turbine isentropic efficiency:
$\eta_t = \dfrac{h_3-h_4}{h_3-h_{4s}}$

What are Rankine & Refrigeration Cycles?

🙋
What exactly is the Rankine cycle? I see it's related to power plants, but how does it actually work?
🎓
Basically, it's the model for how most power plants turn heat into electricity. A working fluid, usually water, gets pumped to high pressure, boiled into steam, spun through a turbine to generate power, and then condensed back to liquid to start over. In this simulator, you control the key pressures: the boiler pressure (P_high) and the condenser pressure (P_low). Try moving the P_high slider up and watch the cycle shape change on the T-s diagram.
🙋
Wait, really? So the pressures directly change how much power you get? And what's that "isentropic efficiency" for the turbine and pump?
🎓
Great question! Yes, a higher boiler pressure generally means more work output and higher efficiency, up to a point. The isentropic efficiency accounts for real-world losses. An ideal, 100% efficient turbine would expand the steam perfectly. In reality, friction and turbulence cause losses. The η_t slider lets you model that. For instance, a modern steam turbine might have an η_t of 85-90%. Lower it to 70% and see the calculated thermal efficiency drop.
🙋
Okay, I get the power cycle. But the simulator also does refrigeration. Is that just a Rankine cycle in reverse?
🎓
Exactly! It's often called a vapor-compression cycle. Instead of producing net work, it uses work (via the compressor) to move heat from a cold space to a hot one. Here, you control the evaporating and condensing temperatures (T_evap & T_cond), which set the pressure levels. The key metric isn't efficiency but the Coefficient of Performance (COP). Try lowering T_cond and see how the COP improves—that's why keeping your fridge's condenser coils clean saves energy!

Physical Model & Key Equations

The core performance metric for the Rankine power cycle is its thermal efficiency. It's the ratio of the net work output (turbine work minus pump work) to the heat input from the boiler.

$$\eta_{th}= \frac{w_{net}}{q_{in}}= \frac{(h_3-h_4)-(h_2-h_1)}{h_3-h_2}$$

Here, $h$ is specific enthalpy (kJ/kg). Points 1, 2, 3, and 4 correspond to the states at the pump inlet, boiler inlet, turbine inlet, and condenser inlet, respectively, on the cycle diagram. The simulator calculates these enthalpies using the pressures and efficiencies you set.

For the refrigeration cycle, the equivalent metric is the Coefficient of Performance (COP). For cooling, it's the ratio of the desired heat removal from the cold space to the work input required by the compressor.

$$COP_{R}= \frac{q_{in}}{w_{in}}= \frac{h_1 - h_4}{h_2 - h_1}$$

Here, $q_{in}$ is the refrigeration effect (heat absorbed in the evaporator), and $w_{in}$ is the compressor work. Points 1, 2, and 4 are at the compressor inlet, compressor outlet, and evaporator inlet. A higher COP means a more efficient refrigerator or air conditioner.

Real-World Applications

Coal/Nuclear Power Plants: These use large-scale Rankine cycles. The boiler pressure (P_high in the simulator) is supercritical in advanced plants, exceeding 22 MPa, to achieve thermal efficiencies over 45%. Engineers use CAE tools to optimize every component, from the feedwater pump (η_p) to the last turbine stage (η_t).

Geothermal Power Generation: Uses the Rankine cycle with organic working fluids (like pentane) that boil at lower temperatures than water. This allows them to generate electricity from lower-grade heat sources. The simulator's pressure and temperature parameters are critical for designing these Organic Rankine Cycles (ORCs).

Household Refrigeration: Your fridge runs on the vapor-compression cycle. The evaporating temperature (T_evap) is set below your fridge's interior temperature to absorb heat. The compressor efficiency (η_c) directly impacts your electricity bill. CAE simulation helps design more efficient compressors and select optimal refrigerants.

HVAC & Heat Pumps: An air conditioner is a refrigeration cycle. A heat pump is the same cycle, but used for heating—its COP is even more critical. By adjusting the condensing and evaporating temperatures (T_cond & T_evap) in the simulator, you can model how a heat pump's performance changes between a mild fall day and a cold winter night.

Common Misconceptions and Points to Note

First, there is a pitfall in the idea that "thermal efficiency or COP is simply better the higher it is." While drastically increasing boiler pressure in the simulator does improve thermal efficiency, in a real plant, material strength limits and costs skyrocket. For example, supercritical pressure power plants are highly efficient but require expensive special steels for piping and boilers. A design that pursues only efficiency is not realistic.

Next, a misconception regarding the "evaporation temperature" setting in refrigeration cycles. Raising the evaporation temperature does indeed improve COP, but this assumes "the temperature of the space you want to cool can be set higher." If a refrigerator requires -20°C, forcibly setting the evaporation temperature to -5°C drastically reduces cooling capacity, failing to achieve the objective altogether. It's crucial to understand the trade-off between COP and the required cooling capacity.

Finally, do not mistake "100% turbine efficiency" or "isentropic processes" for real-world targets. Setting it to 100% in the simulator is to create an ideal reference benchmark. In actual turbines, losses inevitably occur due to friction at blade tips, leakage, etc., with even large ones maxing out around 90%. Use this tool to experience how much output drops when you lower efficiency, and understand that "how to minimize losses" is the essence of engineering.

What is Rankine & Refrigeration Cycle Simulator?

Rankine & Refrigeration Cycle Simulator is a fundamental topic in engineering and applied physics. This interactive simulator lets you explore the key behaviors and relationships by directly manipulating parameters and observing real-time results.

By combining numerical computation with visual feedback, the simulator bridges the gap between abstract theory and physical intuition  Emaking it an effective learning tool for students and a rapid-verification tool for practicing engineers.

How to Use

  1. Set high pressure (val-Phigh) and low pressure (val-Plow) using sliders sl-Phigh and sl-Plow in bar; typical ranges: 1–100 bar for refrigeration, 5–300 bar for steam cycles.
  2. Adjust turbine isentropic efficiency (sl-eta-t, 70–95%) and pump/compressor efficiency (sl-eta-p, 75–90%) to model real component losses.
  3. Read cycle outputs: refrigeration mode displays COP and cooling effect (kJ/kg); Rankine mode shows thermal efficiency η_th, net work, and back work ratio on T-s and P-h diagrams.

Worked Example

R-134a refrigeration cycle: Phigh=12 bar, Plow=1.5 bar, eta-t=0.82, eta-p=0.80. At compressor inlet (state 1): h₁=246.6 kJ/kg, s₁=0.9082 kJ/kg·K. Isentropic compression to 12 bar yields h₂s=276.8 kJ/kg; actual h₂=283.2 kJ/kg (accounting for 80% pump efficiency). Condenser rejects 85.4 kJ/kg; evaporator absorbs 37.4 kJ/kg. Calculated COP=2.87 (37.4/(283.2−246.6)). Rankine comparison: steam at 100 bar, 400°C expanding isentropically to 0.1 bar yields η_th≈32% at 85% turbine efficiency versus 38% ideal.

Practical Notes

  1. Refrigeration systems: reducing Plow increases evaporator capacity but raises compressor work; industrial chillers typically operate 1–3 bar evaporation for -5°C to +5°C saturation temperatures.
  2. Rankine cycles: back work ratio (pump work/turbine work) ranges 1–8%; higher pressure ratios increase this penalty, limiting practical steam cycle efficiency to 45% despite Carnot limits of 65%+.
  3. Isentropic efficiencies below 75% indicate fouling, cavitation, or throttling losses; verify valve/nozzle design for superheat or subcooling to avoid two-phase flow in turbines.