Skip to content

Commit 497bbc8

Browse files
author
Yujie Xu
committed
remove unused constants from the previous HI method
1 parent 5d5a76e commit 497bbc8

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/EnergyPlus/HeatBalanceSurfaceManager.cc

-10
Original file line numberDiff line numberDiff line change
@@ -5617,16 +5617,6 @@ void CalcThermalResilience(EnergyPlusData &state)
56175617
// The heat index equation set is fit to Fahrenheit units, so the zone air temperature values are first convert to F,
56185618
// then heat index is calculated and converted back to C.
56195619
if (state.dataHeatBalSurfMgr->reportVarHeatIndex || state.dataOutRptTab->displayThermalResilienceSummary) {
5620-
// Constance for heat index regression equation of Rothfusz.
5621-
Real64 constexpr c1 = -42.379;
5622-
Real64 constexpr c2 = 2.04901523;
5623-
Real64 constexpr c3 = 10.14333127;
5624-
Real64 constexpr c4 = -.22475541;
5625-
Real64 constexpr c5 = -.00683783;
5626-
Real64 constexpr c6 = -.05481717;
5627-
Real64 constexpr c7 = .00122874;
5628-
Real64 constexpr c8 = .00085282;
5629-
Real64 constexpr c9 = -.00000199;
56305620
for (int ZoneNum = 1; ZoneNum <= state.dataGlobal->NumOfZones; ++ZoneNum) {
56315621
Real64 const ZoneT = state.dataZoneTempPredictorCorrector->zoneHeatBalance(ZoneNum).ZTAV;
56325622
Real64 const ZoneW = state.dataZoneTempPredictorCorrector->zoneHeatBalance(ZoneNum).airHumRatAvg;

0 commit comments

Comments
 (0)