From b9637a44d7f56485852a1540bc39c557532290f9 Mon Sep 17 00:00:00 2001 From: Phil Ahrenkiel Date: Mon, 6 Jan 2025 12:05:51 -0700 Subject: [PATCH] Remove Rheem map test. --- test/unit_tests/performanceMapTest.cpp | 29 +------------------------- 1 file changed, 1 insertion(+), 28 deletions(-) diff --git a/test/unit_tests/performanceMapTest.cpp b/test/unit_tests/performanceMapTest.cpp index 83197e2d..7a4b86ab 100644 --- a/test/unit_tests/performanceMapTest.cpp +++ b/test/unit_tests/performanceMapTest.cpp @@ -715,7 +715,6 @@ TEST_F(PerformanceMapTest, Sanden120) TEST_F(PerformanceMapTest, ConvertMapToGrid) { HPWH hpwh; - { const std::string sModelName = "ColmacCxA_20_MP"; hpwh.initPreset(sModelName); @@ -739,7 +738,6 @@ TEST_F(PerformanceMapTest, ConvertMapToGrid) HPWH::UNITS_F); EXPECT_NEAR_REL(checkPoint.output_kW, output_kW) << sModelName << ": grid"; } - { const std::string sModelName = "ColmacCxA_20_SP"; hpwh.initPreset(sModelName); @@ -763,32 +761,7 @@ TEST_F(PerformanceMapTest, ConvertMapToGrid) HPWH::UNITS_F); EXPECT_NEAR_REL(checkPoint.output_kW, output_kW) << sModelName << ": grid"; } - { - const std::string sModelName = "Rheem2020Prem50"; - hpwh.initPreset(sModelName); - - PerformancePoint checkPoint; // tairF, toutF, tinF, outputW - - // using polynomial map - checkPoint = {67, 127, 41.0, 0., 1.445116497615, 0.}; - double output_kW = hpwh.getCompressorCapacity(checkPoint.externalT_F, - checkPoint.condenserT_F, - checkPoint.outletT_F, - HPWH::UNITS_KW, - HPWH::UNITS_F); - EXPECT_NEAR_REL(checkPoint.output_kW, output_kW) << sModelName << ": polynomial"; - - hpwh.convertMapToGrid(); - output_kW = hpwh.getCompressorCapacity(checkPoint.externalT_F, - checkPoint.condenserT_F, - checkPoint.outletT_F, - HPWH::UNITS_KW, - HPWH::UNITS_F); - EXPECT_NEAR_REL(checkPoint.output_kW, output_kW) << sModelName << ": grid"; - } - - { // JSON test - + { // convert QAHV_N136TAU_HPB_SP Preset to JSON and compare const std::string sModelName = "QAHV_N136TAU_HPB_SP"; hpwh.initPreset(sModelName);