openstudio-standards 0.8.5 → 0.8.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (174) hide show
  1. checksums.yaml +4 -4
  2. data/data/standards/test_performance_expected_dd_results.csv +90 -90
  3. data/lib/openstudio-standards/btap/activity.rb +858 -61
  4. data/lib/openstudio-standards/btap/attributes.rb +297 -103
  5. data/lib/openstudio-standards/btap/bridging.rb +1335 -593
  6. data/lib/openstudio-standards/btap/btap.rb +60 -181
  7. data/lib/openstudio-standards/btap/carbon/btap_carbon.rb +199 -142
  8. data/lib/openstudio-standards/btap/common/constructions.json +1275 -0
  9. data/lib/openstudio-standards/btap/common/costs.csv +1969 -0
  10. data/lib/openstudio-standards/btap/common/costs_local_factors.csv +2315 -0
  11. data/lib/openstudio-standards/btap/common/materials_glazing.csv +61 -0
  12. data/lib/openstudio-standards/btap/{common_resources → common}/materials_hvac.csv +1685 -1685
  13. data/lib/openstudio-standards/btap/{common_resources → common}/materials_lighting.csv +266 -266
  14. data/lib/openstudio-standards/btap/common/materials_opaque.csv +214 -0
  15. data/lib/openstudio-standards/btap/common/necb_building_types.csv +35 -0
  16. data/lib/openstudio-standards/btap/common/necb_space_types.csv +110 -0
  17. data/lib/openstudio-standards/btap/common/thermal_bridging.csv +73 -0
  18. data/lib/openstudio-standards/btap/costing/btap_costing.rb +346 -429
  19. data/lib/openstudio-standards/btap/costing/database.rb +104 -0
  20. data/lib/openstudio-standards/btap/costing/daylighting_sensor_control_costing.rb +356 -344
  21. data/lib/openstudio-standards/btap/costing/dcv_costing.rb +282 -296
  22. data/lib/openstudio-standards/btap/costing/envelope_costing.rb +179 -192
  23. data/lib/openstudio-standards/btap/costing/heating_cooling_costing.rb +2477 -2316
  24. data/lib/openstudio-standards/btap/costing/led_lighting_costing.rb +127 -142
  25. data/lib/openstudio-standards/btap/costing/lighting_costing.rb +216 -198
  26. data/lib/openstudio-standards/btap/costing/nv_costing.rb +522 -523
  27. data/lib/openstudio-standards/btap/costing/pv_ground_costing.rb +649 -649
  28. data/lib/openstudio-standards/btap/costing/shw_costing.rb +626 -625
  29. data/lib/openstudio-standards/btap/costing/thermal_bridging_costing.rb +72 -0
  30. data/lib/openstudio-standards/btap/costing/ventilation_costing.rb +2363 -2361
  31. data/lib/openstudio-standards/btap/deprecated.rb +1033 -0
  32. data/lib/openstudio-standards/btap/envelope.rb +313 -572
  33. data/lib/openstudio-standards/btap/fileio.rb +152 -1070
  34. data/lib/openstudio-standards/btap/geometry.rb +486 -766
  35. data/lib/openstudio-standards/btap/linear_regression.rb +130 -0
  36. data/lib/openstudio-standards/btap/paths.rb +46 -0
  37. data/lib/openstudio-standards/btap/qaqc/analysis.rb +163 -0
  38. data/lib/openstudio-standards/btap/qaqc/data.rb +2293 -0
  39. data/lib/openstudio-standards/btap/qaqc/datapoint.rb +641 -0
  40. data/lib/openstudio-standards/btap/schedules.rb +11 -611
  41. data/lib/openstudio-standards/btap/structure.rb +574 -189
  42. data/lib/openstudio-standards/constructions/materials/information.rb +1 -1
  43. data/lib/openstudio-standards/create_typical/create_typical.rb +1 -1
  44. data/lib/openstudio-standards/exterior_lighting/create.rb +135 -85
  45. data/lib/openstudio-standards/exterior_lighting/data/typical_exterior_lighting.json +20 -0
  46. data/lib/openstudio-standards/exterior_lighting/information.rb +23 -2
  47. data/lib/openstudio-standards/geometry/create.rb +7 -3
  48. data/lib/openstudio-standards/prototypes/ashrae_90_1/ashrae_90_1_2016/ashrae_90_1_2016.Model.rb +3 -2
  49. data/lib/openstudio-standards/prototypes/ashrae_90_1/ashrae_90_1_2019/ashrae_90_1_2019.Model.rb +3 -2
  50. data/lib/openstudio-standards/prototypes/common/data/thermostat_schedule_lookup.json +84 -84
  51. data/lib/openstudio-standards/prototypes/common/objects/Prototype.hvac_systems.rb +4 -4
  52. data/lib/openstudio-standards/refrigeration/create_walkin.rb +45 -5
  53. data/lib/openstudio-standards/refrigeration/data/refrigerated_walkins.csv +75 -75
  54. data/lib/openstudio-standards/schedules/parametric.rb +6 -0
  55. data/lib/openstudio-standards/service_water_heating/create_typical.rb +10 -3
  56. data/lib/openstudio-standards/service_water_heating/create_water_heating_loop.rb +30 -14
  57. data/lib/openstudio-standards/service_water_heating/information.rb +4 -1
  58. data/lib/openstudio-standards/sql_file/unmet_hours.rb +2 -1
  59. data/lib/openstudio-standards/standards/Standards.CoilCoolingDXSingleSpeed.rb +3 -1
  60. data/lib/openstudio-standards/standards/Standards.CoilHeatingDXSingleSpeed.rb +3 -1
  61. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2004/data/ashrae_90_1_2004.boilers.json +12 -0
  62. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2004/data/ashrae_90_1_2004.construction_properties.json +18432 -3072
  63. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2007/data/ashrae_90_1_2007.boilers.json +26 -0
  64. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2007/data/ashrae_90_1_2007.construction_properties.json +8532 -1422
  65. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2010/data/ashrae_90_1_2010.boilers.json +26 -0
  66. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2010/data/ashrae_90_1_2010.construction_properties.json +8532 -1422
  67. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2013/data/ashrae_90_1_2013.boilers.json +16 -0
  68. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2013/data/ashrae_90_1_2013.computer_room_acs.json +30 -30
  69. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2013/data/ashrae_90_1_2013.construction_properties.json +7560 -1260
  70. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2016/ashrae_90_1_2016.PumpVariableSpeed.rb +1 -2
  71. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2016/data/ashrae_90_1_2016.boilers.json +16 -0
  72. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2016/data/ashrae_90_1_2016.construction_properties.json +7560 -1260
  73. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2019/ashrae_90_1_2019.AirLoopHVAC.rb +3 -3
  74. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2019/ashrae_90_1_2019.PumpVariableSpeed.rb +1 -2
  75. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2019/data/ashrae_90_1_2019.boilers.json +22 -0
  76. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2019/data/ashrae_90_1_2019.construction_properties.json +7236 -1206
  77. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2019/data/ashrae_90_1_2019.furnaces.json +223 -19
  78. data/lib/openstudio-standards/standards/ashrae_90_1/data/ashrae_90_1.schedules.json +37 -1
  79. data/lib/openstudio-standards/standards/ashrae_90_1_prm/ashrae_90_1_prm_2019/data/ashrae_90_1_prm_2019.boilers.json +3 -0
  80. data/lib/openstudio-standards/standards/ashrae_90_1_prm/ashrae_90_1_prm_2019/data/ashrae_90_1_prm_2019.construction_properties.json +6900 -1150
  81. data/lib/openstudio-standards/standards/cbes/data/cbes.schedules.json +1 -1
  82. data/lib/openstudio-standards/standards/deer/data/deer.schedules.json +1 -1
  83. data/lib/openstudio-standards/standards/necb/BTAP1980TO2010/data/surface_thermal_transmittance.json +76 -40
  84. data/lib/openstudio-standards/standards/necb/BTAPPRE1980/data/surface_thermal_transmittance.json +76 -40
  85. data/lib/openstudio-standards/standards/necb/ECMS/hvac_systems.rb +6 -4
  86. data/lib/openstudio-standards/standards/necb/NECB2011/NECB2011_QAQC.json +2988 -0
  87. data/lib/openstudio-standards/standards/necb/NECB2011/autozone.rb +25 -3
  88. data/lib/openstudio-standards/standards/necb/NECB2011/building_envelope.rb +672 -534
  89. data/lib/openstudio-standards/standards/necb/NECB2011/data/geometry/Hospital.osm +1791 -1792
  90. data/lib/openstudio-standards/standards/necb/NECB2011/data/geometry/LEEPMultiTower.osm +7 -1
  91. data/lib/openstudio-standards/standards/necb/NECB2011/data/geometry/LEEPTownHouse.osm +7 -1
  92. data/lib/openstudio-standards/standards/necb/NECB2011/data/geometry/LargeHotel.osm +5 -6
  93. data/lib/openstudio-standards/standards/necb/NECB2011/data/geometry/LargeOffice.osm +8 -9
  94. data/lib/openstudio-standards/standards/necb/NECB2011/data/geometry/NorthernEducation.osm +10 -4
  95. data/lib/openstudio-standards/standards/necb/NECB2011/data/geometry/NorthernHealthCare.osm +14 -15
  96. data/lib/openstudio-standards/standards/necb/NECB2011/data/geometry/Outpatient.osm +7 -1
  97. data/lib/openstudio-standards/standards/necb/NECB2011/data/surface_thermal_transmittance.json +76 -40
  98. data/lib/openstudio-standards/standards/necb/NECB2011/hvac_systems.rb +14 -6
  99. data/lib/openstudio-standards/standards/necb/NECB2011/necb_2011.rb +542 -130
  100. data/lib/openstudio-standards/standards/necb/NECB2011/qaqc/necb_qaqc.rb +30 -63
  101. data/lib/openstudio-standards/standards/necb/NECB2011/service_water_heating.rb +7 -2
  102. data/lib/openstudio-standards/standards/necb/NECB2015/data/surface_thermal_transmittance.json +90 -0
  103. data/lib/openstudio-standards/standards/necb/NECB2015/necb_2015.rb +8 -6
  104. data/lib/openstudio-standards/standards/necb/NECB2017/data/surface_thermal_transmittance.json +76 -40
  105. data/lib/openstudio-standards/standards/necb/NECB2017/necb_2017.rb +2 -1
  106. data/lib/openstudio-standards/standards/necb/NECB2020/building_envelope.rb +0 -117
  107. data/lib/openstudio-standards/standards/necb/NECB2020/data/surface_thermal_transmittance.json +76 -45
  108. data/lib/openstudio-standards/standards/necb/NECB2020/necb_2020.rb +218 -0
  109. data/lib/openstudio-standards/standards/necb/common/construction_defaults.osm +12 -7
  110. data/lib/openstudio-standards/standards/standard.rb +1 -1
  111. data/lib/openstudio-standards/version.rb +1 -1
  112. data/lib/openstudio-standards.rb +9 -4
  113. metadata +59 -66
  114. data/data/inventory/thermal_bridging.csv +0 -90
  115. data/data/standards/OpenStudio_Standards-ashrae_90_1-ALL-comstock(space_types).xlsx +0 -0
  116. data/data/standards/openstudio_standards_duplicates_log.csv +0 -7962
  117. data/lib/openstudio-standards/btap/NECB_building_types.csv +0 -35
  118. data/lib/openstudio-standards/btap/NECB_space_types.csv +0 -109
  119. data/lib/openstudio-standards/btap/WeatherData1.json +0 -2110
  120. data/lib/openstudio-standards/btap/WeatherData1.xlsx +0 -0
  121. data/lib/openstudio-standards/btap/btap_result.rb +0 -1144
  122. data/lib/openstudio-standards/btap/btap_test_helper.rb +0 -86
  123. data/lib/openstudio-standards/btap/common_paths.rb +0 -81
  124. data/lib/openstudio-standards/btap/common_resources/ConstructionProperties.csv +0 -52
  125. data/lib/openstudio-standards/btap/common_resources/Constructions.csv +0 -37
  126. data/lib/openstudio-standards/btap/common_resources/construction_sets.csv +0 -1270
  127. data/lib/openstudio-standards/btap/common_resources/constructions_glazing.csv +0 -121
  128. data/lib/openstudio-standards/btap/common_resources/constructions_opaque.csv +0 -2256
  129. data/lib/openstudio-standards/btap/common_resources/costs.csv +0 -1897
  130. data/lib/openstudio-standards/btap/common_resources/costs_local_factors.csv +0 -2315
  131. data/lib/openstudio-standards/btap/common_resources/materials_glazing.csv +0 -35
  132. data/lib/openstudio-standards/btap/common_resources/materials_opaque.csv +0 -164
  133. data/lib/openstudio-standards/btap/costing/btap_measure_helper.rb +0 -359
  134. data/lib/openstudio-standards/btap/costing/btap_workflow.rb +0 -117
  135. data/lib/openstudio-standards/btap/costing/copy_test_results_files_to_expected_results.rb +0 -11
  136. data/lib/openstudio-standards/btap/costing/cost_building_from_file.rb +0 -136
  137. data/lib/openstudio-standards/btap/costing/costing_database_wrapper.rb +0 -173
  138. data/lib/openstudio-standards/btap/costing/dummy.epw +0 -8768
  139. data/lib/openstudio-standards/btap/costing/dummy.osm +0 -5320
  140. data/lib/openstudio-standards/btap/costing/neb_end_use_prices.csv +0 -42
  141. data/lib/openstudio-standards/btap/costing/necb_2011_spacetype_info.csv +0 -225
  142. data/lib/openstudio-standards/btap/costing/necb_reference_runs.csv +0 -28705
  143. data/lib/openstudio-standards/btap/costing/parallel_tests.rb +0 -92
  144. data/lib/openstudio-standards/btap/costing/test_list.txt +0 -15
  145. data/lib/openstudio-standards/btap/costing/test_run_all_test_locally.rb +0 -27
  146. data/lib/openstudio-standards/btap/costing/test_run_costing_tests.rb +0 -80
  147. data/lib/openstudio-standards/btap/necb_2011_spacetype_info.csv +0 -225
  148. data/lib/openstudio-standards/btap/utilities/Add_template_field_to_json.rb +0 -22
  149. data/lib/openstudio-standards/btap/utilities/convert_surfaces_to_adiabatic_necb_8426.rb +0 -204
  150. data/lib/openstudio-standards/btap/utilities/generate_space_types.rb +0 -8
  151. data/lib/openstudio-standards/btap/utilities/necb_to_epw_map.rb +0 -50
  152. data/lib/openstudio-standards/btap/utilities/os_sim_extract.rb +0 -48
  153. data/lib/openstudio-standards/btap/utilities/rename_surfaces.rb +0 -24
  154. data/lib/openstudio-standards/btap/utilities/round_surf_coords.rb +0 -32
  155. data/lib/openstudio-standards/btap/utilities/sched_create.rb +0 -145
  156. data/lib/openstudio-standards/btap/utilities/set_mult_to_adiabatic.rb +0 -53
  157. data/lib/openstudio-standards/btap/utilities/space_type.rb +0 -78
  158. data/lib/openstudio-standards/btap/utilities/weatherData1_xlsx_to_json.rb +0 -56
  159. data/lib/openstudio-standards/btap/vintagizer.rb +0 -161
  160. data/lib/openstudio-standards/btap/visualization.rb +0 -72
  161. data/lib/openstudio-standards/standards/necb/NECB2011/data/necb_2011_spacetype_info.csv +0 -225
  162. data/lib/openstudio-standards/standards/necb/common/btap_analysis.rb +0 -79
  163. data/lib/openstudio-standards/standards/necb/common/btap_data.rb +0 -2656
  164. data/lib/openstudio-standards/standards/necb/common/btap_datapoint.rb +0 -653
  165. data/lib/openstudio-standards/standards/necb/common/necb_reference_runs.csv +0 -28705
  166. data/lib/openstudio-standards/standards/necb/common/utility_pricing_2025-02-20.csv +0 -92
  167. /data/lib/openstudio-standards/btap/{common_resources → common}/carbon_frame.csv +0 -0
  168. /data/lib/openstudio-standards/btap/{common_resources → common}/carbon_glazing.csv +0 -0
  169. /data/lib/openstudio-standards/btap/{common_resources → common}/carbon_opaque.csv +0 -0
  170. /data/lib/openstudio-standards/btap/{common_resources → common}/hvac_vent_ahu.csv +0 -0
  171. /data/lib/openstudio-standards/btap/{common_resources → common}/lighting.csv +0 -0
  172. /data/lib/openstudio-standards/btap/{common_resources → common}/lighting_sets.csv +0 -0
  173. /data/lib/openstudio-standards/btap/{common_resources → common}/locations.csv +0 -0
  174. /data/lib/openstudio-standards/btap/{costing → common}/mech_sizing.json +0 -0
