Skip to content

Commit

Permalink
ChillerIndirectAbsorption fix
Browse files Browse the repository at this point in the history
  • Loading branch information
amirroth committed Dec 23, 2024
1 parent 3d12910 commit 1db2e95
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/EnergyPlus/ChillerIndirectAbsorption.cc
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,7 @@ void GetIndirectAbsorberInput(EnergyPlusData &state)
// Default to Steam if left blank
} else if (Util::SameString(state.dataIPShortCut->cAlphaArgs(16), "STEAM") || state.dataIPShortCut->cAlphaArgs(16).empty()) {
thisChiller.GenHeatSourceType = DataLoopNode::NodeFluidType::Steam;
thisChiller.steam = FluidProperties::GetSteam(state);
} else {
ShowWarningError(state, format("{}, Name={}", state.dataIPShortCut->cCurrentModuleObject, state.dataIPShortCut->cAlphaArgs(1)));
ShowContinueError(state, "...Generator heat source type must be Steam or Hot Water.");
Expand All @@ -362,6 +363,7 @@ void GetIndirectAbsorberInput(EnergyPlusData &state)
} else {
// Default to Steam if not entered as input
thisChiller.GenHeatSourceType = DataLoopNode::NodeFluidType::Steam;
thisChiller.steam = FluidProperties::GetSteam(state);
}

if ((!state.dataIPShortCut->cAlphaArgs(9).empty()) && (!state.dataIPShortCut->cAlphaArgs(10).empty())) {
Expand Down

3 comments on commit 1db2e95

@nrel-bot-2c
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FluidAPI2 (amirroth) - x86_64-Linux-Ubuntu-24.04-gcc-13.3: OK (2918 of 2918 tests passed, 0 test warnings)

Build Badge Test Badge

@nrel-bot-2
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FluidAPI2 (amirroth) - x86_64-Linux-Ubuntu-24.04-gcc-13.3-UnitTestsCoverage-RelWithDebInfo: OK (2100 of 2100 tests passed, 0 test warnings)

Build Badge Test Badge Coverage Badge

@nrel-bot-2c
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FluidAPI2 (amirroth) - x86_64-Linux-Ubuntu-24.04-gcc-13.3-IntegrationCoverage-RelWithDebInfo: OK (801 of 801 tests passed, 0 test warnings)

Build Badge Test Badge Coverage Badge

Please sign in to comment.