-
Notifications
You must be signed in to change notification settings - Fork 421
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix #10902 - CoolingTower:VariableSpeed:Merkel not reporting to Equipment Summary - Cooling Towers and Fluid Coolers #10930
Conversation
…:Merkel is not reported to Equipment Summary - Cooling Towers and Fluid Coolers ``` 1001: [ RUN ] EnergyPlusFixture.CondenserLoopTowers_VSMerkelCoolingTower_OutputReport 1001: /home/julien/Software/Others/EnergyPlus2/tst/EnergyPlus/unit/CondenserLoopTowers.unit.cc:5410: Failure 1001: Expected equality of these values: 1001: "CoolingTower:VariableSpeed:Merkel" 1001: OutputReportPredefined::RetrievePreDefTableEntry(*state, orp.pdchCTFCType, TowerName) 1001: Which is: "NOT FOUND" 1001: /home/julien/Software/Others/EnergyPlus2/tst/EnergyPlus/unit/CondenserLoopTowers.unit.cc:5411: Failure 1001: Expected equality of these values: 1001: "WATER" 1001: OutputReportPredefined::RetrievePreDefTableEntry(*state, orp.pdchCTFCFluidType, TowerName) 1001: Which is: "NOT FOUND" 1001: /home/julien/Software/Others/EnergyPlus2/tst/EnergyPlus/unit/CondenserLoopTowers.unit.cc:5412: Failure 1001: Expected equality of these values: 1001: fmt::format("{:.2f}", expectedDesingRange) 1001: Which is: "6.14" 1001: OutputReportPredefined::RetrievePreDefTableEntry(*state, orp.pdchCTFCRange, TowerName) 1001: Which is: "NOT FOUND" 1001: /home/julien/Software/Others/EnergyPlus2/tst/EnergyPlus/unit/CondenserLoopTowers.unit.cc:5413: Failure 1001: Expected equality of these values: 1001: fmt::format("{:.2f}", expectedDesingApproach) 1001: Which is: "4.56" 1001: OutputReportPredefined::RetrievePreDefTableEntry(*state, orp.pdchCTFCApproach, TowerName) 1001: Which is: "NOT FOUND" 1001: /home/julien/Software/Others/EnergyPlus2/tst/EnergyPlus/unit/CondenserLoopTowers.unit.cc:5415: Failure 1001: Expected equality of these values: 1001: "4000.00" 1001: OutputReportPredefined::RetrievePreDefTableEntry(*state, orp.pdchCTFCDesFanPwr, TowerName) 1001: Which is: "NOT FOUND" 1001: /home/julien/Software/Others/EnergyPlus2/tst/EnergyPlus/unit/CondenserLoopTowers.unit.cc:5416: Failure 1001: Expected equality of these values: 1001: fmt::format("{:.2f}", expectedDesignInletWB) 1001: Which is: "25.70" 1001: OutputReportPredefined::RetrievePreDefTableEntry(*state, orp.pdchCTFCDesInletAirWBT, TowerName) 1001: Which is: "NOT FOUND" 1001: /home/julien/Software/Others/EnergyPlus2/tst/EnergyPlus/unit/CondenserLoopTowers.unit.cc:5418: Failure 1001: Expected equality of these values: 1001: "0.020000" 1001: OutputReportPredefined::RetrievePreDefTableEntry(*state, orp.pdchCTFCDesWaterFlowRate, TowerName) 1001: Which is: "NOT FOUND" 1001: /home/julien/Software/Others/EnergyPlus2/tst/EnergyPlus/unit/CondenserLoopTowers.unit.cc:5419: Failure 1001: Expected equality of these values: 1001: fmt::format("{:.2f}", expectedDesOutletWaterTemp) 1001: Which is: "30.26" 1001: OutputReportPredefined::RetrievePreDefTableEntry(*state, orp.pdchCTFCLevWaterSPTemp, TowerName) 1001: Which is: "NOT FOUND" 1001: /home/julien/Software/Others/EnergyPlus2/tst/EnergyPlus/unit/CondenserLoopTowers.unit.cc:5421: Failure 1001: Expected equality of these values: 1001: "COOLINGTOWER LOOP" 1001: OutputReportPredefined::RetrievePreDefTableEntry(*state, orp.pdchCTFCCondLoopName, TowerName) 1001: Which is: "NOT FOUND" 1001: /home/julien/Software/Others/EnergyPlus2/tst/EnergyPlus/unit/CondenserLoopTowers.unit.cc:5422: Failure 1001: Expected equality of these values: 1001: "COOLINGTOWER SUPPLY EQUIPMENT BRANCH 1" 1001: OutputReportPredefined::RetrievePreDefTableEntry(*state, orp.pdchCTFCCondLoopBranchName, TowerName) 1001: Which is: "NOT FOUND" 1001: [ FAILED ] EnergyPlusFixture.CondenserLoopTowers_VSMerkelCoolingTower_OutputReport (2392 ms) ```
@@ -4880,4 +4880,547 @@ TEST_F(EnergyPlusFixture, CondenserLoopTowers_VSCoolingTower_OutputReport) | |||
OutputReportPredefined::RetrievePreDefTableEntry(*state, orp.pdchCTFCCondLoopBranchName, TowerName)); | |||
} | |||
|
|||
TEST_F(EnergyPlusFixture, CondenserLoopTowers_VSMerkelCoolingTower_OutputReport) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add a unit test for #10902 showing that it CoolingTower:VariableSpeed:Merkel is not reported to Equipment Summary - Cooling Towers and Fluid Coolers
EXPECT_EQ("CoolingTower:VariableSpeed:Merkel", OutputReportPredefined::RetrievePreDefTableEntry(*state, orp.pdchCTFCType, TowerName)); | ||
EXPECT_EQ("WATER", OutputReportPredefined::RetrievePreDefTableEntry(*state, orp.pdchCTFCFluidType, TowerName)); | ||
EXPECT_EQ(fmt::format("{:.2f}", expectedDesingRange), OutputReportPredefined::RetrievePreDefTableEntry(*state, orp.pdchCTFCRange, TowerName)); | ||
EXPECT_EQ(fmt::format("{:.2f}", expectedDesingApproach), | ||
OutputReportPredefined::RetrievePreDefTableEntry(*state, orp.pdchCTFCApproach, TowerName)); | ||
EXPECT_EQ("4000.00", OutputReportPredefined::RetrievePreDefTableEntry(*state, orp.pdchCTFCDesFanPwr, TowerName)); | ||
EXPECT_EQ(fmt::format("{:.2f}", expectedDesignInletWB), | ||
OutputReportPredefined::RetrievePreDefTableEntry(*state, orp.pdchCTFCDesInletAirWBT, TowerName)); | ||
EXPECT_EQ("0.020000", OutputReportPredefined::RetrievePreDefTableEntry(*state, orp.pdchCTFCDesWaterFlowRate, TowerName)); | ||
EXPECT_EQ(fmt::format("{:.2f}", expectedDesOutletWaterTemp), | ||
OutputReportPredefined::RetrievePreDefTableEntry(*state, orp.pdchCTFCLevWaterSPTemp, TowerName)); | ||
EXPECT_EQ("COOLINGTOWER LOOP", OutputReportPredefined::RetrievePreDefTableEntry(*state, orp.pdchCTFCCondLoopName, TowerName)); | ||
EXPECT_EQ("COOLINGTOWER SUPPLY EQUIPMENT BRANCH 1", | ||
OutputReportPredefined::RetrievePreDefTableEntry(*state, orp.pdchCTFCCondLoopBranchName, TowerName)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1001: [ RUN ] EnergyPlusFixture.CondenserLoopTowers_VSMerkelCoolingTower_OutputReport
1001: /home/julien/Software/Others/EnergyPlus2/tst/EnergyPlus/unit/CondenserLoopTowers.unit.cc:5410: Failure
1001: Expected equality of these values:
1001: "CoolingTower:VariableSpeed:Merkel"
1001: OutputReportPredefined::RetrievePreDefTableEntry(*state, orp.pdchCTFCType, TowerName)
1001: Which is: "NOT FOUND"
1001: /home/julien/Software/Others/EnergyPlus2/tst/EnergyPlus/unit/CondenserLoopTowers.unit.cc:5411: Failure
1001: Expected equality of these values:
1001: "WATER"
1001: OutputReportPredefined::RetrievePreDefTableEntry(*state, orp.pdchCTFCFluidType, TowerName)
1001: Which is: "NOT FOUND"
1001: /home/julien/Software/Others/EnergyPlus2/tst/EnergyPlus/unit/CondenserLoopTowers.unit.cc:5412: Failure
1001: Expected equality of these values:
1001: fmt::format("{:.2f}", expectedDesingRange)
1001: Which is: "6.14"
1001: OutputReportPredefined::RetrievePreDefTableEntry(*state, orp.pdchCTFCRange, TowerName)
1001: Which is: "NOT FOUND"
1001: /home/julien/Software/Others/EnergyPlus2/tst/EnergyPlus/unit/CondenserLoopTowers.unit.cc:5413: Failure
1001: Expected equality of these values:
1001: fmt::format("{:.2f}", expectedDesingApproach)
1001: Which is: "4.56"
1001: OutputReportPredefined::RetrievePreDefTableEntry(*state, orp.pdchCTFCApproach, TowerName)
1001: Which is: "NOT FOUND"
1001: /home/julien/Software/Others/EnergyPlus2/tst/EnergyPlus/unit/CondenserLoopTowers.unit.cc:5415: Failure
1001: Expected equality of these values:
1001: "4000.00"
1001: OutputReportPredefined::RetrievePreDefTableEntry(*state, orp.pdchCTFCDesFanPwr, TowerName)
1001: Which is: "NOT FOUND"
1001: /home/julien/Software/Others/EnergyPlus2/tst/EnergyPlus/unit/CondenserLoopTowers.unit.cc:5416: Failure
1001: Expected equality of these values:
1001: fmt::format("{:.2f}", expectedDesignInletWB)
1001: Which is: "25.70"
1001: OutputReportPredefined::RetrievePreDefTableEntry(*state, orp.pdchCTFCDesInletAirWBT, TowerName)
1001: Which is: "NOT FOUND"
1001: /home/julien/Software/Others/EnergyPlus2/tst/EnergyPlus/unit/CondenserLoopTowers.unit.cc:5418: Failure
1001: Expected equality of these values:
1001: "0.020000"
1001: OutputReportPredefined::RetrievePreDefTableEntry(*state, orp.pdchCTFCDesWaterFlowRate, TowerName)
1001: Which is: "NOT FOUND"
1001: /home/julien/Software/Others/EnergyPlus2/tst/EnergyPlus/unit/CondenserLoopTowers.unit.cc:5419: Failure
1001: Expected equality of these values:
1001: fmt::format("{:.2f}", expectedDesOutletWaterTemp)
1001: Which is: "30.26"
1001: OutputReportPredefined::RetrievePreDefTableEntry(*state, orp.pdchCTFCLevWaterSPTemp, TowerName)
1001: Which is: "NOT FOUND"
1001: /home/julien/Software/Others/EnergyPlus2/tst/EnergyPlus/unit/CondenserLoopTowers.unit.cc:5421: Failure
1001: Expected equality of these values:
1001: "COOLINGTOWER LOOP"
1001: OutputReportPredefined::RetrievePreDefTableEntry(*state, orp.pdchCTFCCondLoopName, TowerName)
1001: Which is: "NOT FOUND"
1001: /home/julien/Software/Others/EnergyPlus2/tst/EnergyPlus/unit/CondenserLoopTowers.unit.cc:5422: Failure
1001: Expected equality of these values:
1001: "COOLINGTOWER SUPPLY EQUIPMENT BRANCH 1"
1001: OutputReportPredefined::RetrievePreDefTableEntry(*state, orp.pdchCTFCCondLoopBranchName, TowerName)
1001: Which is: "NOT FOUND"
1001: [ FAILED ] EnergyPlusFixture.CondenserLoopTowers_VSMerkelCoolingTower_OutputReport (2392 ms)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems fine here. My only wish is that we could have reused an existing implementation of this logic. I'm sure there are so many spots where this is written very similarly. But maybe it's different enough that reusing it would be a net loss. Anyway, it's fine as is.
This does seem ready for final checks/merge, right @jmarrec ? |
Yes |
Running great here with latest develop, good to go. Thanks @jmarrec |
Pull request overview
Description of the purpose of this PR
CoolingTower:VariableSpeed:Merkel not reporting to Equipment Summary - Cooling Towers and Fluid Coolers
Pull Request Author
Reviewer