@@ -1234,6 +1234,13 @@ OS:Building,
1234
1234
  , !- Relocatable
1235
1235
  ; !- Nominal Floor to Ceiling Height {m}
1236
1236
 
1237
+ OS:AdditionalProperties,
1238
+ {c23ded4b-6f18-4e30-b6db-cc00e1198751}, !- Handle
1239
+ {161a51f0-9700-4aa1-8ba8-f2513d0eecae}, !- Object Name
1240
+ btap_slab_perimeter_m2, !- Feature Name 1
1241
+ Double, !- Feature Data Type 1
1242
+ 380.23; !- Feature Value 1
1243
+
1237
1244
  OS:Rendering:Color,
1238
1245
  {15265381-e5e1-46ed-aa83-2328823b2654}, !- Handle
1239
1246
  Rendering Color 9, !- Name
@@ -49129,4 +49136,3 @@ OS:Rendering:Color,
49129
49136
  178, !- Rendering Red Value
49130
49137
  34, !- Rendering Green Value
49131
49138
  34; !- Rendering Blue Value
49132
-
@@ -19301,6 +19301,13 @@ OS:Building,
19301
19301
  , !- Relocatable
19302
19302
  ; !- Nominal Floor to Ceiling Height {m}
19303
19303
 
19304
+ OS:AdditionalProperties,
19305
+ {c23ded4b-6f18-4e30-b6db-cc00e1198751}, !- Handle
19306
+ {f084eff1-38e9-4be3-8e15-08183ba5242e}, !- Object Name
19307
+ btap_slab_perimeter_m2, !- Feature Name 1
19308
+ Double, !- Feature Data Type 1
19309
+ 237.41; !- Feature Value 1
19310
+
19304
19311
  OS:Rendering:Color,
