Skip to content

Commit

Permalink
Merge c5fe4ab into aa39f9f
Browse files Browse the repository at this point in the history
  • Loading branch information
rraustad authored Dec 25, 2024
2 parents aa39f9f + c5fe4ab commit a771392
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/EnergyPlus/FluidCoolers.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1949,7 +1949,7 @@ void CalcFluidCoolerOutlet(
Real64 NumTransferUnits = UAdesign / CapacityRatioMin;
Real64 ETA = std::pow(NumTransferUnits, 0.22);
Real64 A = CapacityRatio * NumTransferUnits / ETA;
Real64 effectiveness = 1.0 - std::exp((std::exp(-A) - 1.0) / (CapacityRatio / ETA));
Real64 effectiveness = 1.0 - std::exp(std::expm1(-A) / (CapacityRatio / ETA));

// calculate water to air heat transfer
_Qactual = effectiveness * CapacityRatioMin * (_InletWaterTemp - InletAirTemp);
Expand Down

0 comments on commit a771392

Please sign in to comment.