Skip to content

Commit 6e48e5c

Browse files
committed
add in phantom warning text
1 parent 1e3edf5 commit 6e48e5c

1 file changed

Lines changed: 13 additions & 1 deletion

File tree

tst/EnergyPlus/unit/OutdoorAirUnit.unit.cc

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,19 @@ TEST_F(EnergyPlusFixture, OutdoorAirUnit_AutoSize)
360360
EXPECT_DOUBLE_EQ(SAFanPower, 75.0);
361361
EXPECT_DOUBLE_EQ(EAFanPower, 75.0);
362362
EXPECT_DOUBLE_EQ(SAFanPower + EAFanPower, state->dataOutdoorAirUnit->OutAirUnit(OAUnitNum).ElecFanRate);
363-
EXPECT_TRUE(compare_err_stream("", true));
363+
std::string const sizing_error_string = delimited_string({
364+
" ** Warning ** SizeDXCoil Coil:Cooling:DX:SingleSpeed ACDXCOIL 1",
365+
" ** ~~~ ** ...Gross Rated Total Cooling Capacity [W] will be limited by the maximum rated volume flow per rated total capacity ratio.",
366+
" ** ~~~ ** ...DX coil volume flow rate [m3/s] = 0.500000",
367+
" ** ~~~ ** ...Requested capacity [W] = 75.000",
368+
" ** ~~~ ** ...Requested flow/capacity ratio [m3/s/W] = 0.00666667",
369+
" ** ~~~ ** ...Maximum flow/capacity ratio [m3/s/W] = 6.04100E-05",
370+
" ** ~~~ ** ...Adjusted capacity [W] = 8276.775",
371+
" ** Warning ** SizeHeatingCoil: : Potential issue with equipment sizing for Coil:Heating:Electric ZONE1OAUHEATINGCOIL",
372+
" ** ~~~ ** ...Rated Total Heating Capacity = 0.00 [W]",
373+
" ** ~~~ ** ...Capacity used to size child component set to 0 [W]",
374+
});
375+
EXPECT_TRUE(compare_err_stream(sizing_error_string, true));
364376

365377
// #6173
366378
state->dataOutdoorAirUnit->OutAirUnit(OAUnitNum).ExtAirMassFlow = 0.0;

0 commit comments

Comments
 (0)