Refrigeration Cycle Back
Thermodynamics

Vapor Compression Refrigeration Cycle Calculator

Adjust evaporating/condensing temperature, refrigerant, and compressor efficiency to visualize the P-h diagram in real time. Instantly compute COP, refrigerating effect, and compressor work.

Parameters
Refrigerant
Evaporating Temp Tevap
°C
Condensing Temp Tcond
°C
Compressor Efficiency ηc
%
Subcooling
K
Superheating
K
Results
Results
COP (Cooling)
COP (Heating)
— kJ/kg
Refrigerating Effect
— kJ/kg
Compressor Work
— kJ/kg
Condenser Heat
— g/s
Mass Flow / kW
Refrigeration P-h Diagram
Theory & Key Formulas
COPcooling = (h₁−h₄) / (h₂−h₁)
COPheating = (h₂−h₃) / (h₂−h₁)
Actual compression: h₂ = h₁ + (h₂s−h₁)/ηc

① Evaporator exit (sat. vapor + superheat)
② Compressor exit (superheated vapor)
③ Condenser exit (subcooled liquid)
④ Expansion valve exit (isenthalpic)

What is a Vapor Compression Refrigeration Cycle?

🙋
What exactly is COP? I see it in the results of this simulator, but what does it really tell me?
🎓
Basically, COP stands for Coefficient of Performance. It's the main measure of efficiency for a fridge or AC unit. For cooling, it's the ratio of heat removed (the cooling effect) to the electrical energy you put into the compressor. In practice, a COP of 4 means you get 4 units of cooling for every 1 unit of electricity you pay for. Try moving the "Compressor Efficiency" slider down in the simulator and watch the COP drop—it shows how a worn compressor hurts your energy bill.
🙋
Wait, really? So why do we have both evaporating and condensing temperature controls? What happens if I make them closer together?
🎓
Great question. The temperature difference between the cold evaporator and the hot condenser is the main "lift" the compressor has to work against. For instance, if you want your fridge at 4°C (evaporator) and the room is at 25°C (condenser), that's a moderate lift. Now, try setting the evaporating temp to -10°C and condensing to 50°C in the simulator. You'll see the compressor work (h₂−h₁) shoot up and the COP plummet. A common case is an AC unit on a very hot day—it works much harder and is less efficient.
🙋
I see the "Subcooling" and "Superheating" parameters. What are those for? They sound like we're adding heat where we shouldn't...
🎓
They're actually clever tricks to improve reliability and efficiency. Superheating means we let the refrigerant vapor get a few degrees warmer after it has fully evaporated in the evaporator. This ensures no liquid droplets enter the compressor, which could destroy it. Subcooling cools the liquid refrigerant after it has condensed. This gives you a bit more cooling capacity (h₁−h₄ gets bigger). Play with the superheating slider—you'll see point 1 move right on the P-h diagram, and the COP changes slightly.

Physical Model & Key Equations

The core of the cycle analysis is energy balance at each component. The most important metric is the Coefficient of Performance (COP) for cooling, which is the refrigerating effect divided by the net work input.

$$ \text{COP}_{\text{cooling}}= \frac{q_{\text{in}}}{w_{\text{in}}}= \frac{h_1 - h_4}{h_2 - h_1}$$

Here, $h_1$ is the enthalpy at the evaporator exit (superheated vapor), $h_2$ is the enthalpy at the compressor exit, $h_4$ is the enthalpy at the evaporator inlet. The difference $(h_1 - h_4)$ is the useful cooling per kg of refrigerant, and $(h_2 - h_1)$ is the compressor work per kg.

In reality, compressors aren't perfectly efficient. The simulator uses an isentropic efficiency ($\eta_c$) to model real-world losses. The actual compressor exit enthalpy is calculated from the ideal (isentropic) exit enthalpy.

$$ h_2 = h_1 + \frac{h_{2s} - h_1}{\eta_c}$$

Here, $h_{2s}$ is the enthalpy if compression were perfectly isentropic (no friction, no heat loss). $\eta_c$ is the compressor isentropic efficiency. When you set $\eta_c$ to 100% in the simulator, you're looking at the ideal cycle. Lowering it shows how real-world inefficiencies increase $h_2$ and thus the required work.

Real-World Applications

