TEMP_EFF_BASIC

This function computes side-1 temperature effectiveness for basic exchanger configurations from heat-capacity ratio and side-1 transfer units. It supports counterflow, parallel flow, and crossflow variants.

The functional form is P_1=f(R_1, \mathrm{NTU}_1, \text{subtype}).

Excel Usage

=TEMP_EFF_BASIC(r_one, ntu_one, basic_subtype)
  • r_one (float, required): Heat capacity ratio with respect to stream 1 (-).
  • ntu_one (float, required): Thermal number of transfer units with respect to stream 1 (-).
  • basic_subtype (str, optional, default: “crossflow”): Basic exchanger subtype (-).

Returns (float): Temperature effectiveness with respect to stream 1 (-).

Example 1: Basic effectiveness for counterflow

Inputs:

r_one ntu_one basic_subtype
0.1 4 counterflow

Excel formula:

=TEMP_EFF_BASIC(0.1, 4, "counterflow")

Expected output:

0.975341

Example 2: Basic effectiveness for parallel flow

Inputs:

r_one ntu_one basic_subtype
0.4 1.5 parallel

Excel formula:

=TEMP_EFF_BASIC(0.4, 1.5, "parallel")

Expected output:

0.626817

Example 3: Basic effectiveness for crossflow

Inputs:

r_one ntu_one basic_subtype
0.7 2 crossflow

Excel formula:

=TEMP_EFF_BASIC(0.7, 2, "crossflow")

Expected output:

0.683005

Example 4: Basic effectiveness for mixed crossflow

Inputs:

r_one ntu_one basic_subtype
0.3 1.2 crossflow, mixed 1&2

Excel formula:

=TEMP_EFF_BASIC(0.3, 1.2, "crossflow, mixed 1&2")

Expected output:

0.628933

Python Code

Show Code
from ht.hx import temperature_effectiveness_basic as hx_temperature_effectiveness_basic

def temp_eff_basic(r_one, ntu_one, basic_subtype='crossflow'):
    """
    Compute temperature effectiveness for a basic exchanger type.

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

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

    Args:
        r_one (float): Heat capacity ratio with respect to stream 1 (-).
        ntu_one (float): Thermal number of transfer units with respect to stream 1 (-).
        basic_subtype (str, optional): Basic exchanger subtype (-). Valid options: Counterflow, Parallel, Crossflow, Crossflow Approximate, Crossflow Mixed 1, Crossflow Mixed 2, Crossflow Mixed 1&2. Default is 'crossflow'.

    Returns:
        float: Temperature effectiveness with respect to stream 1 (-).
    """
    try:
      result = hx_temperature_effectiveness_basic(R1=r_one, NTU1=ntu_one, subtype=basic_subtype)
      return result
    except Exception as e:
        return f"Error: {str(e)}"

Online Calculator

Heat capacity ratio with respect to stream 1 (-).
Thermal number of transfer units with respect to stream 1 (-).
Basic exchanger subtype (-).