Refrigerator Heat Pump Cycle in 3D: Compressor, Condenser, Valve and Evaporator

A Blender-built fridge and refrigeration rig: the refrigerant flows through compressor, condenser, expansion valve and evaporator while the cabinet cools, with pressure-enthalpy and COP graphs.

Switch to 2D

Presets

Playback

Parameters

Camera

Layers

Quality

Model check

The science

What is modelled

A vapour-compression machine moves heat from a cold cabinet to a warmer room by circulating a refrigerant through four steps: the compressor raises its pressure and temperature (1 to 2), the condenser gives heat to the room while the gas condenses to liquid (2 to 3), a throttle valve drops the pressure at constant enthalpy so part of the liquid flashes and the stream gets cold (3 to 4), and the evaporator takes heat from the cabinet while the rest boils (4 to 1). The refrigerant is an R134a-like fluid. The page solves the operating point every step: the evaporating temperature Te and the condensing temperature Tc are found so that the refrigerant cycle and the two heat exchangers agree. The cabinet is a lumped thermal mass with wall leaks, an optional warm load and an on/off thermostat. The rig, fridge, compressor, condenser with fan, valve, coils and gauges are Blender-built models; the colours and moving particles show the state of the refrigerant along the real pipe path.

Equations

  • Saturation pressure (Clausius-Clapeyron, constant latent-heat ratio fitted to the table): psat(T) = p0 exp[−(L/R)(1/T − 1/T0)], p0 = 292.8 kPa at T0 = 273.15 K, L/R = 2661 K.
  • Latent heat (Watson): hfg = 198.6 [(Tcr − T)/(Tcr − T0)]0.38 kJ/kg; liquid enthalpy hf = 200 + 1.41 (T − T0).
  • Compression of an ideal gas: ws = cp T1[(pc/pe)(γ−1)/γ − 1], real work w = ws/ηs (the motor losses also end up in the refrigerant of a hermetic compressor).
  • Throttle: h4 = h3, vapour fraction x4 = (h3 − hf(Te))/hfg(Te).
  • Flow: ṁ = ηv Vd n ρ1 with ηv = 1 − c[(pc/pe)1/γ − 1].
  • Heat flows: Qe = ṁ(h1 − h4) = UAe(Tcab − Te), Qc = ṁ(h2 − h3) = UAc(Tc − Troom), Qc = Qe + P.
  • Performance: COP = Qe/P = (h1 − h4)/w, Carnot limit COPC = Te/(Tc − Te); as a heat pump the same machine delivers Qc/P = COP + 1.
  • Cabinet: C dT/dt = UAleak(Troom − T) + Qload − Qe; with constant Qe the solution is T∞ + (T0 − T∞) e−t/τ, τ = C/UA.

Checks run in the page

  • Fitted saturation pressure against published R134a table values at five temperatures.
  • First law (Qc = Qe + P), COP below Carnot and positive entropy production on the solved cycle.
  • The time-stepped cabinet against its closed-form exponential.

Honest simplifications

The vapour is an ideal gas with a constant heat-capacity ratio, so the compressor work is about 15 % higher than the real-fluid value and the p-h diagram draws the compression as a straight segment. The saturation properties are simple correlations (a few percent from the tables), the evaporator and condenser are single-UA exchangers at the saturation temperature (no desuperheating zone, no pressure drop), and the throttle is an ideal isenthalpic valve. Oil, defrost cycles, door gaskets and humidity are not modelled. Efficiencies and UA values are typical round numbers for a domestic fridge, not data for a real appliance.

What to try

  • Choose the hot summer kitchen and the dirty condenser: the pressure ratio rises, the COP falls and the electricity per day grows.
  • Open the door and watch the compressor run almost continuously; then close it and see the pull-down time.
  • Raise the set point from 4 C to 12 C and compare the COP and the duty cycle.
  • Look at the p-h diagram: a wider pressure ratio means more compressor work for the same cooling.
Loading model...
Loading Blender model...
Pressure-enthalpy diagram of the cycle
Temperatures over time
COP against evaporator temperature
Made with 🟠 Blender · Three.js