Skip to content

Commit

Permalink
remove unused constants from the previous HI method
Browse files Browse the repository at this point in the history
  • Loading branch information
Yujie Xu committed Jul 3, 2024
1 parent 5d5a76e commit 497bbc8
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/EnergyPlus/HeatBalanceSurfaceManager.cc
Original file line number Diff line number Diff line change
Expand Up @@ -5617,16 +5617,6 @@ void CalcThermalResilience(EnergyPlusData &state)
// The heat index equation set is fit to Fahrenheit units, so the zone air temperature values are first convert to F,
// then heat index is calculated and converted back to C.
if (state.dataHeatBalSurfMgr->reportVarHeatIndex || state.dataOutRptTab->displayThermalResilienceSummary) {
// Constance for heat index regression equation of Rothfusz.
Real64 constexpr c1 = -42.379;
Real64 constexpr c2 = 2.04901523;
Real64 constexpr c3 = 10.14333127;
Real64 constexpr c4 = -.22475541;
Real64 constexpr c5 = -.00683783;
Real64 constexpr c6 = -.05481717;
Real64 constexpr c7 = .00122874;
Real64 constexpr c8 = .00085282;
Real64 constexpr c9 = -.00000199;
for (int ZoneNum = 1; ZoneNum <= state.dataGlobal->NumOfZones; ++ZoneNum) {
Real64 const ZoneT = state.dataZoneTempPredictorCorrector->zoneHeatBalance(ZoneNum).ZTAV;
Real64 const ZoneW = state.dataZoneTempPredictorCorrector->zoneHeatBalance(ZoneNum).airHumRatAvg;
Expand Down

0 comments on commit 497bbc8

Please sign in to comment.