openstudio-model-articulation 0.11.0 → 0.11.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: eca285842a6ee1f35f4ee7b09b4d4d427028d5c39465956dc9adc621fb48cb38
4
- data.tar.gz: 4c8b1c800e05f6ce453a00d6f756d12be40dc9c28e94210cb87a21539211fb29
3
+ metadata.gz: 156722d31854c093325863e7f65853fc31618003493eca6fb80ace094d53710a
4
+ data.tar.gz: 5d812f64fc8f64f689050c730da63fc579c495a725f42667b8a9b6c3e646960a
5
5
  SHA512:
6
- metadata.gz: 4e678f5d18350778256978276a77bbb457ac3b1bf01ec3af5b1affe27c509055c2baed1cc2ba881fd10ae2cba2462187c5890ceb5c06b1cffc9a4e5b10b36558
7
- data.tar.gz: 7428fcc0c127cee1bc5438c7a5b2f1bc565bb3e738029de2edf38dc28db8de7cef07ce6d16652e095f29038ec1d1c7f17d12105adc6acee5b681dec9f4be7969
6
+ metadata.gz: 453de7e66bfa80714c3213f4724d983dc885e4d6c5dc27024f93e37fcf4d92d6687d8a405037c5a08124862e706fc20a1c313b0e01f1517d15a48b8c95fb778b
7
+ data.tar.gz: f3d3256d80f5e005d3eac13a5be37d1393783b21605254cd016435c189e7cafe5dd46caa4a8fc072aef93e301be5f32df03cd8b4bfa00ba74fd596b4795eee99
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # OpenStudio Model Articulation Gems
2
2
 
3
+ ## Version 0.11.1
4
+ * Update 'story_multiplier' argument to 'story_multiplier_method' for create_bar_from_building_type_ratios measure
5
+ * Update dependencies for 3.9
6
+
3
7
  ## Version 0.11.0
4
8
  * Support for OpenStudio 3.9 (upgrade to standards gem 0.7.0, extension gem 0.8.1)
