PhysSandbox
Classical MechanicsWaves & SoundElectricity & MagnetismOptics & LightGravity & OrbitsLabs
🌙Astronomy & The Sky🌡️Thermodynamics🌍Biophysics, Fluids & Geoscience📐Math Visualization🔧Engineering🧪Chemistry

More from Thermodynamics

Other simulators in this category — or see all 46.

View category →
NewSchool

Fin Heat Transfer

Straight rectangular fin with convection: temperature profile, mL, fin efficiency ηf, effectiveness, and heat rate vs geometry.

Launch Simulator
NewSchool

Lumped Capacitance Cooling

Newton cooling with Biot number, characteristic length, τ = ρVc/(hA), temperature curve, and validity check Bi < 0.1.

Launch Simulator
NewSchool

Pipe Friction & Moody Chart

Reynolds number, relative roughness, Swamee-Jain/Colebrook-style friction factor, and Darcy-Weisbach head loss.

Launch Simulator
NewSchool

Open-Channel Flow & Hydraulic Jump

Rectangular-channel Froude number, critical depth, conjugate depths, energy loss, and subcritical/supercritical regimes.

Launch Simulator
NewSchool

Multilayer Wall Conduction

Three layers in series: R″ = L/k, q″ and U; T(x) sketch and preset plaster/brick/wool.

Launch Simulator
NewSchool

Adiabatic Cloud Parcel

Lift moist air: dry Γ, LCL, toy moist lapse; RH and cartoon cloud vs height.

Launch Simulator
PhysSandbox

Interactive physics, chemistry, and engineering simulators for students, teachers, and curious minds.

Physics

  • Classical Mechanics
  • Waves & Sound
  • Electricity & Magnetism

Science

  • Optics & Light
  • Gravity & Orbits
  • Astronomy & The Sky

More

  • Thermodynamics
  • Biophysics, Fluids & Geoscience
  • Math Visualization
  • Engineering
  • Chemistry

© 2026 PhysSandbox. Free interactive science simulators.

PrivacyTermsContact
Home/Thermodynamics/Vapor-Compression Refrigeration Cycle

Vapor-Compression Refrigeration Cycle

A vapor-compression refrigerator circulates refrigerant through four idealized components: the evaporator absorbs heat at low pressure, the compressor raises pressure and temperature, the condenser rejects heat at high pressure, and the expansion valve throttles liquid back to the evaporator pressure. This simulator uses a simple refrigerant-like property model to expose the energy bookkeeping: COP_R = (h1 − h4)/(h2 − h1), compressor efficiency raises h2 above the isentropic endpoint, and the expansion valve is treated as isenthalpic with h4 = h3. The p-h sketch marks states 1-2-3-4 and the component schematic shows heat and work flows. It is not a property-table solver: real design needs refrigerant data, two-phase quality, pressure drops, heat-exchanger approach temperatures, compressor maps, superheat control, oil return, and safety limits.

Who it's for: HVAC, refrigeration, thermodynamics, heat-pump, and mechanical engineering introductions.

Key terms

  • Vapor-compression cycle
  • COP
  • Evaporator
  • Condenser
  • Expansion valve
  • p-h diagram

The cycle shows the four ideal components and the energy balances. Real systems require refrigerant property tables, pressure drops, heat-exchanger approach temperatures, compressor maps, oil return, and two-phase details.

Live graphs

Evaporator and condenser

-5 °C
40 °C
6 K
4 K

Compressor and flow

0.72
0.045 kg/s

This is a pedagogical refrigerant-like model, not a property-table solver. It keeps the component physics visible without REFPROP/CoolProp data.

Measured values

COP_R1.02
Cooling capacity5.05kW
Compressor power4.97kW
Pressure ratio11.88
Evaporator pressure1.29bar
Condenser pressure15.29bar

How it works

Vapor-compression refrigeration cycle with compressor, condenser, expansion valve, evaporator, COP, cooling capacity, pressure ratio, and p-h sketch.

Key equations

COP_R = q_evap / w_comp = (h1 − h4)/(h2 − h1)
Compressor: h2 = h1 + (h2s − h1)/ηis; valve: h4 = h3

Frequently asked questions

Why is the expansion valve modeled as h4 = h3?
A throttling valve is approximately adiabatic with no shaft work, so the steady-flow energy equation gives an isenthalpic process. Pressure drops sharply while part of the liquid flashes to vapor.
Why does higher condensing temperature lower COP?
A higher condenser temperature raises the high-side pressure and compressor pressure ratio, so more work is needed for roughly the same evaporator heat pickup.