Skip to content

Commit

Permalink
Setup heat recovery flag for multispeed DX coils
Browse files Browse the repository at this point in the history
  • Loading branch information
lgu1234 committed Feb 8, 2016
1 parent 045e33b commit fd40585
Show file tree
Hide file tree
Showing 2 changed files with 892 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/EnergyPlus/HVACUnitarySystem.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2745,6 +2745,7 @@ namespace HVACUnitarySystem {
using UserDefinedComponents::GetUserDefinedCoilAirInletNode;
using UserDefinedComponents::GetUserDefinedCoilAirOutletNode;
using PackagedThermalStorageCoil::GetTESCoilCoolingCapacity;
using DXCoils::SetMSHPDXCoilHeatRecoveryFlag;

// Locals
// SUBROUTINE ARGUMENT DEFINITIONS:
Expand Down Expand Up @@ -5810,6 +5811,12 @@ namespace HVACUnitarySystem {

TestCompSet( CurrentModuleObject, Alphas( iNameAlphaNum ), Alphas( iHRWaterInletNodeAlphaNum ), Alphas( iHRWaterOutletNodeAlphaNum ), "Unitary System Heat receovery Nodes" );

if ( UnitarySystem( UnitarySysNum ).CoolingCoilType_Num == CoilDX_MultiSpeedCooling ) {
SetMSHPDXCoilHeatRecoveryFlag( UnitarySystem( UnitarySysNum ).CoolingCoilIndex );
}
if ( UnitarySystem( UnitarySysNum ).HeatingCoilType_Num == CoilDX_MultiSpeedHeating ) {
SetMSHPDXCoilHeatRecoveryFlag( UnitarySystem( UnitarySysNum ).HeatingCoilIndex );
}
if ( errFlag ) {
ShowContinueError( "Occurs in " + CurrentModuleObject + " = " + UnitarySystem( UnitarySysNum ).Name );
ErrorsFound = true;
Expand Down
Loading

7 comments on commit fd40585

@nrel-bot-3
Copy link

Choose a reason for hiding this comment

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

113107773-Improve-waste-heat-function-handling-of-AirloopHVACUnitarySystem-#5222 (lgu1234) - x86_64-MacOS-10.9-clang: OK (2052 of 2052 tests passed, 0 test warnings)

  • 3 tests had: AUD diffs.

Build Badge Test Badge

@nrel-bot
Copy link

Choose a reason for hiding this comment

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

113107773-Improve-waste-heat-function-handling-of-AirloopHVACUnitarySystem-#5222 (lgu1234) - i386-Windows-7-VisualStudio-12: OK (2058 of 2058 tests passed, 0 test warnings)

  • 6 tests had: AUD diffs.

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.

113107773-Improve-waste-heat-function-handling-of-AirloopHVACUnitarySystem-#5222 (lgu1234) - x86_64-Linux-Ubuntu-14.04-gcc-4.8: OK (2090 of 2090 tests passed, 0 test warnings)

  • 6 tests had: AUD diffs.

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.

113107773-Improve-waste-heat-function-handling-of-AirloopHVACUnitarySystem-#5222 (lgu1234) - x86_64-Linux-Ubuntu-14.04-cppcheck-1.61: OK (0 of 0 tests passed, 0 test warnings)

Build 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.

113107773-Improve-waste-heat-function-handling-of-AirloopHVACUnitarySystem-#5222 (lgu1234) - x86_64-Linux-Ubuntu-14.04-gcc-4.8-UnitTestsCoverage-Debug: OK (958 of 958 tests passed, 0 test warnings)

Build Badge Test Badge Coverage 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.

113107773-Improve-waste-heat-function-handling-of-AirloopHVACUnitarySystem-#5222 (lgu1234) - x86_64-Linux-Ubuntu-14.04-gcc-4.8-IntegrationCoverage-Debug: OK (1509 of 1509 tests passed, 0 test warnings)

Build Badge Test Badge Coverage Badge

@nrel-bot
Copy link

Choose a reason for hiding this comment

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

113107773-Improve-waste-heat-function-handling-of-AirloopHVACUnitarySystem-#5222 (lgu1234) - Win64-Windows-7-VisualStudio-12: OK (2058 of 2058 tests passed, 0 test warnings)

  • 6 tests had: AUD diffs.

Build Badge Test Badge

Please sign in to comment.