openstudio-standards 0.8.2 → 0.8.4

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 (152) hide show
  1. checksums.yaml +4 -4
  2. data/data/standards/OpenStudio_Standards-ashrae_90_1-ALL-comstock(space_types).xlsx +0 -0
  3. data/data/standards/openstudio_standards_duplicates_log.csv +7962 -0
  4. data/lib/openstudio-standards/btap/costing/README.md +502 -0
  5. data/lib/openstudio-standards/btap/costing/btap_costing.rb +473 -0
  6. data/lib/openstudio-standards/btap/costing/btap_measure_helper.rb +359 -0
  7. data/lib/openstudio-standards/btap/costing/btap_workflow.rb +117 -0
  8. data/lib/openstudio-standards/btap/costing/common_paths.rb +78 -0
  9. data/lib/openstudio-standards/btap/costing/common_resources/ConstructionProperties.csv +52 -0
  10. data/lib/openstudio-standards/btap/costing/common_resources/Constructions.csv +37 -0
  11. data/lib/openstudio-standards/btap/costing/common_resources/construction_sets.csv +1270 -0
  12. data/lib/openstudio-standards/btap/costing/common_resources/constructions_glazing.csv +61 -0
  13. data/lib/openstudio-standards/btap/costing/common_resources/constructions_opaque.csv +2256 -0
  14. data/lib/openstudio-standards/btap/costing/common_resources/costs.csv +1904 -0
  15. data/lib/openstudio-standards/btap/costing/common_resources/costs_local_factors.csv +2315 -0
  16. data/lib/openstudio-standards/btap/costing/common_resources/hvac_vent_ahu.csv +925 -0
  17. data/lib/openstudio-standards/btap/costing/common_resources/lighting.csv +364 -0
  18. data/lib/openstudio-standards/btap/costing/common_resources/lighting_sets.csv +2667 -0
  19. data/lib/openstudio-standards/btap/costing/common_resources/locations.csv +75 -0
  20. data/lib/openstudio-standards/btap/costing/common_resources/materials_glazing.csv +35 -0
  21. data/lib/openstudio-standards/btap/costing/common_resources/materials_hvac.csv +1699 -0
  22. data/lib/openstudio-standards/btap/costing/common_resources/materials_lighting.csv +267 -0
  23. data/lib/openstudio-standards/btap/costing/common_resources/materials_opaque.csv +164 -0
  24. data/lib/openstudio-standards/btap/costing/copy_test_results_files_to_expected_results.rb +11 -0
  25. data/lib/openstudio-standards/btap/costing/cost_building_from_file.rb +136 -0
  26. data/lib/openstudio-standards/btap/costing/costing_database_wrapper.rb +177 -0
  27. data/lib/openstudio-standards/btap/costing/daylighting_sensor_control_costing.rb +353 -0
  28. data/lib/openstudio-standards/btap/costing/dcv_costing.rb +314 -0
  29. data/lib/openstudio-standards/btap/costing/dummy.epw +8768 -0
  30. data/lib/openstudio-standards/btap/costing/dummy.osm +5320 -0
  31. data/lib/openstudio-standards/btap/costing/envelope_costing.rb +284 -0
  32. data/lib/openstudio-standards/btap/costing/heating_cooling_costing.rb +2584 -0
  33. data/lib/openstudio-standards/btap/costing/led_lighting_costing.rb +155 -0
  34. data/lib/openstudio-standards/btap/costing/lighting_costing.rb +209 -0
  35. data/lib/openstudio-standards/btap/costing/mech_sizing.json +502 -0
  36. data/lib/openstudio-standards/btap/costing/neb_end_use_prices.csv +42 -0
  37. data/lib/openstudio-standards/btap/costing/necb_2011_spacetype_info.csv +225 -0
  38. data/lib/openstudio-standards/btap/costing/necb_reference_runs.csv +28705 -0
  39. data/lib/openstudio-standards/btap/costing/nv_costing.rb +547 -0
  40. data/lib/openstudio-standards/btap/costing/parallel_tests.rb +92 -0
  41. data/lib/openstudio-standards/btap/costing/pv_ground_costing.rb +687 -0
  42. data/lib/openstudio-standards/btap/costing/shw_costing.rb +705 -0
  43. data/lib/openstudio-standards/btap/costing/test_list.txt +17 -0
  44. data/lib/openstudio-standards/btap/costing/test_run_all_test_locally.rb +26 -0
  45. data/lib/openstudio-standards/btap/costing/test_run_costing_tests.rb +80 -0
  46. data/lib/openstudio-standards/btap/costing/ventilation_costing.rb +2616 -0
  47. data/lib/openstudio-standards/constructions/modify.rb +2 -1
  48. data/lib/openstudio-standards/refrigeration/create_case.rb +58 -21
  49. data/lib/openstudio-standards/refrigeration/create_typical_refrigeration.rb +4 -2
  50. data/lib/openstudio-standards/refrigeration/create_walkin.rb +57 -22
  51. data/lib/openstudio-standards/refrigeration/data/refrigerated_cases.csv +31 -31
  52. data/lib/openstudio-standards/refrigeration/data/refrigerated_walkins.csv +76 -76
  53. data/lib/openstudio-standards/service_water_heating/create_typical.rb +10 -10
  54. data/lib/openstudio-standards/service_water_heating/create_water_heater.rb +10 -0
  55. data/lib/openstudio-standards/service_water_heating/create_water_heating_loop.rb +16 -3
  56. data/lib/openstudio-standards/service_water_heating/data/convert_data.rb +9 -9
  57. data/lib/openstudio-standards/service_water_heating/data/typical_water_use_equipment.csv +49 -49
  58. data/lib/openstudio-standards/service_water_heating/data/typical_water_use_equipment.json +159 -159
  59. data/lib/openstudio-standards/standards/Standards.CoilCoolingDXMultiSpeed.rb +7 -18
  60. data/lib/openstudio-standards/standards/Standards.CoilCoolingDXSingleSpeed.rb +10 -20
  61. data/lib/openstudio-standards/standards/Standards.CoilCoolingDXTwoSpeed.rb +6 -15
  62. data/lib/openstudio-standards/standards/Standards.CoilCoolingWaterToAirHeatPumpEquationFit.rb +5 -6
  63. data/lib/openstudio-standards/standards/Standards.CoilDX.rb +93 -43
  64. data/lib/openstudio-standards/standards/Standards.CoilHeatingDXMultiSpeed.rb +5 -5
  65. data/lib/openstudio-standards/standards/Standards.CoilHeatingDXSingleSpeed.rb +135 -37
  66. data/lib/openstudio-standards/standards/Standards.CoilHeatingWaterToAirHeatPumpEquationFit.rb +2 -2
  67. data/lib/openstudio-standards/standards/Standards.Model.rb +48 -13
  68. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2004/data/ashrae_90_1_2004.computer_room_acs.json +302 -140
  69. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2004/data/ashrae_90_1_2004.heat_pumps.json +648 -326
  70. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2004/data/ashrae_90_1_2004.heat_pumps_heating.json +371 -90
  71. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2004/data/ashrae_90_1_2004.water_heaters.json +66 -22
  72. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2007/data/ashrae_90_1_2007.computer_room_acs.json +302 -140
  73. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2007/data/ashrae_90_1_2007.heat_pumps.json +1012 -296
  74. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2007/data/ashrae_90_1_2007.heat_pumps_heating.json +443 -79
  75. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2007/data/ashrae_90_1_2007.water_heaters.json +66 -22
  76. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2010/data/ashrae_90_1_2010.computer_room_acs.json +302 -140
  77. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2010/data/ashrae_90_1_2010.heat_pumps.json +672 -306
  78. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2010/data/ashrae_90_1_2010.heat_pumps_heating.json +354 -74
  79. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2010/data/ashrae_90_1_2010.water_heaters.json +72 -24
  80. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2013/data/ashrae_90_1_2013.computer_room_acs.json +302 -140
  81. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2013/data/ashrae_90_1_2013.energy_recovery.json +8 -8
  82. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2013/data/ashrae_90_1_2013.heat_pumps.json +930 -604
  83. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2013/data/ashrae_90_1_2013.heat_pumps_heating.json +415 -111
  84. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2013/data/ashrae_90_1_2013.water_heaters.json +72 -24
  85. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2016/data/ashrae_90_1_2016.computer_room_acs.json +602 -140
  86. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2016/data/ashrae_90_1_2016.heat_pumps.json +1005 -333
  87. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2016/data/ashrae_90_1_2016.heat_pumps_heating.json +642 -88
  88. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2016/data/ashrae_90_1_2016.water_heaters.json +78 -26
  89. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2019/data/ashrae_90_1_2019.computer_room_acs.json +722 -140
  90. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2019/data/ashrae_90_1_2019.heat_pumps.json +1741 -426
  91. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2019/data/ashrae_90_1_2019.heat_pumps_heating.json +1108 -111
  92. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2019/data/ashrae_90_1_2019.water_heaters.json +186 -62
  93. data/lib/openstudio-standards/standards/ashrae_90_1/data/ashrae_90_1.schedules.json +62 -232
  94. data/lib/openstudio-standards/standards/ashrae_90_1_prm/ashrae_90_1_prm.CoilCoolingDXSingleSpeed.rb +2 -3
  95. data/lib/openstudio-standards/standards/ashrae_90_1_prm/ashrae_90_1_prm.CoilCoolingDXTwoSpeed.rb +1 -1
  96. data/lib/openstudio-standards/standards/ashrae_90_1_prm/ashrae_90_1_prm.CoilDX.rb +7 -18
  97. data/lib/openstudio-standards/standards/ashrae_90_1_prm/ashrae_90_1_prm.CoilHeatingDXSingleSpeed.rb +9 -7
  98. data/lib/openstudio-standards/standards/ashrae_90_1_prm/ashrae_90_1_prm.CoilHeatingGas.rb +1 -1
  99. data/lib/openstudio-standards/standards/ashrae_90_1_prm/ashrae_90_1_prm.Model.rb +2 -2
  100. data/lib/openstudio-standards/standards/ashrae_90_1_prm/ashrae_90_1_prm_2019/data/ashrae_90_1_prm_2019.heat_pumps.json +154 -69
  101. data/lib/openstudio-standards/standards/ashrae_90_1_prm/ashrae_90_1_prm_2019/data/ashrae_90_1_prm_2019.heat_pumps_heating.json +72 -72
  102. data/lib/openstudio-standards/standards/ashrae_90_1_prm/ashrae_90_1_prm_2019/data/ashrae_90_1_prm_2019.water_heaters.json +382 -295
  103. data/lib/openstudio-standards/standards/ashrae_90_1_prm/userdata_csv/ashrae_90_1_prm.UserData.rb +6 -1
  104. data/lib/openstudio-standards/standards/deer/data/deer.schedules.json +62 -232
  105. data/lib/openstudio-standards/standards/necb/BTAPPRE1980/btap_pre1980.rb +2 -27
  106. data/lib/openstudio-standards/standards/necb/BTAPPRE1980/data/heat_pumps.json +16 -0
  107. data/lib/openstudio-standards/standards/necb/BTAPPRE1980/data/heat_pumps_heating.json +6 -0
  108. data/lib/openstudio-standards/standards/necb/BTAPPRE1980/hvac_system_3_and_8_single_speed.rb +68 -27
  109. data/lib/openstudio-standards/standards/necb/BTAPPRE1980/hvac_system_4.rb +64 -25
  110. data/lib/openstudio-standards/standards/necb/BTAPPRE1980/hvac_system_6.rb +9 -14
  111. data/lib/openstudio-standards/standards/necb/ECMS/hvac_systems.rb +46 -20
  112. data/lib/openstudio-standards/standards/necb/NECB2011/autozone.rb +635 -248
  113. data/lib/openstudio-standards/standards/necb/NECB2011/data/constants.json +43 -7
  114. data/lib/openstudio-standards/standards/necb/NECB2011/data/fuel_type_sets.json +7 -1
  115. data/lib/openstudio-standards/standards/necb/NECB2011/data/geometry/HighriseApartmentMult.osm +14272 -0
  116. data/lib/openstudio-standards/standards/necb/NECB2011/data/heat_pumps.json +16 -0
  117. data/lib/openstudio-standards/standards/necb/NECB2011/data/heat_pumps_heating.json +6 -0
  118. data/lib/openstudio-standards/standards/necb/NECB2011/data/necb_2015_table_c1.json +1 -1
  119. data/lib/openstudio-standards/standards/necb/NECB2011/data/space_types.json +437 -437
  120. data/lib/openstudio-standards/standards/necb/NECB2011/data/systems.json +516 -0
  121. data/lib/openstudio-standards/standards/necb/NECB2011/data/systems_including_sys5.json +588 -0
  122. data/lib/openstudio-standards/standards/necb/NECB2011/hvac_namer.rb +489 -0
  123. data/lib/openstudio-standards/standards/necb/NECB2011/hvac_system_1_single_speed.rb +16 -6
  124. data/lib/openstudio-standards/standards/necb/NECB2011/hvac_system_2_and_5.rb +48 -5
  125. data/lib/openstudio-standards/standards/necb/NECB2011/hvac_system_3_and_8_multi_speed.rb +2 -2
  126. data/lib/openstudio-standards/standards/necb/NECB2011/hvac_system_3_and_8_single_speed.rb +35 -27
  127. data/lib/openstudio-standards/standards/necb/NECB2011/hvac_system_4.rb +34 -23
  128. data/lib/openstudio-standards/standards/necb/NECB2011/hvac_system_6.rb +8 -6
  129. data/lib/openstudio-standards/standards/necb/NECB2011/hvac_systems.rb +43 -14
  130. data/lib/openstudio-standards/standards/necb/NECB2011/necb_2011.rb +214 -25
  131. data/lib/openstudio-standards/standards/necb/NECB2011/system_fuels.rb +61 -1
  132. data/lib/openstudio-standards/standards/necb/NECB2015/data/heat_pumps.json +16 -0
  133. data/lib/openstudio-standards/standards/necb/NECB2015/data/heat_pumps_heating.json +8 -0
  134. data/lib/openstudio-standards/standards/necb/NECB2015/data/space_types.json +636 -636
  135. data/lib/openstudio-standards/standards/necb/NECB2015/data/unitary_acs.json +38 -38
  136. data/lib/openstudio-standards/standards/necb/NECB2015/hvac_systems.rb +15 -6
  137. data/lib/openstudio-standards/standards/necb/NECB2017/data/space_types.json +636 -636
  138. data/lib/openstudio-standards/standards/necb/NECB2020/data/chillers.json +71 -71
  139. data/lib/openstudio-standards/standards/necb/NECB2020/data/heat_pumps.json +20 -0
  140. data/lib/openstudio-standards/standards/necb/NECB2020/data/heat_pumps_heating.json +10 -0
  141. data/lib/openstudio-standards/standards/necb/README.md +343 -0
  142. data/lib/openstudio-standards/standards/necb/common/btap_data.rb +190 -28
  143. data/lib/openstudio-standards/standards/necb/common/btap_datapoint.rb +14 -5
  144. data/lib/openstudio-standards/standards/necb/common/eccc_electric_grid_intensity_20250311.csv +14 -0
  145. data/lib/openstudio-standards/standards/necb/common/nir_gas_grid_intensity_20250311.csv +14 -0
  146. data/lib/openstudio-standards/standards/necb/common/system_types.yaml +0 -0
  147. data/lib/openstudio-standards/utilities/logging.rb +18 -14
  148. data/lib/openstudio-standards/utilities/simulation.rb +3 -2
  149. data/lib/openstudio-standards/version.rb +1 -1
  150. data/lib/openstudio-standards/weather/modify.rb +2 -2
  151. data/lib/openstudio-standards.rb +12 -0
  152. metadata +56 -3