Household Refrigeration: Your kitchen fridge runs on this exact cycle. Engineers use these calculations to select the right compressor and heat exchangers to keep food at 4°C while maximizing COP to save energy. The choice of refrigerant (like R-600a in modern fridges) is critical for both performance and environmental impact.

Commercial Air Conditioning: Large office building chillers are scaled-up versions of this cycle. They must handle varying loads efficiently. Engineers simulate different condensing temperatures (linked to outdoor weather) and evaporating temperatures (linked to desired indoor cooling) to design systems that maintain comfort with minimal electricity use.

Industrial Process Cooling: In food processing or chemical plants, precise low temperatures (e.g., -30°C for freezing) are required. This involves cycles with multiple stages or cascade systems. The principles are the same, but the low evaporating temperature dramatically increases the compressor lift, making efficiency a major design challenge.

Heat Pumps for Space Heating: The same hardware can run in reverse as a heat pump. The COP for heating is even higher than for cooling, as it represents the ratio of delivered heat to electrical work. This calculation is crucial for advocating heat pumps as an efficient alternative to gas furnaces for home heating.

Common Misconceptions and Points to Note

While experimenting with this tool, you might encounter a few easily misunderstood points. First is the idea that "since raising the evaporation temperature increases the COP, you should just set it as high as possible." While this is theoretically true, in real-world equipment, setting the evaporation temperature too high causes significant problems. For instance, if you set a refrigerator's evaporation temperature to -5°C, it would be nearly impossible to maintain the cabinet at 0°C or below. Heat only moves from a higher temperature to a lower one, so you need an evaporation temperature at least 5–10°C lower than the target cooling temperature. Ignoring this and designing based solely on simulation results would lead to equipment that doesn't cool at all.

Next is confusing the roles of 'subcooling' and 'superheat'. While you can't directly adjust subcooling in the tool, you can observe the effect of increasing subcooling by lowering the condensation temperature. Subcooling is a beneficial effect that reliably increases the refrigeration effect. Superheating (heating the gas before compressor suction), however, has pros and cons. A small amount of superheat prevents liquid slugging (a damaging event where liquid refrigerant enters the compressor cylinders), but excessive superheat causes abnormal temperature rise at the compressor discharge, degrading the refrigerant and lubricating oil. In the simulation, it just shows an increase in h1, but in actual equipment, this is strictly controlled using sensors.

Finally, there's the pitfall of "COP supremacy" in refrigerant selection. For example, R290 (propane) has a low GWP and excellent environmental performance, but being a flammable gas, it requires special safety regulations for handling. Also, R410A is a high-pressure refrigerant, increasing the strength and cost of piping and equipment. In practice, refrigerants are chosen by balancing safety, cost, regulations, and system compactness alongside COP. When comparing numbers in the simulator, keep this broader context in mind.

How to Use

  1. Set evaporator temperature (°C) using the slider or numeric input—typical range -10 to 10°C for commercial refrigeration
  2. Set condenser temperature (°C)—typically 30 to 50°C depending on cooling water availability
  3. Adjust isentropic compressor efficiency (0.70 to 0.95) to model real machine losses versus ideal compression
  4. Select refrigerant type (R134a, R410A, R22) from dropdown to load corresponding thermodynamic properties
  5. Click Calculate to generate P-h diagram and refresh all performance metrics in real time

Worked Example

Air conditioning system using R134a with T_evap = 5°C, T_cond = 40°C, compressor efficiency η = 0.82, mass flow 0.15 kg/s. At saturation: h_evap ≈ 245 kJ/kg, h_cond ≈ 420 kJ/kg. Refrigerating effect Q_evap = 0.15 × (400 - 245) = 23.25 kW. Isentropic work w_s = 65 kJ/kg; actual work = 65/0.82 ≈ 79.3 kJ/kg. COP_cooling = 23.25/11.9 ≈ 1.95. Condenser duty = 35.14 kW (cooling load + compressor input).

Practical Notes

  1. Temperature difference (T_cond − T_evap) directly governs cycle efficiency; each 5°C increase in T_cond reduces COP by ~8–12% for typical industrial systems
  2. Compressor efficiency drop below 0.75 indicates mechanical wear or throttling losses; recalibrate or service unit
  3. R410A cycles operate at higher pressures (3.5–4.2 MPa saturated) than R134a (0.9–1.0 MPa); verify equipment rated for selected refrigerant
  4. Superheat at compressor inlet (typically 5–10 K) protects against liquid slugging but increases work input slightly