Skip to content

Commit

Permalink
CLang format
Browse files Browse the repository at this point in the history
  • Loading branch information
lgu1234 committed Jul 6, 2023
1 parent 13eb113 commit 9c8a271
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/EnergyPlus/UnitarySystem.cc
Original file line number Diff line number Diff line change
Expand Up @@ -6755,24 +6755,24 @@ namespace UnitarySystems {
case DataHVACGlobals::CoilDX_MultiSpeedCooling:
case DataHVACGlobals::Coil_CoolingWaterToAirHPSimple:
case DataHVACGlobals::Coil_CoolingWaterToAirHPVSEquationFit: {
this->m_NumOfSpeedCooling = this->m_CompPointerMSHP->numOfSpeedCooling;
this->m_CoolMassFlowRate.resize(this->m_NumOfSpeedCooling + 1);
this->m_CoolVolumeFlowRate.resize(this->m_NumOfSpeedCooling + 1);
this->m_MSCoolingSpeedRatio.resize(this->m_NumOfSpeedCooling + 1);
if (state.dataGlobal->DoCoilDirectSolutions && this->m_NumOfSpeedCooling > this->m_NumOfSpeedHeating) {
this->m_NumOfSpeedCooling = this->m_CompPointerMSHP->numOfSpeedCooling;
this->m_CoolMassFlowRate.resize(this->m_NumOfSpeedCooling + 1);
this->m_CoolVolumeFlowRate.resize(this->m_NumOfSpeedCooling + 1);
this->m_MSCoolingSpeedRatio.resize(this->m_NumOfSpeedCooling + 1);
if (state.dataGlobal->DoCoilDirectSolutions && this->m_NumOfSpeedCooling > this->m_NumOfSpeedHeating) {
this->FullOutput.resize(this->m_NumOfSpeedCooling + 1);
DXCoils::DisableLatentDegradation(state, this->m_CoolingCoilIndex);
}
if (this->m_CoolingCoilType_Num == DataHVACGlobals::Coil_CoolingWaterToAirHPSimple && this->m_NumOfSpeedCooling > 1) {
if (this->m_CoolingCoilType_Num == DataHVACGlobals::Coil_CoolingWaterToAirHPSimple && this->m_NumOfSpeedCooling > 1) {
this->m_MultiOrVarSpeedCoolCoil = true;
this->m_DiscreteSpeedCoolingCoil = true;
}
for (int i = 1; i <= this->m_NumOfSpeedCooling; ++i) {
for (int i = 1; i <= this->m_NumOfSpeedCooling; ++i) {
this->m_CoolMassFlowRate[i] = 0.0;
this->m_CoolVolumeFlowRate[i] = 0.0;
this->m_MSCoolingSpeedRatio[i] = 1.0;
}
if (this->m_CoolingCoilType_Num == DataHVACGlobals::Coil_CoolingWaterToAirHPVSEquationFit) {
if (this->m_CoolingCoilType_Num == DataHVACGlobals::Coil_CoolingWaterToAirHPVSEquationFit) {
std::string MultispeedType = "UnitarySystemPerformance:Multispeed";
if (this->m_DesignSpecMSHPIndex == -1) {
std::string MultispeedType = "Fan:SystemModel";
Expand Down

3 comments on commit 9c8a271

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

MultispeedFans (lgu1234) - x86_64-Linux-Ubuntu-22.04-gcc-11.3: OK (3442 of 3483 tests passed, 98 test warnings)

Messages:\n

  • 32 tests had: AUD diffs.
  • 34 tests had: MTD diffs.
  • 79 tests had: RDD diffs.
  • 2 tests had: EDD diffs.
  • 17 tests had: MDD diffs.
  • 13 tests had: Table big diffs.
  • 1 test had: ERR diffs.

Failures:\n

regression Test Summary

  • Passed: 753
  • Failed: 41

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

MultispeedFans (lgu1234) - x86_64-Linux-Ubuntu-22.04-gcc-11.3-UnitTestsCoverage-Debug: OK (1892 of 1892 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.

MultispeedFans (lgu1234) - x86_64-Linux-Ubuntu-22.04-gcc-11.3-IntegrationCoverage-Debug: OK (778 of 778 tests passed, 0 test warnings)

Build Badge Test Badge Coverage Badge

Please sign in to comment.