@@ -6,6 +6,7 @@ class UserDataCSV
6
6
  def initialize(model, save_dir)
7
7
  @model = model
8
8
  @component_name = nil
9
+ @unique_model_object = false
9
10
  unless Dir.exist?(save_dir)
10
11
  raise ArgumentError "Saving directory #{save_dir} does not exist!"
11
12
  end
@@ -70,6 +71,9 @@ class UserDataCSV
70
71
  # subclass shall determine what data group to extract from a modle.
71
72
  # @return [Array] array of OpenStudio components.
72
73
  def load_component
74
+ if @unique_model_object
75
+ return [@model.public_send("get#{@component_name}")]
76
+ end
73
77
  return @model.public_send("get#{@component_name}")
74
78
  end
75
79
  end
@@ -145,6 +149,7 @@ class UserDataCSVBuilding < UserDataCSV
145
149
  def initialize(model, save_dir)
146
150
  super
147
151
  @component_name = 'Building'
152
+ @unique_model_object = true
148
153
  @file_name = UserDataFiles::BUILDING
149
154
  end
150
155
 
@@ -274,7 +279,7 @@ class UserDataWaterUseConnection < UserDataCSV
274
279
  # @param save_dir [String] directory to save user data files
275
280
  def initialize(model, save_dir)
