Skip to content

Commit

Permalink
Use same sizing as OA controller max
Browse files Browse the repository at this point in the history
  • Loading branch information
rraustad committed Dec 21, 2024
1 parent c3f5c49 commit 3bf1d38
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion src/EnergyPlus/Autosizing/SystemAirFlowSizing.cc
Original file line number Diff line number Diff line change
Expand Up @@ -783,7 +783,19 @@ Real64 SystemAirFlowSizer::size(EnergyPlusData &state, Real64 _originalValue, bo
this->autoSizedValue =
this->airloopDOAS[outsideAirSys(this->curOASysNum).AirLoopDOASNum].SizingMassFlow / state.dataEnvrn->StdRhoAir;
} else {
this->autoSizedValue = this->finalSysSizing(this->curSysNum).DesOutAirVolFlow;
switch (this->curDuctType) {
case HVAC::AirDuctType::Cooling: {
this->autoSizedValue = this->finalSysSizing(this->curSysNum).DesCoolVolFlow;
} break;
case HVAC::AirDuctType::Heating: {
this->autoSizedValue = this->finalSysSizing(this->curSysNum).DesHeatVolFlow;
} break;
case HVAC::AirDuctType::Main:
case HVAC::AirDuctType::Other:
default: {
this->autoSizedValue = this->finalSysSizing(this->curSysNum).DesMainVolFlow;
} break;
}
}
} else {
auto &sysSizPeakDDNum = state.dataSize->SysSizPeakDDNum(this->curSysNum);
Expand Down

3 comments on commit 3bf1d38

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

10814-DOAS-vector-issue (rraustad) - x86_64-Linux-Ubuntu-24.04-gcc-13.3: OK (2918 of 2918 tests passed, 0 test warnings)

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.

10814-DOAS-vector-issue (rraustad) - 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-2
Copy link

Choose a reason for hiding this comment

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

10814-DOAS-vector-issue (rraustad) - 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.