MechSimulator

Refrigeration Cycle Simulator

Vapor Compression • P-h Diagram • COP • 4 Refrigerants — Simulate • Explore • Practice • Quiz

Mode
📖 User Guide
COP 0
Qe 0 kW
Qc 0 kW
Wcomp 0 kW
Refrigerant
Preset
COP
Cooling Capacity
kW
Compressor Power
kW
Heat Rejected
kW
Mass Flow Rate
kg/s
Pressure Ratio
Quality (x4)
%
Discharge Temp
°C
Score: 0 / 0
Quiz Complete!
#QuestionResult
User Guide — Refrigeration Cycle Simulator
1 Overview

The Refrigeration Cycle Simulator models the vapor compression refrigeration cycle — the most widely used cooling technology in the world. It features an animated system schematic showing refrigerant flowing through the four main components (compressor, condenser, expansion valve, and evaporator), a real-time pressure-enthalpy (P-h) diagram with the saturation dome and cycle path, and comprehensive thermodynamic calculations including COP (Coefficient of Performance), cooling capacity, compressor power, and discharge temperature.

The simulator supports four refrigerants (R-134a, R-410A, R-22, and R-290) and lets you adjust evaporator temperature, condenser temperature, subcooling, superheat, compressor efficiency, and cooling capacity. It is designed for HVAC engineering students, refrigeration technicians, mechanical engineering trainees, and instructors teaching vapor compression cycles and refrigerant selection. A ton of refrigeration equals 3.517 kW of cooling capacity.

2 Getting Started

The simulator opens in Simulate mode showing a dual-canvas layout. The left canvas displays an animated refrigeration system schematic with the compressor, condenser, expansion valve, and evaporator. The right canvas shows the P-h diagram with the saturation dome, state points, and cycle path. Below, sliders control: refrigerant selection, evaporator temperature (−30 to 10 °C), condenser temperature (25 to 55 °C), subcooling (0–15 K), superheat (0–20 K), compressor efficiency (50–95%), and cooling capacity (0.5–5.0 kW). Each slider also has a companion number input for direct value entry.

Use the Preset dropdown to load a typical scenario instantly: Domestic Refrigerator, Air Conditioning, Heat Pump, or Industrial Freezer. Each preset sets evaporator and condenser temperatures to industry-standard values. You can fine-tune sliders after selecting a preset.

Click Start to begin the staged animation. The simulator walks through each process individually — Stage 1→2 (compression), 2→3 (condensation), 3→4 (expansion), then 4→1 (evaporation) — highlighting each process on both the machine schematic and the P-h diagram simultaneously. After all four stages complete, the cycle runs continuously. Use the Anim. Speed slider (0.3×–3×) to slow down or speed up the animation. Readout cards below display COP, cooling capacity, compressor power, heat rejected, mass flow rate, pressure ratio, quality at the expansion valve exit, and compressor discharge temperature.

3 Simulate Mode

The P-h diagram is the key analytical tool. The horizontal axis shows specific enthalpy (kJ/kg), the vertical axis shows pressure on a logarithmic scale, and the dome-shaped curve represents the saturation boundary. During staged animation, the P-h diagram builds progressively — each process line appears as its stage runs, with a traveling dot showing the current refrigerant state. After the first complete cycle, the saturation dome becomes visible; toggle it on or off with the Sat. Dome button at any time.

The machine canvas shows a stage progress banner at the top with the current process name (e.g. “STAGE 2→3 — CONDENSATION”), a time progress bar, and completion dots for all four stages. Each component glows during its active stage: red for the compressor, orange heat waves for the condenser, yellow for the expansion valve, and blue shimmer for the evaporator.

Experiment with the sliders to understand key relationships. Lowering the evaporator temperature widens the pressure ratio and reduces COP. Increasing superheat moves Point 1 further into the superheated region. Reducing compressor efficiency increases work input and discharge temperature. Compare refrigerants by switching between R-134a, R-410A, R-22, and R-290 to see how dome shape, pressures, and COP differ. Use ↓ CSV to export all state point data, ↓ PNG to save the P-h diagram, or right-click the diagram for more options. Toggle SI / IMP to switch readout units between SI and Imperial.

4 Explore Mode

Switch to Explore mode to study concept cards across multiple categories covering the fundamentals of vapor compression, individual component operation, refrigerant properties, and environmental impact. Each card includes clear explanations, diagrams, and numerical examples.

Key topics include the four cycle processes (compression, condensation, throttling, evaporation), the definition and significance of COP, the P-h diagram as an analysis tool, subcooling and superheat effects on system performance, the difference between ODP (ozone depletion potential) and GWP (global warming potential), and the phase-out timeline for high-GWP refrigerants. The explore canvas provides additional diagrams to visualise concepts like the saturation dome structure, T-s diagram representation, and component energy balances.

5 Practice & Quiz