276
281
  super
277
- @component_name = 'WaterUseConnections'
282
+ @component_name = 'WaterUseConnectionss'
278
283
  @file_name = UserDataFiles::WATERUSE_CONNECTIONS
279
284
  end
280
285
 
@@ -347305,134 +347305,49 @@
347305
347305
  "name": "SuperMarket ClgSetp_Enduse",
347306
347306
  "category": "Thermostat Setpoint",
347307
347307
  "units": "C",
347308
- "day_types": "Sat",
347309
- "start_date": "2014-01-01T00:00:00+00:00",
347310
- "end_date": "2014-12-31T00:00:00+00:00",
347311
- "type": "Hourly",
347312
- "notes": "From end use data (Powerhouse Dynamics and Transformative Wave). Informed by 164 buildings.",
347313
- "values": [
347314
- 23.1,
347315
- 23.1,
347316
- 23.1,
347317
- 23.1,
347318
- 23.1,
347319
- 23.0,
347320
- 22.5,
347321
- 22.4,
347322
- 22.4,
347323
- 22.4,
347324
- 22.4,
347325
- 22.4,
347326
- 22.4,
347327
- 22.4,
347328
- 22.4,
347329
- 22.4,
347330
- 22.4,
347331
- 22.4,
347332
- 22.4,
347333
- 22.4,
347334
- 22.4,
347335
- 22.6,
347336
- 22.6,
347337
- 22.7
347308
+ "day_types": "Default|Wknd|Wkdy",
347309
+ "start_date": "2014-01-01T00:00:00+00:00",
347310
+ "end_date": "2014-12-31T00:00:00+00:00",
347311
+ "type": "Hourly",
347312
+ "notes": "From end use data (Powerhouse Dynamics and Transformative Wave). Informed by 164 buildings. Values vary from 22.4C to 23.1C. Edited to constant 22.75C.",
347313
+ "values": [
347314
+ 22.75,
347315
+ 22.75,
347316
+ 22.75,
347317
+ 22.75,
347318
+ 22.75,
347319
+ 22.75,
347320
+ 22.75,
347321
+ 22.75,
347322
+ 22.75,
347323
+ 22.75,
347324
+ 22.75,
347325
+ 22.75,
347326
+ 22.75,
347327
+ 22.75,
347328
+ 22.75,
347329
+ 22.75,
347330
+ 22.75,
347331
+ 22.75,
347332
+ 22.75,
347333
+ 22.75,
347334
+ 22.75,
347335
+ 22.75,
347336
+ 22.75,
347337
+ 22.75
347338
347338
  ]
347339
347339
  },
