openstudio-model-articulation 0.9.0 → 0.11.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (130) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +13 -3
  3. data/Gemfile +12 -5
  4. data/Jenkinsfile +1 -1
  5. data/LICENSE.md +1 -1
  6. data/README.md +2 -0
  7. data/lib/measures/AssignConstructionSetToBuilding/LICENSE.md +1 -1
  8. data/lib/measures/AssignConstructionSetToBuilding/measure.xml +21 -21
  9. data/lib/measures/AssignSpaceTypeBySpaceName/LICENSE.md +1 -1
  10. data/lib/measures/AssignSpaceTypeBySpaceName/measure.xml +37 -37
  11. data/lib/measures/AssignSpaceTypeToBuilding/LICENSE.md +1 -1
  12. data/lib/measures/AssignSpaceTypeToBuilding/measure.xml +21 -21
  13. data/lib/measures/AssignSpacesToStories/LICENSE.md +1 -1
  14. data/lib/measures/AssignSpacesToStories/measure.xml +17 -17
  15. data/lib/measures/BarAspectRatioStudy/LICENSE.md +1 -1
  16. data/lib/measures/BarAspectRatioStudy/measure.xml +11 -11
  17. data/lib/measures/CleanupSpaceOrigins/LICENSE.md +1 -1
  18. data/lib/measures/CleanupSpaceOrigins/measure.xml +17 -17
  19. data/lib/measures/FindAndReplaceObjectNames/LICENSE.md +1 -1
  20. data/lib/measures/FindAndReplaceObjectNames/measure.xml +17 -17
  21. data/lib/measures/InjectOsmGeometryIntoAnExternalIdf/LICENSE.md +1 -1
  22. data/lib/measures/InjectOsmGeometryIntoAnExternalIdf/measure.xml +54 -54
  23. data/lib/measures/RemoveHardAssignedConstructions/LICENSE.md +1 -1
  24. data/lib/measures/RemoveHardAssignedConstructions/measure.xml +17 -17
  25. data/lib/measures/RenameSpaceSurfacesBasedonParentSpaceandOrientation/LICENSE.md +1 -1
  26. data/lib/measures/RenameSpaceSurfacesBasedonParentSpaceandOrientation/measure.xml +40 -40
  27. data/lib/measures/RotateBuilding/LICENSE.md +1 -1
  28. data/lib/measures/RotateBuilding/measure.xml +19 -19
  29. data/lib/measures/SetExtWallToGroundBoundaryConditionByStory/LICENSE.md +1 -1
  30. data/lib/measures/SetExtWallToGroundBoundaryConditionByStory/measure.xml +21 -21
  31. data/lib/measures/SetInteriorWallsAndFloorsToAdiabatic/LICENSE.md +1 -1
  32. data/lib/measures/SetInteriorWallsAndFloorsToAdiabatic/measure.xml +17 -17
  33. data/lib/measures/SetInteriorWallsToSelectedConstruction/LICENSE.md +1 -1
  34. data/lib/measures/SetInteriorWallsToSelectedConstruction/measure.xml +17 -17
  35. data/lib/measures/SetWindowToWallRatioByFacade/LICENSE.md +1 -1
  36. data/lib/measures/SetWindowToWallRatioByFacade/measure.xml +46 -46
  37. data/lib/measures/SimplifyGeometryToSlicedBar/LICENSE.md +1 -1
  38. data/lib/measures/SimplifyGeometryToSlicedBar/measure.rb +32 -37
  39. data/lib/measures/SimplifyGeometryToSlicedBar/measure.xml +34 -80
  40. data/lib/measures/SimplifyGeometryToSlicedBar/resources/os_lib_cofee.rb +10 -9
  41. data/lib/measures/SpaceTypeAndConstructionSetWizard/LICENSE.md +1 -1
  42. data/lib/measures/SpaceTypeAndConstructionSetWizard/measure.rb +10 -13
  43. data/lib/measures/SpaceTypeAndConstructionSetWizard/measure.xml +28 -28
  44. data/lib/measures/SurfaceMatching/LICENSE.md +1 -1
  45. data/lib/measures/SurfaceMatching/measure.xml +17 -17
  46. data/lib/measures/add_empd_material_properties/LICENSE.md +1 -1
  47. data/lib/measures/add_empd_material_properties/measure.xml +27 -27
  48. data/lib/measures/blended_space_type_from_floor_area_ratios/LICENSE.md +1 -1
  49. data/lib/measures/blended_space_type_from_floor_area_ratios/measure.rb +31 -14
  50. data/lib/measures/blended_space_type_from_floor_area_ratios/measure.xml +36 -36
  51. data/lib/measures/blended_space_type_from_model/LICENSE.md +1 -1
  52. data/lib/measures/blended_space_type_from_model/measure.rb +12 -5
  53. data/lib/measures/blended_space_type_from_model/measure.xml +47 -47
  54. data/lib/measures/clone_building_from_external_model/LICENSE.md +1 -1
  55. data/lib/measures/clone_building_from_external_model/measure.xml +23 -23
  56. data/lib/measures/create_DOE_prototype_building/LICENSE.md +1 -1
  57. data/lib/measures/create_DOE_prototype_building/measure.rb +1 -1
  58. data/lib/measures/create_DOE_prototype_building/measure.xml +19 -875
  59. data/lib/measures/create_and_assign_thermal_zones_for_unassigned_spaces/LICENSE.md +1 -1
  60. data/lib/measures/create_and_assign_thermal_zones_for_unassigned_spaces/measure.xml +13 -13
  61. data/lib/measures/create_bar_from_building_type_ratios/LICENSE.md +1 -1
  62. data/lib/measures/create_bar_from_building_type_ratios/README.md +2 -13
  63. data/lib/measures/create_bar_from_building_type_ratios/measure.rb +122 -30
  64. data/lib/measures/create_bar_from_building_type_ratios/measure.xml +108 -349
  65. data/lib/measures/create_bar_from_deer_building_type_ratios/LICENSE.md +1 -1
  66. data/lib/measures/create_bar_from_deer_building_type_ratios/README.md +21 -1
  67. data/lib/measures/create_bar_from_deer_building_type_ratios/measure.rb +120 -18
  68. data/lib/measures/create_bar_from_deer_building_type_ratios/measure.xml +94 -32
  69. data/lib/measures/create_bar_from_doe_building_type_ratios/LICENSE.md +1 -1
  70. data/lib/measures/create_bar_from_doe_building_type_ratios/measure.rb +127 -18
  71. data/lib/measures/create_bar_from_doe_building_type_ratios/measure.xml +48 -26
  72. data/lib/measures/create_bar_from_model/LICENSE.md +1 -1
  73. data/lib/measures/create_bar_from_model/measure.rb +17 -18
  74. data/lib/measures/create_bar_from_model/measure.xml +41 -41
  75. data/lib/measures/create_bar_from_space_type_ratios/LICENSE.md +1 -1
  76. data/lib/measures/create_bar_from_space_type_ratios/README.md +1 -1
  77. data/lib/measures/create_bar_from_space_type_ratios/measure.rb +94 -14
  78. data/lib/measures/create_bar_from_space_type_ratios/measure.xml +104 -63
  79. data/lib/measures/create_baseline_building/LICENSE.md +1 -1
  80. data/lib/measures/create_baseline_building/measure.xml +35 -35
  81. data/lib/measures/create_deer_prototype_building/LICENSE.md +1 -1
  82. data/lib/measures/create_deer_prototype_building/measure.xml +17 -17
  83. data/lib/measures/create_parametric_schedules/LICENSE.md +1 -1
  84. data/lib/measures/create_parametric_schedules/measure.rb +17 -20
  85. data/lib/measures/create_parametric_schedules/measure.xml +15 -15
  86. data/lib/measures/create_typical_building_from_model/LICENSE.md +1 -1
  87. data/lib/measures/create_typical_building_from_model/README.md +16 -16
  88. data/lib/measures/create_typical_building_from_model/measure.rb +84 -18
  89. data/lib/measures/create_typical_building_from_model/measure.xml +159 -211
  90. data/lib/measures/create_typical_deer_building_from_model/LICENSE.md +1 -1
  91. data/lib/measures/create_typical_deer_building_from_model/README.md +38 -5
  92. data/lib/measures/create_typical_deer_building_from_model/measure.rb +84 -12
  93. data/lib/measures/create_typical_deer_building_from_model/measure.xml +165 -65
  94. data/lib/measures/create_typical_doe_building_from_model/LICENSE.md +1 -1
  95. data/lib/measures/create_typical_doe_building_from_model/README.md +17 -4
  96. data/lib/measures/create_typical_doe_building_from_model/measure.rb +84 -12
  97. data/lib/measures/create_typical_doe_building_from_model/measure.xml +125 -65
  98. data/lib/measures/deer_space_type_and_construction_set_wizard/LICENSE.md +1 -1
  99. data/lib/measures/deer_space_type_and_construction_set_wizard/measure.rb +13 -16
  100. data/lib/measures/deer_space_type_and_construction_set_wizard/measure.xml +72 -29
  101. data/lib/measures/find_and_replace_in_all_thermal_zone_names/LICENSE.md +1 -1
  102. data/lib/measures/find_and_replace_in_all_thermal_zone_names/measure.xml +17 -17
  103. data/lib/measures/make_shading_surfaces_based_on_zone_multipliers/LICENSE.md +1 -1
  104. data/lib/measures/make_shading_surfaces_based_on_zone_multipliers/measure.rb +4 -4
  105. data/lib/measures/make_shading_surfaces_based_on_zone_multipliers/measure.xml +21 -21
  106. data/lib/measures/merge_floorspace_js_with_model/LICENSE.md +1 -1
  107. data/lib/measures/merge_floorspace_js_with_model/measure.xml +29 -29
  108. data/lib/measures/merge_spaces_from_external_file/LICENSE.md +1 -1
  109. data/lib/measures/merge_spaces_from_external_file/measure.rb +4 -4
  110. data/lib/measures/merge_spaces_from_external_file/measure.xml +34 -34
  111. data/lib/measures/radiance_measure/LICENSE.md +1 -1
  112. data/lib/measures/radiance_measure/measure.rb +3 -3
  113. data/lib/measures/radiance_measure/measure.xml +29 -29
  114. data/lib/measures/radiant_slab_with_doas/LICENSE.md +1 -1
  115. data/lib/measures/radiant_slab_with_doas/measure.rb +2 -2
  116. data/lib/measures/radiant_slab_with_doas/measure.xml +5 -5
  117. data/lib/measures/replace_geometry_by_story/LICENSE.md +1 -1
  118. data/lib/measures/replace_geometry_by_story/measure.rb +6 -10
  119. data/lib/measures/replace_geometry_by_story/measure.xml +19 -19
  120. data/lib/measures/scale_geometry/LICENSE.md +1 -1
  121. data/lib/measures/scale_geometry/measure.xml +11 -11
  122. data/lib/measures/set_nist_infiltration_correlations/LICENSE.md +7 -21
  123. data/lib/measures/set_nist_infiltration_correlations/measure.rb +2 -32
  124. data/lib/measures/set_nist_infiltration_correlations/measure.xml +5 -5
  125. data/lib/openstudio/model_articulation/version.rb +1 -1
  126. data/openstudio-model-articulation.gemspec +10 -4
  127. metadata +55 -16
  128. data/lib/measures/SimplifyGeometryToSlicedBar/resources/os_lib_geometry.rb +0 -1174
  129. data/lib/measures/SimplifyGeometryToSlicedBar/resources/os_lib_helper_methods.rb +0 -367
  130. data/lib/measures/create_typical_building_from_model/resources/Model.hvac.rb +0 -608
