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) 3.0
Condenser pressure P_low (kPa) 10
Turbine isentropic eff. η_t 0.85
Pump isentropic eff. η_p 0.80
Results
32.1%
Thermal efficiency η_th
0
Net work (kJ/kg)
0
Heat input (kJ/kg)
0.000
Back work ratio

Theory

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}}$
T-s Diagram (Temperature–Entropy)
P-h Diagram (Pressure–Enthalpy)
State Points
StateT (°C)P (MPa)h (kJ/kg)s (kJ/kg·K)Description

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.

Related Engineering Fields

The calculations handled by this simulator are the very fundamentals of thermal fluid dynamics (CFD). For instance, detailed CFD simulations of the complex flows inside turbines and compressors are used to more accurately predict the values for "isentropic efficiency" dealt with here or to elucidate loss mechanisms.

They are also deeply connected to materials engineering and strength design. Materials for high-pressure boilers and high-temperature turbines must withstand high temperatures and pressures over long periods. Changing the "boiler pressure" in the simulator is the first step in considering the stress on materials and creep phenomena (where materials deform over time).

Furthermore, renewable energy technologies can be mentioned as application areas. For example, Ocean Thermal Energy Conversion (OTEC) operates a Rankine cycle using the temperature difference between warm surface seawater and cold deep seawater, but this difference is small, around 20–25°C. By experimenting in the simulator with what happens to thermal efficiency when you set the condenser temperature high and the evaporator temperature low, you can intuitively understand the challenges of this technology (low efficiency, large scale).

For Further Learning

The first next step is to study the "wet steam" region in detail. The inside of the simulator's dome is the wet steam region, where state properties are determined by a parameter called dryness fraction (x). For example, enthalpy can be expressed as $h = h_f + x \cdot h_{fg}$. Here, $h_f$ is the enthalpy of saturated liquid and $h_{fg}$ is the latent heat of vaporization. Understanding this relationship will enable you to perform calculations yourself for when the turbine outlet is in the wet region.

Regarding the mathematical background, try exploring the partial derivatives of state properties and thermodynamic relations (like Maxwell's relations). If T-s or P-h diagrams are "maps," these equations are their "drawing rules." For example, understanding from these equations why isotherms slope the way they do in the vapor region on a P-h diagram will change how you view the charts.

Finally, once you've grasped the basics with this tool, I recommend moving on to learning about more complex cycles. Specific examples include the "regenerative cycle," which recovers heat discarded in the condenser; the "combined cycle," which pairs it with a gas turbine; and "cogeneration (combined heat and power)," which simultaneously provides refrigeration and power generation. All of these are essentially combinations and optimizations of the basic Rankine and refrigeration cycles you are now operating as building blocks.