19305
19312
  {58f21443-17c4-485b-acf9-fde8b6daf60f}, !- Handle
19306
19313
  Rendering Color 1, !- Name
@@ -43358,4 +43365,3 @@ OS:StandardsInformation:Construction,
43358
43365
  OS:StandardsInformation:Material,
43359
43366
  {99535bda-b3d3-43ee-bf69-b5d76c0d1e40}, !- Handle
43360
43367
  {a406abaa-5b69-4c39-95c4-ddf1da0c273b}; !- Material Name
43361
-
@@ -1296,7 +1296,7 @@ OS:Surface,
1296
1296
  Floor, !- Surface Type
1297
1297
  , !- Construction Name
1298
1298
  {e8215437-4d6e-4194-81a3-8e59d7aab856}, !- Space Name
1299
- OtherSideCoefficients, !- Outside Boundary Condition
1299
+ Ground, !- Outside Boundary Condition
1300
1300
  , !- Outside Boundary Condition Object
1301
1301
  NoSun, !- Sun Exposure
1302
1302
  NoWind, !- Wind Exposure
@@ -2206,7 +2206,7 @@ OS:Surface,
2206
2206
  Wall, !- Surface Type
2207
2207
  , !- Construction Name
2208
2208
  {e8215437-4d6e-4194-81a3-8e59d7aab856}, !- Space Name
