openstudio-model-articulation 0.7.0 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (169) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +5 -0
  3. data/LICENSE.md +7 -21
  4. data/README.md +4 -3
  5. data/Rakefile +2 -32
  6. data/doc_templates/LICENSE.md +7 -21
  7. data/doc_templates/copyright_erb.txt +2 -32
  8. data/doc_templates/copyright_js.txt +2 -2
  9. data/doc_templates/copyright_ruby.txt +3 -33
  10. data/lib/measures/AssignConstructionSetToBuilding/LICENSE.md +7 -21
  11. data/lib/measures/AssignConstructionSetToBuilding/measure.rb +2 -32
  12. data/lib/measures/AssignConstructionSetToBuilding/measure.xml +7 -7
  13. data/lib/measures/AssignSpaceTypeBySpaceName/LICENSE.md +7 -21
  14. data/lib/measures/AssignSpaceTypeBySpaceName/measure.rb +2 -32
  15. data/lib/measures/AssignSpaceTypeBySpaceName/measure.xml +25 -25
  16. data/lib/measures/AssignSpaceTypeToBuilding/LICENSE.md +7 -21
  17. data/lib/measures/AssignSpaceTypeToBuilding/measure.rb +2 -32
  18. data/lib/measures/AssignSpaceTypeToBuilding/measure.xml +7 -7
  19. data/lib/measures/AssignSpacesToStories/LICENSE.md +7 -21
  20. data/lib/measures/AssignSpacesToStories/measure.rb +2 -32
  21. data/lib/measures/AssignSpacesToStories/measure.xml +5 -5
  22. data/lib/measures/BarAspectRatioStudy/LICENSE.md +7 -21
  23. data/lib/measures/BarAspectRatioStudy/measure.rb +2 -32
  24. data/lib/measures/BarAspectRatioStudy/measure.xml +5 -5
  25. data/lib/measures/CleanupSpaceOrigins/LICENSE.md +7 -21
  26. data/lib/measures/CleanupSpaceOrigins/measure.rb +2 -32
  27. data/lib/measures/CleanupSpaceOrigins/measure.xml +5 -5
  28. data/lib/measures/FindAndReplaceObjectNames/LICENSE.md +7 -21
  29. data/lib/measures/FindAndReplaceObjectNames/measure.rb +2 -32
  30. data/lib/measures/FindAndReplaceObjectNames/measure.xml +5 -5
  31. data/lib/measures/InjectOsmGeometryIntoAnExternalIdf/LICENSE.md +7 -21
  32. data/lib/measures/InjectOsmGeometryIntoAnExternalIdf/measure.rb +2 -32
  33. data/lib/measures/InjectOsmGeometryIntoAnExternalIdf/measure.xml +23 -23
  34. data/lib/measures/RemoveHardAssignedConstructions/LICENSE.md +7 -21
  35. data/lib/measures/RemoveHardAssignedConstructions/measure.rb +2 -32
  36. data/lib/measures/RemoveHardAssignedConstructions/measure.xml +5 -5
  37. data/lib/measures/RenameSpaceSurfacesBasedonParentSpaceandOrientation/LICENSE.md +7 -21
  38. data/lib/measures/RenameSpaceSurfacesBasedonParentSpaceandOrientation/measure.rb +2 -32
  39. data/lib/measures/RenameSpaceSurfacesBasedonParentSpaceandOrientation/measure.xml +25 -25
  40. data/lib/measures/RotateBuilding/LICENSE.md +7 -21
  41. data/lib/measures/RotateBuilding/measure.rb +2 -32
  42. data/lib/measures/RotateBuilding/measure.xml +5 -5
  43. data/lib/measures/SetExtWallToGroundBoundaryConditionByStory/LICENSE.md +7 -21
  44. data/lib/measures/SetExtWallToGroundBoundaryConditionByStory/measure.rb +2 -32
  45. data/lib/measures/SetExtWallToGroundBoundaryConditionByStory/measure.xml +11 -11
  46. data/lib/measures/SetInteriorWallsAndFloorsToAdiabatic/LICENSE.md +7 -21
  47. data/lib/measures/SetInteriorWallsAndFloorsToAdiabatic/measure.rb +2 -32
  48. data/lib/measures/SetInteriorWallsAndFloorsToAdiabatic/measure.xml +5 -5
  49. data/lib/measures/SetInteriorWallsToSelectedConstruction/LICENSE.md +7 -21
  50. data/lib/measures/SetInteriorWallsToSelectedConstruction/measure.rb +2 -32
  51. data/lib/measures/SetInteriorWallsToSelectedConstruction/measure.xml +5 -5
  52. data/lib/measures/SetWindowToWallRatioByFacade/LICENSE.md +7 -21
  53. data/lib/measures/SetWindowToWallRatioByFacade/measure.rb +2 -32
  54. data/lib/measures/SetWindowToWallRatioByFacade/measure.xml +11 -11
  55. data/lib/measures/SetWindowToWallRatioByFacade/resources/functions.rb +2 -32
  56. data/lib/measures/SimplifyGeometryToSlicedBar/LICENSE.md +7 -21
  57. data/lib/measures/SimplifyGeometryToSlicedBar/measure.rb +2 -32
  58. data/lib/measures/SimplifyGeometryToSlicedBar/measure.xml +26 -26
  59. data/lib/measures/SimplifyGeometryToSlicedBar/resources/os_lib_cofee.rb +2 -32
  60. data/lib/measures/SimplifyGeometryToSlicedBar/resources/os_lib_geometry.rb +2 -32
  61. data/lib/measures/SimplifyGeometryToSlicedBar/resources/os_lib_helper_methods.rb +2 -32
  62. data/lib/measures/SpaceTypeAndConstructionSetWizard/LICENSE.md +7 -21
  63. data/lib/measures/SpaceTypeAndConstructionSetWizard/measure.rb +2 -32
  64. data/lib/measures/SpaceTypeAndConstructionSetWizard/measure.xml +21 -5
  65. data/lib/measures/SurfaceMatching/LICENSE.md +7 -21
  66. data/lib/measures/SurfaceMatching/measure.rb +2 -32
  67. data/lib/measures/SurfaceMatching/measure.xml +5 -5
  68. data/lib/measures/add_empd_material_properties/LICENSE.md +7 -21
  69. data/lib/measures/add_empd_material_properties/measure.rb +2 -32
  70. data/lib/measures/add_empd_material_properties/measure.xml +10 -10
  71. data/lib/measures/blended_space_type_from_floor_area_ratios/LICENSE.md +7 -21
  72. data/lib/measures/blended_space_type_from_floor_area_ratios/measure.rb +2 -32
  73. data/lib/measures/blended_space_type_from_floor_area_ratios/measure.xml +5 -5
  74. data/lib/measures/blended_space_type_from_model/LICENSE.md +7 -21
  75. data/lib/measures/blended_space_type_from_model/measure.rb +2 -32
  76. data/lib/measures/blended_space_type_from_model/measure.xml +10 -10
  77. data/lib/measures/clone_building_from_external_model/LICENSE.md +7 -21
  78. data/lib/measures/clone_building_from_external_model/measure.rb +2 -32
  79. data/lib/measures/clone_building_from_external_model/measure.xml +5 -5
  80. data/lib/measures/create_DOE_prototype_building/LICENSE.md +7 -21
  81. data/lib/measures/create_DOE_prototype_building/measure.rb +2 -32
  82. data/lib/measures/create_DOE_prototype_building/measure.xml +603 -235
  83. data/lib/measures/create_and_assign_thermal_zones_for_unassigned_spaces/LICENSE.md +7 -21
  84. data/lib/measures/create_and_assign_thermal_zones_for_unassigned_spaces/measure.rb +2 -32
  85. data/lib/measures/create_and_assign_thermal_zones_for_unassigned_spaces/measure.xml +5 -5
  86. data/lib/measures/create_bar_from_building_type_ratios/LICENSE.md +7 -21
  87. data/lib/measures/create_bar_from_building_type_ratios/README.md +5 -5
  88. data/lib/measures/create_bar_from_building_type_ratios/measure.rb +2 -32
  89. data/lib/measures/create_bar_from_building_type_ratios/measure.xml +53 -13
  90. data/lib/measures/create_bar_from_deer_building_type_ratios/LICENSE.md +7 -21
  91. data/lib/measures/create_bar_from_deer_building_type_ratios/measure.rb +2 -32
  92. data/lib/measures/create_bar_from_deer_building_type_ratios/measure.xml +10 -10
  93. data/lib/measures/create_bar_from_doe_building_type_ratios/LICENSE.md +7 -21
  94. data/lib/measures/create_bar_from_doe_building_type_ratios/README.md +13 -5
  95. data/lib/measures/create_bar_from_doe_building_type_ratios/measure.rb +2 -32
  96. data/lib/measures/create_bar_from_doe_building_type_ratios/measure.xml +53 -13
  97. data/lib/measures/create_bar_from_model/LICENSE.md +7 -21
  98. data/lib/measures/create_bar_from_model/measure.rb +2 -32
  99. data/lib/measures/create_bar_from_model/measure.xml +5 -5
  100. data/lib/measures/create_bar_from_space_type_ratios/LICENSE.md +7 -21
  101. data/lib/measures/create_bar_from_space_type_ratios/README.md +1 -1
  102. data/lib/measures/create_bar_from_space_type_ratios/measure.rb +2 -32
  103. data/lib/measures/create_bar_from_space_type_ratios/measure.xml +21 -13
  104. data/lib/measures/create_baseline_building/LICENSE.md +7 -21
  105. data/lib/measures/create_baseline_building/measure.rb +2 -32
  106. data/lib/measures/create_baseline_building/measure.xml +5 -5
  107. data/lib/measures/create_deer_prototype_building/LICENSE.md +7 -21
  108. data/lib/measures/create_deer_prototype_building/measure.rb +2 -32
  109. data/lib/measures/create_deer_prototype_building/measure.xml +6 -6
  110. data/lib/measures/create_deer_prototype_building/resources/deer_building_types.rb +2 -32
  111. data/lib/measures/create_parametric_schedules/LICENSE.md +7 -21
  112. data/lib/measures/create_parametric_schedules/measure.rb +2 -32
  113. data/lib/measures/create_parametric_schedules/measure.xml +5 -5
  114. data/lib/measures/create_typical_building_from_model/LICENSE.md +7 -21
  115. data/lib/measures/create_typical_building_from_model/README.md +1 -1
  116. data/lib/measures/create_typical_building_from_model/measure.rb +2 -32
  117. data/lib/measures/create_typical_building_from_model/measure.xml +27 -19
  118. data/lib/measures/create_typical_building_from_model/resources/Model.hvac.rb +2 -32
  119. data/lib/measures/create_typical_deer_building_from_model/LICENSE.md +7 -21
  120. data/lib/measures/create_typical_deer_building_from_model/measure.rb +2 -32
  121. data/lib/measures/create_typical_deer_building_from_model/measure.xml +17 -17
  122. data/lib/measures/create_typical_deer_building_from_model/resources/Model.hvac.rb +2 -32
  123. data/lib/measures/create_typical_doe_building_from_model/LICENSE.md +7 -21
  124. data/lib/measures/create_typical_doe_building_from_model/README.md +5 -1
  125. data/lib/measures/create_typical_doe_building_from_model/measure.rb +2 -32
  126. data/lib/measures/create_typical_doe_building_from_model/measure.xml +27 -19
  127. data/lib/measures/create_typical_doe_building_from_model/resources/Model.hvac.rb +2 -32
  128. data/lib/measures/deer_space_type_and_construction_set_wizard/LICENSE.md +7 -21
  129. data/lib/measures/deer_space_type_and_construction_set_wizard/measure.rb +2 -32
  130. data/lib/measures/deer_space_type_and_construction_set_wizard/measure.xml +5 -5
  131. data/lib/measures/find_and_replace_in_all_thermal_zone_names/LICENSE.md +7 -21
  132. data/lib/measures/find_and_replace_in_all_thermal_zone_names/measure.rb +2 -32
  133. data/lib/measures/find_and_replace_in_all_thermal_zone_names/measure.xml +5 -5
  134. data/lib/measures/make_shading_surfaces_based_on_zone_multipliers/LICENSE.md +7 -21
  135. data/lib/measures/make_shading_surfaces_based_on_zone_multipliers/measure.rb +2 -32
  136. data/lib/measures/make_shading_surfaces_based_on_zone_multipliers/measure.xml +5 -5
  137. data/lib/measures/merge_floorspace_js_with_model/LICENSE.md +7 -21
  138. data/lib/measures/merge_floorspace_js_with_model/measure.rb +2 -32
  139. data/lib/measures/merge_floorspace_js_with_model/measure.xml +11 -5
  140. data/lib/measures/merge_spaces_from_external_file/LICENSE.md +7 -21
  141. data/lib/measures/merge_spaces_from_external_file/measure.rb +2 -32
  142. data/lib/measures/merge_spaces_from_external_file/measure.xml +6 -6
  143. data/lib/measures/merge_spaces_from_external_file/resources/ScheduleTranslator.rb +2 -32
  144. data/lib/measures/radiance_measure/LICENSE.md +7 -21
  145. data/lib/measures/radiance_measure/measure.rb +2 -32
  146. data/lib/measures/radiance_measure/measure.xml +5 -5
  147. data/lib/measures/radiant_slab_with_doas/LICENSE.md +7 -21
  148. data/lib/measures/radiant_slab_with_doas/measure.rb +2 -32
  149. data/lib/measures/radiant_slab_with_doas/measure.xml +5 -5
  150. data/lib/measures/replace_geometry_by_story/LICENSE.md +7 -21
  151. data/lib/measures/replace_geometry_by_story/measure.rb +2 -32
  152. data/lib/measures/replace_geometry_by_story/measure.xml +5 -5
  153. data/lib/measures/scale_geometry/LICENSE.md +7 -21
  154. data/lib/measures/scale_geometry/measure.rb +2 -32
  155. data/lib/measures/scale_geometry/measure.xml +5 -5
  156. data/lib/measures/set_nist_infiltration_correlations/LICENSE.md +13 -0
  157. data/lib/measures/set_nist_infiltration_correlations/README.md +94 -0
  158. data/lib/measures/set_nist_infiltration_correlations/README.md.erb +45 -0
  159. data/lib/measures/set_nist_infiltration_correlations/docs/Data-NISTInfiltrationCorrelations.xlsx +0 -0
  160. data/lib/measures/set_nist_infiltration_correlations/docs/NIST.TN.2221.pdf +0 -0
  161. data/lib/measures/set_nist_infiltration_correlations/measure.rb +613 -0
  162. data/lib/measures/set_nist_infiltration_correlations/measure.xml +373 -0
  163. data/lib/measures/set_nist_infiltration_correlations/resources/Data-NISTInfiltrationCorrelations.csv +353 -0
  164. data/lib/openstudio/model_articulation/extension.rb +2 -32
  165. data/lib/openstudio/model_articulation/version.rb +3 -33
  166. data/lib/openstudio/model_articulation.rb +2 -32
  167. data/lib/openstudio-model-articulation.rb +2 -32
  168. data/openstudio-model-articulation.gemspec +2 -2
  169. metadata +15 -7