347340
347340
  {
347341
347341
  "name": "SuperMarket ClgSetp_Enduse",
347342
347342
  "category": "Thermostat Setpoint",
347343
347343
  "units": "C",
347344
- "day_types": "SmrDsn",
347345
- "start_date": "2014-01-01T00:00:00+00:00",
347346
- "end_date": "2014-12-31T00:00:00+00:00",
347347
- "type": "Constant",
347348
- "notes": "From end use data (Powerhouse Dynamics and Transformative Wave). Informed by 164 buildings.",
347349
- "values": [
347350
- 22.4
347351
- ]
347352
- },
347353
- {
347354
- "name": "SuperMarket ClgSetp_Enduse",
347355
- "category": "Thermostat Setpoint",
347356
- "units": "C",
347357
- "day_types": "Sun",
347358
- "start_date": "2014-01-01T00:00:00+00:00",
347359
- "end_date": "2014-12-31T00:00:00+00:00",
347360
- "type": "Hourly",
347361
- "notes": "From end use data (Powerhouse Dynamics and Transformative Wave). Informed by 164 buildings.",
347362
- "values": [
347363
- 23.1,
347364
- 23.1,
347365
- 23.1,
347366
- 23.1,
347367
- 23.1,
347368
- 23.1,
347369
- 22.5,
347370
- 22.4,
347371
- 22.4,
347372
- 22.5,
347373
- 22.4,
347374
- 22.4,
347375
- 22.4,
347376
- 22.4,
347377
- 22.4,
347378
- 22.4,
347379
- 22.4,
347380
- 22.4,
347381
- 22.4,
347382
- 22.4,
347383
- 22.5,
347384
- 22.6,
347385
- 22.6,
347386
- 22.7
347387
- ]
347388
- },
347389
- {
347390
- "name": "SuperMarket ClgSetp_Enduse",
347391
- "category": "Thermostat Setpoint",
347392
- "units": "C",
347393
- "day_types": "Wkdy",
347394
- "start_date": "2014-01-01T00:00:00+00:00",
347395
- "end_date": "2014-12-31T00:00:00+00:00",
347396
- "type": "Hourly",
347397
- "notes": "From end use data (Powerhouse Dynamics and Transformative Wave). Informed by 164 buildings.",
347398
- "values": [
347399
- 23.1,
347400
- 23.1,
347401
- 23.1,
347402
- 23.1,
347403
- 23.1,
347404
- 23.0,
347405
- 22.5,
347406
- 22.4,
347407
- 22.4,
347408
- 22.4,
347409
- 22.4,
347410
- 22.4,
347411
- 22.4,
347412
- 22.4,
347413
- 22.4,
347414
- 22.4,
347415
- 22.4,
347416
- 22.4,
347417
- 22.4,
347418
- 22.4,
347419
- 22.4,
347420
- 22.6,
347421
- 22.6,
347422
- 22.7
347423
- ]
347424
- },
347425
- {
347426
- "name": "SuperMarket ClgSetp_Enduse",
347427
- "category": "Thermostat Setpoint",
347428
- "units": "C",
347429
- "day_types": "WntrDsn",
347344
+ "day_types": "WntrDsn|SmrDsn",
347430
347345
  "start_date": "2014-01-01T00:00:00+00:00",
347431
347346
  "end_date": "2014-12-31T00:00:00+00:00",
347432
347347
  "type": "Constant",
347433
- "notes": "From end use data (Powerhouse Dynamics and Transformative Wave). Informed by 164 buildings.",
347348
+ "notes": "From end use data (Powerhouse Dynamics and Transformative Wave). Informed by 164 buildings. Values vary from 22.4C to 23.1C. Edited to constant 22.75C.",
347434
347349
  "values": [
347435
- 23.1
347350
+ 22.75
347436
347351
  ]
347437
347352
  },