2209
- OtherSideCoefficients, !- Outside Boundary Condition
2209
+ Ground, !- Outside Boundary Condition
2210
2210
  , !- Outside Boundary Condition Object
2211
2211
  NoSun, !- Sun Exposure
2212
2212
  NoWind, !- Wind Exposure
@@ -2730,7 +2730,7 @@ OS:Surface,
2730
2730
  Wall, !- Surface Type
2731
2731
  , !- Construction Name
2732
2732
  {e8215437-4d6e-4194-81a3-8e59d7aab856}, !- Space Name
2733
- OtherSideCoefficients, !- Outside Boundary Condition
2733
+ Ground, !- Outside Boundary Condition
2734
2734
  , !- Outside Boundary Condition Object
2735
2735
  NoSun, !- Sun Exposure
2736
2736
  NoWind, !- Wind Exposure
@@ -2798,7 +2798,7 @@ OS:Surface,
2798
2798
  Wall, !- Surface Type
2799
2799
  , !- Construction Name
2800
2800
  {e8215437-4d6e-4194-81a3-8e59d7aab856}, !- Space Name
2801
- OtherSideCoefficients, !- Outside Boundary Condition
2801
+ Ground, !- Outside Boundary Condition
2802
2802
  , !- Outside Boundary Condition Object
2803
2803
  NoSun, !- Sun Exposure
2804
2804
  NoWind, !- Wind Exposure
@@ -3952,7 +3952,7 @@ OS:Surface,
3952
3952
  Wall, !- Surface Type
3953
3953
  , !- Construction Name
3954
3954
  {e8215437-4d6e-4194-81a3-8e59d7aab856}, !- Space Name
3955
- OtherSideCoefficients, !- Outside Boundary Condition
3955
+ Ground, !- Outside Boundary Condition
3956
3956
  , !- Outside Boundary Condition Object
3957
3957
  NoSun, !- Sun Exposure
3958
3958
  NoWind, !- Wind Exposure
@@ -17175,4 +17175,3 @@ OS:Surface,
17175
17175
  44.808, 9.449, 16.152, !- X,Y,Z Vertex 2 {m}
17176
17176
  51.514, 9.449, 16.152, !- X,Y,Z Vertex 3 {m}
17177
17177
  51.514, 9.449, 19.2; !- X,Y,Z Vertex 4 {m}
17178
-
@@ -427,7 +427,7 @@ OS:Surface,
427
427
  Wall, !- Surface Type
428
428
  , !- Construction Name
429
429
  {5eccad29-dadd-43c0-a26c-31e00e7702be}, !- Space Name
430
- OtherSideCoefficients, !- Outside Boundary Condition
430
+ Ground, !- Outside Boundary Condition
431
431
  , !- Outside Boundary Condition Object
432
432
  NoSun, !- Sun Exposure