@@ -1,10 +1,10 @@
1
1
  <?xml version="1.0"?>
2
2
  <measure>
3
- <schema_version>3.0</schema_version>
3
+ <schema_version>3.1</schema_version>
4
4
  <name>blended_space_type_from_model</name>
5
5
  <uid>667c2f1f-0927-4dbd-a7be-1087b5c15181</uid>
6
- <version_id>23be7ce9-31dd-42f6-a4a4-ba8f6265e6a7</version_id>
7
- <version_modified>20230602T160045Z</version_modified>
6
+ <version_id>b290a367-77d9-457b-b240-7758d7b8aa00</version_id>
7
+ <version_modified>2024-11-16T23:56:36Z</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>
@@ -73,10 +73,45 @@
73
73
  </attributes>
74
74
  <files>
75
75
  <file>
76
- <filename>example_model.osm</filename>
76
+ <filename>LICENSE.md</filename>
77
+ <filetype>md</filetype>
78
+ <usage_type>license</usage_type>
79
+ <checksum>8696A072</checksum>
80
+ </file>
81
+ <file>
82
+ <filename>README.md</filename>
83
+ <filetype>md</filetype>
84
+ <usage_type>readme</usage_type>
85
+ <checksum>F9666FA7</checksum>
86
+ </file>
87
+ <file>
88
+ <filename>README.md.erb</filename>
89
+ <filetype>erb</filetype>
90
+ <usage_type>readmeerb</usage_type>
91
+ <checksum>703C9964</checksum>
92
+ </file>
93
+ <file>
94
+ <filename>replace_occupied_spaces_with_blended_space_type_design_doc.txt</filename>
95
+ <filetype>txt</filetype>
96
+ <usage_type>doc</usage_type>
97
+ <checksum>C2673B6F</checksum>
98
+ </file>
99
+ <file>
100
+ <version>
101
+ <software_program>OpenStudio</software_program>
102
+ <identifier>2.0.0</identifier>
103
+ <min_compatible>3.8.0</min_compatible>
104
+ </version>
105
+ <filename>measure.rb</filename>
106
+ <filetype>rb</filetype>
107
+ <usage_type>script</usage_type>
108
+ <checksum>A4B86F7D</checksum>
109
+ </file>
110
+ <file>
111
+ <filename>0916_lrg_htl_1_12_0.osm</filename>
77
112
  <filetype>osm</filetype>
