openstudio-model-articulation 0.2.1 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (202) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +2 -1
  3. data/CHANGELOG.md +36 -19
  4. data/Gemfile +6 -0
  5. data/Jenkinsfile +1 -0
  6. data/LICENSE.md +1 -1
  7. data/README.md +14 -0
  8. data/Rakefile +5 -7
  9. data/doc_templates/LICENSE.md +1 -1
  10. data/doc_templates/copyright_erb.txt +1 -1
  11. data/doc_templates/copyright_js.txt +1 -1
  12. data/doc_templates/copyright_ruby.txt +1 -1
  13. data/lib/measures/AssignConstructionSetToBuilding/LICENSE.md +1 -1
  14. data/lib/measures/AssignConstructionSetToBuilding/measure.rb +1 -3
  15. data/lib/measures/AssignConstructionSetToBuilding/measure.xml +11 -10
  16. data/lib/measures/AssignSpaceTypeBySpaceName/LICENSE.md +1 -1
  17. data/lib/measures/AssignSpaceTypeBySpaceName/measure.rb +1 -3
  18. data/lib/measures/AssignSpaceTypeBySpaceName/measure.xml +11 -10
  19. data/lib/measures/AssignSpaceTypeToBuilding/LICENSE.md +1 -1
  20. data/lib/measures/AssignSpaceTypeToBuilding/measure.rb +1 -3
  21. data/lib/measures/AssignSpaceTypeToBuilding/measure.xml +11 -10
  22. data/lib/measures/AssignSpacesToStories/LICENSE.md +1 -1
  23. data/lib/measures/AssignSpacesToStories/measure.rb +1 -3
  24. data/lib/measures/AssignSpacesToStories/measure.xml +9 -8
  25. data/lib/measures/BarAspectRatioStudy/LICENSE.md +1 -1
  26. data/lib/measures/BarAspectRatioStudy/measure.rb +1 -3
  27. data/lib/measures/BarAspectRatioStudy/measure.xml +8 -7
  28. data/lib/measures/CleanupSpaceOrigins/LICENSE.md +1 -1
  29. data/lib/measures/CleanupSpaceOrigins/measure.rb +1 -3
  30. data/lib/measures/CleanupSpaceOrigins/measure.xml +9 -8
  31. data/lib/measures/FindAndReplaceObjectNames/LICENSE.md +1 -1
  32. data/lib/measures/FindAndReplaceObjectNames/measure.rb +1 -3
  33. data/lib/measures/FindAndReplaceObjectNames/measure.xml +8 -7
  34. data/lib/measures/InjectOsmGeometryIntoAnExternalIdf/LICENSE.md +1 -1
  35. data/lib/measures/InjectOsmGeometryIntoAnExternalIdf/measure.rb +1 -3
  36. data/lib/measures/InjectOsmGeometryIntoAnExternalIdf/measure.xml +10 -10
  37. data/lib/measures/RemoveHardAssignedConstructions/LICENSE.md +1 -1
  38. data/lib/measures/RemoveHardAssignedConstructions/measure.rb +1 -3
  39. data/lib/measures/RemoveHardAssignedConstructions/measure.xml +8 -7
  40. data/lib/measures/RenameSpaceSurfacesBasedonParentSpaceandOrientation/LICENSE.md +1 -1
  41. data/lib/measures/RenameSpaceSurfacesBasedonParentSpaceandOrientation/measure.rb +1 -3
  42. data/lib/measures/RenameSpaceSurfacesBasedonParentSpaceandOrientation/measure.xml +9 -8
  43. data/lib/measures/RotateBuilding/LICENSE.md +1 -1
  44. data/lib/measures/RotateBuilding/measure.rb +1 -3
  45. data/lib/measures/RotateBuilding/measure.xml +8 -7
  46. data/lib/measures/SetExtWallToGroundBoundaryConditionByStory/LICENSE.md +1 -1
  47. data/lib/measures/SetExtWallToGroundBoundaryConditionByStory/measure.rb +1 -3
  48. data/lib/measures/SetExtWallToGroundBoundaryConditionByStory/measure.xml +8 -7
  49. data/lib/measures/SetInteriorWallsAndFloorsToAdiabatic/LICENSE.md +1 -1
  50. data/lib/measures/SetInteriorWallsAndFloorsToAdiabatic/measure.rb +1 -3
  51. data/lib/measures/SetInteriorWallsAndFloorsToAdiabatic/measure.xml +8 -7
  52. data/lib/measures/SetInteriorWallsToSelectedConstruction/LICENSE.md +1 -1
  53. data/lib/measures/SetInteriorWallsToSelectedConstruction/measure.rb +1 -3
  54. data/lib/measures/SetInteriorWallsToSelectedConstruction/measure.xml +8 -7
  55. data/lib/measures/SetWindowToWallRatioByFacade/LICENSE.md +1 -1
  56. data/lib/measures/SetWindowToWallRatioByFacade/measure.rb +11 -6
  57. data/lib/measures/SetWindowToWallRatioByFacade/measure.xml +11 -5
  58. data/lib/measures/SimplifyGeometryToSlicedBar/LICENSE.md +1 -1
  59. data/lib/measures/SimplifyGeometryToSlicedBar/measure.rb +1 -3
  60. data/lib/measures/SimplifyGeometryToSlicedBar/measure.xml +8 -8
  61. data/lib/measures/SimplifyGeometryToSlicedBar/resources/os_lib_cofee.rb +1 -3
  62. data/lib/measures/SimplifyGeometryToSlicedBar/resources/os_lib_geometry.rb +1 -3
  63. data/lib/measures/SimplifyGeometryToSlicedBar/resources/os_lib_helper_methods.rb +2 -4
  64. data/lib/measures/SpaceTypeAndConstructionSetWizard/LICENSE.md +1 -1
  65. data/lib/measures/SpaceTypeAndConstructionSetWizard/measure.rb +1 -3
  66. data/lib/measures/SpaceTypeAndConstructionSetWizard/measure.xml +63 -11
  67. data/lib/measures/SurfaceMatching/LICENSE.md +1 -1
  68. data/lib/measures/SurfaceMatching/measure.rb +1 -3
  69. data/lib/measures/SurfaceMatching/measure.xml +8 -7
  70. data/lib/measures/{BarAspectRatioSlicedBySpaceType → add_empd_material_properties}/LICENSE.md +1 -1
  71. data/lib/measures/add_empd_material_properties/README.md +116 -0
  72. data/lib/measures/{BarAspectRatioSlicedBySpaceType → add_empd_material_properties}/README.md.erb +0 -0
  73. data/lib/measures/add_empd_material_properties/docs/.gitkeep +0 -0
  74. data/lib/measures/add_empd_material_properties/measure.rb +247 -0
  75. data/lib/measures/add_empd_material_properties/measure.xml +201 -0
  76. data/lib/measures/blended_space_type_from_floor_area_ratios/LICENSE.md +1 -1
  77. data/lib/measures/blended_space_type_from_floor_area_ratios/measure.rb +1 -3
  78. data/lib/measures/blended_space_type_from_floor_area_ratios/measure.xml +5 -5
  79. data/lib/measures/blended_space_type_from_model/LICENSE.md +1 -1
  80. data/lib/measures/blended_space_type_from_model/measure.rb +1 -3
  81. data/lib/measures/blended_space_type_from_model/measure.xml +6 -6
  82. data/lib/measures/blended_space_type_from_model/resources/os_lib_model_simplification.rb +1 -3
  83. data/lib/measures/clone_building_from_external_model/LICENSE.md +1 -1
  84. data/lib/measures/clone_building_from_external_model/measure.rb +1 -3
  85. data/lib/measures/clone_building_from_external_model/measure.xml +5 -5
  86. data/lib/measures/create_DOE_prototype_building/LICENSE.md +1 -1
  87. data/lib/measures/create_DOE_prototype_building/measure.rb +3 -4
  88. data/lib/measures/create_DOE_prototype_building/measure.xml +509 -377
  89. data/lib/measures/create_and_assign_thermal_zones_for_unassigned_spaces/LICENSE.md +1 -1
  90. data/lib/measures/create_and_assign_thermal_zones_for_unassigned_spaces/measure.rb +1 -3
  91. data/lib/measures/create_and_assign_thermal_zones_for_unassigned_spaces/measure.xml +5 -5
  92. data/lib/measures/create_bar_from_building_type_ratios/LICENSE.md +1 -1
  93. data/lib/measures/create_bar_from_building_type_ratios/README.md +109 -35
  94. data/lib/measures/create_bar_from_building_type_ratios/README.md.erb +54 -35
  95. data/lib/measures/create_bar_from_building_type_ratios/measure.rb +6 -3
  96. data/lib/measures/create_bar_from_building_type_ratios/measure.xml +129 -17
  97. data/lib/measures/create_bar_from_deer_building_type_ratios/LICENSE.md +1 -1
  98. data/lib/measures/create_bar_from_deer_building_type_ratios/README.md +301 -79
  99. data/lib/measures/create_bar_from_deer_building_type_ratios/README.md.erb +62 -79
  100. data/lib/measures/create_bar_from_deer_building_type_ratios/measure.rb +7 -4
  101. data/lib/measures/create_bar_from_deer_building_type_ratios/measure.xml +20 -64
  102. data/lib/measures/create_bar_from_doe_building_type_ratios/LICENSE.md +1 -1
  103. data/lib/measures/create_bar_from_doe_building_type_ratios/README.md +298 -57
  104. data/lib/measures/create_bar_from_doe_building_type_ratios/README.md.erb +54 -57
  105. data/lib/measures/create_bar_from_doe_building_type_ratios/measure.rb +7 -4
  106. data/lib/measures/create_bar_from_doe_building_type_ratios/measure.xml +127 -19
  107. data/lib/measures/create_bar_from_model/LICENSE.md +1 -1
  108. data/lib/measures/create_bar_from_model/measure.rb +1 -3
  109. data/lib/measures/create_bar_from_model/measure.xml +5 -5
  110. data/lib/measures/create_bar_from_space_type_ratios/LICENSE.md +27 -0
  111. data/lib/measures/create_bar_from_space_type_ratios/README.md +556 -0
  112. data/lib/measures/create_bar_from_space_type_ratios/README.md.erb +324 -0
  113. data/lib/measures/create_bar_from_space_type_ratios/docs/ar_05.png +0 -0
  114. data/lib/measures/create_bar_from_space_type_ratios/docs/ar_1.png +0 -0
  115. data/lib/measures/create_bar_from_space_type_ratios/docs/ar_2.png +0 -0
  116. data/lib/measures/create_bar_from_space_type_ratios/docs/bar_double_loaded.png +0 -0
  117. data/lib/measures/create_bar_from_space_type_ratios/docs/bar_single_core_perim.png +0 -0
  118. data/lib/measures/create_bar_from_space_type_ratios/docs/bar_sliced_indiv.png +0 -0
  119. data/lib/measures/create_bar_from_space_type_ratios/docs/bar_sliced_simple.png +0 -0
  120. data/lib/measures/create_bar_from_space_type_ratios/docs/basement.png +0 -0
  121. data/lib/measures/create_bar_from_space_type_ratios/docs/custom_height_false.png +0 -0
  122. data/lib/measures/create_bar_from_space_type_ratios/docs/custom_height_true.png +0 -0
  123. data/lib/measures/create_bar_from_space_type_ratios/docs/no_party_mult.png +0 -0
  124. data/lib/measures/create_bar_from_space_type_ratios/docs/party.png +0 -0
  125. data/lib/measures/create_bar_from_space_type_ratios/docs/party_multi.png +0 -0
  126. data/lib/measures/create_bar_from_space_type_ratios/docs/perim_mult_2010.png +0 -0
  127. data/lib/measures/create_bar_from_space_type_ratios/docs/perim_mult_2012.png +0 -0
  128. data/lib/measures/create_bar_from_space_type_ratios/docs/perim_mult_2020.png +0 -0
  129. data/lib/measures/create_bar_from_space_type_ratios/docs/sep_05.png +0 -0
  130. data/lib/measures/create_bar_from_space_type_ratios/docs/sep_10.png +0 -0
  131. data/lib/measures/create_bar_from_space_type_ratios/docs/sep_3.png +0 -0
  132. data/lib/measures/create_bar_from_space_type_ratios/docs/story_sort.png +0 -0
  133. data/lib/measures/create_bar_from_space_type_ratios/docs/wwr_custom.png +0 -0
  134. data/lib/measures/create_bar_from_space_type_ratios/measure.rb +314 -0
  135. data/lib/measures/create_bar_from_space_type_ratios/measure.xml +687 -0
  136. data/lib/measures/create_baseline_building/LICENSE.md +1 -1
  137. data/lib/measures/create_baseline_building/measure.rb +1 -1
  138. data/lib/measures/create_baseline_building/measure.xml +5 -5
  139. data/lib/measures/create_deer_prototype_building/LICENSE.md +1 -1
  140. data/lib/measures/create_deer_prototype_building/measure.rb +1 -3
  141. data/lib/measures/create_deer_prototype_building/measure.xml +6 -6
  142. data/lib/measures/create_deer_prototype_building/resources/deer_building_types.rb +1 -3
  143. data/lib/measures/create_parametric_schedules/LICENSE.md +1 -1
  144. data/lib/measures/create_parametric_schedules/measure.rb +1 -3
  145. data/lib/measures/create_parametric_schedules/measure.xml +5 -5
  146. data/lib/measures/create_typical_building_from_model/LICENSE.md +1 -1
  147. data/lib/measures/create_typical_building_from_model/README.md +82 -17
  148. data/lib/measures/create_typical_building_from_model/README.md.erb +36 -16
  149. data/lib/measures/create_typical_building_from_model/measure.rb +7 -7
  150. data/lib/measures/create_typical_building_from_model/measure.xml +62 -30
  151. data/lib/measures/create_typical_building_from_model/resources/Model.hvac.rb +7 -6
  152. data/lib/measures/create_typical_deer_building_from_model/LICENSE.md +1 -1
  153. data/lib/measures/create_typical_deer_building_from_model/README.md +173 -53
  154. data/lib/measures/create_typical_deer_building_from_model/README.md.erb +57 -53
  155. data/lib/measures/create_typical_deer_building_from_model/measure.rb +7 -4
  156. data/lib/measures/create_typical_deer_building_from_model/measure.xml +29 -29
  157. data/lib/measures/create_typical_deer_building_from_model/resources/Model.hvac.rb +7 -6
  158. data/lib/measures/create_typical_doe_building_from_model/LICENSE.md +1 -1
  159. data/lib/measures/create_typical_doe_building_from_model/README.md +182 -44
  160. data/lib/measures/create_typical_doe_building_from_model/README.md.erb +58 -44
  161. data/lib/measures/create_typical_doe_building_from_model/measure.rb +7 -4
  162. data/lib/measures/create_typical_doe_building_from_model/measure.xml +56 -24
  163. data/lib/measures/create_typical_doe_building_from_model/resources/Model.hvac.rb +7 -6
  164. data/lib/measures/deer_space_type_and_construction_set_wizard/LICENSE.md +1 -1
  165. data/lib/measures/deer_space_type_and_construction_set_wizard/measure.rb +1 -3
  166. data/lib/measures/deer_space_type_and_construction_set_wizard/measure.xml +17 -17
  167. data/lib/measures/find_and_replace_in_all_thermal_zone_names/LICENSE.md +1 -1
  168. data/lib/measures/find_and_replace_in_all_thermal_zone_names/measure.rb +1 -3
  169. data/lib/measures/find_and_replace_in_all_thermal_zone_names/measure.xml +8 -7
  170. data/lib/measures/make_shading_surfaces_based_on_zone_multipliers/LICENSE.md +1 -1
  171. data/lib/measures/make_shading_surfaces_based_on_zone_multipliers/measure.rb +1 -3
  172. data/lib/measures/make_shading_surfaces_based_on_zone_multipliers/measure.xml +5 -5
  173. data/lib/measures/merge_floorspace_js_with_model/LICENSE.md +1 -1
  174. data/lib/measures/merge_floorspace_js_with_model/measure.rb +1 -3
  175. data/lib/measures/merge_floorspace_js_with_model/measure.xml +5 -5
  176. data/lib/measures/merge_spaces_from_external_file/LICENSE.md +1 -1
  177. data/lib/measures/merge_spaces_from_external_file/measure.rb +1 -3
  178. data/lib/measures/merge_spaces_from_external_file/measure.xml +6 -6
  179. data/lib/measures/merge_spaces_from_external_file/resources/ScheduleTranslator.rb +5 -7
  180. data/lib/measures/radiance_measure/LICENSE.md +1 -1
  181. data/lib/measures/radiance_measure/measure.rb +2 -4
  182. data/lib/measures/radiance_measure/measure.xml +11 -11
  183. data/lib/measures/radiant_slab_with_doas/LICENSE.md +1 -1
  184. data/lib/measures/radiant_slab_with_doas/measure.rb +6 -4
  185. data/lib/measures/radiant_slab_with_doas/measure.xml +10 -10
  186. data/lib/measures/replace_geometry_by_story/LICENSE.md +1 -1
  187. data/lib/measures/replace_geometry_by_story/measure.rb +1 -3
  188. data/lib/measures/replace_geometry_by_story/measure.xml +5 -5
  189. data/lib/measures/scale_geometry/LICENSE.md +1 -1
  190. data/lib/measures/scale_geometry/measure.rb +1 -3
  191. data/lib/measures/scale_geometry/measure.xml +5 -5
  192. data/lib/openstudio/model_articulation/extension.rb +1 -1
  193. data/lib/openstudio/model_articulation/version.rb +2 -2
  194. data/lib/openstudio/model_articulation.rb +1 -1
  195. data/lib/openstudio-model-articulation.rb +1 -1
  196. data/openstudio-model-articulation.gemspec +3 -3
  197. metadata +44 -20
  198. data/lib/measures/.rubocop.yml +0 -5
  199. data/lib/measures/BarAspectRatioSlicedBySpaceType/README.md +0 -64
  200. data/lib/measures/BarAspectRatioSlicedBySpaceType/measure.rb +0 -186
  201. data/lib/measures/BarAspectRatioSlicedBySpaceType/measure.xml +0 -130
  202. data/lib/measures/BarAspectRatioSlicedBySpaceType/resources/os_lib_cofee.rb +0 -254