433
433
  NoWind, !- Wind Exposure
@@ -1184,7 +1184,7 @@ OS:Surface,
1184
1184
  Floor, !- Surface Type
1185
1185
  , !- Construction Name
1186
1186
  {5eccad29-dadd-43c0-a26c-31e00e7702be}, !- Space Name
1187
- OtherSideCoefficients, !- Outside Boundary Condition
1187
+ Ground, !- Outside Boundary Condition
1188
1188
  , !- Outside Boundary Condition Object
1189
1189
  NoSun, !- Sun Exposure
1190
1190
  NoWind, !- Wind Exposure
@@ -1415,7 +1415,7 @@ OS:Surface,
1415
1415
  Floor, !- Surface Type
1416
1416
  , !- Construction Name
1417
1417
  {c7138cc2-589b-4e88-aa9b-6561b087ce28}, !- Space Name
1418
- OtherSideCoefficients, !- Outside Boundary Condition
1418
+ Ground, !- Outside Boundary Condition
1419
1419
  , !- Outside Boundary Condition Object
1420
1420
  NoSun, !- Sun Exposure
1421
1421
  NoWind, !- Wind Exposure
@@ -2272,7 +2272,7 @@ OS:Surface,
2272
2272
  Wall, !- Surface Type
2273
2273
  , !- Construction Name
2274
2274
  {5eccad29-dadd-43c0-a26c-31e00e7702be}, !- Space Name
2275
- OtherSideCoefficients, !- Outside Boundary Condition
2275
+ Ground, !- Outside Boundary Condition
2276
2276
  , !- Outside Boundary Condition Object
2277
2277
  NoSun, !- Sun Exposure
2278
2278
  NoWind, !- Wind Exposure
@@ -2391,7 +2391,7 @@ OS:Surface,
2391
2391
  Wall, !- Surface Type
2392
2392
  , !- Construction Name
2393
2393
  {c7138cc2-589b-4e88-aa9b-6561b087ce28}, !- Space Name
2394
- OtherSideCoefficients, !- Outside Boundary Condition
2394
+ Ground, !- Outside Boundary Condition
2395
2395
  , !- Outside Boundary Condition Object
2396
2396
  NoSun, !- Sun Exposure
2397
2397
  NoWind, !- Wind Exposure
@@ -2437,7 +2437,7 @@ OS:Surface,
2437
2437
  Wall, !- Surface Type
2438
2438
  , !- Construction Name
2439
2439
  {c7138cc2-589b-4e88-aa9b-6561b087ce28}, !- Space Name
2440
- OtherSideCoefficients, !- Outside Boundary Condition
2440
+ Ground, !- Outside Boundary Condition
2441
2441
  , !- Outside Boundary Condition Object
2442
2442
  NoSun, !- Sun Exposure
2443
2443
  NoWind, !- Wind Exposure
@@ -2964,7 +2964,7 @@ OS:Surface,
2964
2964
  Wall, !- Surface Type
2965
2965
  , !- Construction Name
2966
2966
  {5eccad29-dadd-43c0-a26c-31e00e7702be}, !- Space Name
2967
- OtherSideCoefficients, !- Outside Boundary Condition
2967
+ Ground, !- Outside Boundary Condition
2968
2968
  , !- Outside Boundary Condition Object
2969
2969
  NoSun, !- Sun Exposure
2970
2970
  NoWind, !- Wind Exposure
@@ -3083,7 +3083,7 @@ OS:Surface,
3083
3083
  Wall, !- Surface Type
3084
3084
  , !- Construction Name
3085
3085
  {c7138cc2-589b-4e88-aa9b-6561b087ce28}, !- Space Name
3086
- OtherSideCoefficients, !- Outside Boundary Condition
3086
+ Ground, !- Outside Boundary Condition
3087
3087
  , !- Outside Boundary Condition Object
3088
3088
  NoSun, !- Sun Exposure
3089
3089
  NoWind, !- Wind Exposure
@@ -5759,4 +5759,3 @@ OS:Rendering:Color,
5759
5759
  255, !- Rendering Red Value
5760
5760
  255, !- Rendering Green Value
5761
5761
  255; !- Rendering Blue Value
5762
-
@@ -16481,7 +16481,7 @@ OS:SpaceType,
16481
16481
  {491d19cf-dff0-4d86-8a19-507575dab903}, !- Design Specification Outdoor Air Object Name
16482
16482
  , !- Standards Template
16483
16483
  Space Function, !- Standards Building Type
16484
- Hospital - medical supply - occsens; !- Standards Space Type
16484
+ Hospital - medical supply; !- Standards Space Type
16485
16485
 
16486
16486
  OS:People:Definition,
16487
16487
  {c27095c5-b216-4f34-82e8-cedfbcd3cf29}, !- Handle
@@ -31387,14 +31387,21 @@ OS:Building,
31387
31387
  , !- Space Type Name
31388
31388
  , !- Default Construction Set Name
31389
31389
  , !- Default Schedule Set Name
31390
- , !- Standards Number of Stories
31391
- , !- Standards Number of Above Ground Stories
31390
+ 2, !- Standards Number of Stories
31391
+ 1, !- Standards Number of Above Ground Stories
31392
31392
  , !- Standards Template
31393
31393
  , !- Standards Building Type
31394
31394
  , !- Standards Number of Living Units
31395
31395
  , !- Relocatable
31396
31396
  ; !- Nominal Floor to Ceiling Height {m}
31397
31397
 
31398
+ OS:AdditionalProperties,
31399
+ {a1022753-85d4-4c39-a5d0-ec702109142f}, !- Handle
31400
+ {4d4f3433-08b7-43cb-8ef9-8580354cc1d7}, !- Object Name
31401
+ btap_building_activity, !- Feature Name 1
31402
+ String, !- Feature Data Type 1
31403
+ school; !- Feature Value 1
31404
+
31398
31405
  OS:Rendering:Color,
