Skip to content

Commit

Permalink
CBECC: Fix calculation for ZnSys::Low speed supply air flow ratio
Browse files Browse the repository at this point in the history
  • Loading branch information
kbenne committed Apr 20, 2019
1 parent bf67098 commit 2a0d0cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions openstudiocore/src/sdd/MapHVAC.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9091,8 +9091,8 @@ boost::optional<openstudio::model::ModelObject> ReverseTranslator::translateZnSy
flowMinRatio = flowMin.get() / flowCap.get();
}

if (clgSupFanCapSim && htgSupFanCapSim && fpfc.maximumSupplyAirFlowRate()) {
double value = std::max(clgSupFanCapSim.get(), htgSupFanCapSim.get()) / fpfc.maximumSupplyAirFlowRate().get();
if (noClgSupFanCapSim && noHtgSupFanCapSim && fpfc.maximumSupplyAirFlowRate()) {
double value = std::max(noClgSupFanCapSim.get(), noHtgSupFanCapSim.get()) / fpfc.maximumSupplyAirFlowRate().get();
fpfc.setLowSpeedSupplyAirFlowRatio(value);
fpfc.setMediumSpeedSupplyAirFlowRatio(value);
} else {
Expand Down

0 comments on commit 2a0d0cb

Please sign in to comment.