347438
347353
  {
@@ -347805,134 +347720,49 @@
347805
347720
  "name": "SuperMarket HtgSetp_Enduse",
347806
347721
  "category": "Thermostat Setpoint",
347807
347722
  "units": "C",
347808
- "day_types": "Sat",
347809
- "start_date": "2014-01-01T00:00:00+00:00",
347810
- "end_date": "2014-12-31T00:00:00+00:00",
347811
- "type": "Hourly",
347812
- "notes": "From end use data (Powerhouse Dynamics and Transformative Wave). Informed by 164 buildings.",
347813
- "values": [
347814
- 18.9,
347815
- 18.9,
347816
- 18.9,
347817
- 18.9,
347818
- 18.9,
347819
- 18.9,
347820
- 19.9,
347821
- 20.0,
347822
- 20.0,
347823
- 20.1,
347824
- 20.1,
347825
- 20.1,
347826
- 20.1,
347827
- 20.1,
347828
- 20.1,
347829
- 20.1,
347830
- 20.1,
347831
- 20.1,
347832
- 20.1,
347833
- 20.1,
347834
- 20.0,
347835
- 19.8,
347836
- 19.8,
347837
- 19.7
347838
- ]
347839
- },
347840
- {
347841
- "name": "SuperMarket HtgSetp_Enduse",
347842
- "category": "Thermostat Setpoint",
347843
- "units": "C",
347844
- "day_types": "SmrDsn",
347845
- "start_date": "2014-01-01T00:00:00+00:00",
347846
- "end_date": "2014-12-31T00:00:00+00:00",
347847
- "type": "Constant",
347848
- "notes": "From end use data (Powerhouse Dynamics and Transformative Wave). Informed by 164 buildings.",
347849
- "values": [
347850
- 18.9
347851
- ]
347852
- },
347853
- {
347854
- "name": "SuperMarket HtgSetp_Enduse",
347855
- "category": "Thermostat Setpoint",
347856
- "units": "C",
347857
- "day_types": "Sun",
347858
- "start_date": "2014-01-01T00:00:00+00:00",
347859
- "end_date": "2014-12-31T00:00:00+00:00",
347860
- "type": "Hourly",
347861
- "notes": "From end use data (Powerhouse Dynamics and Transformative Wave). Informed by 164 buildings.",
347862
- "values": [
347863
- 18.9,
347864
- 18.9,
347865
- 18.9,
347866
- 18.9,
347867
- 18.9,
347868
- 18.9,
347869
- 19.9,
347870
- 20.0,
347871
- 20.0,
347872
- 20.0,
347873
- 20.1,
347874
- 20.1,
347875
- 20.1,
347876
- 20.1,
347877
- 20.1,
347878
- 20.1,
347879
- 20.1,
347880
- 20.1,
347881
- 20.1,
347882
- 20.0,
347883
- 20.0,
347884
- 19.8,
347885
- 19.8,
347886
- 19.7
347887
- ]
347888
- },
347889
- {
347890
- "name": "SuperMarket HtgSetp_Enduse",
347891
- "category": "Thermostat Setpoint",
347892
- "units": "C",
347893
- "day_types": "Wkdy",
347723
+ "day_types": "Default|Wknd|Wkdy",
347894
347724
  "start_date": "2014-01-01T00:00:00+00:00",
347895
347725
  "end_date": "2014-12-31T00:00:00+00:00",
347896
347726
  "type": "Hourly",
347897
- "notes": "From end use data (Powerhouse Dynamics and Transformative Wave). Informed by 164 buildings.",
347727
+ "notes": "From end use data (Powerhouse Dynamics and Transformative Wave). Informed by 164 buildings. Values vary from 18.9C to 20.1C. Edited to constant 19.5C.",
347898
347728
  "values": [
347899
- 18.9,
347900
- 18.9,
347901
- 18.9,
347902
- 18.9,
347903
- 18.9,
347904
- 19.0,
347905
- 20.0,
347906
- 20.1,
347907
- 20.1,
347908
- 20.1,
347909
- 20.1,
347910
- 20.1,
347911
- 20.1,
347912
- 20.1,
347913
- 20.1,
347914
- 20.1,
347915
- 20.1,
347916
- 20.1,
347917
- 20.1,
347918
- 20.1,
347919
- 20.0,
347920
- 19.8,
347921
- 19.8,
347922
- 19.7
347729
+ 19.5,
347730
+ 19.5,
347731
+ 19.5,
347732
+ 19.5,
347733
+ 19.5,
347734
+ 19.5,
347735
+ 19.5,
347736
+ 19.5,
347737
+ 19.5,
347738
+ 19.5,
347739
+ 19.5,
347740
+ 19.5,
347741
+ 19.5,
347742
+ 19.5,
347743
+ 19.5,
347744
+ 19.5,
347745
+ 19.5,
347746
+ 19.5,
347747
+ 19.5,
347748
+ 19.5,
347749
+ 19.5,
347750
+ 19.5,
347751
+ 19.5,
347752
+ 19.5
347923
347753
  ]
347924
347754
  },