31399
31406
  {ea304b6c-563b-4617-b4ff-6c4c750cfcfb}, !- Handle
31400
31407
  Rendering Color 1, !- Name
@@ -47584,4 +47591,3 @@ OS:DefaultSubSurfaceConstructions,
47584
47591
  , !- Skylight Construction Name
47585
47592
  , !- Tubular Daylight Dome Construction Name
47586
47593
  ; !- Tubular Daylight Diffuser Construction Name
47587
-
@@ -16465,18 +16465,18 @@ OS:ThermostatSetpoint:DualSetpoint,
16465
16465
 
16466
16466
  OS:SpaceType,
16467
16467
  {65c91c86-290b-463e-acf9-26aff7a0c162}, !- Handle
16468
- Space Function Hospital - medical supply - occsens, !- Name
16468
+ Space Function Hospital - medical supply, !- Name
16469
16469
  , !- Default Construction Set Name
16470
16470
  {5d0b457b-16fc-4f0d-9172-cd993aa82222}, !- Default Schedule Set Name
16471
16471
  {b1f71afa-b694-40e3-b5d2-16bb24aca85b}, !- Group Rendering Name
16472
16472
  {491d19cf-dff0-4d86-8a19-507575dab903}, !- Design Specification Outdoor Air Object Name
16473
16473
  , !- Standards Template
16474
16474
  Space Function, !- Standards Building Type
16475
- Hospital - medical supply - occsens; !- Standards Space Type
16475
+ Hospital - medical supply; !- Standards Space Type
16476
16476
 
16477
16477
  OS:People:Definition,
16478
16478
  {c27095c5-b216-4f34-82e8-cedfbcd3cf29}, !- Handle
16479
- Space Function Hospital - medical supply - occsens People Definition, !- Name
16479
+ Space Function Hospital - medical supply People Definition, !- Name
16480
16480
  People/Area, !- Number of People Calculation Method
16481
16481
  , !- Number of People {people}
16482
16482
  0.0500521834377002, !- People per Space Floor Area {person/m2}
@@ -16485,7 +16485,7 @@ OS:People:Definition,
16485
16485
 
16486
16486
  OS:People,
16487
16487
  {caf4b67b-c4fa-45be-9862-5b6e56d0578f}, !- Handle
16488
- Space Function Hospital - medical supply - occsens People, !- Name
16488
+ Space Function Hospital - medical supply People, !- Name
16489
16489
  {c27095c5-b216-4f34-82e8-cedfbcd3cf29}, !- People Definition Name
16490
16490
  {65c91c86-290b-463e-acf9-26aff7a0c162}, !- Space or SpaceType Name
16491
16491
  , !- Number of People Schedule Name
@@ -16498,7 +16498,7 @@ OS:People,
16498
16498
 
16499
16499
  OS:Lights:Definition,
16500
16500
  {702ffadd-fc9e-40fc-a678-4f8c2666f08e}, !- Handle
16501
- Space Function Hospital - medical supply - occsens Lights Definition, !- Name
16501
+ Space Function Hospital - medical supply Lights Definition, !- Name
16502
16502
  Watts/Area, !- Design Level Calculation Method
16503
16503
  , !- Lighting Level {W}
16504
16504
  12.3298973854892, !- Watts per Space Floor Area {W/m2}
@@ -16508,7 +16508,7 @@ OS:Lights:Definition,
16508
16508
 
16509
16509
  OS:Lights,
16510
16510
  {cfd1d303-604f-4879-a680-813db8cea571}, !- Handle
16511
- Space Function Hospital - medical supply - occsens Lights, !- Name
16511
+ Space Function Hospital - medical supply Lights, !- Name
16512
16512
  {702ffadd-fc9e-40fc-a678-4f8c2666f08e}, !- Lights Definition Name
16513
16513
  {65c91c86-290b-463e-acf9-26aff7a0c162}, !- Space or SpaceType Name
16514
16514
  , !- Schedule Name
@@ -16518,7 +16518,7 @@ OS:Lights,
16518
16518
 
16519
16519
  OS:ElectricEquipment:Definition,
16520
16520
  {8564d112-924c-4a7b-8702-f537dd902a6e}, !- Handle
16521
- Space Function Hospital - medical supply - occsens Elec Equip Definition, !- Name
16521
+ Space Function Hospital - medical supply Elec Equip Definition, !- Name
16522
16522
  Watts/Area, !- Design Level Calculation Method
16523
16523
  , !- Design Level {W}
16524
16524
  0.999991679497248, !- Watts per Space Floor Area {W/m2}
@@ -16528,7 +16528,7 @@ OS:ElectricEquipment:Definition,
16528
16528
 
16529
16529
  OS:ElectricEquipment,
16530
16530
  {f60ffd00-9169-49d8-ae37-c06e0770a700}, !- Handle
16531
- Space Function Hospital - medical supply - occsens Elec Equip, !- Name
16531
+ Space Function Hospital - medical supply Elec Equip, !- Name
16532
16532
  {8564d112-924c-4a7b-8702-f537dd902a6e}, !- Electric Equipment Definition Name
16533
16533
  {65c91c86-290b-463e-acf9-26aff7a0c162}, !- Space or SpaceType Name
16534
16534
  , !- Schedule Name
@@ -16537,7 +16537,7 @@ OS:ElectricEquipment,
16537
16537
 
16538
16538
  OS:DesignSpecification:OutdoorAir,
16539
16539
  {491d19cf-dff0-4d86-8a19-507575dab903}, !- Handle
16540
- Space Function Hospital - medical supply - occsens Ventilation, !- Name
16540
+ Space Function Hospital - medical supply Ventilation, !- Name
16541
16541
  Sum, !- Outdoor Air Method
