Skip to content

Commit

Permalink
Merge pull request #1501 from NREL/fix/issue1469
Browse files Browse the repository at this point in the history
check PTHP cop coefficients
  • Loading branch information
mdahlhausen authored Apr 27, 2023
2 parents 7fd7a7b + 9e523f5 commit eb090c4
Show file tree
Hide file tree
Showing 3 changed files with 4,192 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ def coil_heating_dx_single_speed_standard_minimum_cop(coil_heating_dx_single_spe
end

# If PTHP, use equations
if sub_category == 'PTHP'
if sub_category == 'PTHP' && !ac_props['pthp_cop_coefficient_1'].nil? && !ac_props['pthp_cop_coefficient_2'].nil?
pthp_cop_coeff_1 = ac_props['pthp_cop_coefficient_1']
pthp_cop_coeff_2 = ac_props['pthp_cop_coefficient_2']
# TABLE 6.8.1D
Expand Down
Loading

0 comments on commit eb090c4

Please sign in to comment.