Practice mode generates randomised refrigeration cycle problems. You might be asked to calculate the COP given evaporator and condenser enthalpies, find the mass flow rate for a given cooling capacity, determine the compressor power from the enthalpy difference and mass flow rate, or compute the heat rejected by the condenser. Enter your answer, click Check for instant feedback, or click Show Solution for a step-by-step walkthrough. Your score is tracked to measure progress.

Quiz mode presents five questions per session combining conceptual and numerical problems. Topics include identifying the isenthalpic process, ranking refrigerants by COP, calculating pressure ratios, understanding the role of superheat and subcooling, and comparing the environmental impact of different refrigerants. After completing the quiz, review your results and revisit specific topics in Explore mode.

6 Tips & Best Practices
  • The COP = Qevap/Wcomp tells you how many kilowatts of cooling you get per kilowatt of compressor work. Typical values are 2–5 for well-designed systems. Higher COP means better efficiency.
  • Increasing subcooling improves COP slightly by increasing the enthalpy difference in the evaporator without increasing compressor work. Try adjusting the subcooling slider to see this effect.
  • Lowering the evaporator temperature or raising the condenser temperature increases the pressure ratio and reduces COP. This is why air conditioners work harder (and less efficiently) on extremely hot days.
  • Compare all four refrigerants under identical conditions. R-290 (propane) often has the best COP but is flammable. R-410A operates at higher pressures than R-134a. R-22 is being phased out due to ozone depletion.
  • Watch the quality at Point 4 (expansion valve exit). Lower quality means more liquid enters the evaporator, which is desirable for maximum cooling effect.
  • Use this simulator alongside the Thermodynamics Cycles Simulator to compare the vapor compression cycle with heat engine cycles like Carnot and Otto, understanding the reversed cycle concept.

What is the Vapor Compression Refrigeration Cycle?

The vapor compression refrigeration cycle moves heat from a cold space to a warm environment using a compressor, condenser, expansion valve, and evaporator. A refrigerant absorbs heat at low pressure in the evaporator and rejects it at high pressure in the condenser. COP (Coefficient of Performance) measures how efficiently the cycle converts compressor work into useful cooling.

What do the four components of the refrigeration cycle do?

The compressor raises pressure and temperature of refrigerant vapor — this is the work input (Wcomp). The condenser rejects heat QH to the surroundings as refrigerant condenses to liquid. The expansion valve drops pressure isenthalpically, producing a cold two-phase mixture. The evaporator absorbs heat QL from the cooled space as refrigerant evaporates. COP = Qevap / Wcomp measures overall efficiency.

How does the P-h diagram represent the refrigeration cycle?

The pressure-enthalpy diagram plots each process as a distinct line: 1→2 curves upward (isentropic compression), 2→3 runs horizontally at high pressure (condensation), 3→4 drops vertically (isenthalpic expansion), and 4→1 is horizontal at low pressure (evaporation). The saturation dome divides the chart into subcooled liquid (left), two-phase mixture (inside dome), and superheated vapor (right). This simulator draws the cycle in real time as you adjust conditions.

Which refrigerant gives the best COP — R-134a, R-410A, R-22, or R-290?

Under identical conditions, R-290 (propane) typically achieves the highest COP due to excellent thermodynamic properties, followed by R-134a, R-22, and R-410A. However, R-290 is flammable (A3 safety class). R-22 is being phased out under the Montreal Protocol (ODP = 0.055). R-134a has zero ODP but GWP = 1430. R-410A operates at higher pressures with GWP = 2088. Use the simulator to compare COP across all four under your specific conditions.

What is a good COP for a refrigeration system?

A COP between 2 and 5 is typical for well-designed vapor compression systems. Domestic refrigerators achieve COP ≈ 1.5–2.5; air conditioners reach COP ≈ 3–5. The Carnot COP = TL/(TH−TL) in Kelvin sets the theoretical maximum. Smaller temperature lift, higher compressor efficiency, and optimised subcooling all improve COP.

What operating parameters affect refrigeration system efficiency?

ParameterEffect on COPTypical Range
Evaporator temperatureHigher = better COP−30 to +10 °C
Condenser temperatureLower = better COP25 to 55 °C
SubcoolingMore = slightly better COP0 to 15 K
SuperheatAffects discharge temperature0 to 20 K
Compressor efficiencyHigher = better COP50 to 95 %

Which refrigerant is replacing R-22 and R-134a?

R-22 is being replaced by R-410A and R-32 for air conditioning, and R-404A for commercial refrigeration. R-134a in automotive and centrifugal chillers is transitioning to R-1234yf (GWP = 4) and R-513A. Natural refrigerants like R-290 (propane), R-717 (ammonia), and R-744 (CO2) are growing in commercial applications due to near-zero GWP. Regulations under the Kigali Amendment are accelerating HFC phase-downs globally.

Explore Related Simulators

If you found this Refrigeration Cycle simulator helpful, explore our Thermodynamics simulator, Heat Transfer simulator, and Pascal’s Law simulator for more hands-on practice with thermal and fluid systems.