openstudio-standards 0.4.0 → 0.5.0.rc1

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 (376) hide show
  1. checksums.yaml +4 -4
  2. data/data/inventory/thermal_bridging.csv +90 -0
  3. data/data/standards/OpenStudio_Standards-deer-comstock.xlsx +0 -0
  4. data/data/standards/manage_OpenStudio_Standards.rb +1 -1
  5. data/data/standards/test_performance_expected_dd_results.csv +2014 -1891
  6. data/lib/openstudio-standards/btap/analysis.rb +8 -8
  7. data/lib/openstudio-standards/btap/bridging.rb +664 -645
  8. data/lib/openstudio-standards/btap/btap.model.rb +14 -14
  9. data/lib/openstudio-standards/btap/btap.rb +7 -7
  10. data/lib/openstudio-standards/btap/btap_result.rb +1 -1
  11. data/lib/openstudio-standards/btap/economics.rb +23 -23
  12. data/lib/openstudio-standards/btap/envelope.rb +8 -8
  13. data/lib/openstudio-standards/btap/equest.rb +1 -1
  14. data/lib/openstudio-standards/btap/geometry.rb +2 -2
  15. data/lib/openstudio-standards/btap/mpc.rb +7 -7
  16. data/lib/openstudio-standards/btap/schedules.rb +1 -1
  17. data/lib/openstudio-standards/btap/simmanager.rb +4 -4
  18. data/lib/openstudio-standards/btap/spaceloads.rb +26 -26
  19. data/lib/openstudio-standards/btap/utilities.rb +6 -6
  20. data/lib/openstudio-standards/btap/vintagizer.rb +1 -1
  21. data/lib/openstudio-standards/constructions/information.rb +83 -0
  22. data/lib/openstudio-standards/constructions/materials/modify.rb +72 -0
  23. data/lib/openstudio-standards/constructions/modify.rb +80 -0
  24. data/lib/openstudio-standards/create_typical/create_typical.rb +983 -0
  25. data/lib/openstudio-standards/create_typical/enumerations.rb +484 -0
  26. data/lib/openstudio-standards/create_typical/space_type_blend.rb +791 -0
  27. data/lib/openstudio-standards/create_typical/space_type_ratios.rb +494 -0
  28. data/lib/openstudio-standards/daylighting/space.rb +47 -0
  29. data/lib/openstudio-standards/geometry/create.rb +801 -0
  30. data/lib/openstudio-standards/geometry/create_bar.rb +2171 -0
  31. data/lib/openstudio-standards/geometry/information.rb +462 -0
  32. data/lib/openstudio-standards/geometry/modify.rb +48 -0
  33. data/lib/openstudio-standards/hvac/air_loop/information.rb +79 -0
  34. data/lib/openstudio-standards/hvac/cbecs_hvac.rb +616 -0
  35. data/lib/openstudio-standards/hvac/setpoint_managers/information.rb +91 -0
  36. data/lib/openstudio-standards/prototypes/ashrae_90_1/ashrae_90_1_2004/ashrae_90_1_2004.AirTerminalSingleDuctVAVReheat.rb +1 -1
  37. data/lib/openstudio-standards/prototypes/ashrae_90_1/ashrae_90_1_2007/ashrae_90_1_2007.AirTerminalSingleDuctVAVReheat.rb +1 -1
  38. data/lib/openstudio-standards/prototypes/ashrae_90_1/ashrae_90_1_2010/ashrae_90_1_2010.AirTerminalSingleDuctVAVReheat.rb +1 -1
  39. data/lib/openstudio-standards/prototypes/ashrae_90_1/ashrae_90_1_2010/ashrae_90_1_2010.Model.rb +1 -1
  40. data/lib/openstudio-standards/prototypes/ashrae_90_1/ashrae_90_1_2013/ashrae_90_1_2013.AirTerminalSingleDuctVAVReheat.rb +1 -1
  41. data/lib/openstudio-standards/prototypes/ashrae_90_1/ashrae_90_1_2013/ashrae_90_1_2013.Model.rb +2 -2
  42. data/lib/openstudio-standards/prototypes/ashrae_90_1/ashrae_90_1_2013/ashrae_90_1_2013.hvac_systems.rb +1 -1
  43. data/lib/openstudio-standards/prototypes/ashrae_90_1/ashrae_90_1_2016/ashrae_90_1_2016.AirTerminalSingleDuctVAVReheat.rb +1 -1
  44. data/lib/openstudio-standards/prototypes/ashrae_90_1/ashrae_90_1_2016/ashrae_90_1_2016.Model.rb +4 -36
  45. data/lib/openstudio-standards/prototypes/ashrae_90_1/ashrae_90_1_2016/ashrae_90_1_2016.hvac_systems.rb +1 -1
  46. data/lib/openstudio-standards/prototypes/ashrae_90_1/ashrae_90_1_2019/ashrae_90_1_2019.AirTerminalSingleDuctVAVReheat.rb +1 -1
  47. data/lib/openstudio-standards/prototypes/ashrae_90_1/ashrae_90_1_2019/ashrae_90_1_2019.Model.rb +4 -36
  48. data/lib/openstudio-standards/prototypes/ashrae_90_1/ashrae_90_1_2019/ashrae_90_1_2019.Space.rb +3 -3
  49. data/lib/openstudio-standards/prototypes/ashrae_90_1/ashrae_90_1_2019/ashrae_90_1_2019.hvac_systems.rb +1 -1
  50. data/lib/openstudio-standards/prototypes/ashrae_90_1/doe_ref_1980_2004/doe_ref_1980_2004.AirTerminalSingleDuctVAVReheat.rb +1 -1
  51. data/lib/openstudio-standards/prototypes/ashrae_90_1/doe_ref_1980_2004/doe_ref_1980_2004.Model.elevators.rb +1 -1
  52. data/lib/openstudio-standards/prototypes/ashrae_90_1/doe_ref_pre_1980/doe_ref_pre_1980.AirTerminalSingleDuctVAVReheat.rb +1 -1
  53. data/lib/openstudio-standards/prototypes/ashrae_90_1/doe_ref_pre_1980/doe_ref_pre_1980.CoilHeatingGas.rb +1 -1
  54. data/lib/openstudio-standards/prototypes/ashrae_90_1/doe_ref_pre_1980/doe_ref_pre_1980.Model.elevators.rb +1 -1
  55. data/lib/openstudio-standards/prototypes/ashrae_90_1/nrel_nze_ready_2017/nrel_zne_ready_2017.AirTerminalSingleDuctVAVReheat.rb +1 -1
  56. data/lib/openstudio-standards/prototypes/ashrae_90_1/ze_aedg_multifamily/ze_aedg_multifamily.AirTerminalSingleDuctVAVReheat.rb +1 -1
  57. data/lib/openstudio-standards/prototypes/common/buildings/Prototype.College.rb +7 -7
  58. data/lib/openstudio-standards/prototypes/common/buildings/Prototype.Courthouse.rb +8 -8
  59. data/lib/openstudio-standards/prototypes/common/buildings/Prototype.FullServiceRestaurant.rb +14 -14
  60. data/lib/openstudio-standards/prototypes/common/buildings/Prototype.HighRiseApartment.rb +9 -9
  61. data/lib/openstudio-standards/prototypes/common/buildings/Prototype.Hospital.rb +16 -16
  62. data/lib/openstudio-standards/prototypes/common/buildings/Prototype.Laboratory.rb +7 -7
  63. data/lib/openstudio-standards/prototypes/common/buildings/Prototype.LargeDataCenterHighITE.rb +8 -8
  64. data/lib/openstudio-standards/prototypes/common/buildings/Prototype.LargeDataCenterLowITE.rb +8 -8
  65. data/lib/openstudio-standards/prototypes/common/buildings/Prototype.LargeHotel.rb +11 -11
  66. data/lib/openstudio-standards/prototypes/common/buildings/Prototype.LargeOffice.rb +7 -7
  67. data/lib/openstudio-standards/prototypes/common/buildings/Prototype.LargeOfficeDetailed.rb +9 -9
  68. data/lib/openstudio-standards/prototypes/common/buildings/Prototype.MediumOffice.rb +8 -8
  69. data/lib/openstudio-standards/prototypes/common/buildings/Prototype.MediumOfficeDetailed.rb +11 -11
  70. data/lib/openstudio-standards/prototypes/common/buildings/Prototype.MidriseApartment.rb +9 -9
  71. data/lib/openstudio-standards/prototypes/common/buildings/Prototype.Outpatient.rb +19 -19
  72. data/lib/openstudio-standards/prototypes/common/buildings/Prototype.PrimarySchool.rb +10 -10
  73. data/lib/openstudio-standards/prototypes/common/buildings/Prototype.QuickServiceRestaurant.rb +13 -13
  74. data/lib/openstudio-standards/prototypes/common/buildings/Prototype.RetailStandalone.rb +6 -6
  75. data/lib/openstudio-standards/prototypes/common/buildings/Prototype.RetailStripmall.rb +6 -6
  76. data/lib/openstudio-standards/prototypes/common/buildings/Prototype.SecondarySchool.rb +9 -9
  77. data/lib/openstudio-standards/prototypes/common/buildings/Prototype.SmallDataCenterHighITE.rb +8 -8
  78. data/lib/openstudio-standards/prototypes/common/buildings/Prototype.SmallDataCenterLowITE.rb +8 -8
  79. data/lib/openstudio-standards/prototypes/common/buildings/Prototype.SmallHotel.rb +8 -8
  80. data/lib/openstudio-standards/prototypes/common/buildings/Prototype.SmallOffice.rb +8 -8
  81. data/lib/openstudio-standards/prototypes/common/buildings/Prototype.SmallOfficeDetailed.rb +11 -11
  82. data/lib/openstudio-standards/prototypes/common/buildings/Prototype.SuperMarket.rb +10 -10
  83. data/lib/openstudio-standards/prototypes/common/buildings/Prototype.SuperTallBuilding.rb +19 -19
  84. data/lib/openstudio-standards/prototypes/common/buildings/Prototype.TallBuilding.rb +18 -18
  85. data/lib/openstudio-standards/prototypes/common/buildings/Prototype.Warehouse.rb +6 -6
  86. data/lib/openstudio-standards/prototypes/common/do_not_edit_metaclasses.rb +957 -957
  87. data/lib/openstudio-standards/prototypes/common/objects/Prototype.AirConditionerVariableRefrigerantFlow.rb +1 -1
  88. data/lib/openstudio-standards/prototypes/common/objects/Prototype.AirTerminalSingleDuctVAVReheat.rb +1 -1
  89. data/lib/openstudio-standards/prototypes/common/objects/Prototype.CoilCoolingWaterToAirHeatPumpEquationFit.rb +84 -16
  90. data/lib/openstudio-standards/prototypes/common/objects/Prototype.CoilHeatingDXSingleSpeed.rb +1 -1
  91. data/lib/openstudio-standards/prototypes/common/objects/Prototype.CoilHeatingGas.rb +1 -1
  92. data/lib/openstudio-standards/prototypes/common/objects/Prototype.CoilHeatingWaterToAirHeatPumpEquationFit.rb +61 -10
  93. data/lib/openstudio-standards/prototypes/common/objects/Prototype.ControllerWaterCoil.rb +1 -1
  94. data/lib/openstudio-standards/prototypes/common/objects/Prototype.CoolingTower.rb +1 -1
  95. data/lib/openstudio-standards/prototypes/common/objects/Prototype.Fan.rb +1 -1
  96. data/lib/openstudio-standards/prototypes/common/objects/Prototype.FanConstantVolume.rb +1 -1
  97. data/lib/openstudio-standards/prototypes/common/objects/Prototype.FanOnOff.rb +1 -1
  98. data/lib/openstudio-standards/prototypes/common/objects/Prototype.FanVariableVolume.rb +1 -1
  99. data/lib/openstudio-standards/prototypes/common/objects/Prototype.FanZoneExhaust.rb +1 -1
  100. data/lib/openstudio-standards/prototypes/common/objects/Prototype.HeatExchangerAirToAirSensibleAndLatent.rb +2 -2
  101. data/lib/openstudio-standards/prototypes/common/objects/Prototype.Model.exterior_lights.rb +4 -4
  102. data/lib/openstudio-standards/prototypes/common/objects/Prototype.Model.hvac.rb +4 -4
  103. data/lib/openstudio-standards/prototypes/common/objects/Prototype.Model.rb +43 -30
  104. data/lib/openstudio-standards/prototypes/common/objects/Prototype.Model.swh.rb +1 -1
  105. data/lib/openstudio-standards/prototypes/common/objects/Prototype.ServiceWaterHeating.rb +18 -11
  106. data/lib/openstudio-standards/prototypes/common/objects/Prototype.SizingSystem.rb +1 -1
  107. data/lib/openstudio-standards/prototypes/common/objects/Prototype.hvac_systems.rb +774 -117
  108. data/lib/openstudio-standards/prototypes/common/objects/Prototype.radiant_system_controls.rb +340 -481
  109. data/lib/openstudio-standards/prototypes/common/objects/Prototype.refrigeration.rb +3 -3
  110. data/lib/openstudio-standards/prototypes/common/objects/Prototype.utilities.rb +3 -3
  111. data/lib/openstudio-standards/prototypes/common/prototype_metaprogramming.rb +22 -22
  112. data/lib/openstudio-standards/prototypes/deer/deer.Model.rb +1 -1
  113. data/lib/openstudio-standards/qaqc/calibration.rb +131 -0
  114. data/lib/openstudio-standards/qaqc/create_results.rb +983 -0
  115. data/lib/openstudio-standards/qaqc/envelope.rb +399 -0
  116. data/lib/openstudio-standards/qaqc/eui.rb +213 -0
  117. data/lib/openstudio-standards/qaqc/hvac.rb +1943 -0
  118. data/lib/openstudio-standards/qaqc/internal_loads.rb +568 -0
  119. data/lib/openstudio-standards/qaqc/reporting.rb +141 -0
  120. data/lib/openstudio-standards/qaqc/schedules.rb +129 -0
  121. data/lib/openstudio-standards/qaqc/service_water_heating.rb +273 -0
  122. data/lib/openstudio-standards/qaqc/weather_files.rb +497 -0
  123. data/lib/openstudio-standards/qaqc/zone_conditions.rb +278 -0
  124. data/lib/openstudio-standards/schedules/create.rb +364 -0
  125. data/lib/openstudio-standards/schedules/information.rb +169 -0
  126. data/lib/openstudio-standards/schedules/modify.rb +445 -0
  127. data/lib/openstudio-standards/standards/Standards.AirLoopHVAC.rb +110 -71
  128. data/lib/openstudio-standards/standards/Standards.AirTerminalSingleDuctParallelPIUReheat.rb +3 -3
  129. data/lib/openstudio-standards/standards/Standards.AirTerminalSingleDuctVAVReheat.rb +4 -4
  130. data/lib/openstudio-standards/standards/Standards.BoilerHotWater.rb +2 -1
  131. data/lib/openstudio-standards/standards/Standards.ChillerElectricEIR.rb +16 -10
  132. data/lib/openstudio-standards/standards/Standards.CoilCoolingDXSingleSpeed.rb +4 -4
  133. data/lib/openstudio-standards/standards/Standards.CoilCoolingDXTwoSpeed.rb +1 -1
  134. data/lib/openstudio-standards/standards/Standards.CoilCoolingWaterToAirHeatPumpEquationFit.rb +1 -1
  135. data/lib/openstudio-standards/standards/Standards.CoilDX.rb +4 -4
  136. data/lib/openstudio-standards/standards/Standards.CoilHeatingDXMultiSpeed.rb +1 -1
  137. data/lib/openstudio-standards/standards/Standards.CoilHeatingDXSingleSpeed.rb +5 -5
  138. data/lib/openstudio-standards/standards/Standards.CoilHeatingGas.rb +1 -1
  139. data/lib/openstudio-standards/standards/Standards.CoilHeatingGasMultiStage.rb +1 -1
  140. data/lib/openstudio-standards/standards/Standards.CoilHeatingWaterToAirHeatPumpEquationFit.rb +1 -1
  141. data/lib/openstudio-standards/standards/Standards.Construction.rb +17 -18
  142. data/lib/openstudio-standards/standards/Standards.CoolingTower.rb +6 -6
  143. data/lib/openstudio-standards/standards/Standards.CoolingTowerSingleSpeed.rb +1 -1
  144. data/lib/openstudio-standards/standards/Standards.CoolingTowerTwoSpeed.rb +1 -1
  145. data/lib/openstudio-standards/standards/Standards.CoolingTowerVariableSpeed.rb +1 -1
  146. data/lib/openstudio-standards/standards/Standards.Fan.rb +6 -12
  147. data/lib/openstudio-standards/standards/Standards.FanVariableVolume.rb +2 -2
  148. data/lib/openstudio-standards/standards/Standards.FluidCooler.rb +1 -1
  149. data/lib/openstudio-standards/standards/Standards.HeaderedPumpsVariableSpeed.rb +1 -1
  150. data/lib/openstudio-standards/standards/Standards.HeatExchangerSensLat.rb +3 -3
  151. data/lib/openstudio-standards/standards/Standards.Model.rb +411 -261
  152. data/lib/openstudio-standards/standards/Standards.PlanarSurface.rb +2 -2
  153. data/lib/openstudio-standards/standards/Standards.PlantLoop.rb +94 -29
  154. data/lib/openstudio-standards/standards/Standards.Pump.rb +2 -2
  155. data/lib/openstudio-standards/standards/Standards.ScheduleConstant.rb +2 -2
  156. data/lib/openstudio-standards/standards/Standards.ScheduleRuleset.rb +14 -14
  157. data/lib/openstudio-standards/standards/Standards.Space.rb +37 -30
  158. data/lib/openstudio-standards/standards/Standards.SpaceType.rb +38 -29
  159. data/lib/openstudio-standards/standards/Standards.SubSurface.rb +7 -7
  160. data/lib/openstudio-standards/standards/Standards.Surface.rb +13 -13
  161. data/lib/openstudio-standards/standards/Standards.ThermalZone.rb +109 -66
  162. data/lib/openstudio-standards/standards/Standards.WaterHeaterMixed.rb +11 -4
  163. data/lib/openstudio-standards/standards/Standards.ZoneHVACComponent.rb +6 -6
  164. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2004/ashrae_90_1_2004.AirLoopHVAC.rb +1 -1
  165. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2004/ashrae_90_1_2004.PlantLoop.rb +1 -1
  166. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2004/ashrae_90_1_2004.Space.rb +1 -1
  167. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2007/ashrae_90_1_2007.Space.rb +1 -1
  168. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2010/ashrae_90_1_2010.AirLoopHVAC.rb +4 -4
  169. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2010/ashrae_90_1_2010.AirTerminalSingleDuctVAVReheat.rb +1 -1
  170. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2010/ashrae_90_1_2010.Space.rb +4 -4
  171. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2013/ashrae_90_1_2013.AirLoopHVAC.rb +4 -4
  172. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2013/ashrae_90_1_2013.AirTerminalSingleDuctVAVReheat.rb +1 -1
  173. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2013/ashrae_90_1_2013.CoolingTowerVariableSpeed.rb +1 -1
  174. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2013/ashrae_90_1_2013.Model.rb +5 -21
  175. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2013/ashrae_90_1_2013.Space.rb +4 -4
  176. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2013/ashrae_90_1_2013.WaterHeaterMixed.rb +1 -1
  177. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2013/ashrae_90_1_2013.ZoneHVACComponent.rb +1 -1
  178. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2016/ashrae_90_1_2016.AirLoopHVAC.rb +36 -4
  179. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2016/ashrae_90_1_2016.AirTerminalSingleDuctVAVReheat.rb +1 -1
  180. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2016/ashrae_90_1_2016.CoolingTowerVariableSpeed.rb +1 -1
  181. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2016/ashrae_90_1_2016.Space.rb +4 -4
  182. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2016/ashrae_90_1_2016.ZoneHVACComponent.rb +1 -1
  183. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2016/comstock_ashrae_90_1_2016/comstock_ashrae_90_1_2016.AirLoopHVAC.rb +26 -0
  184. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2019/ashrae_90_1_2019.AirLoopHVAC.rb +53 -10
  185. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2019/ashrae_90_1_2019.AirTerminalSingleDuctVAVReheat.rb +1 -1
  186. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2019/ashrae_90_1_2019.CoolingTowerVariableSpeed.rb +1 -1
  187. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2019/ashrae_90_1_2019.Space.rb +6 -6
  188. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2019/ashrae_90_1_2019.ZoneHVACComponent.rb +2 -2
  189. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2019/comstock_ashrae_90_1_2019/comstock_ashrae_90_1_2019.AirLoopHVAC.rb +26 -0
  190. data/lib/openstudio-standards/standards/ashrae_90_1/data/ashrae_90_1.curves.json +211 -211
  191. data/lib/openstudio-standards/standards/ashrae_90_1/doe_ref_1980_2004/data/doe_ref_1980_2004.economizers.json +14 -14
  192. data/lib/openstudio-standards/standards/ashrae_90_1/doe_ref_1980_2004/doe_ref_1980_2004.AirLoopHVAC.rb +4 -4
  193. data/lib/openstudio-standards/standards/ashrae_90_1/doe_ref_1980_2004/doe_ref_1980_2004.Model.rb +1 -1
  194. data/lib/openstudio-standards/standards/ashrae_90_1/doe_ref_1980_2004/doe_ref_1980_2004.PlantLoop.rb +1 -1
  195. data/lib/openstudio-standards/standards/ashrae_90_1/doe_ref_pre_1980/data/doe_ref_pre_1980.economizers.json +14 -14
  196. data/lib/openstudio-standards/standards/ashrae_90_1/doe_ref_pre_1980/doe_ref_pre_1980.AirLoopHVAC.rb +4 -4
  197. data/lib/openstudio-standards/standards/ashrae_90_1/doe_ref_pre_1980/doe_ref_pre_1980.Model.rb +1 -1
  198. data/lib/openstudio-standards/standards/ashrae_90_1/doe_ref_pre_1980/doe_ref_pre_1980.PlantLoop.rb +1 -1
  199. data/lib/openstudio-standards/standards/ashrae_90_1/nrel_zne_ready_2017/nrel_zne_ready_2017.AirLoopHVAC.rb +6 -6
  200. data/lib/openstudio-standards/standards/ashrae_90_1/nrel_zne_ready_2017/nrel_zne_ready_2017.AirTerminalSingleDuctVAVReheat.rb +1 -1
  201. data/lib/openstudio-standards/standards/ashrae_90_1/nrel_zne_ready_2017/nrel_zne_ready_2017.CoolingTowerVariableSpeed.rb +1 -1
  202. data/lib/openstudio-standards/standards/ashrae_90_1/nrel_zne_ready_2017/nrel_zne_ready_2017.PlantLoop.rb +1 -1
  203. data/lib/openstudio-standards/standards/ashrae_90_1/nrel_zne_ready_2017/nrel_zne_ready_2017.Space.rb +4 -4
  204. data/lib/openstudio-standards/standards/ashrae_90_1/ze_aedg_multifamily/ze_aedg_multifamily.AirLoopHVAC.rb +6 -6
  205. data/lib/openstudio-standards/standards/ashrae_90_1/ze_aedg_multifamily/ze_aedg_multifamily.AirTerminalSingleDuctVAVReheat.rb +1 -1
  206. data/lib/openstudio-standards/standards/ashrae_90_1/ze_aedg_multifamily/ze_aedg_multifamily.CoolingTowerVariableSpeed.rb +1 -1
  207. data/lib/openstudio-standards/standards/ashrae_90_1/ze_aedg_multifamily/ze_aedg_multifamily.PlantLoop.rb +1 -1
  208. data/lib/openstudio-standards/standards/ashrae_90_1/ze_aedg_multifamily/ze_aedg_multifamily.Space.rb +4 -4
  209. data/lib/openstudio-standards/standards/ashrae_90_1_prm/ashrae_90_1_prm.AirLoopHVAC.rb +22 -28
  210. data/lib/openstudio-standards/standards/ashrae_90_1_prm/ashrae_90_1_prm.AirTerminalSingleDuctParallelPIUReheat.rb +1 -1
  211. data/lib/openstudio-standards/standards/ashrae_90_1_prm/ashrae_90_1_prm.AirTerminalSingleDuctVAVReheat.rb +2 -2
  212. data/lib/openstudio-standards/standards/ashrae_90_1_prm/ashrae_90_1_prm.BoilerHotWater.rb +1 -74
  213. data/lib/openstudio-standards/standards/ashrae_90_1_prm/ashrae_90_1_prm.ChillerElectricEIR.rb +7 -59
  214. data/lib/openstudio-standards/standards/ashrae_90_1_prm/ashrae_90_1_prm.CoilCoolingDXSingleSpeed.rb +1 -1
  215. data/lib/openstudio-standards/standards/ashrae_90_1_prm/ashrae_90_1_prm.CoilCoolingDXTwoSpeed.rb +1 -1
  216. data/lib/openstudio-standards/standards/ashrae_90_1_prm/ashrae_90_1_prm.CoilDX.rb +1 -1
  217. data/lib/openstudio-standards/standards/ashrae_90_1_prm/ashrae_90_1_prm.CoilHeatingDXSingleSpeed.rb +1 -1
  218. data/lib/openstudio-standards/standards/ashrae_90_1_prm/ashrae_90_1_prm.CoilHeatingGas.rb +1 -21
  219. data/lib/openstudio-standards/standards/ashrae_90_1_prm/ashrae_90_1_prm.DesignSpecificationOutdoorAir.rb +101 -0
  220. data/lib/openstudio-standards/standards/ashrae_90_1_prm/ashrae_90_1_prm.FanConstantVolume.rb +1 -1
  221. data/lib/openstudio-standards/standards/ashrae_90_1_prm/ashrae_90_1_prm.FanOnOff.rb +1 -1
  222. data/lib/openstudio-standards/standards/ashrae_90_1_prm/ashrae_90_1_prm.FanVariableVolume.rb +1 -1
  223. data/lib/openstudio-standards/standards/ashrae_90_1_prm/ashrae_90_1_prm.HeatExchangerSensLat.rb +1 -1
  224. data/lib/openstudio-standards/standards/ashrae_90_1_prm/ashrae_90_1_prm.Model.rb +643 -526
  225. data/lib/openstudio-standards/standards/ashrae_90_1_prm/ashrae_90_1_prm.PlanarSurface.rb +8 -2
  226. data/lib/openstudio-standards/standards/ashrae_90_1_prm/ashrae_90_1_prm.PlantLoop.rb +17 -77
  227. data/lib/openstudio-standards/standards/ashrae_90_1_prm/ashrae_90_1_prm.Space.rb +74 -16
  228. data/lib/openstudio-standards/standards/ashrae_90_1_prm/ashrae_90_1_prm.SpaceType.rb +96 -44
  229. data/lib/openstudio-standards/standards/ashrae_90_1_prm/ashrae_90_1_prm.Surface.rb +6 -6
  230. data/lib/openstudio-standards/standards/ashrae_90_1_prm/ashrae_90_1_prm.ThermalZone.rb +18 -6
  231. data/lib/openstudio-standards/standards/ashrae_90_1_prm/ashrae_90_1_prm.ZoneHVACComponent.rb +1 -1
  232. data/lib/openstudio-standards/standards/ashrae_90_1_prm/ashrae_90_1_prm.rb +328 -74
  233. data/lib/openstudio-standards/standards/ashrae_90_1_prm/ashrae_90_1_prm_2019/ashrae_90_1_prm_2019.Model.rb +0 -118
  234. data/lib/openstudio-standards/standards/ashrae_90_1_prm/ashrae_90_1_prm_2019/ashrae_90_1_prm_2019.rb +2 -1
  235. data/lib/openstudio-standards/standards/ashrae_90_1_prm/ashrae_90_1_prm_2019/data/ashrae_90_1_prm_2019.heat_rejection.json +1 -1
  236. data/lib/openstudio-standards/standards/ashrae_90_1_prm/docs/baseline_outdoor_air.md +35 -0
  237. data/lib/openstudio-standards/standards/ashrae_90_1_prm/docs/set_plug_load_measures.md +1 -1
  238. data/lib/openstudio-standards/standards/ashrae_90_1_prm/userdata_csv/ashrae_90_1_prm.UserData.rb +228 -0
  239. data/lib/openstudio-standards/standards/ashrae_90_1_prm/userdata_csv/userdata_enums.rb +131 -0
  240. data/lib/openstudio-standards/standards/ashrae_90_1_prm/userdata_csv/userdata_space.csv +1 -1
  241. data/lib/openstudio-standards/standards/cbes/cbes.AirLoopHVAC.rb +5 -5
  242. data/lib/openstudio-standards/standards/cbes/cbes.Model.rb +1 -1
  243. data/lib/openstudio-standards/standards/cbes/cbes.PlantLoop.rb +1 -1
  244. data/lib/openstudio-standards/standards/cbes/cbes.Space.rb +1 -1
  245. data/lib/openstudio-standards/standards/cbes/cbes_t24_2005/cbes_t24_2005.Space.rb +1 -1
  246. data/lib/openstudio-standards/standards/cbes/cbes_t24_2008/cbes_t24_2008.Space.rb +1 -1
  247. data/lib/openstudio-standards/standards/deer/deer.AirLoopHVAC.rb +109 -27
  248. data/lib/openstudio-standards/standards/deer/deer.Space.rb +1 -1
  249. data/lib/openstudio-standards/standards/deer/deer_1985/data/deer_1985.economizers.json +246 -4
  250. data/lib/openstudio-standards/standards/deer/deer_1996/data/deer_1996.economizers.json +246 -4
  251. data/lib/openstudio-standards/standards/deer/deer_2003/data/deer_2003.economizers.json +246 -4
  252. data/lib/openstudio-standards/standards/deer/deer_2003/deer_2003.ThermalZone.rb +18 -18
  253. data/lib/openstudio-standards/standards/deer/deer_2007/data/deer_2007.economizers.json +246 -4
  254. data/lib/openstudio-standards/standards/deer/deer_2007/deer_2007.ThermalZone.rb +18 -18
  255. data/lib/openstudio-standards/standards/deer/deer_2011/data/deer_2011.economizers.json +246 -4
  256. data/lib/openstudio-standards/standards/deer/deer_2011/deer_2011.ThermalZone.rb +18 -18
  257. data/lib/openstudio-standards/standards/deer/deer_2014/data/deer_2014.economizers.json +248 -6
  258. data/lib/openstudio-standards/standards/deer/deer_2014/deer_2014.Space.rb +3 -3
  259. data/lib/openstudio-standards/standards/deer/deer_2014/deer_2014.ThermalZone.rb +18 -18
  260. data/lib/openstudio-standards/standards/deer/deer_2015/data/deer_2015.economizers.json +248 -6
  261. data/lib/openstudio-standards/standards/deer/deer_2015/deer_2015.Space.rb +3 -3
  262. data/lib/openstudio-standards/standards/deer/deer_2015/deer_2015.ThermalZone.rb +18 -18
  263. data/lib/openstudio-standards/standards/deer/deer_2017/data/deer_2017.economizers.json +248 -6
  264. data/lib/openstudio-standards/standards/deer/deer_2017/deer_2017.Space.rb +3 -3
  265. data/lib/openstudio-standards/standards/deer/deer_2017/deer_2017.ThermalZone.rb +18 -18
  266. data/lib/openstudio-standards/standards/deer/deer_2020/data/deer_2020.economizers.json +248 -6
  267. data/lib/openstudio-standards/standards/deer/deer_2020/deer_2020.AirLoopHVAC.rb +18 -5
  268. data/lib/openstudio-standards/standards/deer/deer_2020/deer_2020.FanVariableVolume.rb +1 -1
  269. data/lib/openstudio-standards/standards/deer/deer_2020/deer_2020.Space.rb +3 -3
  270. data/lib/openstudio-standards/standards/deer/deer_2020/deer_2020.ThermalZone.rb +18 -18
  271. data/lib/openstudio-standards/standards/deer/deer_2025/data/deer_2025.economizers.json +248 -6
  272. data/lib/openstudio-standards/standards/deer/deer_2025/deer_2025.AirLoopHVAC.rb +3 -3
  273. data/lib/openstudio-standards/standards/deer/deer_2025/deer_2025.FanVariableVolume.rb +1 -1
  274. data/lib/openstudio-standards/standards/deer/deer_2025/deer_2025.Space.rb +3 -3
  275. data/lib/openstudio-standards/standards/deer/deer_2030/data/deer_2030.economizers.json +248 -6
  276. data/lib/openstudio-standards/standards/deer/deer_2030/data/deer_2030.heat_pumps.json +2 -2
  277. data/lib/openstudio-standards/standards/deer/deer_2030/deer_2030.AirLoopHVAC.rb +3 -3
  278. data/lib/openstudio-standards/standards/deer/deer_2030/deer_2030.FanVariableVolume.rb +1 -1
  279. data/lib/openstudio-standards/standards/deer/deer_2030/deer_2030.Space.rb +3 -3
  280. data/lib/openstudio-standards/standards/deer/deer_2035/data/deer_2035.economizers.json +248 -6
  281. data/lib/openstudio-standards/standards/deer/deer_2035/deer_2035.AirLoopHVAC.rb +3 -3
  282. data/lib/openstudio-standards/standards/deer/deer_2035/deer_2035.FanVariableVolume.rb +1 -1
  283. data/lib/openstudio-standards/standards/deer/deer_2035/deer_2035.Space.rb +3 -3
  284. data/lib/openstudio-standards/standards/deer/deer_2040/data/deer_2040.economizers.json +248 -6
  285. data/lib/openstudio-standards/standards/deer/deer_2040/deer_2040.AirLoopHVAC.rb +3 -3
  286. data/lib/openstudio-standards/standards/deer/deer_2040/deer_2040.FanVariableVolume.rb +1 -1
  287. data/lib/openstudio-standards/standards/deer/deer_2040/deer_2040.Space.rb +3 -3
  288. data/lib/openstudio-standards/standards/deer/deer_2045/data/deer_2045.economizers.json +260 -0
  289. data/lib/openstudio-standards/standards/deer/deer_2045/deer_2045.AirLoopHVAC.rb +3 -3
  290. data/lib/openstudio-standards/standards/deer/deer_2045/deer_2045.FanVariableVolume.rb +1 -1
  291. data/lib/openstudio-standards/standards/deer/deer_2045/deer_2045.Space.rb +3 -3
  292. data/lib/openstudio-standards/standards/deer/deer_2050/data/deer_2050.economizers.json +248 -6
  293. data/lib/openstudio-standards/standards/deer/deer_2050/deer_2050.AirLoopHVAC.rb +3 -3
  294. data/lib/openstudio-standards/standards/deer/deer_2050/deer_2050.FanVariableVolume.rb +1 -1
  295. data/lib/openstudio-standards/standards/deer/deer_2050/deer_2050.Space.rb +3 -3
  296. data/lib/openstudio-standards/standards/deer/deer_2055/data/deer_2055.economizers.json +248 -6
  297. data/lib/openstudio-standards/standards/deer/deer_2055/deer_2055.AirLoopHVAC.rb +3 -3
  298. data/lib/openstudio-standards/standards/deer/deer_2055/deer_2055.FanVariableVolume.rb +1 -1
  299. data/lib/openstudio-standards/standards/deer/deer_2055/deer_2055.Space.rb +3 -3
  300. data/lib/openstudio-standards/standards/deer/deer_2060/data/deer_2060.economizers.json +248 -6
  301. data/lib/openstudio-standards/standards/deer/deer_2060/deer_2060.AirLoopHVAC.rb +3 -3
  302. data/lib/openstudio-standards/standards/deer/deer_2060/deer_2060.FanVariableVolume.rb +1 -1
  303. data/lib/openstudio-standards/standards/deer/deer_2060/deer_2060.Space.rb +3 -3
  304. data/lib/openstudio-standards/standards/deer/deer_2065/data/deer_2065.economizers.json +248 -6
  305. data/lib/openstudio-standards/standards/deer/deer_2065/deer_2065.AirLoopHVAC.rb +3 -3
  306. data/lib/openstudio-standards/standards/deer/deer_2065/deer_2065.FanVariableVolume.rb +1 -1
  307. data/lib/openstudio-standards/standards/deer/deer_2065/deer_2065.Space.rb +3 -3
  308. data/lib/openstudio-standards/standards/deer/deer_2070/data/deer_2070.economizers.json +248 -6
  309. data/lib/openstudio-standards/standards/deer/deer_2070/deer_2070.AirLoopHVAC.rb +3 -3
  310. data/lib/openstudio-standards/standards/deer/deer_2070/deer_2070.FanVariableVolume.rb +1 -1
  311. data/lib/openstudio-standards/standards/deer/deer_2070/deer_2070.Space.rb +3 -3
  312. data/lib/openstudio-standards/standards/deer/deer_2075/data/deer_2075.economizers.json +248 -6
  313. data/lib/openstudio-standards/standards/deer/deer_2075/deer_2075.AirLoopHVAC.rb +3 -3
  314. data/lib/openstudio-standards/standards/deer/deer_2075/deer_2075.FanVariableVolume.rb +1 -1
  315. data/lib/openstudio-standards/standards/deer/deer_2075/deer_2075.Space.rb +3 -3
  316. data/lib/openstudio-standards/standards/deer/deer_pre_1975/data/deer_pre_1975.economizers.json +246 -4
  317. data/lib/openstudio-standards/standards/necb/BTAP1980TO2010/data/space_types.json +447 -223
  318. data/lib/openstudio-standards/standards/necb/BTAPPRE1980/building_envelope.rb +1 -1
  319. data/lib/openstudio-standards/standards/necb/BTAPPRE1980/data/space_types.json +447 -223
  320. data/lib/openstudio-standards/standards/necb/BTAPPRE1980/hvac_systems.rb +5 -2
  321. data/lib/openstudio-standards/standards/necb/ECMS/data/chiller_types.json +25 -0
  322. data/lib/openstudio-standards/standards/necb/ECMS/data/chillers.json +44 -0
  323. data/lib/openstudio-standards/standards/necb/ECMS/data/curves.json +225 -0
  324. data/lib/openstudio-standards/standards/necb/ECMS/ecms.rb +2 -2
  325. data/lib/openstudio-standards/standards/necb/ECMS/hvac_systems.rb +193 -73
  326. data/lib/openstudio-standards/standards/necb/ECMS/pv_ground.rb +1 -1
  327. data/lib/openstudio-standards/standards/necb/NECB2011/autozone.rb +10 -4
  328. data/lib/openstudio-standards/standards/necb/NECB2011/beps_compliance_path.rb +7 -7
  329. data/lib/openstudio-standards/standards/necb/NECB2011/building_envelope.rb +4 -5
  330. data/lib/openstudio-standards/standards/necb/NECB2011/data/chiller_types.json +32 -0
  331. data/lib/openstudio-standards/standards/necb/NECB2011/data/chillers.json +1 -1
  332. data/lib/openstudio-standards/standards/necb/NECB2011/data/constants.json +36 -0
  333. data/lib/openstudio-standards/standards/necb/NECB2011/data/fuel_type_sets.json +7 -7
  334. data/lib/openstudio-standards/standards/necb/NECB2011/data/geometry/NorthernEducation.osm +47587 -0
  335. data/lib/openstudio-standards/standards/necb/NECB2011/data/geometry/NorthernHealthCare.osm +49764 -0
  336. data/lib/openstudio-standards/standards/necb/NECB2011/data/geometry/Warehouse.osm +283 -297
  337. data/lib/openstudio-standards/standards/necb/NECB2011/data/space_type_unit_definitions.txt +2 -1
  338. data/lib/openstudio-standards/standards/necb/NECB2011/data/space_types.json +447 -223
  339. data/lib/openstudio-standards/standards/necb/NECB2011/data/standards_data.rb +3 -3
  340. data/lib/openstudio-standards/standards/necb/NECB2011/hvac_system_1_multi_speed.rb +1 -1
  341. data/lib/openstudio-standards/standards/necb/NECB2011/hvac_systems.rb +49 -27
  342. data/lib/openstudio-standards/standards/necb/NECB2011/necb_2011.rb +400 -202
  343. data/lib/openstudio-standards/standards/necb/NECB2011/service_water_heating.rb +4 -4
  344. data/lib/openstudio-standards/standards/necb/NECB2015/data/space_types.json +637 -318
  345. data/lib/openstudio-standards/standards/necb/NECB2015/hvac_systems.rb +18 -1
  346. data/lib/openstudio-standards/standards/necb/NECB2015/necb_2015.rb +3 -3
  347. data/lib/openstudio-standards/standards/necb/NECB2017/data/space_types.json +637 -318
  348. data/lib/openstudio-standards/standards/necb/NECB2017/hvac_systems.rb +1 -1
  349. data/lib/openstudio-standards/standards/necb/NECB2017/necb_2017.rb +3 -3
  350. data/lib/openstudio-standards/standards/necb/NECB2020/building_envelope.rb +1 -1
  351. data/lib/openstudio-standards/standards/necb/NECB2020/data/space_types.json +615 -307
  352. data/lib/openstudio-standards/standards/necb/NECB2020/service_water_heating.rb +4 -4
  353. data/lib/openstudio-standards/standards/necb/common/btap_data.rb +10 -5
  354. data/lib/openstudio-standards/standards/necb/common/btap_datapoint.rb +1 -1
  355. data/lib/openstudio-standards/utilities/assertion.rb +128 -0
  356. data/lib/openstudio-standards/utilities/logging.rb +2 -3
  357. data/lib/openstudio-standards/utilities/object_info.rb +39 -18
  358. data/lib/openstudio-standards/utilities/schedule_translator.rb +8 -6
  359. data/lib/openstudio-standards/utilities/simulation.rb +24 -11
  360. data/lib/openstudio-standards/utilities/sqlfile.rb +10 -5
  361. data/lib/openstudio-standards/version.rb +1 -1
  362. data/lib/openstudio-standards/weather/Weather.Model.rb +8 -9
  363. data/lib/openstudio-standards/weather/Weather.stat_file.rb +3 -3
  364. data/lib/openstudio-standards/weather/information.rb +35 -0
  365. data/lib/openstudio-standards.rb +69 -5
  366. metadata +52 -16
  367. data/data/standards/OpenStudio_Standards-deer-ALL-comstock(space_types).xlsx +0 -0
  368. data/lib/openstudio-standards/hvac_sizing/Siz.AirLoopHVAC.rb +0 -59
  369. data/lib/openstudio-standards/hvac_sizing/Siz.CoilCoolingWater.rb +0 -13
  370. data/lib/openstudio-standards/hvac_sizing/Siz.HVACComponent.rb +0 -36
  371. data/lib/openstudio-standards/hvac_sizing/Siz.HeatingCoolingFuels.rb +0 -898
  372. data/lib/openstudio-standards/hvac_sizing/Siz.Model.rb +0 -126
  373. data/lib/openstudio-standards/hvac_sizing/Siz.ThermalZone.rb +0 -356
  374. data/lib/openstudio-standards/prototypes/ashrae_90_1/nrel_nze_ready_2017/nrel_zne_ready_2017.Model.rb +0 -35
  375. data/lib/openstudio-standards/standards/ashrae_90_1_prm/ashrae_90_1_prm.CoolingTower.rb +0 -110
  376. data/lib/openstudio-standards/standards/ashrae_90_1_prm/ashrae_90_1_prm.CoolingTowerVariableSpeed.rb +0 -5