78
113
  <usage_type>test</usage_type>
79
- <checksum>C4F35230</checksum>
114
+ <checksum>98A4FB11</checksum>
80
115
  </file>
81
116
  <file>
82
117
  <filename>0922_md_off_1_12_0.osm</filename>
@@ -97,63 +132,28 @@
97
132
  <checksum>F1C3606F</checksum>
98
133
  </file>
99
134
  <file>
100
- <filename>large_hotel_restaurant_from_create_typical.osm</filename>
135
+ <filename>basement_infil_test.osm</filename>
101
136
  <filetype>osm</filetype>
102
137
  <usage_type>test</usage_type>
103
- <checksum>F24EB88F</checksum>
138
+ <checksum>2C87151A</checksum>
104
139
  </file>
105
140
  <file>
106
- <filename>0916_lrg_htl_1_12_0.osm</filename>
141
+ <filename>example_model.osm</filename>
107
142
  <filetype>osm</filetype>
108
143
  <usage_type>test</usage_type>
109
- <checksum>98A4FB11</checksum>
144
+ <checksum>C4F35230</checksum>
110
145
  </file>
111
146
  <file>
112
- <filename>basement_infil_test.osm</filename>
147
+ <filename>large_hotel_restaurant_from_create_typical.osm</filename>
113
148
  <filetype>osm</filetype>
