lib/openstudio-standards/sql_file/fenestration.rb in openstudio-standards-0.6.0.rc2 vs lib/openstudio-standards/sql_file/fenestration.rb in openstudio-standards-0.6.3
- old
+ new
@@ -112,10 +112,10 @@
divider_area_m2 = sql.execAndReturnFirstDouble(divider_area_query)
divider_area_m2 = divider_area_m2.is_initialized ? divider_area_m2.get : 0.0
- u_factor_w_per_m2_k = (glass_u_factor_w_per_m2_k * glass_area_m2 + frame_conductance_w_per_m2_k * frame_area_m2 + divider_conductance_w_per_m2_k * divider_area_m2) / (glass_area_m2 + frame_area_m2 + divider_area_m2)
+ u_factor_w_per_m2_k = ((glass_u_factor_w_per_m2_k * glass_area_m2) + (frame_conductance_w_per_m2_k * frame_area_m2) + (divider_conductance_w_per_m2_k * divider_area_m2)) / (glass_area_m2 + frame_area_m2 + divider_area_m2)
return u_factor_w_per_m2_k
end
# @!endgroup Fenestration