@@ -4,10 +4,10 @@ module FullServiceRestaurant
4
4
  # hvac adjustments specific to the prototype model
5
5
  #
6
6
  # @param model [OpenStudio::Model::Model] OpenStudio model object
7
- # @param building_type [string] the building type
7
+ # @param building_type [String] the building type
8
8
  # @param climate_zone [String] ASHRAE climate zone, e.g. 'ASHRAE 169-2013-4A'
9
9
  # @param prototype_input [Hash] hash of prototype inputs
10
- # @return [Bool] returns true if successful, false if not
10
+ # @return [Boolean] returns true if successful, false if not
11
11
  def model_custom_hvac_tweaks(model, building_type, climate_zone, prototype_input)
12
12
  OpenStudio.logFree(OpenStudio::Info, 'openstudio.model.Model', 'Started building type specific adjustments')
13
13
 
@@ -37,7 +37,7 @@ module FullServiceRestaurant
37
37
  #
38
38
  # @param climate_zone [String] ASHRAE climate zone, e.g. 'ASHRAE 169-2013-4A'
39
39
  # @param model [OpenStudio::Model::Model] OpenStudio model object
40
- # @return [Bool] returns true if successful, false if not
40
+ # @return [Boolean] returns true if successful, false if not
41
41
  def add_door_infiltration(climate_zone, model)
