lib/tbd/psi.rb in tbd-3.1.0 vs lib/tbd/psi.rb in tbd-3.1.1
- old
+ new
@@ -209,11 +209,11 @@
balcony: 0.500, # *
party: 0.450, # *
grade: 0.450, # *
joint: 0.200, # *
transition: 0.000
- }.freeze # based on EXTERIOR dimensions (art. 3.1.1.6)
+ }.freeze
self.gen("code (Quebec)")
@set["uncompliant (Quebec)"] = # NECB-QC (non-code-compliant) defaults:
{
rimjoist: 0.850, # *
@@ -223,11 +223,11 @@
balcony: 1.000, # *
party: 0.850, # *
grade: 0.850, # *
joint: 0.500, # *
transition: 0.000
- }.freeze # based on EXTERIOR dimensions (art. 3.1.1.6)
+ }.freeze
self.gen("uncompliant (Quebec)")
@set["(non thermal bridging)"] = # ... would not derate surfaces:
{
rimjoist: 0.000,
@@ -1424,19 +1424,21 @@
set[:parapetconvex ] = shorts[:val][:parapetconvex ] if convex
is[:parapet ] = true
end
# Label edge as :party if linked to:
- # 1x adiabatic surface
+ # 1x OtherSideCoefficients surface
# 1x (only) deratable surface
edge[:surfaces].keys.each do |i|
break if is[:party]
break unless deratables.size == 1
next if i == id
next unless tbd[:surfaces].key?(i)
next if holes.key?(i)
next if shades.key?(i)
- next unless tbd[:surfaces][i][:boundary].downcase == "adiabatic"
+
+ facing = tbd[:surfaces][i][:boundary].downcase
+ next unless facing == "othersidecoefficients"
s1 = edge[:surfaces][id]
s2 = edge[:surfaces][i]
concave = concave?(s1, s2)
convex = convex?(s1, s2)