@@ -1,27 +1,13 @@
1
- OpenStudio(R), Copyright (c) 2008-2021, Alliance for Sustainable Energy, LLC. All rights reserved.
1
+ OpenStudio(R), Copyright (c) 2008, 2023 Alliance for Sustainable Energy, LLC.
2
2
 
3
- Redistribution and use in source and binary forms, with or without modification, are permitted
4
- provided that the following conditions are met:
3
+ Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
5
4
 
6
- (1) Redistributions of source code must retain the above copyright notice, this list of conditions
7
- and the following disclaimer.
5
+ 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
8
6
 
9
- (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions
10
- and the following disclaimer in the documentation and/or other materials provided with the distribution.
7
+ 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
11
8
 
12
- (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse
13
- or promote products derived from this software without specific prior written permission from the
14
- respective party.
9
+ 3. Redistribution of this software, without modification, must refer to the software by the same designation. Redistribution of a modified version of this software (i) may not refer to the modified version by the same designation, or by any confusingly similar designation, and (ii) must refer to the underlying software originally provided by Alliance as “OpenStudio®”. Except to comply with the foregoing, the term “OpenStudio®”, or any confusingly similar designation may not be used to refer to any modified version of this software or any modified version of the underlying software originally provided by Alliance without the prior written consent of Alliance.
15
10
 
16
- (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other
17
- derivative works may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar
18
- designation without specific prior written permission from Alliance for Sustainable Energy, LLC.
11
+ 4. The name of the copyright holder(s), any contributors, the United States Government, the United States Department of Energy, or any of their employees may not be used to endorse or promote products derived from this software without specific prior written permission from the respective party.
19
12
 
20
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED
21
- WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
22
- PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER, THE UNITED STATES GOVERNMENT,
23
- OR ANY CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
24
- DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
25
- OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
26
- STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
27
- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
13
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@@ -1,36 +1,6 @@
1
1
  # *******************************************************************************
2
- # OpenStudio(R), Copyright (c) 2008-2021, Alliance for Sustainable Energy, LLC.
3
- # All rights reserved.
4
- # Redistribution and use in source and binary forms, with or without
5
- # modification, are permitted provided that the following conditions are met:
6
- #
7
- # (1) Redistributions of source code must retain the above copyright notice,
8
- # this list of conditions and the following disclaimer.
9
- #
10
- # (2) Redistributions in binary form must reproduce the above copyright notice,
11
- # this list of conditions and the following disclaimer in the documentation
12
- # and/or other materials provided with the distribution.
13
- #
14
- # (3) Neither the name of the copyright holder nor the names of any contributors
15
- # may be used to endorse or promote products derived from this software without
16
- # specific prior written permission from the respective party.
17
- #
18
- # (4) Other than as required in clauses (1) and (2), distributions in any form
19
- # of modifications or other derivative works may not use the "OpenStudio"
20
- # trademark, "OS", "os", or any other confusingly similar designation without
21
- # specific prior written permission from Alliance for Sustainable Energy, LLC.
22
- #
23
- # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS
24
- # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
25
- # THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
26
- # ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE
27
- # UNITED STATES GOVERNMENT, OR THE UNITED STATES DEPARTMENT OF ENERGY, NOR ANY OF
28
- # THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
29
- # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
30
- # OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
31
- # INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
32
- # STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
33
- # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2
+ # OpenStudio(R), Copyright (c) Alliance for Sustainable Energy, LLC.
3
+ # See also https://openstudio.net/license
34
4
  # *******************************************************************************
35
5
 
36
6
  # see the URL below for information on how to write OpenStudio measures
@@ -3,8 +3,8 @@
3
3
  <schema_version>3.0</schema_version>
4
4
  <name>replace_geometry_by_story</name>
5
5
  <uid>03b18912-0ceb-47e9-8f8b-417a3008e189</uid>
6
- <version_id>0c043052-fbe4-4cb6-809b-4659f265a0dd</version_id>
7
- <version_modified>20220505T182928Z</version_modified>
6
+ <version_id>d3524dcb-2b5f-4d2f-b850-3b28c1cd8003</version_id>
7
+ <version_modified>20230602T160042Z</version_modified>
8
8
  <xml_checksum>2AF3A68E</xml_checksum>
9
9
  <class_name>ReplaceGeometryByStory</class_name>
10
10
  <display_name>Replace Geometry By Story</display_name>
@@ -61,7 +61,7 @@
61
61
  <filename>LICENSE.md</filename>
62
62
  <filetype>md</filetype>
63
63
  <usage_type>license</usage_type>
64
- <checksum>A21A3ED2</checksum>
64
+ <checksum>BFFB1AA6</checksum>
65
65
  </file>
66
66
  <file>
67
67
  <version>
@@ -72,13 +72,13 @@
72
72
  <filename>measure.rb</filename>
73
73
  <filetype>rb</filetype>
74
74
  <usage_type>script</usage_type>
75
- <checksum>7478785A</checksum>
75
+ <checksum>C5ED0362</checksum>
76
76
  </file>
77
77
  <file>
78
78
  <filename>replace_geometry_by_story_test.rb</filename>
79
79
  <filetype>rb</filetype>
80
80
  <usage_type>test</usage_type>
81
- <checksum>DC2F0000</checksum>
81
+ <checksum>E1101EBD</checksum>
82
82
  </file>
83
83
  </files>
84
84
  </measure>
@@ -1,27 +1,13 @@
1
- OpenStudio(R), Copyright (c) 2008-2021, Alliance for Sustainable Energy, LLC. All rights reserved.
1
+ OpenStudio(R), Copyright (c) 2008, 2023 Alliance for Sustainable Energy, LLC.
2
2
 
3
- Redistribution and use in source and binary forms, with or without modification, are permitted
4
- provided that the following conditions are met:
3
+ Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
5
4
 
6
- (1) Redistributions of source code must retain the above copyright notice, this list of conditions
7
- and the following disclaimer.
5
+ 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
8
6
 
9
- (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions
10
- and the following disclaimer in the documentation and/or other materials provided with the distribution.
7
+ 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
11
8
 
12
- (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse
13
- or promote products derived from this software without specific prior written permission from the
14
- respective party.
9
+ 3. Redistribution of this software, without modification, must refer to the software by the same designation. Redistribution of a modified version of this software (i) may not refer to the modified version by the same designation, or by any confusingly similar designation, and (ii) must refer to the underlying software originally provided by Alliance as “OpenStudio®”. Except to comply with the foregoing, the term “OpenStudio®”, or any confusingly similar designation may not be used to refer to any modified version of this software or any modified version of the underlying software originally provided by Alliance without the prior written consent of Alliance.
15
10
 
16
- (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other
17
- derivative works may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar
18
- designation without specific prior written permission from Alliance for Sustainable Energy, LLC.
11
+ 4. The name of the copyright holder(s), any contributors, the United States Government, the United States Department of Energy, or any of their employees may not be used to endorse or promote products derived from this software without specific prior written permission from the respective party.
19
12
 
20
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED
21
- WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
22
- PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER, THE UNITED STATES GOVERNMENT,
23
- OR ANY CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
24
- DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
25
- OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
26
- STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
27
- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
13
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@@ -1,36 +1,6 @@
1
1
  # *******************************************************************************
2
- # OpenStudio(R), Copyright (c) 2008-2021, Alliance for Sustainable Energy, LLC.
3
- # All rights reserved.
4
- # Redistribution and use in source and binary forms, with or without
5
- # modification, are permitted provided that the following conditions are met:
6
- #
7
- # (1) Redistributions of source code must retain the above copyright notice,
8
- # this list of conditions and the following disclaimer.
9
- #
10
- # (2) Redistributions in binary form must reproduce the above copyright notice,
11
- # this list of conditions and the following disclaimer in the documentation
12
- # and/or other materials provided with the distribution.
13
- #
14
- # (3) Neither the name of the copyright holder nor the names of any contributors
15
- # may be used to endorse or promote products derived from this software without
16
- # specific prior written permission from the respective party.
17
- #
18
- # (4) Other than as required in clauses (1) and (2), distributions in any form
19
- # of modifications or other derivative works may not use the "OpenStudio"
20
- # trademark, "OS", "os", or any other confusingly similar designation without
21
- # specific prior written permission from Alliance for Sustainable Energy, LLC.
22
- #
23
- # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS
24
- # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
25
- # THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
26
- # ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE
27
- # UNITED STATES GOVERNMENT, OR THE UNITED STATES DEPARTMENT OF ENERGY, NOR ANY OF
28
- # THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
29
- # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
30
- # OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
31
- # INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
32
- # STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
33
- # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2
+ # OpenStudio(R), Copyright (c) Alliance for Sustainable Energy, LLC.
3
+ # See also https://openstudio.net/license
34
4
  # *******************************************************************************
35
5
 
36
6
  # see the URL below for information on how to write OpenStudio measures
@@ -3,8 +3,8 @@
3
3
  <schema_version>3.0</schema_version>
4
4
  <name>scale_geometry</name>
5
5
  <uid>f9cc2ffc-2838-4a18-8330-97e7cc94cdf8</uid>
6
- <version_id>ea83673c-44b7-4fa4-90f4-f26a9ebf52bb</version_id>
7
- <version_modified>20220505T182930Z</version_modified>
6
+ <version_id>21f3772e-cdd4-4d3f-bd3e-3c8a99cb6f0f</version_id>
7
+ <version_modified>20230602T160043Z</version_modified>
8
8
  <xml_checksum>7AD75066</xml_checksum>
9
9
  <class_name>ScaleGeometry</class_name>
10
10
  <display_name>scale_geometry</display_name>
@@ -104,19 +104,19 @@
104
104
  <filename>measure.rb</filename>
105
105
  <filetype>rb</filetype>
106
106
  <usage_type>script</usage_type>
107
- <checksum>A36635B3</checksum>
107
+ <checksum>B92C0C6F</checksum>
108
108
  </file>
109
109
  <file>
110
110
  <filename>LICENSE.md</filename>
111
111
  <filetype>md</filetype>
112
112
  <usage_type>license</usage_type>
113
- <checksum>A21A3ED2</checksum>
113
+ <checksum>BFFB1AA6</checksum>
114
114
  </file>
115
115
  <file>
116
116
  <filename>scale_geometry_test.rb</filename>
117
117
  <filetype>rb</filetype>
118
118
  <usage_type>test</usage_type>
119
- <checksum>5A612286</checksum>
119
+ <checksum>C890F16A</checksum>
120
120
  </file>
121
121
  </files>
122
122
  </measure>
@@ -0,0 +1,13 @@
1
+ OpenStudio(R), Copyright (c) 2008, 2023 Alliance for Sustainable Energy, LLC.
2
+
3
+ Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
4
+
5
+ 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
6
+
7
+ 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
8
+
9
+ 3. Redistribution of this software, without modification, must refer to the software by the same designation. Redistribution of a modified version of this software (i) may not refer to the modified version by the same designation, or by any confusingly similar designation, and (ii) must refer to the underlying software originally provided by Alliance as “OpenStudio®”. Except to comply with the foregoing, the term “OpenStudio®”, or any confusingly similar designation may not be used to refer to any modified version of this software or any modified version of the underlying software originally provided by Alliance without the prior written consent of Alliance.
10
+
11
+ 4. The name of the copyright holder(s), any contributors, the United States Government, the United States Department of Energy, or any of their employees may not be used to endorse or promote products derived from this software without specific prior written permission from the respective party.
12
+
13
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@@ -0,0 +1,94 @@
1
+
2
+
3
+ ###### (Automatically generated documentation)
4
+
5
+ # SetNISTInfiltrationCorrelations
6
+
7
+ ## Description
8
+ This measure incorporates infiltration that varies with weather and HVAC operation, and takes into account building geometry (height, above-ground exterior surface area, and volume). It is based on work published by Ng et al. (2018) <a href='https://doi.org/10.1016/j.buildenv.2017.10.029'>'Weather correlations to calculate infiltration rates for U.S. commercial building energy models'</a> and Ng et al. (2021) <a href='https://doi.org/10.1016/j.buildenv.2021.107783'>'Evaluating potential benefits of air barriers in commercial buildings using NIST infiltration correlations in EnergyPlus'</a>. This method of calculating infiltration was developed using eleven of the DOE commercial prototype building models (<a href='https://www.energycodes.gov/development/commercial/prototype_models'>Goel et al. 2014</a>) and TMY3 weather files for eight climate zones (CZ). Guidance on implementing the infiltration correlations are explained in the NIST technical report <a href='https://doi.org/10.6028/NIST.TN.2221'>'Implementing NIST Infiltration Correlations'</a>. Ng et al. (2018) shows that when analyzing the benefits of building envelope airtightening, greater HVAC energy savings were predicted using the infiltration inputs included in this Measure compared with using the default inputs that are included in the prototype building models. Brian Polidoro (NIST) first developed this Measure in 2015 and updated it in 2018 and 2019. Matthew Dahlhausen (NREL) updated the 2019 Measure and published this current version in 2023. To provide feedback on the NIST infiltration correlations, please email infiltration@list.nist.gov or lisa.ng@nist.gov. For measure implementation questions or issues, contact matthew.dahlhausen@nrel.gov.
9
+
10
+ ## Modeler Description
11
+ This measure will remove any existing infiltration objects (OS:SpaceInfiltration:DesignFlowRate and OS:SpaceInfiltration:EffectiveLeakageArea). Every zone will then get two OS:SpaceInfiltration:DesignFlowRate objects that add infiltration using the 'Flow per Exterior Surface Area' input option, one infiltration object when the HVAC system is on and one object when the HVAC system is off. The method assumes that HVAC operation is set by a schedule, though it may not reflect actual simulation/operation when fan operation may depend on internal loads and temperature setpoints. By default, interior zones will receive no infiltration. The user may enter a design building envelope airtightness at a specific design pressure, and whether the design value represents a 4-sided, 5-sided, or 6-sided normalization. By default, the measure assumes an airtightness design value of 13.8 (m^3/h-m^2) at 75 Pa. The measure assumes that infiltration is evenly distributed across the entire building envelope, including the roof. The user may select the HVAC system operating schedule in the model, or infer it based on the availability schedule of the air loop that serves the largest amount of floor area. The measure will make a copy of the HVAC operating schedule, 'Infiltration HVAC On Schedule', which is used with the HVAC on infiltration correlations. The measure will also make an 'Infiltration HVAC Off Schedule' with inverse operation, used with the HVAC off infiltration correlations. OS:SpaceInfiltration:DesignFlowRate object coefficients (A, B, C, and D) come from Ng et al. (2018). The user may select the Building Type and Climate Zone, or the measure will infer them from the model.
12
+
13
+ ## Measure Type
14
+ ModelMeasure
15
+
16
+ ## Taxonomy
17
+
18
+
19
+ ## Arguments
20
+
21
+
22
+ ### Airtightness design value (m^3/h-m^2)
23
+ The airtightness design value from a building pressurization test. Use 5.0 (m^3/h-m^2) as a default for buildings with air barriers. Convert (cfm/ft^2) to (m^3/h-m^2) by multiplying by 18.288 (m-min/ft-hr). (0.3048 m/ft)*(60 min/hr) = 18.288 (m-min/ft-hr).
24
+ **Name:** airtightness_value,
25
+ **Type:** Double,
26
+ **Units:** ,
27
+ **Required:** false,
28
+ **Model Dependent:** false
29
+
30
+
31
+ ### Airtightness design pressure (Pa)
32
+ The corresponding pressure for the airtightness design value, typically 75 Pa for commercial buildings and 50 Pa for residential buildings.
33
+ **Name:** airtightness_pressure,
34
+ **Type:** Double,
35
+ **Units:** ,
36
+ **Required:** false,
37
+ **Model Dependent:** false
38
+
39
+
40
+ ### Airtightness exterior surface area scope
41
+ Airtightness measurements are weighted by exterior surface area. 4-sided values divide infiltration by exterior wall area. 5-sided values additionally include roof area. 6-sided values additionally include floor and ground area.
42
+ **Name:** airtightness_area,
43
+ **Type:** Choice,
44
+ **Units:** ,
45
+ **Required:** false,
46
+ **Model Dependent:** false
47
+
48
+ **Choice Display Names** ["4-sided", "5-sided", "6-sided"]
49
+
50
+
51
+ ### Does the building have an air barrier?
52
+ Buildings with air barriers use a different set of coefficients.
53
+ **Name:** air_barrier,
54
+ **Type:** Boolean,
55
+ **Units:** ,
56
+ **Required:** false,
57
+ **Model Dependent:** false
58
+
59
+
60
+ ### HVAC Operating Schedule
61
+ Choose the HVAC Operating Schedule for the building. The schedule must be a Schedule Constant or Schedule Ruleset object. Lookup From Model will use the operating schedule from the largest airloop by floor area served. If the largest airloop serves less than 5% of the building, the measure will attempt to use the Building Hours of Operation schedule instead.
62
+ **Name:** hvac_schedule,
63
+ **Type:** Choice,
64
+ **Units:** ,
65
+ **Required:** false,
66
+ **Model Dependent:** true
67
+
68
+
69
+ ### Climate Zone
70
+ Specify the ASHRAE climate zone. CEC climate zones are not supported.
71
+ **Name:** climate_zone,
72
+ **Type:** Choice,
73
+ **Units:** ,
74
+ **Required:** false,
75
+ **Model Dependent:** false
76
+
77
+ **Choice Display Names** ["1A", "1B", "2A", "2B", "3A", "3B", "3C", "4A", "4B", "4C", "5A", "5B", "5C", "6A", "6B", "7A", "8A", "Lookup From Model"]
78
+
79
+
80
+ ### Building Type
81
+ If the building type is not available, pick the one with the most similar geometry and exhaust fan flow rates.
82
+ **Name:** building_type,
83
+ **Type:** Choice,
84
+ **Units:** ,
85
+ **Required:** false,
86
+ **Model Dependent:** false
87
+
88
+ **Choice Display Names** ["SecondarySchool", "PrimarySchool", "SmallOffice", "MediumOffice", "SmallHotel", "LargeHotel", "RetailStandalone", "RetailStripmall", "Hospital", "MidriseApartment", "HighriseApartment", "Lookup From Model"]
89
+
90
+
91
+
92
+
93
+
94
+
@@ -0,0 +1,45 @@
1
+ <%#= README.md.erb is used to auto-generate README.md. %>
2
+ <%#= To manually maintain README.md throw away README.md.erb and manually edit README.md %>
3
+ ###### (Automatically generated documentation)
4
+
5
+ # <%= name %>
6
+
7
+ ## Description
8
+ <%= description %>
9
+
10
+ ## Modeler Description
11
+ <%= modelerDescription %>
12
+
13
+ ## Measure Type
14
+ <%= measureType %>
15
+
16
+ ## Taxonomy
17
+ <%= taxonomy %>
18
+
19
+ ## Arguments
20
+
21
+ <% arguments.each do |argument| %>
22
+ ### <%= argument[:display_name] %>
23
+ <%= argument[:description] %>
24
+ **Name:** <%= argument[:name] %>,
25
+ **Type:** <%= argument[:type] %>,
26
+ **Units:** <%= argument[:units] %>,
27
+ **Required:** <%= argument[:required] %>,
28
+ **Model Dependent:** <%= argument[:model_dependent] %>
29
+ <% if argument[:type] == "Choice" && !argument[:model_dependent]%>
30
+ **Choice Display Names** <%= argument[:choice_display_names] %>
31
+ <% end %>
32
+ <% end %>
33
+
34
+ <% if arguments.size == 0 %>
35
+ <%= "This measure does not have any user arguments" %>
36
+ <% end %>
37
+
38
+ <% if outputs.size > 0 %>
39
+ ## Outputs
40
+ <% output_names = [] %>
41
+ <% outputs.each do |output| %>
42
+ <% output_names << output[:display_name] %>
43
+ <% end %>
44
+ <%= output_names.join(", ") %>
45
+ <% end %>