42
42
  # add extra infiltration for dining room door and attic (there is no attic in 'DOE Ref Pre-1980')
43
43
  return false if template == 'DOE Ref 1980-2004' || template == 'DOE Ref Pre-1980' || template == 'NECB2011'
@@ -114,7 +114,7 @@ module FullServiceRestaurant
114
114
  # update exhuast fan efficiency
115
115
  #
116
116
  # @param model [OpenStudio::Model::Model] OpenStudio model object
117
- # @return [Bool] returns true if successful, false if not
117
+ # @return [Boolean] returns true if successful, false if not
118
118
  def model_update_exhaust_fan_efficiency(model)
119
119
  case template
120
120
  when '90.1-2004', '90.1-2007', '90.1-2010', '90.1-2013', '90.1-2016', '90.1-2019'
@@ -137,7 +137,7 @@ module FullServiceRestaurant
137
137
  # add zone_mixing between kitchen and dining
138
138
  #
139
139
  # @param model [OpenStudio::Model::Model] OpenStudio model object
140
- # @return [Bool] returns true if successful, false if not
140
+ # @return [Boolean] returns true if successful, false if not
141
141
  def add_zone_mixing(model)
142
142
  # @todo remove zone mixing objects, transfer air is the should be the same for all stds, exhaust flow varies