@@ -13,9 +13,9 @@
13
13
  ## Measure Type
14
14
  <%= measureType %>
15
15
 
16
- [//]: # (Commenting out until it works in SDK)
17
- [//]: # (## Taxonomy)
18
- [//]: # (<%= taxonomy %>)
16
+ [//]: # (Only finds value if taxonomy method is added to measure.rb, won't read out of measure.xml)
17
+ ## Taxonomy
18
+ <%= taxonomy %>
19
19
 
20
20
  ___
21
21
  ## Table of Contents
@@ -45,7 +45,15 @@ Note, that this particular measure has access to both DOE and DEER templates (vi
45
45
  - 90.1-2007
46
46
  - 90.1-2010
47
47
  - 90.1-2013
48
+ - 90.1-2016
49
+ - 90.1-2019
48
50
  - NREL ZNE Ready 2017 (not currently complete for all building types)
51
+ - ComStock DOE Ref Pre-1980
52
+ - ComStock DOE Ref 1980-2004
53
+ - ComStock 90.1-2004
54
+ - ComStock 90.1-2007
55
+ - ComStock 90.1-2010
56
+ - ComStock 90.1-2013
49
57
  - Building Types:
50
58
  - SecondarySchool
51
59
  - PrimarySchool
@@ -64,6 +72,11 @@ Note, that this particular measure has access to both DOE and DEER templates (vi
64
72
  - Hospital
65
73
  - Outpatient
66
74
  - SuperMarket
75
+ - Laboratory
76
+ - LargeDataCenterLowITE
77
+ - LargeDataCenterHighITE
78
+ - SmallDataCenterLowITE
79
+ - SmallDataCenterHighITE
67
80
 
68
81
  #### DEER
69
82
  - Templates:
@@ -132,7 +145,7 @@ Note, that this particular measure has access to both DOE and DEER templates (vi
132
145
 
133
146
  - `Service Water Heating Source`can be set to `Inferred`, `NaturalGas`, `Electricity`, or `HeatPump`.
134
147
 
135
- - `Kitchen Exhaust MakeUp Air Calculation Method` is used to determine if makeup air is modeled for kitchen exhaust and what zone that comes from. While the default choice of `Adajcent` makes sence for custom user geometry, if the geometry was autogenerated without representing an actual plan, you can set makup air to come from the `Largest Zone`. `None` is also an option, which disables makeup air.
148
+ - `Kitchen Exhaust MakeUp Air Calculation Method` is used to determine if makeup air is modeled for kitchen exhaust and what zone that comes from. While the default choice of `Adajcent` makes sence for custom user geometry, if the geometry was autogenerated without representing an actual plan, you can set makeup air to come from the `Largest Zone`. `None` is also an option, which disables makeup air.
136
149
 
137
150
  ## Exterior Lighting Arguments
138
151
 
@@ -142,42 +155,46 @@ Note, that this particular measure has access to both DOE and DEER templates (vi
142
155
 
143
156
  ## Bool Arguments to Enable/Disable Elements of This Measure
144
157
 
145
- The following is a list of aruments for elements of the model that can be enabled or disabled for the measure.
158
+ The following is a list of arguments for elements of the model that can be enabled or disabled for the measure.
146
159
  - `Add Constructions to Model`
147
160
  - `Add Space Type Loads to Model`
148
- - `Add Elevators to Model`. This will only be added to buildings with more than one story. Number of floors will be used to determine the elevator type, and the number of occpants can determine both the number of elevators and can impact the schedule. To avoid large jumps in parametric analyses, the number of elevators is a double instead of an integer, but will never be less than 1.0 for multi-story buildings, but can for example be 2.6 or 1.5 elevators, instead of just 1 or 2. The logic used isn't depending on a space or space type existing for elevators. The space laod will be added to the largest space on the first story. Fraciton of heat lost will be set to 1.0 for traction elevators.
161
+ - `Add Elevators to Model`. This will only be added to buildings with more than one story. Number of floors will be used to determine the elevator type, and the number of occupants can determine both the number of elevators and can impact the schedule. To avoid large jumps in parametric analyses, the number of elevators is a double instead of an integer, but will never be less than 1.0 for multi-story buildings, but can for example be 2.6 or 1.5 elevators, instead of just 1 or 2. The logic used isn't depending on a space or space type existing for elevators. The space load will be added to the largest space on the first story. Fraction of heat lost will be set to 1.0 for traction elevators.
149
162
  - `Add Internal Mass to Model`
150
163
  - `Add Exterior Lights to Model`
151
164
  - `Add Exhaust Fans to Model`
152
165
  - `Add Service Water Heating to Model`
153
166
  - `Add Thermostats`
154
- - `Add HVAC System to Model`. This may add a secondary system for zones with internal loads or schedules that are dis-similar from the typical zones. For thermal zones on the primary zone, where multi-zone air loops are added, one air loop will be added for each building story. A sizing run will be performed however the elements in the model will stay autosized. The sizing run is to identify the proper target system efficency.
167
+ - `Add HVAC System to Model`. This may add a secondary system for zones with internal loads or schedules that are dis-similar from the typical zones. For thermal zones on the primary zone, where multi-zone air loops are added, one air loop will be added for each building story. A sizing run will be performed however the elements in the model will stay autosized. The sizing run is to identify the proper target system efficiency.
155
168
  - `Add Refrigeration to Model`
156
169
 
157
170
  ## Hours of Operation Arguments
158
171
 
159
172
  There are three arguments each for weekday and weekend behavior. In each case there are the following arguments.
160
173
 
161
- - Bool argument to enable/dsiable altering of weekdays or weekends
174
+ - Bool argument to enable/disable altering of weekdays or weekends
162
175
  - Operating hours start time
163
176
  - Operating hours duration
164
177
 
165
178
  ## Other Arguments
166
179
 
167
- - `Use Upstream Argument Values` can be left at the default value of true for most cases. This argument shows up in a number of measures, and then intent is to enable the synchronization of arguments that may be used as a variable in a parametric study across multiple measures. Generally measure ahve uqniue argument names that don't exist, but some such as `Template` are used frequently. This argument, when set to true, will use the value of `Template` from an earlier measure in the workflow, if found, in place of what is entered as the value for this measure.
168
- - `Climate Zone` is not used at all by this measure but is necessary for an obscure reason
180
+ - `Use Upstream Argument Values` can be left at the default value of true for most cases. This argument shows up in a number of measures, and then intent is to enable the synchronization of arguments that may be used as a variable in a parametric study across multiple measures. Generally measures gave unique argument names that don't exist in other measures, but some such as `template` are used frequently. This argument, when set to true, will use the value of `Template` from an earlier measure in the workflow, if found, in place of what is entered as the value for this measure.
169
181
  - `Unmet Hours Tolerance` is used to change the tolerance used in EnergyPlus for unmet heating and cooling hours.
170
- - `Clean Model of non-geometry objects` shoudl be set to false when you have a non-empty model with objects that you want to maintain. If you have split this measure in two the second instance of this should have it set to false or it will overwrite elements made by the earlier measure.
182
+ - `Clean Model of non-geometry objects` should be set to false when you have a non-empty model with objects that you want to maintain. If you have split this measure in two the second instance of this should have it set to false or it will overwrite elements made by the earlier measure.
171
183
  - `Enable Daylight Savings` will change daylighting saving to true when enabled.
172
184
 
173
185
  ## Development Comments
174
186
 
175
- This measure relies on the openstudio-standards gem which is included in the OpenStudio CLI as well as a number of resources files listed below that are contained in the measure's `resources` directory. Other than the arguments almost none of the measure code is in the measure.rb file. The resource files are used by a number of measures and should be udpated from the shared library and not within this measure.
176
- - os_lib_model_generation.rb
177
- - os_lib_helper_methods.rb
178
- - os_lib_helper_methods.rb
187
+ This measure relies on the openstudio-standards gem which is included in the OpenStudio CLI as well as a number of resources files listed below that are contained in the openstudio-extension gem which is also included in the OpenStudio CLI. Other than the arguments almost none of the measure code is in the measure.rb file. The resource files are used by a number of measures and should be updated from the shared library and not within this measure.
188
+ - os_lib_model_generation.rb
189
+ - os_lib_model_simplification.rb
190
+ - os_lib_geometry.rb
191
+ - os_lib_helper_methods.rb
179
192
 
180
- *(Automatically generated argument information follows)*## Arguments
193
+ ___
194
+
195
+ *(Automatically generated argument information follows)*
196
+
197
+ ## Arguments
181
198
 
182
199
  <% arguments.each do |argument| %>
183
200
  ### <%= argument[:display_name] %>
@@ -187,6 +204,9 @@ This measure relies on the openstudio-standards gem which is included in the Ope
187
204
  **Units:** <%= argument[:units] %>,
188
205
  **Required:** <%= argument[:required] %>,
189
206
  **Model Dependent:** <%= argument[:model_dependent] %>
207
+ <% if argument[:type] == "Choice" && !argument[:model_dependent]%>
208
+ **Choice Display Names** <%= argument[:choice_display_names] %>
209
+ <% end %>
190
210
  <% end %>
191
211
 
192
212
  <% if arguments.size == 0 %>
@@ -1,7 +1,5 @@
1
- # frozen_string_literal: true
2
-
3
1
  # *******************************************************************************
4
- # OpenStudio(R), Copyright (c) 2008-2020, Alliance for Sustainable Energy, LLC.
2
+ # OpenStudio(R), Copyright (c) 2008-2021, Alliance for Sustainable Energy, LLC.
5
3
  # All rights reserved.
6
4
  # Redistribution and use in source and binary forms, with or without
7
5
  # modification, are permitted provided that the following conditions are met:
@@ -35,9 +33,6 @@
35
33
  # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
36
34
  # *******************************************************************************
37
35
 
38
- # see the URL below for information on how to write OpenStudio measures
39
- # http://nrel.github.io/OpenStudio-user-documentation/reference/measure_writing_guide/
40
-
41
36
  require 'openstudio-standards'
42
37
 
43
38
  # load OpenStudio measure libraries from openstudio-extension gem
@@ -65,7 +60,12 @@ class CreateTypicalBuildingFromModel < OpenStudio::Measure::ModelMeasure
65
60
 
66
61
  # human readable description of modeling approach
67
62
  def modeler_description
68
- return 'It is important that the template argument chosen for this measure is in line with the buding types for the stub space types of the model passed in.'
63
+ return 'It is important that the template argument chosen for this measure is in line with the building types for the stub space types of the model passed in.'
64
+ end
65
+
66
+ # used to populate taxonomy in readme.md
67
+ def taxonomy
68
+ return 'Whole Building.Space Types'
69
69
  end
70
70
 
71
71
  # define the arguments that the user will input
@@ -3,13 +3,13 @@
3
3
  <schema_version>3.0</schema_version>
4
4
  <name>create_typical_building_from_model</name>
5
5
  <uid>339a2e3a-273c-4494-bb50-bfe586a0647c</uid>
6
- <version_id>cf4a5895-bc2f-4b83-925c-7eaaeb3d0913</version_id>
7
- <version_modified>20200911T195900Z</version_modified>
6
+ <version_id>97112603-b027-4802-9310-d0e02b78200d</version_id>
7
+ <version_modified>20210716T214830Z</version_modified>
8
8
  <xml_checksum>EE13F09F</xml_checksum>
9
9
  <class_name>CreateTypicalBuildingFromModel</class_name>
10
10
  <display_name>Create Typical Building from Model</display_name>
11
11
  <description>Takes a model with space and stub space types, and assigns constructions, schedules, internal loads, hvac, and other loads such as exterior lights and service water heating.</description>
12
- <modeler_description>It is important that the template argument chosen for this measure is in line with the buding types for the stub space types of the model passed in.</modeler_description>
12
+ <modeler_description>It is important that the template argument chosen for this measure is in line with the building types for the stub space types of the model passed in.</modeler_description>
13
13
  <arguments>
14
14
  <argument>
15
15
  <name>template</name>
@@ -43,6 +43,38 @@
43
43
  <value>90.1-2013</value>
44
44
  <display_name>90.1-2013</display_name>
45
45
  </choice>
46
+ <choice>
47
+ <value>90.1-2016</value>
48
+ <display_name>90.1-2016</display_name>
49
+ </choice>
50
+ <choice>
51
+ <value>90.1-2019</value>
52
+ <display_name>90.1-2019</display_name>
53
+ </choice>
54
+ <choice>
55
+ <value>ComStock DOE Ref Pre-1980</value>
56
+ <display_name>ComStock DOE Ref Pre-1980</display_name>
57
+ </choice>
58
+ <choice>
59
+ <value>ComStock DOE Ref 1980-2004</value>
60
+ <display_name>ComStock DOE Ref 1980-2004</display_name>
61
+ </choice>
62
+ <choice>
63
+ <value>ComStock 90.1-2004</value>
64
+ <display_name>ComStock 90.1-2004</display_name>
65
+ </choice>
66
+ <choice>
67
+ <value>ComStock 90.1-2007</value>
68
+ <display_name>ComStock 90.1-2007</display_name>
69
+ </choice>
70
+ <choice>
71
+ <value>ComStock 90.1-2010</value>
72
+ <display_name>ComStock 90.1-2010</display_name>
73
+ </choice>
74
+ <choice>
75
+ <value>ComStock 90.1-2013</value>
76
+ <display_name>ComStock 90.1-2013</display_name>
77
+ </choice>
46
78
  <choice>
47
79
  <value>DEER Pre-1975</value>
48
80
  <display_name>DEER Pre-1975</display_name>
@@ -1506,52 +1538,52 @@
1506
1538
  <usage_type>test</usage_type>
1507
1539
  <checksum>F22DEFBC</checksum>
1508
1540
  </file>
1509
- <file>
1510
- <filename>README.md.erb</filename>
1511
- <filetype>erb</filetype>
1512
- <usage_type>readmeerb</usage_type>
1513
- <checksum>9CCCA1AC</checksum>
1514
- </file>
1515
- <file>
1516
- <filename>README.md</filename>
1517
- <filetype>md</filetype>
1518
- <usage_type>readme</usage_type>
1519
- <checksum>0D03D713</checksum>
1520
- </file>
1521
1541
  <file>
1522
1542
  <filename>LICENSE.md</filename>
1523
1543
  <filetype>md</filetype>
1524
1544
  <usage_type>license</usage_type>
1525
- <checksum>E0468DD6</checksum>
1526
- </file>
1527
- <file>
1528
- <version>
1529
- <software_program>OpenStudio</software_program>
1530
- <identifier>2.0.0</identifier>
1531
- <min_compatible>3.0.0</min_compatible>
1532
- </version>
1533
- <filename>measure.rb</filename>
1534
- <filetype>rb</filetype>
1535
- <usage_type>script</usage_type>
1536
- <checksum>6E6F78F0</checksum>
1545
+ <checksum>A21A3ED2</checksum>
1537
1546
  </file>
1538
1547
  <file>
1539
1548
  <filename>measure_test_hvac.rb</filename>
1540
1549
  <filetype>rb</filetype>
1541
1550
  <usage_type>test</usage_type>
1542
- <checksum>371B841C</checksum>
1551
+ <checksum>DEB61C22</checksum>
1543
1552
  </file>
1544
1553
  <file>
1545
1554
  <filename>create_typical_building_from_model_test.rb</filename>
1546
1555
  <filetype>rb</filetype>
1547
1556
  <usage_type>test</usage_type>
1548
- <checksum>CFEF1007</checksum>
1557
+ <checksum>1C2C0385</checksum>
1549
1558
  </file>
1550
1559
  <file>
1551
1560
  <filename>Model.hvac.rb</filename>
1552
1561
  <filetype>rb</filetype>
1553
1562
  <usage_type>resource</usage_type>
1554
- <checksum>D8BF0815</checksum>
1563
+ <checksum>32C64B0B</checksum>
1564
+ </file>
1565
+ <file>
1566
+ <filename>README.md.erb</filename>
1567
+ <filetype>erb</filetype>
1568
+ <usage_type>readmeerb</usage_type>
1569
+ <checksum>6A400402</checksum>
1570
+ </file>
1571
+ <file>
1572
+ <version>
1573
+ <software_program>OpenStudio</software_program>
1574
+ <identifier>2.0.0</identifier>
1575
+ <min_compatible>3.0.0</min_compatible>
1576
+ </version>
1577
+ <filename>measure.rb</filename>
1578
+ <filetype>rb</filetype>
1579
+ <usage_type>script</usage_type>
1580
+ <checksum>D98EF78A</checksum>
1581
+ </file>
1582
+ <file>
1583
+ <filename>README.md</filename>
1584
+ <filetype>md</filetype>
1585
+ <usage_type>readme</usage_type>
1586
+ <checksum>AC908059</checksum>
1555
1587
  </file>
1556
1588
  </files>
1557
1589
  </measure>
@@ -1,7 +1,8 @@
1
- # frozen_string_literal: true
1
+ # ComStock™, Copyright (c) 2020 Alliance for Sustainable Energy, LLC. All rights reserved.
2
+ # See top level LICENSE.txt file for license terms.
2
3
 
3
4
  # *******************************************************************************
4
- # OpenStudio(R), Copyright (c) 2008-2020, Alliance for Sustainable Energy, LLC.
5
+ # OpenStudio(R), Copyright (c) 2008-2021, Alliance for Sustainable Energy, LLC.
5
6
  # All rights reserved.
6
7
  # Redistribution and use in source and binary forms, with or without
7
8
  # modification, are permitted provided that the following conditions are met:
@@ -281,7 +282,7 @@ class OpenStudio::Model::Model
281
282
  chilled_water_loop_cooling_type: 'AirCooled')
282
283
 
283
284
  when 'Fan coil district chilled water with boiler'
284
- standard.model_add_hvac_system(self, 'Fan Coil ', ht = 'NaturalGas', znht = nil, cl = 'DistrictCooling', zones)
285
+ standard.model_add_hvac_system(self, 'Fan Coil', ht = 'NaturalGas', znht = nil, cl = 'DistrictCooling', zones)
285
286
 
286
287
  when 'Fan coil district chilled water with central air source heat pump'
287
288
  standard.model_add_hvac_system(self, 'Fan Coil', ht = 'AirSourceHeatPump', znht = nil, cl = 'DistrictCooling', zones)
@@ -496,7 +497,7 @@ class OpenStudio::Model::Model
496
497
  when 'VAV chiller with gas boiler reheat'
497
498
  standard.model_add_hvac_system(self, 'VAV Reheat', ht = 'NaturalGas', znht = 'NaturalGas', cl = 'Electricity', zones)
498
499
 
499
- when 'VAV chiller with central air source heat pump reheat '
500
+ when 'VAV chiller with central air source heat pump reheat'
500
501
  standard.model_add_hvac_system(self, 'VAV Reheat', ht = 'AirSourceHeatPump', znht = 'AirSourceHeatPump', cl = 'Electricity', zones)
501
502
 
502
503
  when 'VAV chiller with district hot water reheat'
@@ -630,8 +631,8 @@ class OpenStudio::Model::Model
630
631
  standard.model_add_hvac_system(self, 'Window AC', ht = nil, znht = nil, cl = 'Electricity', cooled_zones)
631
632
 
632
633
  else
633
- puts "HVAC system type '#{system_type}' not recognized"
634
-
634
+ return false
635
635
  end
636
+ return true
636
637
  end
637
638
  end
@@ -1,4 +1,4 @@
1
- OpenStudio(R), Copyright (c) 2008-2020, Alliance for Sustainable Energy, LLC. All rights reserved.
1
+ OpenStudio(R), Copyright (c) 2008-2021, 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: