openstudio-model-articulation 0.6.0 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/Gemfile +0 -6
- data/LICENSE.md +1 -1
- data/README.md +2 -1
- data/lib/measures/SetInteriorWallsAndFloorsToAdiabatic/measure.xml +3 -3
- data/lib/measures/SetInteriorWallsToSelectedConstruction/measure.xml +3 -3
- data/lib/measures/add_empd_material_properties/measure.rb +2 -2
- data/lib/measures/add_empd_material_properties/measure.xml +13 -13
- data/lib/measures/blended_space_type_from_model/measure.rb +0 -4
- data/lib/measures/blended_space_type_from_model/measure.xml +3 -3
- data/lib/measures/create_DOE_prototype_building/measure.rb +3 -0
- data/lib/measures/create_DOE_prototype_building/measure.xml +250 -634
- data/lib/measures/merge_floorspace_js_with_model/measure.rb +9 -3
- data/lib/measures/merge_floorspace_js_with_model/measure.xml +1 -1
- data/lib/measures/radiant_slab_with_doas/measure.rb +1 -1
- data/lib/measures/radiant_slab_with_doas/measure.xml +3 -3
- data/lib/openstudio/model_articulation/version.rb +1 -1
- data/openstudio-model-articulation.gemspec +2 -2
- metadata +10 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d42ba01f1a80982bdf115982a642295fdaabe3daef0f28a663b06b5b37be19de
|
4
|
+
data.tar.gz: 1b188a713c58f5eacce8094f7a9b3fa9211a28f5060703b8d75184698e14a7cd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e73d7ba195a378190cd4d807d4598bd7df5f909d801196a4b1bd3c73a64c2e163659b74d31c1556d5dd06a77c6e5ec4bf901f1a67fe032b4402fe1956525458e
|
7
|
+
data.tar.gz: 9b37f4f8cea6dcc0609bf677d3526176b165da188ab4eba5c398a0091828a150311f5a00e8023cb1f6075a6f50ad533480ea527b5cd1d234a511be8e13be6ab2
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# OpenStudio Model Articulation Gems
|
2
2
|
|
3
|
+
## Version 0.7.0
|
4
|
+
* Support for OpenStudio 3.5 (upgrade to standards gem 0.3.0, extension gem 0.6.0)
|
5
|
+
* Adding Courthouse and College buidling type argument values to `create_DOE_prototype_building` measure
|
6
|
+
* Adding 90.1-2019 to templlate argument values for `create_DOE_prototype_building` measure
|
7
|
+
* Fixed [#109]( https://github.com/NREL/openstudio-model-articulation-gem/pull/109 ), Floorspace js translation
|
8
|
+
|
9
|
+
## Version 0.6.1
|
10
|
+
* Removed recent changes made to `blended_space_type_from_model` to remove standards space type and building type assignment from resulting blended space type. `blend_space_type_collections` method in extension gem `os_lib_model_simplification.rb` already picks the most prevenant space type. The space type name still indicates that it is blended.
|
11
|
+
|
3
12
|
## Version 0.6.0
|
4
13
|
* Support for OpenStudio 3.4 (upgrade to standards gem 0.2.16, no extension gem upgrade)
|
5
14
|
* Fixed [#92]( https://github.com/NREL/openstudio-model-articulation-gem/issues/92 ), SetWindowToWallRatio triangulation can produce non-planar surfaces
|
data/Gemfile
CHANGED
@@ -11,12 +11,6 @@ gemspec
|
|
11
11
|
# checkout the latest version (develop) from github.
|
12
12
|
allow_local = ENV['FAVOR_LOCAL_GEMS']
|
13
13
|
|
14
|
-
# uncomment when you want CI to use develop branch of extension gem
|
15
|
-
#gem 'openstudio-extension', github: 'NREL/OpenStudio-extension-gem', branch: 'develop'
|
16
|
-
|
17
|
-
# uncomment when you want CI to use develop branch of openstudio-standards gem
|
18
|
-
#gem 'openstudio-standards', github: 'NREL/OpenStudio-standards', branch: 'master'
|
19
|
-
|
20
14
|
# Only uncomment if you need to test a different version of the extension gem
|
21
15
|
# if allow_local && File.exist?('../OpenStudio-extension-gem')
|
22
16
|
# gem 'openstudio-extension', path: '../OpenStudio-extension-gem'
|
data/LICENSE.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
OpenStudio(R), Copyright (c) 2008-
|
1
|
+
OpenStudio(R), Copyright (c) 2008-2022, Alliance for Sustainable Energy, LLC. All rights reserved.
|
2
2
|
|
3
3
|
Redistribution and use in source and binary forms, with or without modification, are permitted
|
4
4
|
provided that the following conditions are met:
|
data/README.md
CHANGED
@@ -51,7 +51,8 @@ bundle exec rake openstudio:test_with_openstudio
|
|
51
51
|
|
52
52
|
|OpenStudio Model Articulation Gem|OpenStudio|Ruby|
|
53
53
|
|:--------------:|:----------:|:--------:|
|
54
|
-
| 0.
|
54
|
+
| 0.7.0 | 3.5 | 2.7 |
|
55
|
+
| 0.6.0 - 0.6.1 | 3.4 | 2.7 |
|
55
56
|
| 0.5.0 | 3.3 | 2.7 |
|
56
57
|
| 0.4.0 - 0.4.2 | 3.2 | 2.7 |
|
57
58
|
| 0.3.0 - 0.3.1 | 3.1 | 2.5 |
|
@@ -3,8 +3,8 @@
|
|
3
3
|
<schema_version>3.0</schema_version>
|
4
4
|
<name>set_interior_walls_and_floors_to_adiabatic</name>
|
5
5
|
<uid>78cbde97-d7c4-425f-ab74-5053a681cc4b</uid>
|
6
|
-
<version_id>
|
7
|
-
<version_modified>
|
6
|
+
<version_id>11f61180-4855-4378-b74a-e23aea799983</version_id>
|
7
|
+
<version_modified>20221129T233238Z</version_modified>
|
8
8
|
<xml_checksum>1E963D9C</xml_checksum>
|
9
9
|
<class_name>SetInteriorWallsAndFloorsToAdiabatic</class_name>
|
10
10
|
<display_name>SetInteriorWallsAndFloorsToAdiabatic</display_name>
|
@@ -76,7 +76,7 @@
|
|
76
76
|
<filename>SetInteriorWallsAndFloorsToSelectedConstruction_Test.rb</filename>
|
77
77
|
<filetype>rb</filetype>
|
78
78
|
<usage_type>test</usage_type>
|
79
|
-
<checksum>
|
79
|
+
<checksum>B939F385</checksum>
|
80
80
|
</file>
|
81
81
|
</files>
|
82
82
|
</measure>
|
@@ -3,8 +3,8 @@
|
|
3
3
|
<schema_version>3.0</schema_version>
|
4
4
|
<name>set_interior_walls_to_selected_construction</name>
|
5
5
|
<uid>e3d59d0d-1ce8-4cb2-ae59-001f0fa2ac46</uid>
|
6
|
-
<version_id>
|
7
|
-
<version_modified>
|
6
|
+
<version_id>4c76d2a5-e9f2-45d5-bfa9-3676cb4e3afe</version_id>
|
7
|
+
<version_modified>20221129T233202Z</version_modified>
|
8
8
|
<xml_checksum>1E963D9C</xml_checksum>
|
9
9
|
<class_name>SetInteriorWallsToSelectedConstruction</class_name>
|
10
10
|
<display_name>SetInteriorWallsToSelectedConstruction</display_name>
|
@@ -76,7 +76,7 @@
|
|
76
76
|
<filename>SetInteriorWallstoSelectedConstruction_Test.rb</filename>
|
77
77
|
<filetype>rb</filetype>
|
78
78
|
<usage_type>test</usage_type>
|
79
|
-
<checksum>
|
79
|
+
<checksum>6031E729</checksum>
|
80
80
|
</file>
|
81
81
|
</files>
|
82
82
|
</measure>
|
@@ -65,7 +65,7 @@ class AddEMPDMaterialProperties < OpenStudio::Measure::ModelMeasure
|
|
65
65
|
args = OpenStudio::Measure::OSArgumentVector.new
|
66
66
|
|
67
67
|
# find the available materials
|
68
|
-
list_materials = model.
|
68
|
+
list_materials = model.getStandardOpaqueMaterials
|
69
69
|
mat_names = []
|
70
70
|
list_materials.each do |v|
|
71
71
|
mat_names.append(v.name.to_s)
|
@@ -193,7 +193,7 @@ class AddEMPDMaterialProperties < OpenStudio::Measure::ModelMeasure
|
|
193
193
|
#---------------------------------------------------------------------------
|
194
194
|
|
195
195
|
# Get os object for selected material
|
196
|
-
mats = model.
|
196
|
+
mats = model.getStandardOpaqueMaterials
|
197
197
|
mat = ''
|
198
198
|
mats.each do |m|
|
199
199
|
if m.name.to_s == selected_material
|
@@ -3,8 +3,8 @@
|
|
3
3
|
<schema_version>3.0</schema_version>
|
4
4
|
<name>add_empd_material_properties</name>
|
5
5
|
<uid>91799c24-d81e-42eb-a458-f2b3a0ee1ff3</uid>
|
6
|
-
<version_id>
|
7
|
-
<version_modified>
|
6
|
+
<version_id>6f4bf017-c022-4174-8eca-acf979f14354</version_id>
|
7
|
+
<version_modified>20221129T234556Z</version_modified>
|
8
8
|
<xml_checksum>9EF0A36D</xml_checksum>
|
9
9
|
<class_name>AddEMPDMaterialProperties</class_name>
|
10
10
|
<display_name>Add EMPD Material Properties</display_name>
|
@@ -174,17 +174,6 @@
|
|
174
174
|
<usage_type>license</usage_type>
|
175
175
|
<checksum>A21A3ED2</checksum>
|
176
176
|
</file>
|
177
|
-
<file>
|
178
|
-
<version>
|
179
|
-
<software_program>OpenStudio</software_program>
|
180
|
-
<identifier>3.0.0</identifier>
|
181
|
-
<min_compatible>3.0.0</min_compatible>
|
182
|
-
</version>
|
183
|
-
<filename>measure.rb</filename>
|
184
|
-
<filetype>rb</filetype>
|
185
|
-
<usage_type>script</usage_type>
|
186
|
-
<checksum>96F39314</checksum>
|
187
|
-
</file>
|
188
177
|
<file>
|
189
178
|
<filename>README.md</filename>
|
190
179
|
<filetype>md</filetype>
|
@@ -197,5 +186,16 @@
|
|
197
186
|
<usage_type>test</usage_type>
|
198
187
|
<checksum>360B75F1</checksum>
|
199
188
|
</file>
|
189
|
+
<file>
|
190
|
+
<version>
|
191
|
+
<software_program>OpenStudio</software_program>
|
192
|
+
<identifier>3.0.0</identifier>
|
193
|
+
<min_compatible>3.0.0</min_compatible>
|
194
|
+
</version>
|
195
|
+
<filename>measure.rb</filename>
|
196
|
+
<filetype>rb</filetype>
|
197
|
+
<usage_type>script</usage_type>
|
198
|
+
<checksum>DF9BE58D</checksum>
|
199
|
+
</file>
|
200
200
|
</files>
|
201
201
|
</measure>
|
@@ -201,10 +201,6 @@ class BlendedSpaceTypeFromModel < OpenStudio::Measure::ModelMeasure
|
|
201
201
|
model.getSpaceTypes.sort.each do |space_type|
|
202
202
|
next if space_type.floorArea == 0
|
203
203
|
|
204
|
-
# assign blend out building and space type standards (after update in ext gem can be removed here)
|
205
|
-
space_type.setStandardsBuildingType('Blend')
|
206
|
-
space_type.setStandardsSpaceType('Blend')
|
207
|
-
|
208
204
|
floor_area_si = 0
|
209
205
|
# loop through spaces so I can skip if not included in floor area
|
210
206
|
space_type.spaces.each do |space|
|
@@ -3,8 +3,8 @@
|
|
3
3
|
<schema_version>3.0</schema_version>
|
4
4
|
<name>blended_space_type_from_model</name>
|
5
5
|
<uid>667c2f1f-0927-4dbd-a7be-1087b5c15181</uid>
|
6
|
-
<version_id>
|
7
|
-
<version_modified>
|
6
|
+
<version_id>68180f3a-0d37-4921-8eea-baab050bb62b</version_id>
|
7
|
+
<version_modified>20220512T054947Z</version_modified>
|
8
8
|
<xml_checksum>28AD5222</xml_checksum>
|
9
9
|
<class_name>BlendedSpaceTypeFromModel</class_name>
|
10
10
|
<display_name>Blended Space Type from Model</display_name>
|
@@ -153,7 +153,7 @@
|
|
153
153
|
<filename>measure.rb</filename>
|
154
154
|
<filetype>rb</filetype>
|
155
155
|
<usage_type>script</usage_type>
|
156
|
-
<checksum>
|
156
|
+
<checksum>556BD210</checksum>
|
157
157
|
</file>
|
158
158
|
</files>
|
159
159
|
</measure>
|
@@ -79,6 +79,8 @@ class CreateDOEPrototypeBuilding < OpenStudio::Measure::ModelMeasure
|
|
79
79
|
building_type_chs << 'LargeDataCenterLowITE'
|
80
80
|
building_type_chs << 'SmallDataCenterHighITE'
|
81
81
|
building_type_chs << 'SmallDataCenterLowITE'
|
82
|
+
building_type_chs << 'Courthouse'
|
83
|
+
building_type_chs << 'College'
|
82
84
|
building_type = OpenStudio::Measure::OSArgument.makeChoiceArgument('building_type', building_type_chs, true)
|
83
85
|
building_type.setDisplayName('Building Type.')
|
84
86
|
building_type.setDefaultValue('SmallOffice')
|
@@ -94,6 +96,7 @@ class CreateDOEPrototypeBuilding < OpenStudio::Measure::ModelMeasure
|
|
94
96
|
template_chs << '90.1-2010'
|
95
97
|
template_chs << '90.1-2013'
|
96
98
|
template_chs << '90.1-2016'
|
99
|
+
template_chs << '90.1-2019'
|
97
100
|
template_chs << 'NECB 2011'
|
98
101
|
template = OpenStudio::Measure::OSArgument.makeChoiceArgument('template', template_chs, true)
|
99
102
|
template.setDisplayName('Template.')
|