143
143
  space_kitchen = model.getSpaceByName('Kitchen').get
@@ -162,7 +162,7 @@ module FullServiceRestaurant
162
162
  # add extra equipment for kitchen
163
163
  #
164
164
  # @param model [OpenStudio::Model::Model] OpenStudio model object
165
- # @return [Bool] returns true if successful, false if not
165
+ # @return [Boolean] returns true if successful, false if not
166
166
  def add_extra_equip_kitchen(model)
167
167
  kitchen_space = model.getSpaceByName('Kitchen')
168
168
  kitchen_space = kitchen_space.get
@@ -215,7 +215,7 @@ module FullServiceRestaurant
215
215
  # update zone sizing information
216
216
  #
217
217
  # @param model [OpenStudio::Model::Model] OpenStudio model object
218
- # @return [Bool] returns true if successful, false if not
218
+ # @return [Boolean] returns true if successful, false if not
219
219
  def update_sizing_zone(model)
220
220
  case template
221
221
  when '90.1-2007', '90.1-2010', '90.1-2013', '90.1-2016', '90.1-2019'
@@ -240,7 +240,7 @@ module FullServiceRestaurant
240
240
  #
241
241
  # @param climate_zone [String] ASHRAE climate zone, e.g. 'ASHRAE 169-2013-4A'