114
149
  <usage_type>test</usage_type>
115
- <checksum>2C87151A</checksum>
116
- </file>
117
- <file>
118
- <filename>README.md</filename>
119
- <filetype>md</filetype>
120
- <usage_type>readme</usage_type>
121
- <checksum>F9666FA7</checksum>
122
- </file>
123
- <file>
124
- <filename>README.md.erb</filename>
125
- <filetype>erb</filetype>
126
- <usage_type>readmeerb</usage_type>
127
- <checksum>703C9964</checksum>
128
- </file>
129
- <file>
130
- <filename>replace_occupied_spaces_with_blended_space_type_design_doc.txt</filename>
131
- <filetype>txt</filetype>
132
- <usage_type>doc</usage_type>
133
- <checksum>C2673B6F</checksum>
134
- </file>
135
- <file>
136
- <filename>LICENSE.md</filename>
137
- <filetype>md</filetype>
138
- <usage_type>license</usage_type>
139
- <checksum>BFFB1AA6</checksum>
150
+ <checksum>F24EB88F</checksum>
140
151
  </file>
141
152
  <file>
142
153
  <filename>measure_test.rb</filename>
143
154
  <filetype>rb</filetype>
144
155
  <usage_type>test</usage_type>
145
- <checksum>75D48CAC</checksum>
146
- </file>
147
- <file>
148
- <version>
149
- <software_program>OpenStudio</software_program>
150
- <identifier>2.0.0</identifier>
151
- <min_compatible>2.8.0</min_compatible>
152
- </version>
153
- <filename>measure.rb</filename>
154
- <filetype>rb</filetype>
155
- <usage_type>script</usage_type>
156
- <checksum>4A8C4B2E</checksum>
156
+ <checksum>CDC63FFD</checksum>
157
157
  </file>
158
158
  </files>
159
159
  </measure>
@@ -1,4 +1,4 @@
1
- OpenStudio(R), Copyright (c) 2008, 2023 Alliance for Sustainable Energy, LLC.
1
+ OpenStudio(R), Copyright (c) 2008, 2024 Alliance for Sustainable Energy, LLC.
2
2
 
3
3
  Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
