lib/openstudio-standards/standards/Standards.AirLoopHVAC.rb in openstudio-standards-0.2.5 vs lib/openstudio-standards/standards/Standards.AirLoopHVAC.rb in openstudio-standards-0.2.6
- old
+ new
@@ -1666,15 +1666,14 @@
if term.constantMinimumAirFlowFraction.is_initialized
mdp_term = term.constantMinimumAirFlowFraction.get
end
elsif equip.to_AirTerminalSingleDuctVAVReheat.is_initialized
term = equip.to_AirTerminalSingleDuctVAVReheat.get
- mdp_term = term.constantMinimumAirFlowFraction
- min_zn_flow = term.fixedMinimumAirFlowRate
- if min_zn_flow.is_initialized
- min_zn_flow = min_zn_flow.get
- else
- min_zn_flow = 0.0
+ if term.constantMinimumAirFlowFraction.is_initialized
+ mdp_term = term.constantMinimumAirFlowFraction.get
+ end
+ if term.fixedMinimumAirFlowRate.is_initialized
+ min_zn_flow = term.fixedMinimumAirFlowRate.get
end
end
end
# For VAV Reheat terminals, min flow is greater of mdp