242
242
  # @param model [OpenStudio::Model::Model] OpenStudio model object
243
- # @return [Bool] returns true if successful, false if not
243
+ # @return [Boolean] returns true if successful, false if not
244
244
  def adjust_clg_setpoint(climate_zone, model)
245
245
  ['Dining', 'Kitchen'].each do |space_name|
246
246
  space_type_name = model.getSpaceByName(space_name).get.spaceType.get.name.get
@@ -274,7 +274,7 @@ module FullServiceRestaurant
274
274
  # It takes into account the available OSA in dining as transfer air.
275
275
  #
276
276
  # @param model [OpenStudio::Model::Model] OpenStudio model object
277
- # @return [Bool] returns true if successful, false if not
277
+ # @return [Boolean] returns true if successful, false if not
278
278
  def reset_kitchen_oa(model)
279
279
  space_kitchen = model.getSpaceByName('Kitchen').get
280
280
  ventilation = space_kitchen.designSpecificationOutdoorAir.get
@@ -294,7 +294,7 @@ module FullServiceRestaurant
294
294
  # update water heater ambient conditions
295
295
  #
296
296
  # @param model [OpenStudio::Model::Model] OpenStudio model object
297
- # @return [Bool] returns true if successful, false if not
297
+ # @return [Boolean] returns true if successful, false if not
298
298
  def update_waterheater_ambient_parameters(model)
299
299
  model.getWaterHeaterMixeds.sort.each do |water_heater|
300
300
  if water_heater.name.to_s.include?('Booster')
@@ -309,10 +309,10 @@ module FullServiceRestaurant
309
309
  # swh adjustments specific to the prototype model
310
310
  #
311
311
  # @param model [OpenStudio::Model::Model] OpenStudio model object
312
- # @param building_type [string] the building type
312
+ # @param building_type [String] the building type
313
313
  # @param climate_zone [String] ASHRAE climate zone, e.g. 'ASHRAE 169-2013-4A'
314
314
  # @param prototype_input [Hash] hash of prototype inputs
315
- # @return [Bool] returns true if successful, false if not
315
+ # @return [Boolean] returns true if successful, false if not
316
316
  def model_custom_swh_tweaks(model, building_type, climate_zone, prototype_input)
317
317
  update_waterheater_ambient_parameters(model)
318
318
 
@@ -322,10 +322,10 @@ module FullServiceRestaurant
322
322
  # geometry adjustments specific to the prototype model
323
323
  #
324
324
  # @param model [OpenStudio::Model::Model] OpenStudio model object
325
- # @param building_type [string] the building type
325
+ # @param building_type [String] the building type
326
326
  # @param climate_zone [String] ASHRAE climate zone, e.g. 'ASHRAE 169-2013-4A'
327
327
  # @param prototype_input [Hash] hash of prototype inputs
328
- # @return [Bool] returns true if successful, false if not
328
+ # @return [Boolean] returns true if successful, false if not
329
329
  def model_custom_geometry_tweaks(model, building_type, climate_zone, prototype_input)
330
330
  # Set original building North axis
331
331
  model_set_building_north_axis(model, 0.0)
@@ -4,10 +4,10 @@ module HighriseApartment
4
4
  # hvac adjustments specific to the prototype model
5
5
  #
6
6
  # @param model [OpenStudio::Model::Model] OpenStudio model object
7
- # @param building_type [string] the building type
7
+ # @param building_type [String] the building type
8
8
  # @param climate_zone [String] ASHRAE climate zone, e.g. 'ASHRAE 169-2013-4A'
9
9
  # @param prototype_input [Hash] hash of prototype inputs
10
- # @return [Bool] returns true if successful, false if not
10
+ # @return [Boolean] returns true if successful, false if not
11
11
  def model_custom_hvac_tweaks(model, building_type, climate_zone, prototype_input)
12
12
  OpenStudio.logFree(OpenStudio::Info, 'openstudio.model.Model', 'Started building type specific HVAC adjustments')
13
13
 
@@ -50,7 +50,7 @@ module HighriseApartment
50
50
  # add elevator and lights&fans for the top floor corridor
51
51
  #
52
52
  # @param model [OpenStudio::Model::Model] OpenStudio model object
53
- # @return [Bool] returns true if successful, false if not
53
+ # @return [Boolean] returns true if successful, false if not
54
54
  def add_extra_equip_corridor(model)
55
55
  corridor_top_space = model.getSpaceByName('T Corridor').get
56
56
  elec_equip_def1 = OpenStudio::Model::ElectricEquipmentDefinition.new(model)
@@ -93,7 +93,7 @@ module HighriseApartment
93
93
  #
94
94
  # @param climate_zone [String] ASHRAE climate zone, e.g. 'ASHRAE 169-2013-4A'
95
95
  # @param model [OpenStudio::Model::Model] OpenStudio model object
96
- # @return [Bool] returns true if successful, false if not
96
+ # @return [Boolean] returns true if successful, false if not
97
97
  def add_door_infiltration(climate_zone, model)
98
98
  return false if template == 'DOE Ref 1980-2004' || template == 'DOE Ref Pre-1980'
99
99
 
@@ -128,7 +128,7 @@ module HighriseApartment
128
128
  # update fan efficiency
129
129
  #
130
130
  # @param model [OpenStudio::Model::Model] OpenStudio model object
131
- # @return [Bool] returns true if successful, false if not
131
+ # @return [Boolean] returns true if successful, false if not
132
132
  def model_update_fan_efficiency(model)