4
4
 
@@ -1,10 +1,10 @@
1
1
  <?xml version="1.0"?>
2
2
  <measure>
3
- <schema_version>3.0</schema_version>
3
+ <schema_version>3.1</schema_version>
4
4
  <name>clone_building_from_external_model</name>
5
5
  <uid>09711168-01a7-4abc-b710-b49d59d927d8</uid>
6
- <version_id>66ee546c-8b97-4caa-a410-fe2a536b70e6</version_id>
7
- <version_modified>20230602T160043Z</version_modified>
6
+ <version_id>02cf3e6a-783e-428e-91c6-ae7dcc95f84c</version_id>
7
+ <version_modified>2024-11-16T23:56:35Z</version_modified>
8
8
  <xml_checksum>AFECFDDF</xml_checksum>
9
9
  <class_name>CloneBuildingFromExternalModel</class_name>
10
10
  <display_name>Clone Building From External Model</display_name>
@@ -64,22 +64,10 @@
64
64
  </attributes>
65
65
  <files>
66
66
  <file>
67
- <filename>example_model.osm</filename>
68
- <filetype>osm</filetype>
69
- <usage_type>test</usage_type>
70
- <checksum>C4F35230</checksum>
71
- </file>
72
- <file>
73
- <filename>AedgK12HvacDualDuctDoas_ASHRAE 169-2006-5B.osm</filename>
74
- <filetype>osm</filetype>
75
- <usage_type>test</usage_type>
76
- <checksum>84A5375F</checksum>
77
- </file>
78
- <file>
79
- <filename>measure_test.osw</filename>
80
- <filetype>osw</filetype>
81
- <usage_type>test</usage_type>
82
- <checksum>F5FABCCF</checksum>
67
+ <filename>LICENSE.md</filename>
68
+ <filetype>md</filetype>
69
+ <usage_type>license</usage_type>
70
+ <checksum>8696A072</checksum>
83
71
  </file>
84
72
  <file>
85
73
  <filename>README.md</filename>
@@ -105,10 +93,10 @@
105
93
  <checksum>C11C122D</checksum>
106
94
  </file>
107
95
  <file>
108
- <filename>LICENSE.md</filename>
109
- <filetype>md</filetype>
110
- <usage_type>license</usage_type>
111
- <checksum>BFFB1AA6</checksum>
96
+ <filename>AedgK12HvacDualDuctDoas_ASHRAE 169-2006-5B.osm</filename>
97
+ <filetype>osm</filetype>
98
+ <usage_type>test</usage_type>
99
+ <checksum>84A5375F</checksum>
112
100
  </file>
113
101
  <file>
114
102
  <filename>clone_building_from_external_model_test.rb</filename>
@@ -116,5 +104,17 @@
116
104
  <usage_type>test</usage_type>
117
105
  <checksum>E4066B39</checksum>
118
106
  </file>
107
+ <file>
108
+ <filename>example_model.osm</filename>
109
+ <filetype>osm</filetype>
110
+ <usage_type>test</usage_type>
111
+ <checksum>C4F35230</checksum>
112
+ </file>
113
+ <file>
114
+ <filename>measure_test.osw</filename>
115
+ <filetype>osw</filetype>
116
+ <usage_type>test</usage_type>
117
+ <checksum>F5FABCCF</checksum>
118
+ </file>
119
119
  </files>
120
120
  </measure>
@@ -1,4 +1,4 @@
1
- OpenStudio(R), Copyright (c) 2008, 2023 Alliance for Sustainable Energy, LLC.
1
+ OpenStudio(R), Copyright (c) 2008, 2024 Alliance for Sustainable Energy, LLC.
2
2
 
3
3
  Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
4
4
 
@@ -103,7 +103,7 @@ class CreateDOEPrototypeBuilding < OpenStudio::Measure::ModelMeasure
103
103
  # Drop down selector for Canadian weather files.
104
104
  epw_files = OpenStudio::StringVector.new
105
105
  epw_files << 'Not Applicable'
106
- BTAP::Environment.get_canadian_weather_file_names.each { |file| epw_files << file }
106
+ #BTAP::Environment.get_canadian_weather_file_names.each { |file| epw_files << file }
107
107
  epw_file = OpenStudio::Measure::OSArgument.makeChoiceArgument('epw_file', epw_files, true)
108
108
  epw_file.setDisplayName('Climate File (NECB only)')
109
109
  epw_file.setDefaultValue('Not Applicable')