CALC_CR

This function returns the dimensionless heat-capacity ratio between the smaller and larger stream heat-capacity rates. It is a key parameter in exchanger performance correlations.

The ratio is defined as C_r = \frac{C_{min}}{C_{max}}.

Excel Usage

=CALC_CR(mh, mc, Cph, Cpc)
  • mh (float, required): Mass flow rate of hot stream (kg/s).
  • mc (float, required): Mass flow rate of cold stream (kg/s).
  • Cph (float, required): Heat capacity of hot stream (J/kg/K).
  • Cpc (float, required): Heat capacity of cold stream (J/kg/K).

Returns (float): Heat capacity rate ratio Cmin/Cmax (-).

Example 1: Cr for example flows

Inputs:

mh mc Cph Cpc
22 5.5 2200 4400

Excel formula:

=CALC_CR(22, 5.5, 2200, 4400)

Expected output:

0.5

Example 2: Cr for equal flow rates

Inputs:

mh mc Cph Cpc
3 3 2000 1800

Excel formula:

=CALC_CR(3, 3, 2000, 1800)

Expected output:

0.9

Example 3: Cr with larger hot stream

Inputs:

mh mc Cph Cpc
10 2 4200 3000

Excel formula:

=CALC_CR(10, 2, 4200, 3000)

Expected output:

0.142857

Example 4: Cr with larger cold stream

Inputs:

mh mc Cph Cpc
2 8 3500 4200

Excel formula:

=CALC_CR(2, 8, 3500, 4200)

Expected output:

0.208333

Python Code

Show Code
from ht.hx import calc_Cr as hx_calc_Cr

def calc_Cr(mh, mc, Cph, Cpc):
    """
    Calculate the heat capacity rate ratio for two streams.

    See: https://ht.readthedocs.io/en/latest/ht.hx.html

    This example function is provided as-is without any representation of accuracy.

    Args:
        mh (float): Mass flow rate of hot stream (kg/s).
        mc (float): Mass flow rate of cold stream (kg/s).
        Cph (float): Heat capacity of hot stream (J/kg/K).
        Cpc (float): Heat capacity of cold stream (J/kg/K).

    Returns:
        float: Heat capacity rate ratio Cmin/Cmax (-).
    """
    try:
        result = hx_calc_Cr(mh=mh, mc=mc, Cph=Cph, Cpc=Cpc)
        return result
    except Exception as e:
        return f"Error: {str(e)}"

Online Calculator

Mass flow rate of hot stream (kg/s).
Mass flow rate of cold stream (kg/s).
Heat capacity of hot stream (J/kg/K).
Heat capacity of cold stream (J/kg/K).