133
133
  model.getFanOnOffs.sort.each do |fan_onoff|
134
134
  next if fan_onoff.name.get.to_s.include?('ERV')
@@ -142,10 +142,10 @@ module HighriseApartment
142
142
  # swh adjustments specific to the prototype model
143
143
  #
144
144
  # @param model [OpenStudio::Model::Model] OpenStudio model object
145
- # @param building_type [string] the building type
145
+ # @param building_type [String] the building type
146
146
  # @param climate_zone [String] ASHRAE climate zone, e.g. 'ASHRAE 169-2013-4A'
147
147
  # @param prototype_input [Hash] hash of prototype inputs
148
- # @return [Bool] returns true if successful, false if not
148
+ # @return [Boolean] returns true if successful, false if not
149
149
  def model_custom_swh_tweaks(model, building_type, climate_zone, prototype_input)
150
150
  return true
151
151
  end
@@ -153,10 +153,10 @@ module HighriseApartment
153
153
  # geometry adjustments specific to the prototype model
154
154
  #
155
155
  # @param model [OpenStudio::Model::Model] OpenStudio model object
156
- # @param building_type [string] the building type
156
+ # @param building_type [String] the building type
157
157
  # @param climate_zone [String] ASHRAE climate zone, e.g. 'ASHRAE 169-2013-4A'
158
158
  # @param prototype_input [Hash] hash of prototype inputs
159
- # @return [Bool] returns true if successful, false if not
159
+ # @return [Boolean] returns true if successful, false if not
160
160
  def model_custom_geometry_tweaks(model, building_type, climate_zone, prototype_input)
161
161
  # Set original building North axis
162
162
  model_set_building_north_axis(model, 0.0)
@@ -4,10 +4,10 @@ module Hospital
4
4
  # hvac adjustments specific to the prototype model
5
5
  #
6
6
  # @param model [OpenStudio::Model::Model] OpenStudio model object
7
- # @param building_type [string] the building type
7
+ # @param building_type [String] the building type
8
8
  # @param climate_zone [String] ASHRAE climate zone, e.g. 'ASHRAE 169-2013-4A'
9
9
  # @param prototype_input [Hash] hash of prototype inputs
10
- # @return [Bool] returns true if successful, false if not
10
+ # @return [Boolean] returns true if successful, false if not
11
11
  def model_custom_hvac_tweaks(model, building_type, climate_zone, prototype_input)
12
12
  OpenStudio.logFree(OpenStudio::Info, 'openstudio.model.Model', 'Started building type specific HVAC adjustments')
13
13
 
@@ -133,7 +133,7 @@ module Hospital
133
133
  # add extra equipment for kitchen
134
134
  #
135
135
  # @param model [OpenStudio::Model::Model] OpenStudio model object
136
- # @return [Bool] returns true if successful, false if not
136
+ # @return [Boolean] returns true if successful, false if not
137
137
  def add_extra_equip_kitchen(model)
138
138
  kitchen_space = model.getSpaceByName('Kitchen_Flr_5')
139
139
  kitchen_space = kitchen_space.get
@@ -176,7 +176,7 @@ module Hospital
176
176
  # update water heater ambient conditions
177
177
  #
178
178
  # @param model [OpenStudio::Model::Model] OpenStudio model object
179
- # @return [Bool] returns true if successful, false if not
179
+ # @return [Boolean] returns true if successful, false if not
180
180
  def update_waterheater_ambient_parameters(model)
181
181
  model.getWaterHeaterMixeds.sort.each do |water_heater|
182
182
  if water_heater.name.to_s.include?('300gal')
@@ -195,10 +195,10 @@ module Hospital
195
195
  # swh adjustments specific to the prototype model
196
196
  #
197
197
  # @param model [OpenStudio::Model::Model] OpenStudio model object
198
- # @param building_type [string] the building type
198
+ # @param building_type [String] the building type
199
199
  # @param climate_zone [String] ASHRAE climate zone, e.g. 'ASHRAE 169-2013-4A'
200
200
  # @param prototype_input [Hash] hash of prototype inputs
201
- # @return [Bool] returns true if successful, false if not
201
+ # @return [Boolean] returns true if successful, false if not
202
202
  def model_custom_swh_tweaks(model, building_type, climate_zone, prototype_input)
203
203
  update_waterheater_ambient_parameters(model)
204
204
 
@@ -208,7 +208,7 @@ module Hospital
208
208
  # reset kitchen outdoor air
209
209
  #
210
210
  # @param model [OpenStudio::Model::Model] OpenStudio model object
211
- # @return [Bool] returns true if successful, false if not
211
+ # @return [Boolean] returns true if successful, false if not
212
212
  def reset_kitchen_oa(model)
213
213
  space_kitchen = model.getSpaceByName('Kitchen_Flr_5').get
214
214
  ventilation = space_kitchen.designSpecificationOutdoorAir.get
@@ -226,7 +226,7 @@ module Hospital
226
226
  # update exhuast fan efficiency
227
227
  #
228
228
  # @param model [OpenStudio::Model::Model] OpenStudio model object
229
- # @return [Bool] returns true if successful, false if not
229
+ # @return [Boolean] returns true if successful, false if not
230
230
  def model_update_exhaust_fan_efficiency(model)
231
231
  case template
232
232
  when '90.1-2004', '90.1-2007', '90.1-2010', '90.1-2013', '90.1-2016', '90.1-2019'
@@ -248,7 +248,7 @@ module Hospital
248
248
  # @param space_name [String] space name
249
249
  # @param hot_water_loop [OpenStudio::Model::PlantLoop] hot water loop
250
250
  # @param model [OpenStudio::Model::Model] OpenStudio model object
251
- # @return [Bool] returns true if successful, false if not
251
+ # @return [Boolean] returns true if successful, false if not
252
252
  def add_humidifier(space_name, hot_water_loop, model)
253
253
  space = model.getSpaceByName(space_name).get
254
254
  zone = space.thermalZone.get
@@ -295,7 +295,7 @@ module Hospital
295
295
  # add daylighting controls
296
296
  #
297
297
  # @param model [OpenStudio::Model::Model] OpenStudio model object
298
- # @return [Bool] returns true if successful, false if not
298
+ # @return [Boolean] returns true if successful, false if not
299
299
  def model_add_daylighting_controls(model)
300
300
  space_names = ['Office1_Flr_5', 'Office3_Flr_5', 'Lobby_Records_Flr_1']
301
301
  space_names.each do |space_name|
@@ -308,7 +308,7 @@ module Hospital
308
308
  # For operating room 1&2 in 2010 and 2013, VAV minimum air flow is set by schedule
309
309
  #
310
310
  # @param model [OpenStudio::Model::Model] OpenStudio model object
311
- # @return [Bool] returns true if successful, false if not
311
+ # @return [Boolean] returns true if successful, false if not
312
312
  def model_adjust_vav_minimum_damper(model)
313
313
  model.getThermalZones.each do |zone|
314
314
  air_terminal = zone.airLoopHVACTerminal
@@ -348,7 +348,7 @@ module Hospital
348
348
  #
349
349
  # @param prototype_input [Hash] hash of prototype inputs
350
350
  # @param model [OpenStudio::Model::Model] OpenStudio model object
351
- # @return [Bool] returns true if successful, false if not
351
+ # @return [Boolean] returns true if successful, false if not
352
352
  def model_reset_or_room_vav_minimum_damper(prototype_input, model)
353
353
  case template
354
354
  when '90.1-2010', '90.1-2013', '90.1-2016', '90.1-2019'
@@ -370,7 +370,7 @@ module Hospital
370
370
  # certain air handlers do not have an economizer
371
371
  #
372
372
  # @param model [OpenStudio::Model::Model] OpenStudio model object
373
- # @return [Bool] returns true if successful, false if not
373
+ # @return [Boolean] returns true if successful, false if not
374
374
  def model_modify_oa_controller(model)
375
375
  model.getAirLoopHVACs.sort.each do |air_loop|
376
376
  oa_sys = air_loop.airLoopHVACOutdoorAirSystem.get
@@ -386,10 +386,10 @@ module Hospital
386
386
  # geometry adjustments specific to the prototype model
387
387
  #
388
388
  # @param model [OpenStudio::Model::Model] OpenStudio model object
389
- # @param building_type [string] the building type
389
+ # @param building_type [String] the building type
390
390
  # @param climate_zone [String] ASHRAE climate zone, e.g. 'ASHRAE 169-2013-4A'
391
391
  # @param prototype_input [Hash] hash of prototype inputs
392
- # @return [Bool] returns true if successful, false if not
392
+ # @return [Boolean] returns true if successful, false if not
393
393
  def model_custom_geometry_tweaks(model, building_type, climate_zone, prototype_input)
394
394
  # Set original building North axis
395
395
  model_set_building_north_axis(model, 0.0)
@@ -403,7 +403,7 @@ module Hospital
403
403
  #
404
404
  # @param air_terminal_single_duct_vav_reheat [OpenStudio::Model::AirTerminalSingleDuctVAVReheat] the air terminal object
405
405
  # @param zone_oa_per_area [Double] the zone outdoor air per area in m^3/s*m^2
406
- # @return [Bool] returns true if successful, false if not
406
+ # @return [Boolean] returns true if successful, false if not
407
407
  def air_terminal_single_duct_vav_reheat_apply_initial_prototype_damper_position(air_terminal_single_duct_vav_reheat, zone_oa_per_area)
408
408
  min_damper_position = template == '90.1-2010' || template == '90.1-2013' || template == '90.1-2016' || template == '90.1-2019' ? 0.2 : 0.3
409
409
 
@@ -4,10 +4,10 @@ module Laboratory
4
4
  # hvac adjustments specific to the prototype model
5
5
  #
6
6
  # @param model [OpenStudio::Model::Model] OpenStudio model object
7
- # @param building_type [string] the building type
7
+ # @param building_type [String] the building type
8
8
  # @param climate_zone [String] ASHRAE climate zone, e.g. 'ASHRAE 169-2013-4A'
9
9
  # @param prototype_input [Hash] hash of prototype inputs
10
- # @return [Bool] returns true if successful, false if not
10
+ # @return [Boolean] returns true if successful, false if not
11
11
  def model_custom_hvac_tweaks(model, building_type, climate_zone, prototype_input)
12
12
  OpenStudio.logFree(OpenStudio::Info, 'openstudio.model.Model', 'Started building type specific adjustments')
13
13
 
@@ -59,7 +59,7 @@ module Laboratory
59
59
  # lab zones don't have economizer, the air flow rate is determined by the ventilation requirement
60
60
  #
61
61
  # @param model [OpenStudio::Model::Model] OpenStudio model object
62
- # @return [Bool] returns true if successful, false if not
62
+ # @return [Boolean] returns true if successful, false if not
63
63
  def model_modify_oa_controller(model)
64
64
  model.getAirLoopHVACs.sort.each do |air_loop|
65
65
  oa_sys = air_loop.airLoopHVACOutdoorAirSystem.get
@@ -74,10 +74,10 @@ module Laboratory
74
74
  # swh adjustments specific to the prototype model
75
75
  #
76
76
  # @param model [OpenStudio::Model::Model] OpenStudio model object
77
- # @param building_type [string] the building type
77
+ # @param building_type [String] the building type
78
78
  # @param climate_zone [String] ASHRAE climate zone, e.g. 'ASHRAE 169-2013-4A'
79
79
  # @param prototype_input [Hash] hash of prototype inputs
80
- # @return [Bool] returns true if successful, false if not
80
+ # @return [Boolean] returns true if successful, false if not
81
81
  def model_custom_swh_tweaks(model, building_type, climate_zone, prototype_input)
82
82
  return true
83
83
  end
@@ -85,10 +85,10 @@ module Laboratory
85
85
  # geometry adjustments specific to the prototype model
86
86
  #
87
87
  # @param model [OpenStudio::Model::Model] OpenStudio model object
88
- # @param building_type [string] the building type
88
+ # @param building_type [String] the building type
89
89
  # @param climate_zone [String] ASHRAE climate zone, e.g. 'ASHRAE 169-2013-4A'
90
90
  # @param prototype_input [Hash] hash of prototype inputs
91
- # @return [Bool] returns true if successful, false if not
91
+ # @return [Boolean] returns true if successful, false if not
92
92
  def model_custom_geometry_tweaks(model, building_type, climate_zone, prototype_input)
93
93
  return true
94
94
  end
@@ -4,10 +4,10 @@ module LargeDataCenterHighITE
4
4
  # hvac adjustments specific to the prototype model
5
5
  #
6
6
  # @param model [OpenStudio::Model::Model] OpenStudio model object
7
- # @param building_type [string] the building type
7
+ # @param building_type [String] the building type
8
8
  # @param climate_zone [String] ASHRAE climate zone, e.g. 'ASHRAE 169-2013-4A'
9
9
  # @param prototype_input [Hash] hash of prototype inputs
10
- # @return [Bool] returns true if successful, false if not
10
+ # @return [Boolean] returns true if successful, false if not
11
11
  def model_custom_hvac_tweaks(model, building_type, climate_zone, prototype_input)
12
12
  OpenStudio.logFree(OpenStudio::Info, 'openstudio.model.Model', 'Started building type specific adjustments')
13
13
 
@@ -27,7 +27,7 @@ module LargeDataCenterHighITE
27
27
  # Normal electric equipment has been added in model_add_load prior to this will replace with ITE object here
28
28
  #
29
29
  # @param model [OpenStudio::Model::Model] OpenStudio model object
30
- # @return [Bool] returns true if successful, false if not
30
+ # @return [Boolean] returns true if successful, false if not
31
31
  def add_data_center_load(model)
32
32
  model.getSpaceTypes.each do |space_type|
33
33
  # Get the standards data
@@ -121,7 +121,7 @@ module LargeDataCenterHighITE
121
121
  # modify CRAH supply air setpoint manager
122
122
  #
123
123
  # @param model [OpenStudio::Model::Model] OpenStudio model object
124
- # @return [Bool] returns true if successful, false if not
124
+ # @return [Boolean] returns true if successful, false if not
125
125
  def modify_crah_sa_stpt_manager(model)
126
126
  supply_temp_sch = get_crah_supply_temp_sch(model)
127
127
  model.getSetpointManagerScheduleds.each do |stpt_manager|
@@ -180,10 +180,10 @@ module LargeDataCenterHighITE
180
180
  # swh adjustments specific to the prototype model
181
181
  #
182
182
  # @param model [OpenStudio::Model::Model] OpenStudio model object
183
- # @param building_type [string] the building type
183
+ # @param building_type [String] the building type
184
184
  # @param climate_zone [String] ASHRAE climate zone, e.g. 'ASHRAE 169-2013-4A'
185
185
  # @param prototype_input [Hash] hash of prototype inputs
186
- # @return [Bool] returns true if successful, false if not
186
+ # @return [Boolean] returns true if successful, false if not
187
187
  def model_custom_swh_tweaks(model, building_type, climate_zone, prototype_input)
188
188
  return true
189
189
  end
@@ -191,10 +191,10 @@ module LargeDataCenterHighITE
191
191
  # geometry adjustments specific to the prototype model
192
192
  #
193
193
  # @param model [OpenStudio::Model::Model] OpenStudio model object
194
- # @param building_type [string] the building type
194
+ # @param building_type [String] the building type
195
195
  # @param climate_zone [String] ASHRAE climate zone, e.g. 'ASHRAE 169-2013-4A'
196
196
  # @param prototype_input [Hash] hash of prototype inputs
197
- # @return [Bool] returns true if successful, false if not
197
+ # @return [Boolean] returns true if successful, false if not
198
198
  def model_custom_geometry_tweaks(model, building_type, climate_zone, prototype_input)
199
199
  return true
200
200
  end
@@ -4,10 +4,10 @@ module LargeDataCenterLowITE
4
4
  # hvac adjustments specific to the prototype model
5
5
  #
6
6
  # @param model [OpenStudio::Model::Model] OpenStudio model object
7
- # @param building_type [string] the building type
7
+ # @param building_type [String] the building type
8
8
  # @param climate_zone [String] ASHRAE climate zone, e.g. 'ASHRAE 169-2013-4A'
9
9
  # @param prototype_input [Hash] hash of prototype inputs
10
- # @return [Bool] returns true if successful, false if not
10
+ # @return [Boolean] returns true if successful, false if not
11
11
  def model_custom_hvac_tweaks(model, building_type, climate_zone, prototype_input)
12
12
  OpenStudio.logFree(OpenStudio::Info, 'openstudio.model.Model', 'Started building type specific adjustments')
13
13
 
@@ -27,7 +27,7 @@ module LargeDataCenterLowITE
27
27
  # Normal electric equipment has been added in model_add_load prior to this will replace with ITE object here
28
28
  #
29
29
  # @param model [OpenStudio::Model::Model] OpenStudio model object
30
- # @return [Bool] returns true if successful, false if not
30
+ # @return [Boolean] returns true if successful, false if not
31
31
  def add_data_center_load(model)
32
32
  model.getSpaceTypes.each do |space_type|
33
33
  # Get the standards data
@@ -123,7 +123,7 @@ module LargeDataCenterLowITE
123
123
  # modify CRAH supply air setpoint manager
124
124
  #
125
125
  # @param model [OpenStudio::Model::Model] OpenStudio model object
126
- # @return [Bool] returns true if successful, false if not
126
+ # @return [Boolean] returns true if successful, false if not
127
127
  def modify_crah_sa_stpt_manager(model)
128
128
  supply_temp_sch = get_crah_supply_temp_sch(model)
129
129
  model.getSetpointManagerScheduleds.each do |stpt_manager|
@@ -181,10 +181,10 @@ module LargeDataCenterLowITE
181
181
  # swh adjustments specific to the prototype model
182
182
  #
183
183
  # @param model [OpenStudio::Model::Model] OpenStudio model object
184
- # @param building_type [string] the building type
184
+ # @param building_type [String] the building type
185
185
  # @param climate_zone [String] ASHRAE climate zone, e.g. 'ASHRAE 169-2013-4A'
186
186
  # @param prototype_input [Hash] hash of prototype inputs
187
- # @return [Bool] returns true if successful, false if not
187
+ # @return [Boolean] returns true if successful, false if not
188
188
  def model_custom_swh_tweaks(model, building_type, climate_zone, prototype_input)
189
189
  return true
190
190
  end
@@ -192,10 +192,10 @@ module LargeDataCenterLowITE
192
192
  # geometry adjustments specific to the prototype model
193
193
  #
194
194
  # @param model [OpenStudio::Model::Model] OpenStudio model object
195
- # @param building_type [string] the building type
195
+ # @param building_type [String] the building type
196
196
  # @param climate_zone [String] ASHRAE climate zone, e.g. 'ASHRAE 169-2013-4A'
197
197
  # @param prototype_input [Hash] hash of prototype inputs
198
- # @return [Bool] returns true if successful, false if not
198
+ # @return [Boolean] returns true if successful, false if not
199
199
  def model_custom_geometry_tweaks(model, building_type, climate_zone, prototype_input)
200
200
  return true
201
201
  end
@@ -4,10 +4,10 @@ module LargeHotel
4
4
  # hvac adjustments specific to the prototype model
5
5
  #
6
6
  # @param model [OpenStudio::Model::Model] OpenStudio model object
7
- # @param building_type [string] the building type
7
+ # @param building_type [String] the building type
8
8
  # @param climate_zone [String] ASHRAE climate zone, e.g. 'ASHRAE 169-2013-4A'
9
9
  # @param prototype_input [Hash] hash of prototype inputs
10
- # @return [Bool] returns true if successful, false if not
10
+ # @return [Boolean] returns true if successful, false if not
11
11
  def model_custom_hvac_tweaks(model, building_type, climate_zone, prototype_input)
12
12
  OpenStudio.logFree(OpenStudio::Info, 'openstudio.model.Model', 'Started building type specific HVAC adjustments')
13
13
 
@@ -147,7 +147,7 @@ module LargeHotel
147
147
  # add extra equipment for kitchen
148
148
  #
149
149
  # @param model [OpenStudio::Model::Model] OpenStudio model object
150
- # @return [Bool] returns true if successful, false if not
150
+ # @return [Boolean] returns true if successful, false if not
151
151
  def add_extra_equip_kitchen(model)
152
152
  kitchen_space = model.getSpaceByName('Kitchen_Flr_6')
153
153
  kitchen_space = kitchen_space.get
@@ -192,7 +192,7 @@ module LargeHotel
192
192
  # Add the daylighting controls for lobby, cafe, dinning and banquet
193
193
  #
194
194
  # @param model [OpenStudio::Model::Model] OpenStudio model object
195
- # @return [Bool] returns true if successful, false if not
195
+ # @return [Boolean] returns true if successful, false if not
196
196
  def model_add_daylighting_controls(model)
197
197
  space_names = ['Banquet_Flr_6', 'Dining_Flr_6', 'Cafe_Flr_1', 'Lobby_Flr_1']
198
198
  space_names.each do |space_name|
@@ -205,7 +205,7 @@ module LargeHotel
205
205
  # update water heater ambient conditions
