BuildingSystems.Fluid.HeatExchangers.BaseClasses.epsilon_ntuZ

# .BuildingSystems.Fluid.HeatExchangers.BaseClasses.epsilon_ntuZ

Computes heat exchanger effectiveness for given number of transfer units and heat exchanger flow regime

## Information

This function computes the heat exchanger effectiveness for a given number of transfer units, capacity flow ratio and heat exchanger flow regime. The different options for the flow regime are declared in BuildingSystems.Fluid.Types.HeatExchangerFlowRegime.

#### Interface

>     function epsilon_ntuZ
>       import f = BuildingSystems.Fluid.Types.HeatExchangerFlowRegime;
>       input Real NTU "Number of transfer units";
>       input Real Z(min = 0, max = 1) "Ratio of capacity flow rate (CMin/CMax)";
>       input Integer flowRegime "Heat exchanger flow regime, see  BuildingSystems.Fluid.Types.HeatExchangerFlowRegime";
>       output Real eps(min = 0, max = 1) "Heat exchanger effectiveness";
>     end epsilon_ntuZ;

## Revisions

- September 28, 2016, by Massimo Cimmino:
  Added case for constant temperature phase change on one side of the heat exchanger.
- July 7, 2014, by Michael Wetter:
  Changed the type of the input `flowRegime` from `BuildingSystems.Fluid.Types.HeatExchangerFlowRegime` to `Integer`. This was required because this argument is passed in Dymola 2015 in the function BuildingSystems.Fluid.HeatExchangers.BaseClasses.epsilon_C as an integer. Without this change, a translation warning occurs.
- September 25, 2013, by Michael Wetter:
  Changed test in the `assert` statement as OpenModelica had an error when comparing enumerations with integers.
- February 11, 2010, by Michael Wetter:
  First implementation.

Generated at 2026-05-09T18:18:56Z by OpenModelicaOpenModelica 1.26.7 using GenerateDoc.mos