tbd 3.1.0 → 3.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3f5a7947fb5c2f96807c924dcb4350198119a9033b35cef4d113e35221b0e61f
4
- data.tar.gz: caf6856e314609d3d13134c2bcc86a78292ea4deb1c8ab453e3ca386a5bf56e2
3
+ metadata.gz: be8e76fa83e37a27c674adaeddee2cbf022d8b9e543f75e46ab62b4f1d2087c1
4
+ data.tar.gz: 6699f65f798c2e615660c6e65f6df926a4baa9af0cb1f040fc2075b10100a4dc
5
5
  SHA512:
6
- metadata.gz: 024b47e38db346d15524df93119a49c93c3a183c063d5635cd823ad21d8a2c6892680cc4b2f76b0299177a1479265650c6efc241d9037cb35043f1395ed312a8
7
- data.tar.gz: da0b7e03bc5142adc8df613427838114377e5b406c36ab2b9ec506eaf72e972478490d45437018a2a94aeac45547ded1c70babfcec677420594c3dd3f776a867
6
+ metadata.gz: cc594dc6093c99f18aa9b30e17c7efb10a011118d7dd4996c9798dabe9c9f84f2a47ca5250f0dfbc45467cfdf8f545bb08f4473b8ebdbbeb2ff197ff475fea45
7
+ data.tar.gz: '099e13541b55a471309ba59dd212114ecb0e55839cb59b6b05bc971f0a5c4aa42e74f5bdd27dc7f61b5512f379cc0245be9038a23e3fb766a19a14349243a252'
@@ -3,8 +3,8 @@
3
3
  <schema_version>3.0</schema_version>
4
4
  <name>tbd_measure</name>
5
5
  <uid>8890787b-8c25-4dc8-8641-b6be1b6c2357</uid>
6
- <version_id>4501c26f-1cd4-45d8-8f0e-f1ea907c27df</version_id>
7
- <version_modified>20221125T130635Z</version_modified>
6
+ <version_id>59363fb9-ebff-4985-834a-911020830cf1</version_id>
7
+ <version_modified>20221213T122330Z</version_modified>
8
8
  <xml_checksum>99772807</xml_checksum>
9
9
  <class_name>TBDMeasure</class_name>
10
10
  <display_name>Thermal Bridging and Derating - TBD</display_name>
@@ -448,13 +448,13 @@
448
448
  <filename>psi.rb</filename>
449
449
  <filetype>rb</filetype>
450
450
  <usage_type>resource</usage_type>
451
- <checksum>AFC8A549</checksum>
451
+ <checksum>4C4C35F9</checksum>
452
452
  </file>
453
453
  <file>
454
454
  <filename>ua.rb</filename>
455
455
  <filetype>rb</filetype>
456
456
  <usage_type>resource</usage_type>
457
- <checksum>B39B3BB0</checksum>
457
+ <checksum>3438C6A8</checksum>
458
458
  </file>
459
459
  </files>
460
460
  </measure>
@@ -211,7 +211,7 @@ module TBD
211
211
  grade: 0.450, # *
212
212
  joint: 0.200, # *
213
213
  transition: 0.000
214
- }.freeze # based on EXTERIOR dimensions (art. 3.1.1.6)
214
+ }.freeze
215
215
  self.gen("code (Quebec)")
216
216
 
217
217
  @set["uncompliant (Quebec)"] = # NECB-QC (non-code-compliant) defaults:
@@ -225,7 +225,7 @@ module TBD
225
225
  grade: 0.850, # *
226
226
  joint: 0.500, # *
227
227
  transition: 0.000
228
- }.freeze # based on EXTERIOR dimensions (art. 3.1.1.6)
228
+ }.freeze
229
229
  self.gen("uncompliant (Quebec)")
230
230
 
231
231
  @set["(non thermal bridging)"] = # ... would not derate surfaces:
@@ -1426,7 +1426,7 @@ module TBD
1426
1426
  end
1427
1427
 
1428
1428
  # Label edge as :party if linked to:
1429
- # 1x adiabatic surface
1429
+ # 1x OtherSideCoefficients surface
1430
1430
  # 1x (only) deratable surface
1431
1431
  edge[:surfaces].keys.each do |i|
1432
1432
  break if is[:party]
@@ -1435,7 +1435,9 @@ module TBD
1435
1435
  next unless tbd[:surfaces].key?(i)