206
206
  #
207
207
  # @param model [OpenStudio::Model::Model] OpenStudio model object
208
- # @return [Bool] returns true if successful, false if not
208
+ # @return [Boolean] returns true if successful, false if not
209
209
  def update_waterheater_ambient_parameters(model)
210
210
  model.getWaterHeaterMixeds.sort.each do |water_heater|
211
211
  if water_heater.name.to_s.include?('300gal')
@@ -224,10 +224,10 @@ module LargeHotel
224
224
  # swh adjustments specific to the prototype model
225
225
  #
226
226
  # @param model [OpenStudio::Model::Model] OpenStudio model object
227
- # @param building_type [string] the building type
227
+ # @param building_type [String] the building type
228
228
  # @param climate_zone [String] ASHRAE climate zone, e.g. 'ASHRAE 169-2013-4A'
229
229
  # @param prototype_input [Hash] hash of prototype inputs
230
- # @return [Bool] returns true if successful, false if not
230
+ # @return [Boolean] returns true if successful, false if not
231
231
  def model_custom_swh_tweaks(model, building_type, climate_zone, prototype_input)
232
232
  update_waterheater_ambient_parameters(model)
233
233
  return true
@@ -236,10 +236,10 @@ module LargeHotel
236
236
  # geometry adjustments specific to the prototype model
237
237
  #
238
238
  # @param model [OpenStudio::Model::Model] OpenStudio model object
239
- # @param building_type [string] the building type
239
+ # @param building_type [String] the building type
240
240
  # @param climate_zone [String] ASHRAE climate zone, e.g. 'ASHRAE 169-2013-4A'
241
241
  # @param prototype_input [Hash] hash of prototype inputs
242
- # @return [Bool] returns true if successful, false if not
242
+ # @return [Boolean] returns true if successful, false if not
243
243
  def model_custom_geometry_tweaks(model, building_type, climate_zone, prototype_input)
244
244
  # Set original building North axis
245
245
  model_set_building_north_axis(model, 0.0)
@@ -253,7 +253,7 @@ module LargeHotel
253
253
  #
254
254
  # @param air_terminal_single_duct_vav_reheat [OpenStudio::Model::AirTerminalSingleDuctVAVReheat] the air terminal object
255
255
  # @param zone_oa_per_area [Double] the zone outdoor air per area in m^3/s*m^2
256
- # @return [Bool] returns true if successful, false if not
256
+ # @return [Boolean] returns true if successful, false if not
257
257
  def air_terminal_single_duct_vav_reheat_apply_initial_prototype_damper_position(air_terminal_single_duct_vav_reheat, zone_oa_per_area)
258
258
  min_damper_position = template == '90.1-2010' || template == '90.1-2013' || template == '90.1-2016' || template == '90.1-2019' ? 0.2 : 0.3
259
259
 
@@ -265,7 +265,7 @@ module LargeHotel
265
265
 
266
266
  # Type of SAT reset for this building type
267
267
  #
268
- # @param air_loop_hvac [OpenStudio::model::AirLoopHVAC] air loop
268
+ # @param air_loop_hvac [OpenStudio::Model::AirLoopHVAC] air loop
269
269
  # @return [String] Returns type of SAT reset
270
270
  def air_loop_hvac_supply_air_temperature_reset_type(air_loop_hvac)
271
271
  return 'oa'
@@ -4,10 +4,10 @@ module LargeOffice
4
4
  # hvac adjustments specific to the prototype model
5
5
  #
6
6
  # @param model [OpenStudio::Model::Model] OpenStudio model object
7
- # @param building_type [string] the building type
7
+ # @param building_type [String] the building type
8
8
  # @param climate_zone [String] ASHRAE climate zone, e.g. 'ASHRAE 169-2013-4A'
9
9
  # @param prototype_input [Hash] hash of prototype inputs
10
- # @return [Bool] returns true if successful, false if not
10
+ # @return [Boolean] returns true if successful, false if not
11
11
  def model_custom_hvac_tweaks(model, building_type, climate_zone, prototype_input)
12
12
  OpenStudio.logFree(OpenStudio::Info, 'openstudio.model.Model', 'Started building type specific HVAC adjustments')
13
13
 
@@ -119,10 +119,10 @@ module LargeOffice
119
119
  # swh adjustments specific to the prototype model
120
120
  #
121
121
  # @param model [OpenStudio::Model::Model] OpenStudio model object
122
- # @param building_type [string] the building type
122
+ # @param building_type [String] the building type
123
123
  # @param climate_zone [String] ASHRAE climate zone, e.g. 'ASHRAE 169-2013-4A'
124
124
  # @param prototype_input [Hash] hash of prototype inputs
125
- # @return [Bool] returns true if successful, false if not
125
+ # @return [Boolean] returns true if successful, false if not
126
126
  def model_custom_swh_tweaks(model, building_type, climate_zone, prototype_input)
127
127
  return true
128
128
  end
@@ -130,10 +130,10 @@ module LargeOffice
130
130
  # geometry adjustments specific to the prototype model
131
131
  #
132
132
  # @param model [OpenStudio::Model::Model] OpenStudio model object
133
- # @param building_type [string] the building type
133
+ # @param building_type [String] the building type
134
134
  # @param climate_zone [String] ASHRAE climate zone, e.g. 'ASHRAE 169-2013-4A'
135
135
  # @param prototype_input [Hash] hash of prototype inputs
136
- # @return [Bool] returns true if successful, false if not
136
+ # @return [Boolean] returns true if successful, false if not
137
137
  def model_custom_geometry_tweaks(model, building_type, climate_zone, prototype_input)
138
138
  # Set original building North axis
139
139
  model_set_building_north_axis(model, 0.0)
@@ -147,7 +147,7 @@ module LargeOffice
147
147
  #
148
148
  # @param air_terminal_single_duct_vav_reheat [OpenStudio::Model::AirTerminalSingleDuctVAVReheat] the air terminal object
149
149
  # @param zone_oa_per_area [Double] the zone outdoor air per area in m^3/s*m^2
150
- # @return [Bool] returns true if successful, false if not
150
+ # @return [Boolean] returns true if successful, false if not
151
151
  def air_terminal_single_duct_vav_reheat_apply_initial_prototype_damper_position(air_terminal_single_duct_vav_reheat, zone_oa_per_area)
152
152
  min_damper_position = template == '90.1-2010' || template == '90.1-2013' || template == '90.1-2016' || template == '90.1-2019' ? 0.2 : 0.3
153
153
 
@@ -4,10 +4,10 @@ module LargeOfficeDetailed
4
4
  # hvac adjustments specific to the prototype model
5
5
  #
6
6
  # @param model [OpenStudio::Model::Model] OpenStudio model object
7
- # @param building_type [string] the building type
7
+ # @param building_type [String the building type
8
8
  # @param climate_zone [String] ASHRAE climate zone, e.g. 'ASHRAE 169-2013-4A'
9
9
  # @param prototype_input [Hash] hash of prototype inputs
10
- # @return [Bool] returns true if successful, false if not
10
+ # @return [Boolean] returns true if successful, false if not
11
11
  def model_custom_hvac_tweaks(model, building_type, climate_zone, prototype_input)
12
12
  system_to_space_map = define_hvac_system_map(building_type, climate_zone)
13
13
 
@@ -89,7 +89,7 @@ module LargeOfficeDetailed
89
89
  # remove basement infiltration
90
90
  #
91
91
  # @param model [OpenStudio::Model::Model] OpenStudio model object
92
- # @return [Bool] returns true if successful, false if not
92
+ # @return [Boolean] returns true if successful, false if not
93
93
  def remove_basement_infiltration(model)
94
94
  space_infltrations = model.getSpaceInfiltrationDesignFlowRates
95
95
  space_infltrations.each do |space_inf|
@@ -103,7 +103,7 @@ module LargeOfficeDetailed
103
103
  # update water heater loss coefficient
104
104
  #
105
105
  # @param model [OpenStudio::Model::Model] OpenStudio model object
106
- # @return [Bool] returns true if successful, false if not
106
+ # @return [Boolean] returns true if successful, false if not
107
107
  def update_waterheater_loss_coefficient(model)
108
108
  case template
109
109
  when '90.1-2004', '90.1-2007', '90.1-2010', '90.1-2013', '90.1-2016', '90.1-2019', 'NECB2011'
@@ -118,10 +118,10 @@ module LargeOfficeDetailed
118
118
  # swh adjustments specific to the prototype model
119
119
  #
120
120
  # @param model [OpenStudio::Model::Model] OpenStudio model object
121
- # @param building_type [string] the building type
121
+ # @param building_type [String the building type
122
122
  # @param climate_zone [String] ASHRAE climate zone, e.g. 'ASHRAE 169-2013-4A'
123
123
  # @param prototype_input [Hash] hash of prototype inputs
124
- # @return [Bool] returns true if successful, false if not
124
+ # @return [Boolean] returns true if successful, false if not
125
125
  def model_custom_swh_tweaks(model, building_type, climate_zone, prototype_input)
126
126
  update_waterheater_loss_coefficient(model)
127
127
  return true
@@ -130,10 +130,10 @@ module LargeOfficeDetailed
130
130
  # geometry adjustments specific to the prototype model
131
131
  #
132
132
  # @param model [OpenStudio::Model::Model] OpenStudio model object
133
- # @param building_type [string] the building type
133
+ # @param building_type [String the building type
134
134
  # @param climate_zone [String] ASHRAE climate zone, e.g. 'ASHRAE 169-2013-4A'
135
135
  # @param prototype_input [Hash] hash of prototype inputs
136
- # @return [Bool] returns true if successful, false if not
136
+ # @return [Boolean] returns true if successful, false if not
137
137
  def model_custom_geometry_tweaks(model, building_type, climate_zone, prototype_input)
138
138
  # Set original building North axis
139
139
  model_set_building_north_axis(model, 0.0)
@@ -147,7 +147,7 @@ module LargeOfficeDetailed
147
147
  #
148
148
  # @param air_terminal_single_duct_vav_reheat [OpenStudio::Model::AirTerminalSingleDuctVAVReheat] the air terminal object
149
149
  # @param zone_oa_per_area [Double] the zone outdoor air per area in m^3/s*m^2
150
- # @return [Bool] returns true if successful, false if not
150
+ # @return [Boolean] returns true if successful, false if not
151
151
  def air_terminal_single_duct_vav_reheat_apply_initial_prototype_damper_position(air_terminal_single_duct_vav_reheat, zone_oa_per_area)
152
152
  min_damper_position = template == '90.1-2010' || template == '90.1-2013' || template == '90.1-2016' || template == '90.1-2019' ? 0.2 : 0.3
153
153