16542
16542
  , !- Outdoor Air Flow per Person {m3/s-person}
16543
16543
  0.001524, !- Outdoor Air Flow per Floor Area {m3/s-m2}
@@ -16547,7 +16547,7 @@ OS:DesignSpecification:OutdoorAir,
16547
16547
 
16548
16548
  OS:SpaceInfiltration:DesignFlowRate,
16549
16549
  {04f19dc4-91a9-455f-b162-369ed0503472}, !- Handle
16550
- Space Function Hospital - medical supply - occsens Infiltration, !- Name
16550
+ Space Function Hospital - medical supply Infiltration, !- Name
16551
16551
  {65c91c86-290b-463e-acf9-26aff7a0c162}, !- Space or SpaceType Name
16552
16552
  , !- Schedule Name
16553
16553
  Flow/ExteriorArea, !- Design Flow Rate Calculation Method
@@ -16562,7 +16562,7 @@ OS:SpaceInfiltration:DesignFlowRate,
16562
16562
 
16563
16563
  OS:DefaultScheduleSet,
16564
16564
  {5d0b457b-16fc-4f0d-9172-cd993aa82222}, !- Handle
16565
- Space Function Hospital - medical supply - occsens Schedule Set, !- Name
16565
+ Space Function Hospital - medical supply Schedule Set, !- Name
16566
16566
  , !- Hours of Operation Schedule Name
16567
16567
  {95d02e38-9abb-4c2f-a9f3-61dc3eaa2179}, !- Number of People Schedule Name
16568
16568
  {4105b59c-6ae2-4cca-9814-18a34a5538da}, !- People Activity Level Schedule Name
@@ -16576,7 +16576,7 @@ OS:DefaultScheduleSet,
16576
16576
 
16577
16577
  OS:ThermostatSetpoint:DualSetpoint,
16578
16578
  {e8130c67-456b-4e84-b6cb-d167336e5c65}, !- Handle
16579
- Space Function Hospital - medical supply - occsens Thermostat, !- Name
16579
+ Space Function Hospital - medical supply Thermostat, !- Name
16580
16580
  {d4733072-0afe-43ed-8025-675767853a14}, !- Heating Setpoint Temperature Schedule Name
16581
16581
  {184c7485-d80d-4e9c-831c-c3d156a61037}; !- Cooling Setpoint Temperature Schedule Name
16582
16582
 
@@ -31328,8 +31328,8 @@ OS:Building,
31328
31328
  , !- Space Type Name
31329
31329
  , !- Default Construction Set Name
31330
31330
  , !- Default Schedule Set Name
31331
- , !- Standards Number of Stories
31332
- , !- Standards Number of Above Ground Stories
31331
+ 2, !- Standards Number of Stories
31332
+ 1, !- Standards Number of Above Ground Stories
31333
31333
  , !- Standards Template
31334
31334
  , !- Standards Building Type
31335
31335
  , !- Standards Number of Living Units
@@ -49761,4 +49761,3 @@ OS:WeatherFile,
49761
49761
  3EFA181C, !- Checksum
49762
49762
  , !- Start Date Actual Year
49763
49763
  Sunday; !- Start Day of Week
49764
-
@@ -5171,6 +5171,13 @@ OS:Building,
5171
5171
  , !- Relocatable
5172
5172
  ; !- Nominal Floor to Ceiling Height {m}
5173
5173
 
5174
+ OS:AdditionalProperties,
5175
+ {c23ded4b-6f18-4e30-b6db-cc00e1198751}, !- Handle
5176
+ {9e3e5eef-9590-4941-bdaa-4a05a47e12d6}, !- Object Name
5177
+ btap_slab_perimeter_m2, !- Feature Name 1
5178
+ Double, !- Feature Data Type 1
5179
+ 208.98; !- Feature Value 1
5180
+
5174
5181
  OS:Surface,
5175
5182
  {d6951edf-993a-42ed-8f8e-33db83db849e}, !- Handle
5176
5183
  E1B973, !- Name
@@ -33435,4 +33442,3 @@ OS:Surface,
33435
33442
  -11.8872, 0, 0, !- X,Y,Z Vertex 2 {m}
33436
33443
  -15.24, 0, 0, !- X,Y,Z Vertex 3 {m}
33437
33444
  -15.24, 0, 3.048; !- X,Y,Z Vertex 4 {m}
33438
-
@@ -10,48 +10,84 @@
10
10
  "NECB2011_S_3.2.3.1"
11
11
  ],
12
12
  "units": "W_per_m2_K",
