Skip to content

Commit 9701755

Browse files
committed
Detect "Tier4" (for now) and restore report file.
1 parent 247804f commit 9701755

File tree

2 files changed

+81
-77
lines changed

2 files changed

+81
-77
lines changed

src/dhwcalc.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4691,7 +4691,11 @@ RC DHWHEATER::wh_HPWHInit() // initialize HPWH model
46914691
courier->set_message_level(MSGTY::msgtyERROR);
46924692

46934693
// Adjust tier3 COP coefficients to match UEF
4694-
wh_HPWH.hw_pHPWH->makeGenericUEF(wh_UEF, HPWH::tier3);
4694+
HPWH::PerformancePolySet hpwh_tier = HPWH::tier3;
4695+
if (wh_HPWH.hw_pHPWH->name.find("Tier4") != std::string::npos) { // Hack for now...
4696+
hpwh_tier = HPWH::tier4;
4697+
}
4698+
wh_HPWH.hw_pHPWH->makeGenericUEF(wh_UEF, hpwh_tier);
46954699

46964700
courier->restore_message_level();
46974701
}

0 commit comments

Comments
 (0)