CALC_CMIN
This function computes the smaller of the two stream heat-capacity rates in a heat exchanger from each stream’s mass flow and specific heat. The minimum heat-capacity rate controls the maximum possible exchanger duty.
The calculation is C_{min} = \min(m_h C_{p,h},\; m_c C_{p,c}).
Excel Usage
=CALC_CMIN(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): Minimum heat capacity rate (W/K).
Example 1: Cmin for example flows
Inputs:
| mh | mc | Cph | Cpc |
|---|---|---|---|
| 22 | 5.5 | 2200 | 4400 |
Excel formula:
=CALC_CMIN(22, 5.5, 2200, 4400)
Expected output:
24200
Example 2: Cmin for equal flow rates
Inputs:
| mh | mc | Cph | Cpc |
|---|---|---|---|
| 3 | 3 | 2000 | 1800 |
Excel formula:
=CALC_CMIN(3, 3, 2000, 1800)
Expected output:
5400
Example 3: Cmin with larger hot stream
Inputs:
| mh | mc | Cph | Cpc |
|---|---|---|---|
| 10 | 2 | 4200 | 3000 |
Excel formula:
=CALC_CMIN(10, 2, 4200, 3000)
Expected output:
6000
Example 4: Cmin with larger cold stream
Inputs:
| mh | mc | Cph | Cpc |
|---|---|---|---|
| 2 | 8 | 3500 | 4200 |
Excel formula:
=CALC_CMIN(2, 8, 3500, 4200)
Expected output:
7000
Python Code
Show Code
from ht.hx import calc_Cmin as hx_calc_Cmin
def calc_Cmin(mh, mc, Cph, Cpc):
"""
Calculate the minimum heat capacity rate of 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: Minimum heat capacity rate (W/K).
"""
try:
result = hx_calc_Cmin(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).