Skip to content

Commit

Permalink
Fix exhaust fired absorption chillerheater model heating energy calcu…
Browse files Browse the repository at this point in the history
…lation errors.
  • Loading branch information
jcyuan2020 committed Mar 23, 2021
1 parent f1a13ce commit a33e70d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/EnergyPlus/ChillerExhaustAbsorption.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1889,7 +1889,12 @@ namespace EnergyPlus::ChillerExhaustAbsorption {
}

// Calculate operating part load ratio for cooling
lHeatPartLoadRatio = lHeatingLoad / lAvailableHeatingCapacity;
if (lAvailableHeatingCapacity <= 0.0) {
lHeatPartLoadRatio = 0.0;
} else
{
lHeatPartLoadRatio = lHeatingLoad / lAvailableHeatingCapacity;
}

// Calculate ThermalEnergy consumption for heating
// ThermalEnergy used for heating availCap * HIR * HIR-FT * HIR-FPLR
Expand Down

0 comments on commit a33e70d

Please sign in to comment.