13
- "table": [
14
- {
15
- "boundary_condition": "Outdoors",
16
- "surface": "Wall",
17
- "formula": "( hdd < 3000) ? 0.315 : ( hdd < 4000) ? 0.278 : ( hdd < 5000 ) ? 0.247 : ( hdd < 6000) ? 0.210 :( hdd < 7000) ? 0.210 : 0.183"
13
+ "table": {
14
+ "outdoors": {
15
+ "wall": {
16
+ "3000": 0.315,
17
+ "4000": 0.278,
18
+ "5000": 0.247,
19
+ "6000": 0.21,
20
+ "7000": 0.21,
21
+ "9999": 0.183
22
+ },
23
+ "roofceiling": {
24
+ "3000": 0.227,
25
+ "4000": 0.183,
26
+ "5000": 0.183,
27
+ "6000": 0.162,
28
+ "7000": 0.162,
29
+ "9999": 0.142
30
+ },
31
+ "floor": {
32
+ "3000": 0.227,
33
+ "4000": 0.183,
34
+ "5000": 0.183,
35
+ "6000": 0.162,
36
+ "7000": 0.162,
37
+ "9999": 0.142
38
+ },
39
+ "window": {
40
+ "3000": 2.4,
41
+ "4000": 2.2,
42
+ "5000": 2.2,
43
+ "6000": 2.2,
44
+ "7000": 2.2,
45
+ "9999": 1.6
46
+ },
47
+ "skylight": {
48
+ "3000": 2.4,
49
+ "4000": 2.2,
50
+ "5000": 2.2,
51
+ "6000": 2.2,
52
+ "7000": 2.2,
53
+ "9999": 1.6
54
+ },
55
+ "door": {
56
+ "3000": 2.4,
57
+ "4000": 2.2,
58
+ "5000": 2.2,
59
+ "6000": 2.2,
60
+ "7000": 2.2,
61
+ "9999": 1.6
62
+ }
18
63
  },
19
- {
20
- "boundary_condition": "Outdoors",
21
- "surface": "RoofCeiling",
22
- "formula": "( hdd < 3000) ? 0.227 : ( hdd < 4000) ? 0.183 : ( hdd < 5000 ) ? 0.183 : ( hdd < 6000) ? 0.162 :( hdd < 7000) ? 0.162 : 0.142"
23
- },
24
- {
25
- "boundary_condition": "Outdoors",
26
- "surface": "Floor",
27
- "formula": "( hdd < 3000) ? 0.227 : ( hdd < 4000) ? 0.183 : ( hdd < 5000 ) ? 0.183 : ( hdd < 6000) ? 0.162 :( hdd < 7000) ? 0.162 : 0.142"
28
- },
29
- {
30
- "boundary_condition": "Outdoors",
31
- "surface": "Window",
32
- "formula": "( hdd < 3000) ? 2.400 : ( hdd < 7000) ? 2.200 : 1.600"
33
- },
34
- {
35
- "boundary_condition": "Outdoors",
36
- "surface": "Door",
37
- "formula": "( hdd < 3000) ? 2.400 : ( hdd < 7000) ? 2.200 : 1.600"
38
- },
39
- {
40
- "boundary_condition": "Ground",
41
- "surface": "Wall",
42
- "formula": "( hdd < 3000) ? 0.568 : ( hdd < 4000) ? 0.379 : ( hdd < 7000) ? 0.284 : 0.210"
43
- },
44
- {
45
- "boundary_condition": "Ground",
46
- "surface": "RoofCeiling",
47
- "formula": "( hdd < 3000) ? 0.568 : ( hdd < 4000) ? 0.379 : ( hdd < 7000) ? 0.284 : 0.210"
48
- },
49
- {
50
- "boundary_condition": "Ground",
51
- "surface": "Floor",
52
- "formula": "( hdd < 7000) ? 0.757 : 0.379"
64
+ "ground": {
65
+ "wall": {
66
+ "3000": 0.568,
67
+ "4000": 0.379,
68
+ "5000": 0.284,
69
+ "6000": 0.284,
70
+ "7000": 0.284,
71
+ "9999": 0.21
72
+ },
73
+ "roofceiling": {
74
+ "3000": 0.568,
75
+ "4000": 0.379,
76
+ "5000": 0.284,
77
+ "6000": 0.284,
78
+ "7000": 0.284,
79
+ "9999": 0.21
80
+ },
81
+ "floor": {
82
+ "3000": 0.757,
83
+ "4000": 0.757,
84
+ "5000": 0.757,
85
+ "6000": 0.757,
86
+ "7000": 0.757,
87
+ "9999": 0.379
88
+ }
53
89
  }
54
- ]
90
+ }
55
91
  }
56
92
  }
57
93
  }
@@ -1105,11 +1105,19 @@ class NECB2011
1105
1105
  avail_manager_out_var.setReportingFrequency('Timestep')
1106
1106
  night_cycle_sensor = OpenStudio::Model::EnergyManagementSystemSensor.new(model, avail_manager_out_var)
1107
1107
  heat_pump_avail_sch = nil
1108
- if multi_speed_heat_pump.availabilitySchedule.is_initialized
1109
- heat_pump_avail_sch = multi_speed_heat_pump.availabilitySchedule.get
1110
- elsif multi_speed_heat_pump.airLoopHVAC.get.availabilitySchedule.is_initialized
1111
- heat_pump_avail_sch = multi_speed_heat_pump.airLoopHVAC.get.availabilitySchedule.get
1112
- else
1108
+ # In OpenStudio 3.x, availabilitySchedule returns Schedule directly, not OptionalSchedule
1109
+ hp_sch = multi_speed_heat_pump.availabilitySchedule
1110
+ if hp_sch.is_a?(OpenStudio::Model::Schedule)
1111
+ heat_pump_avail_sch = hp_sch
1112
+ elsif multi_speed_heat_pump.airLoopHVAC.is_initialized
1113
+ loop_sch = multi_speed_heat_pump.airLoopHVAC.get.availabilitySchedule
1114
+ if loop_sch.is_a?(OpenStudio::Model::Schedule)
1115
+ heat_pump_avail_sch = loop_sch
1116
+ end
1117
+ end
1118
+
1119
+ # Create default schedule if none found
1120
+ if heat_pump_avail_sch.nil?
1113
1121
  heat_pump_avail_sch = OpenStudio::Model::ScheduleConstant.new(model)
1114
1122
  heat_pump_avail_sch.setValue(1.0)
1115
1123
  end
@@ -2191,7 +2199,7 @@ class NECB2011
2191
2199
  def assign_base_sys_name(air_loop:, sys_abbr:, sys_oa:, sys_name_pars:)
2192
2200
  sys_name = "#{sys_abbr}|#{sys_oa}|"
2193
2201
  sys_name_pars.each do |key, value|
2194
- case key.downcase
2202
+ case key.to_s.downcase
2195
2203
  when 'sys_hr'
2196
2204
  case value.downcase
2197
2205
  when 'none'