347925
347755
  {
347926
347756
  "name": "SuperMarket HtgSetp_Enduse",
347927
347757
  "category": "Thermostat Setpoint",
347928
347758
  "units": "C",
347929
- "day_types": "WntrDsn",
347759
+ "day_types": "WntrDsn|SmrDsn",
347930
347760
  "start_date": "2014-01-01T00:00:00+00:00",
347931
347761
  "end_date": "2014-12-31T00:00:00+00:00",
347932
347762
  "type": "Constant",
347933
- "notes": "From end use data (Powerhouse Dynamics and Transformative Wave). Informed by 164 buildings.",
347763
+ "notes": "From end use data (Powerhouse Dynamics and Transformative Wave). Informed by 164 buildings. Values vary from 18.9C to 20.1C. Edited to constant 19.5C.",
347934
347764
  "values": [
347935
- 20.1
347765
+ 19.5
347936
347766
  ]
347937
347767
  },
347938
347768
  {
@@ -64,10 +64,10 @@ class BTAPPRE1980 < NECB2011
64
64
  end
65
65
 
66
66
  def apply_standard_efficiencies(model:, sizing_run_dir:, dcv_type: 'NECB_Default', necb_reference_hp:false)
67
- raise('validation of model failed.') unless validate_initial_model(model)
67
+ # Do a sizing run
68
+ try_sizing_run(model: model, sizing_run_dir: sizing_run_dir, sizing_run_subdir: 'plant_loops')
68
69
 
69
70
  climate_zone = 'NECB HDD Method'
70
- raise("sizing run 1 failed! check #{sizing_run_dir}") if model_run_sizing_run(model, "#{sizing_run_dir}/plant_loops") == false
71
71
 
72
72
  # This is needed for NECB2011 as a workaround for sizing the reheat boxes
73
73
  model.getAirTerminalSingleDuctVAVReheats.each { |iobj| air_terminal_single_duct_vav_reheat_set_heating_cap(iobj) }
@@ -86,29 +86,4 @@ class BTAPPRE1980 < NECB2011
86
86
  return true
87
87
  end
88
88
 
89
- # This method sets the primary heating fuel to either NaturalGas or Electricity if a HP fuel type is set.
90
- def validate_primary_heating_fuel(primary_heating_fuel:, model:)
91
- if primary_heating_fuel.to_s.downcase == 'defaultfuel' || primary_heating_fuel.to_s.downcase == 'necb_default'
92
- epw = OpenStudio::EpwFile.new(model.weatherFile.get.path.get)
93
- default_fuel = @standards_data['regional_fuel_use'].detect { |fuel_sources| fuel_sources['state_province_regions'].include?(epw.stateProvinceRegion) }['fueltype_set']
94
- if default_fuel.nil?
95
- OpenStudio.logFree(OpenStudio::Warn, 'openstudio.standards.swh', "Could not find a default fuel for #{epw.stateProvinceRegion}. Using Electricity as the fuel type instead.")
96
- return 'Electricity'
97
- end
98
- return default_fuel
99
- end
100
- return primary_heating_fuel unless primary_heating_fuel == 'NaturalGasHPGasBackup' || primary_heating_fuel == 'NaturalGasHPElecBackupMixed' || primary_heating_fuel == 'ElectricityHPElecBackup' || primary_heating_fuel == 'ElectricityHPGasBackupMixed'
101
- case primary_heating_fuel
102
- when "NaturalGasHPGasBackup"
103
- primary_heating_fuel = 'NaturalGas'
104
- when "NaturalGasHPElecBackupMixed"
105
- primary_heating_fuel = 'NaturalGas'
106
- when "ElectricityHPElecBackup"
107
- primary_heating_fuel = 'Electricity'
108
- when "ElectricityHPGasBackupMixed"
109
- primary_heating_fuel = 'Electricity'
110
- end
111
- OpenStudio.logFree(OpenStudio::Info, 'openstudio.Standards.Model', "Attemted to apply an NECB HP primary_heating_fuel to a vintage building type. Replacing the selected primary_heating_fuel with #{primary_heating_fuel}.")
112
- return primary_heating_fuel
113
- end
114
89
  end
@@ -8,6 +8,7 @@
8
8
  "table": [
9
9
  {
10
10
 
11
+ "equipment_type": "Heat Pumps",
11
12
  "cooling_type": "AirCooled",
12
13
  "heating_type": "Electric Resistance or None",
13
14
  "subcategory": "Single Package",
@@ -30,6 +31,7 @@
30
31
  },
31
32
  {
32
33
 
34
+ "equipment_type": "Heat Pumps",
33
35
  "cooling_type": "AirCooled",
34
36
  "heating_type": "All Other",
35
37
  "subcategory": "Single Package",
@@ -52,6 +54,7 @@
52
54
  },
53
55
  {
54
56
 
57
+ "equipment_type": "Heat Pumps",
55
58
  "cooling_type": "AirCooled",
56
59
  "heating_type": "Electric Resistance or None",
57
60
  "subcategory": "Split System",
@@ -74,6 +77,7 @@
74
77
  },
75
78
  {
76
79
 
80
+ "equipment_type": "Heat Pumps",
77
81
  "cooling_type": "AirCooled",
78
82
  "heating_type": "All Other",
79
83
  "subcategory": "Split System",
@@ -96,6 +100,7 @@
96
100
  },
97
101
  {
98
102
 
103
+ "equipment_type": "Heat Pumps",
99
104
  "cooling_type": "AirCooled",
100
105
  "heating_type": "Electric Resistance or None",
101
106
  "subcategory": "Single Package",
@@ -118,6 +123,7 @@
118
123
  },
119
124
  {
120
125
 
126
+ "equipment_type": "Heat Pumps",
121
127
  "cooling_type": "AirCooled",
122
128
  "heating_type": "All Other",
123
129
  "subcategory": "Single Package",
@@ -140,6 +146,7 @@
140
146
  },
141
147
  {
142
148
 
149
+ "equipment_type": "Heat Pumps",
143
150
  "cooling_type": "AirCooled",
144
151
  "heating_type": "Electric Resistance or None",
145
152
  "subcategory": "Split System",
@@ -162,6 +169,7 @@
162
169
  },
163
170
  {
164
171
 
172
+ "equipment_type": "Heat Pumps",
165
173
  "cooling_type": "AirCooled",
166
174
  "heating_type": "All Other",
167
175
  "subcategory": "Split System",
@@ -184,6 +192,7 @@
184
192
  },
185
193
  {
186
194
 
195
+ "equipment_type": "Heat Pumps",
187
196
  "cooling_type": "AirCooled",
188
197
  "heating_type": "Electric Resistance or None",
189
198
  "subcategory": "Single Package",
@@ -206,6 +215,7 @@
206
215
  },
207
216
  {
208
217
 
218
+ "equipment_type": "Heat Pumps",
209
219
  "cooling_type": "AirCooled",
210
220
  "heating_type": "All Other",
211
221
  "subcategory": "Single Package",
@@ -228,6 +238,7 @@
228
238
  },
229
239
  {
230
240
 
241
+ "equipment_type": "Heat Pumps",
231
242
  "cooling_type": "AirCooled",
232
243
  "heating_type": "Electric Resistance or None",
233
244
  "subcategory": "Split System",
@@ -250,6 +261,7 @@
250
261
  },
251
262
  {
252
263
 
264
+ "equipment_type": "Heat Pumps",
253
265
  "cooling_type": "AirCooled",
254
266
  "heating_type": "All Other",
255
267
  "subcategory": "Split System",
@@ -272,6 +284,7 @@
272
284
  },
273
285
  {
274
286
 
287
+ "equipment_type": "Heat Pumps",
275
288
  "cooling_type": "AirCooled",
276
289
  "heating_type": "Electric Resistance or None",
277
290
  "subcategory": "Single Package",
@@ -294,6 +307,7 @@
294
307
  },
295
308
  {
296
309
 
310
+ "equipment_type": "Heat Pumps",
297
311
  "cooling_type": "AirCooled",
298
312
  "heating_type": "All Other",
299
313
  "subcategory": "Single Package",
@@ -316,6 +330,7 @@
316
330
  },
317
331
  {
318
332
 
333
+ "equipment_type": "Heat Pumps",
319
334
  "cooling_type": "AirCooled",
320
335
  "heating_type": "Electric Resistance or None",
321
336
  "subcategory": "Split System",
@@ -338,6 +353,7 @@
338
353
  },
339
354
  {
340
355
 
356
+ "equipment_type": "Heat Pumps",
341
357
  "cooling_type": "AirCooled",
342
358
  "heating_type": "All Other",
343
359
  "subcategory": "Split System",
@@ -8,6 +8,7 @@
8
8
  "table": [
9
9
  {
10
10
 
11
+ "equipment_type": "Heat Pumps",
11
12
  "cooling_type": "AirCooled",
12
13
  "subcategory": "Single Package",
13
14
  "minimum_capacity": 0.0,
@@ -28,6 +29,7 @@
28
29
  },
29
30
  {
30
31
 
32
+ "equipment_type": "Heat Pumps",
31
33
  "cooling_type": "AirCooled",
32
34
  "subcategory": "Split System",
33
35
  "minimum_capacity": 0.0,
@@ -48,6 +50,7 @@
48
50
  },
49
51
  {
50
52
 
53
+ "equipment_type": "Heat Pumps",
51
54
  "cooling_type": "AirCooled",
52
55
  "subcategory": "Single Package",
53
56
  "minimum_capacity": 65001.0,
@@ -68,6 +71,7 @@
68
71
  },
69
72
  {
70
73
 
74
+ "equipment_type": "Heat Pumps",
71
75
  "cooling_type": "AirCooled",
72
76
  "subcategory": "Split System",
73
77
  "minimum_capacity": 65001.0,
@@ -88,6 +92,7 @@
88
92
  },
89
93
  {
90
94
 
95
+ "equipment_type": "Heat Pumps",
91
96
  "cooling_type": "AirCooled",
92
97
  "subcategory": "Single Package",
93
98
  "minimum_capacity": 238841.0,
@@ -108,6 +113,7 @@
108
113
  },
109
114
  {
110
115
 
116
+ "equipment_type": "Heat Pumps",
111
117
  "cooling_type": "AirCooled",
112
118
  "subcategory": "Split System",
113
119
  "minimum_capacity": 238841.0,