1436
1436
  next if holes.key?(i)
1437
1437
  next if shades.key?(i)
1438
- next unless tbd[:surfaces][i][:boundary].downcase == "adiabatic"
1438
+
1439
+ facing = tbd[:surfaces][i][:boundary].downcase
1440
+ next unless facing == "othersidecoefficients"
1439
1441
 
1440
1442
  s1 = edge[:surfaces][id]
1441
1443
  s2 = edge[:surfaces][i]
@@ -953,7 +953,7 @@ module TBD
953
953
  model = "* modèle : #{ua[:file]}" if ua.key?(:file) && lang == :fr
954
954
  model += " (v#{ua[:version]})" if ua.key?(:version)
955
955
  report << model unless model.empty?
956
- report << "* TBD : v3.1.0"
956
+ report << "* TBD : v3.1.1"
957
957
  report << "* date : #{ua[:date]}"
958
958
 
959
959
  if lang == :en
data/lib/tbd/psi.rb CHANGED
@@ -211,7 +211,7 @@ module TBD
211
211
  grade: 0.450, # *
212
212
  joint: 0.200, # *
213
213
  transition: 0.000
214
- }.freeze # based on EXTERIOR dimensions (art. 3.1.1.6)
214
+ }.freeze
215
215
  self.gen("code (Quebec)")
216
216
 
217
217
  @set["uncompliant (Quebec)"] = # NECB-QC (non-code-compliant) defaults:
@@ -225,7 +225,7 @@ module TBD
225
225
  grade: 0.850, # *
226
226
  joint: 0.500, # *
227
227
  transition: 0.000
228
- }.freeze # based on EXTERIOR dimensions (art. 3.1.1.6)
228
+ }.freeze
229
229
  self.gen("uncompliant (Quebec)")
230
230
 
231
231
  @set["(non thermal bridging)"] = # ... would not derate surfaces:
@@ -1426,7 +1426,7 @@ module TBD
1426
1426
  end
1427
1427
 
1428
1428
  # Label edge as :party if linked to:
1429
- # 1x adiabatic surface
1429
+ # 1x OtherSideCoefficients surface
1430
1430
  # 1x (only) deratable surface
1431
1431
  edge[:surfaces].keys.each do |i|
1432
1432
  break if is[:party]
@@ -1435,7 +1435,9 @@ module TBD
1435
1435
  next unless tbd[:surfaces].key?(i)
1436
1436
  next if holes.key?(i)
1437
1437
  next if shades.key?(i)
1438
- next unless tbd[:surfaces][i][:boundary].downcase == "adiabatic"
1438
+
1439
+ facing = tbd[:surfaces][i][:boundary].downcase
1440
+ next unless facing == "othersidecoefficients"
1439
1441
 
1440
1442
  s1 = edge[:surfaces][id]
1441
1443
  s2 = edge[:surfaces][i]
data/lib/tbd/ua.rb CHANGED
@@ -953,7 +953,7 @@ module TBD
953
953
  model = "* modèle : #{ua[:file]}" if ua.key?(:file) && lang == :fr
954
954
  model += " (v#{ua[:version]})" if ua.key?(:version)
955
955
  report << model unless model.empty?
956
- report << "* TBD : v3.1.0"
956
+ report << "* TBD : v3.1.1"
957
957
  report << "* date : #{ua[:date]}"
958
958
 
959
959
  if lang == :en
data/lib/tbd/version.rb CHANGED
@@ -21,5 +21,5 @@
21
21
  # SOFTWARE.
22
22
 
23
23
  module TBD
24
- VERSION = "3.1.0".freeze
24
+ VERSION = "3.1.1".freeze
25
25
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tbd
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.0
4
+ version: 3.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Denis Bourgeois & Dan Macumber
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-12-05 00:00:00.000000000 Z
11
+ date: 2022-12-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: topolys
@@ -161,7 +161,7 @@ licenses:
161
161
  - MIT
162
162
  metadata:
163
163
  homepage_uri: https://github.com/rd2/tbd
164
- source_code_uri: https://github.com/rd2/tbd/tree/v3.1.0
164
+ source_code_uri: https://github.com/rd2/tbd/tree/v3.1.1
165
165
  bug_tracker_uri: https://github.com/rd2/tbd/issues
166
166
  post_install_message:
167
167
  rdoc_options: []