5
9
  * Fixed [#129]( https://github.com/NREL/openstudio-model-articulation-gem/issues/129 ), Radiance measure needs to be updated for new E+ output variable
data/Gemfile CHANGED
@@ -19,8 +19,8 @@ allow_local = ENV['FAVOR_LOCAL_GEMS']
19
19
  # gem 'bcl', :git => 'https://github.com/wenyikuang/bcl-gem.git', :branch => 'develop'
20
20
 
21
21
  # Only uncomment if you need to test a different version of the extension gem
22
- if allow_local && File.exist?('../OpenStudio-extension-gem')
23
- gem 'openstudio-extension', path: '../OpenStudio-extension-gem'
24
- elsif allow_local
25
- gem 'openstudio-extension', github: 'NREL/OpenStudio-extension-gem', branch: 'develop'
26
- end
22
+ # if allow_local && File.exist?('../OpenStudio-extension-gem')
23
+ # gem 'openstudio-extension', path: '../OpenStudio-extension-gem'
24
+ # elsif allow_local
25
+ # gem 'openstudio-extension', github: 'NREL/OpenStudio-extension-gem', branch: 'develop'
26
+ # end
@@ -584,7 +584,7 @@ This should be true unless you are modeling a partial building which doesn't inc
584
584
 
585
585
  ### Calculation Method for Story Multiplier
586
586
 
587
- **Name:** story_multiplier,
587
+ **Name:** story_multiplier_method,
588
588
  **Type:** Choice,
589
589
  **Units:** ,
590
590
  **Required:** true,
@@ -341,15 +341,15 @@ class CreateBarFromBuildingTypeRatios < OpenStudio::Measure::ModelMeasure
341
341
  top_story_exterior_exposed_roof.setDefaultValue(true)
342
342
  args << top_story_exterior_exposed_roof
343
343
 
344
- # Make argument for story_multiplier
344
+ # Make argument for story_multiplier_method
345
345
  choices = OpenStudio::StringVector.new
346
346
  choices << 'None'
347
347
  choices << 'Basements Ground Mid Top'
348
348
  # choices << "Basements Ground Midx5 Top"
349
- story_multiplier = OpenStudio::Measure::OSArgument.makeChoiceArgument('story_multiplier', choices, true)
350
- story_multiplier.setDisplayName('Calculation Method for Story Multiplier')
351
- story_multiplier.setDefaultValue('Basements Ground Mid Top')
352
- args << story_multiplier
349
+ story_multiplier_method = OpenStudio::Measure::OSArgument.makeChoiceArgument('story_multiplier_method', choices, true)
350
+ story_multiplier_method.setDisplayName('Calculation Method for Story Multiplier')
351
+ story_multiplier_method.setDefaultValue('Basements Ground Mid Top')
352
+ args << story_multiplier_method
353
353
 
354
354
  # make an argument for make_mid_story_surfaces_adiabatic (added to avoid issues with intersect and to lower surface count when using individual stories sliced)
355
355
  make_mid_story_surfaces_adiabatic = OpenStudio::Measure::OSArgument.makeBoolArgument('make_mid_story_surfaces_adiabatic', true)
@@ -3,8 +3,8 @@
3
3
  <schema_version>3.1</schema_version>
4
4
  <name>create_bar_from_building_type_ratios</name>
5
5
  <uid>6e3a14f8-c3c7-4e03-bc51-bef8a52e1a05</uid>
6
- <version_id>89c35873-5698-4e69-81a9-b7781fd3965e</version_id>
7
- <version_modified>2024-11-16T23:56:32Z</version_modified>
6
+ <version_id>53acfac0-33c0-4f7f-9cd1-45ee9b483507</version_id>
7
+ <version_modified>2025-01-09T08:07:48Z</version_modified>
8
8
  <xml_checksum>2AF3A68E</xml_checksum>
9
9
  <class_name>CreateBarFromBuildingTypeRatios</class_name>
10
10
  <display_name>Create Bar From Building Type Ratios</display_name>
@@ -1199,7 +1199,7 @@
1199
1199
  </choices>
1200
1200
  </argument>
1201
1201
  <argument>
1202
- <name>story_multiplier</name>
1202
+ <name>story_multiplier_method</name>
1203
1203
  <display_name>Calculation Method for Story Multiplier</display_name>
1204
1204
  <type>Choice</type>
1205
1205
  <required>true</required>
@@ -1353,7 +1353,7 @@
1353
1353
  <filename>README.md</filename>
1354
1354
  <filetype>md</filetype>
1355
1355
  <usage_type>readme</usage_type>
1356
- <checksum>9AB9F376</checksum>
1356
+ <checksum>5E1C4DB0</checksum>
1357
1357
  </file>
1358
1358
  <file>
1359
1359
  <filename>README.md.erb</filename>
@@ -1496,13 +1496,13 @@
1496
1496
  <filename>measure.rb</filename>
1497
1497
  <filetype>rb</filetype>
1498
1498
  <usage_type>script</usage_type>
1499
- <checksum>153D5528</checksum>
1499
+ <checksum>0DE63CCC</checksum>
1500
1500
  </file>
1501
1501
  <file>
1502
1502
  <filename>create_bar_from_building_type_ratios_test.rb</filename>
1503
1503
  <filetype>rb</filetype>
1504
1504
  <usage_type>test</usage_type>
1505
- <checksum>2E1610BC</checksum>
1505
+ <checksum>CD016F6B</checksum>
1506
1506
  </file>
1507
1507
  <file>
1508
1508
  <filename>example_model.osm</filename>
@@ -684,7 +684,7 @@ This should be true unless you are modeling a partial building which doesn't inc
684
684
 
685
685
  ### Calculation Method for Story Multiplier
686
686
 
687
- **Name:** story_multiplier,
687
+ **Name:** story_multiplier_method,
688
688
  **Type:** Choice,
689
689
  **Units:** ,
690
690
  **Required:** true,
@@ -313,15 +313,15 @@ class CreateBarFromDEERBuildingTypeRatios < OpenStudio::Measure::ModelMeasure
313
313
  top_story_exterior_exposed_roof.setDefaultValue(true)
314
314
  args << top_story_exterior_exposed_roof
315
315
 
316
- # Make argument for story_multiplier
316
+ # Make argument for story_multiplier_method
317
317
  choices = OpenStudio::StringVector.new
318
318
  choices << 'None'
319
319
  choices << 'Basements Ground Mid Top'
320
320
  # choices << "Basements Ground Midx5 Top"
321
- story_multiplier = OpenStudio::Measure::OSArgument.makeChoiceArgument('story_multiplier', choices, true)
322
- story_multiplier.setDisplayName('Calculation Method for Story Multiplier')
323
- story_multiplier.setDefaultValue('Basements Ground Mid Top')
324
- args << story_multiplier
321
+ story_multiplier_method = OpenStudio::Measure::OSArgument.makeChoiceArgument('story_multiplier_method', choices, true)
322
+ story_multiplier_method.setDisplayName('Calculation Method for Story Multiplier')
323
+ story_multiplier_method.setDefaultValue('Basements Ground Mid Top')
324
+ args << story_multiplier_method
325
325
 
326
326
  # make an argument for make_mid_story_surfaces_adiabatic (added to avoid issues with intersect and to lower surface count when using individual stories sliced)
327
327
  make_mid_story_surfaces_adiabatic = OpenStudio::Measure::OSArgument.makeBoolArgument('make_mid_story_surfaces_adiabatic', true)
@@ -3,8 +3,8 @@
3
3
  <schema_version>3.1</schema_version>
4
4
  <name>create_bar_from_deer_building_type_ratios</name>
5
5
  <uid>aa4a7ecf-5bfd-4c5e-b0ca-e68babbacff1</uid>
6
- <version_id>deff6402-221d-44c9-ad2c-a6612604e237</version_id>
7
- <version_modified>2024-11-16T23:56:36Z</version_modified>
6
+ <version_id>0b3bb574-a085-4309-b4b5-102ef23d7477</version_id>
7
+ <version_modified>2025-01-09T08:07:51Z</version_modified>
8
8
  <xml_checksum>B31F0C1F</xml_checksum>
9
9
  <class_name>CreateBarFromDEERBuildingTypeRatios</class_name>
10
10
  <display_name>Create Bar From DEER Building Type Ratios</display_name>
@@ -823,7 +823,7 @@
823
823
  </choices>
824
824
  </argument>
825
825
  <argument>
826
- <name>story_multiplier</name>
826
+ <name>story_multiplier_method</name>
827
827
  <display_name>Calculation Method for Story Multiplier</display_name>
828
828
  <type>Choice</type>
829
829
  <required>true</required>
@@ -988,7 +988,7 @@
988
988
  <filename>README.md</filename>
989
989
  <filetype>md</filetype>
990
990
  <usage_type>readme</usage_type>
991
- <checksum>38647660</checksum>
991
+ <checksum>954998A9</checksum>
992
992
  </file>
993
993
  <file>
994
994
  <filename>README.md.erb</filename>
@@ -1131,7 +1131,7 @@
1131
1131
  <filename>measure.rb</filename>
1132
1132
  <filetype>rb</filetype>
1133
1133
  <usage_type>script</usage_type>
1134
- <checksum>DC57753C</checksum>
1134
+ <checksum>3927215A</checksum>
1135
1135
  </file>
1136
1136
  <file>
1137
1137
  <filename>create_bar_from_deer_building_type_ratios_test.rb</filename>
@@ -673,7 +673,7 @@ This should be true unless you are modeling a partial building which doesn't inc
673
673
 
674
674
  ### Calculation Method for Story Multiplier
675
675
 
676
- **Name:** story_multiplier,
676
+ **Name:** story_multiplier_method,
677
677
  **Type:** Choice,
678
678
  **Units:** ,
679
679
  **Required:** true,
@@ -314,15 +314,15 @@ class CreateBarFromDOEBuildingTypeRatios < OpenStudio::Measure::ModelMeasure
314
314
  top_story_exterior_exposed_roof.setDefaultValue(true)
315
315
  args << top_story_exterior_exposed_roof
316
316
 
317
- # Make argument for story_multiplier
317
+ # Make argument for story_multiplier_method
318
318
  choices = OpenStudio::StringVector.new
319
319
  choices << 'None'
320
320
  choices << 'Basements Ground Mid Top'
321
321
  # choices << "Basements Ground Midx5 Top"
322
- story_multiplier = OpenStudio::Measure::OSArgument.makeChoiceArgument('story_multiplier', choices, true)
323
- story_multiplier.setDisplayName('Calculation Method for Story Multiplier')
324
- story_multiplier.setDefaultValue('Basements Ground Mid Top')
325
- args << story_multiplier
322
+ story_multiplier_method = OpenStudio::Measure::OSArgument.makeChoiceArgument('story_multiplier_method', choices, true)
323
+ story_multiplier_method.setDisplayName('Calculation Method for Story Multiplier')
324
+ story_multiplier_method.setDefaultValue('Basements Ground Mid Top')
325
+ args << story_multiplier_method
326
326
 
327
327
  # make an argument for make_mid_story_surfaces_adiabatic (added to avoid issues with intersect and to lower surface count when using individual stories sliced)
328
328
  make_mid_story_surfaces_adiabatic = OpenStudio::Measure::OSArgument.makeBoolArgument('make_mid_story_surfaces_adiabatic', true)
@@ -3,8 +3,8 @@
3
3
  <schema_version>3.1</schema_version>
4
4
  <name>create_bar_from_doe_building_type_ratios</name>
5
5
  <uid>0de3cff9-c805-42c4-964e-18cb43a22c63</uid>
6
- <version_id>21d5e86d-8249-48df-8e5f-ec726ccce137</version_id>
7
- <version_modified>2024-11-16T23:56:37Z</version_modified>
6
+ <version_id>a0381b1d-0db5-41fd-b51c-f03e3afd035c</version_id>
7
+ <version_modified>2025-01-09T08:07:51Z</version_modified>
8
8
  <xml_checksum>5F523097</xml_checksum>
9
9
  <class_name>CreateBarFromDOEBuildingTypeRatios</class_name>
10
10
  <display_name>Create Bar From DOE Building Type Ratios</display_name>
@@ -759,7 +759,7 @@
759
759
  </choices>
760
760
  </argument>
761
761
  <argument>
762
- <name>story_multiplier</name>
762
+ <name>story_multiplier_method</name>
763
763
  <display_name>Calculation Method for Story Multiplier</display_name>
764
764
  <type>Choice</type>
765
765
  <required>true</required>
@@ -928,7 +928,7 @@
928
928
  <filename>README.md</filename>
929
929
  <filetype>md</filetype>
930
930
  <usage_type>readme</usage_type>
931
- <checksum>B96F2633</checksum>
931
+ <checksum>BEEE10DB</checksum>
932
932
  </file>
933
933
  <file>
934
934
  <filename>README.md.erb</filename>
@@ -1071,13 +1071,13 @@
1071
1071
  <filename>measure.rb</filename>
1072
1072
  <filetype>rb</filetype>
1073
1073
  <usage_type>script</usage_type>
1074
- <checksum>AF357BC7</checksum>
1074
+ <checksum>CCC0C7D4</checksum>
1075
1075
  </file>
1076
1076
  <file>
1077
1077
  <filename>create_bar_from_doe_building_type_ratios_test.rb</filename>
1078
1078
  <filetype>rb</filetype>
1079
1079
  <usage_type>test</usage_type>
1080
- <checksum>7286FEA7</checksum>
1080
+ <checksum>A08A5602</checksum>
1081
1081
  </file>
1082
1082
  <file>
1083
1083
  <filename>example_model.osm</filename>
@@ -491,7 +491,7 @@ This should be true unless you are modeling a partial building which doesn't inc
491
491
 
492
492
  ### Calculation Method for Story Multiplier
493
493
 
494
- **Name:** story_multiplier,
494
+ **Name:** story_multiplier_method,
495
495
  **Type:** Choice,
496
496
  **Units:** ,
497
497
  **Required:** true,
@@ -262,15 +262,15 @@ class CreateBarFromSpaceTypeRatios < OpenStudio::Measure::ModelMeasure
262
262
  top_story_exterior_exposed_roof.setDefaultValue(true)
263
263
  args << top_story_exterior_exposed_roof
264
264
 
265
- # Make argument for story_multiplier
265
+ # Make argument for story_multiplier_method
266
266
  choices = OpenStudio::StringVector.new
267
267
  choices << 'None'
268
268
  choices << 'Basements Ground Mid Top'
269
269
  # choices << "Basements Ground Midx5 Top"
270
- story_multiplier = OpenStudio::Measure::OSArgument.makeChoiceArgument('story_multiplier', choices, true)
271
- story_multiplier.setDisplayName('Calculation Method for Story Multiplier')
272
- story_multiplier.setDefaultValue('Basements Ground Mid Top')
273
- args << story_multiplier
270
+ story_multiplier_method = OpenStudio::Measure::OSArgument.makeChoiceArgument('story_multiplier_method', choices, true)
271
+ story_multiplier_method.setDisplayName('Calculation Method for Story Multiplier')
272
+ story_multiplier_method.setDefaultValue('Basements Ground Mid Top')
273
+ args << story_multiplier_method
274
274
 
275
275
  # make an argument for make_mid_story_surfaces_adiabatic (added to avoid issues with intersect and to lower surface count when using individual stories sliced)
276
276
  make_mid_story_surfaces_adiabatic = OpenStudio::Measure::OSArgument.makeBoolArgument('make_mid_story_surfaces_adiabatic', true)
@@ -3,8 +3,8 @@
3
3
  <schema_version>3.1</schema_version>
4
4
  <name>create_bar_from_space_type_ratios</name>
5
5
  <uid>3e988765-9673-46f8-9b65-99d5b86c2b22</uid>
6
- <version_id>3220d2d2-1d1b-465c-92ba-bd0fa5ea83d8</version_id>
7
- <version_modified>2024-11-16T23:56:38Z</version_modified>
6
+ <version_id>b03d451a-d0af-44c5-baf6-d5e91af68e2e</version_id>
7
+ <version_modified>2025-01-09T08:07:51Z</version_modified>
8
8
  <xml_checksum>49BEF039</xml_checksum>
9
9
  <class_name>CreateBarFromSpaceTypeRatios</class_name>
10
10
  <display_name>Create Bar From Space Type Ratios</display_name>
@@ -427,7 +427,7 @@
427
427
  </choices>
428
428
  </argument>
429
429
  <argument>
430
- <name>story_multiplier</name>
430
+ <name>story_multiplier_method</name>
431
431
  <display_name>Calculation Method for Story Multiplier</display_name>
432
432
  <type>Choice</type>
433
433
  <required>true</required>
@@ -581,7 +581,7 @@
581
581
  <filename>README.md</filename>
582
582
  <filetype>md</filetype>
583
583
  <usage_type>readme</usage_type>
584
- <checksum>6BF1D1B6</checksum>
584
+ <checksum>8E3C144C</checksum>
585
585
  </file>
586
586
  <file>
587
587
  <filename>README.md.erb</filename>
@@ -724,13 +724,13 @@
724
724
  <filename>measure.rb</filename>
725
725
  <filetype>rb</filetype>
726
726
  <usage_type>script</usage_type>
727
- <checksum>57CFCE32</checksum>
727
+ <checksum>9EFE7662</checksum>
728
728
  </file>
729
729
  <file>
730
730
  <filename>create_bar_from_space_type_ratios_test.rb</filename>
731
731
  <filetype>rb</filetype>
732
732
  <usage_type>test</usage_type>
733
- <checksum>0A68D7F4</checksum>
733
+ <checksum>C1493A39</checksum>
734
734
  </file>
735
735
  </files>
736
736
  </measure>
@@ -5,6 +5,6 @@
5
5
 
6
6
  module OpenStudio
7
7
  module ModelArticulation
8
- VERSION = '0.11.0'
8
+ VERSION = '0.11.1'
9
9
  end
10
10
  end
@@ -29,13 +29,12 @@ Gem::Specification.new do |spec|
29
29
  spec.required_ruby_version = '~> 3.2.2'
30
30
 
31
31
  spec.add_dependency 'bundler', '~> 2.4.10'
32
- spec.add_dependency 'openstudio-extension', '~> 0.8.2'
33
- spec.add_dependency 'openstudio-standards', '0.7.0'
32
+ spec.add_dependency 'openstudio-extension', '~> 0.8.3'
33
+ spec.add_dependency 'openstudio-standards', '0.7.1'
34
34
 
35
- # if we need the following dependencies pinned,
35
+ # if we need the following dependencies pinned,
36
36
  # let's set them in extension-gem for next release
37
37
  spec.add_dependency 'multipart-post', '2.4.0'
38
- spec.add_dependency 'addressable', '2.8.1'
39
38
 
40
39
  spec.add_development_dependency 'rake', '~> 13.0'
41
40
  spec.add_development_dependency 'rspec', '~> 3.9'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openstudio-model-articulation
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.0
4
+ version: 0.11.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Goldwasser
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-11-19 00:00:00.000000000 Z
11
+ date: 2025-01-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -30,28 +30,28 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 0.8.2
33
+ version: 0.8.3
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 0.8.2
40
+ version: 0.8.3
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: openstudio-standards
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - '='
46
46
  - !ruby/object:Gem::Version
47
- version: 0.7.0
47
+ version: 0.7.1
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - '='
53
53
  - !ruby/object:Gem::Version
54
- version: 0.7.0
54
+ version: 0.7.1
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: multipart-post
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -66,20 +66,6 @@ dependencies:
66
66
  - - '='
67
67
  - !ruby/object:Gem::Version
68
68
  version: 2.4.0
69
- - !ruby/object:Gem::Dependency
70
- name: addressable
71
- requirement: !ruby/object:Gem::Requirement
72
- requirements:
73
- - - '='
74
- - !ruby/object:Gem::Version
75
- version: 2.8.1
76
- type: :runtime
77
- prerelease: false
78
- version_requirements: !ruby/object:Gem::Requirement
79
- requirements:
80
- - - '='
81
- - !ruby/object:Gem::Version
82
- version: 2.8.1
83
69
  - !ruby/object:Gem::Dependency
84
70
  name: rake
85
71
  requirement: !ruby/object:Gem::Requirement
@@ -485,7 +471,7 @@ licenses: []
485
471
  metadata:
486
472
  bug_tracker_uri: https://github.com/NREL/openstudio-model-articulation-gem/issues
487
473
  changelog_uri: https://github.com/NREL/openstudio-model-articulation-gem/blob/develop/CHANGELOG.md
488
- source_code_uri: https://github.com/NREL/openstudio-model-articulation-gem/tree/v0.11.0
474
+ source_code_uri: https://github.com/NREL/openstudio-model-articulation-gem/tree/v0.11.1
489
475
  post_install_message:
490
476
  rdoc_options: []
491
477
  require_paths: