openstudio-model-articulation 0.6.1 → 0.7.0

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: e07e00709616f2f31d24a152703fef03c724ae0a9b50e3ff1780469afc6deceb
4
- data.tar.gz: e37517a6dc18666066d5e5593a45f1bce119aac3f9976f70ff224cbde3eda9a8
3
+ metadata.gz: d42ba01f1a80982bdf115982a642295fdaabe3daef0f28a663b06b5b37be19de
4
+ data.tar.gz: 1b188a713c58f5eacce8094f7a9b3fa9211a28f5060703b8d75184698e14a7cd
5
5
  SHA512:
6
- metadata.gz: ecb12dbb4a5d39377fa8d053fd08a97248a59fa51290ff3a89167dc544392cfbc16605ec0a066b148a2127d8dd831eaae41d751eb501321665d9558aa671970f
7
- data.tar.gz: 9b9156e8445f909967dbf62b89e8723c9cf1b4a6912d46fff4c18f6d93587c47c9e04c897253b20a3dcfa1ec352825f908239bb75e17c65c6c33152db2f90cbc
6
+ metadata.gz: e73d7ba195a378190cd4d807d4598bd7df5f909d801196a4b1bd3c73a64c2e163659b74d31c1556d5dd06a77c6e5ec4bf901f1a67fe032b4402fe1956525458e
7
+ data.tar.gz: 9b37f4f8cea6dcc0609bf677d3526176b165da188ab4eba5c398a0091828a150311f5a00e8023cb1f6075a6f50ad533480ea527b5cd1d234a511be8e13be6ab2
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
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
+
3
9
  ## Version 0.6.1
4
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.
5
11
 
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-2021, Alliance for Sustainable Energy, LLC. All rights reserved.
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,6 +51,7 @@ bundle exec rake openstudio:test_with_openstudio
51
51
 
52
52
  |OpenStudio Model Articulation Gem|OpenStudio|Ruby|
53
53
  |:--------------:|:----------:|:--------:|
54
+ | 0.7.0 | 3.5 | 2.7 |
54
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 |
@@ -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>4ceba5f6-8f6f-4969-848c-0e5ffbfdfe75</version_id>
7
- <version_modified>20220505T182932Z</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>55AAC4F2</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>bb0dd052-2f62-49ef-8e20-2e9c39786802</version_id>
7
- <version_modified>20220505T182927Z</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>17B7EFF1</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.getMaterials
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.getMaterials
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>74e7a9c8-62dd-4f8b-ad26-f28fa0408982</version_id>
7
- <version_modified>20210814T063318Z</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>
@@ -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.')