openstudio-standards 0.4.0 → 0.5.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
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
@@ -0,0 +1,91 @@
1
+ # Method to apply a typical CBECS HVAC system to thermal zones
2
+ module OpenstudioStandards
3
+ module HVAC
4
+ # @!group Setpoint Managers:Information
5
+
6
+ # Get the min and max setpoint values for a setpoint manager
7
+ #
8
+ # @param spm [<OpenStudio::Model::SetpointManager>] OpenStudio SetpointManager object
9
+ # @return [Hash] returns as hash with 'min_temp' and 'max_temp' in degrees Fahrenheit
10
+ def self.setpoint_manager_min_max_temperature(spm)
11
+ # use @standard to not build each time
12
+ std = Standard.build('90.1-2013') # unused; just to access methods
13
+ # Determine the min and max design temperatures
14
+ loop_op_min_f = nil
15
+ loop_op_max_f = nil
16
+ obj_type = spm.iddObjectType.valueName.to_s
17
+ case obj_type
18
+ when 'OS_SetpointManager_Scheduled'
19
+ sch = spm.to_SetpointManagerScheduled.get.schedule
20
+ if sch.to_ScheduleRuleset.is_initialized
21
+ min_c = std.schedule_ruleset_annual_min_max_value(sch.to_ScheduleRuleset.get)['min']
22
+ max_c = std.schedule_ruleset_annual_min_max_value(sch.to_ScheduleRuleset.get)['max']
23
+ elsif sch.to_ScheduleConstant.is_initialized
24
+ min_c = std.schedule_constant_annual_min_max_value(sch.to_ScheduleConstant.get)['min']
25
+ max_c = std.schedule_constant_annual_min_max_value(sch.to_ScheduleConstant.get)['max']
26
+ else
27
+ OpenStudio.logFree(OpenStudio::Error, 'openstudio.model.Model', "Could not find min and max values for #{obj_type} Setpoint Manager.")
28
+ end
29
+ loop_op_min_f = OpenStudio.convert(min_c, 'C', 'F').get
30
+ loop_op_max_f = OpenStudio.convert(max_c, 'C', 'F').get
31
+ when 'OS_SetpointManager_SingleZone_Reheat'
32
+ spm = spm.to_SetpointManagerSingleZoneReheat.get
33
+ loop_op_min_f = OpenStudio.convert(spm.minimumSupplyAirTemperature, 'C', 'F').get
34
+ loop_op_max_f = OpenStudio.convert(spm.maximumSupplyAirTemperature, 'C', 'F').get
35
+ when 'OS_SetpointManager_Warmest'
36
+ spm = spm.to_SetpointManagerWarmest.get
37
+ loop_op_min_f = OpenStudio.convert(spm.minimumSetpointTemperature, 'C', 'F').get
38
+ loop_op_max_f = OpenStudio.convert(spm.maximumSetpointTemperature, 'C', 'F').get
39
+ when 'OS_SetpointManager_WarmestTemperatureFlow'
40
+ spm = spm.to_SetpointManagerWarmestTemperatureFlow.get
41
+ loop_op_min_f = OpenStudio.convert(spm.minimumSetpointTemperature, 'C', 'F').get
42
+ loop_op_max_f = OpenStudio.convert(spm.maximumSetpointTemperature, 'C', 'F').get
43
+ when 'OS_SetpointManager_Scheduled_DualSetpoint'
44
+ spm = spm.to_SetpointManagerScheduledDualSetpoint.get
45
+ # Lowest setpoint is minimum of low schedule
46
+ low_sch = spm.lowSetpointSchedule
47
+ unless low_sch.empty?
48
+ low_sch = low_sch.get
49
+ min_c = nil
50
+ if low_sch.to_ScheduleRuleset.is_initialized
51
+ min_c = std.schedule_ruleset_annual_min_max_value(low_sch.to_ScheduleRuleset.get)['min']
52
+ elsif low_sch.to_ScheduleConstant.is_initialized
53
+ min_c = std.schedule_constant_annual_min_max_value(low_sch.to_ScheduleConstant.get)['min']
54
+ else
55
+ OpenStudio.logFree(OpenStudio::Error, 'openstudio.model.Model', "Could not find min and max values for #{obj_type} Setpoint Manager.")
56
+ end
57
+ loop_op_min_f = OpenStudio.convert(min_c, 'C', 'F').get unless min_c.nil?
58
+ end
59
+
60
+ # highest setpoint it maximum of high schedule
61
+ high_sch = spm.highSetpointSchedule
62
+ unless high_sch.empty?
63
+ high_sch = high_sch.get
64
+ max_c = nil
65
+ if high_sch.to_ScheduleRuleset.is_initialized
66
+ max_c = std.schedule_ruleset_annual_min_max_value(high_sch.to_ScheduleRuleset.get)['max']
67
+ elsif high_sch.to_ScheduleConstant.is_initialized
68
+ max_c = std.schedule_constant_annual_min_max_value(high_sch.to_ScheduleConstant.get)['max']
69
+ else
70
+ OpenStudio.logFree(OpenStudio::Error, 'openstudio.model.Model', "Could not find min and max values for #{obj_type} Setpoint Manager.")
71
+ end
72
+ loop_op_max_f = OpenStudio.convert(max_c, 'C', 'F').get unless max_c.nil?
73
+ end
74
+ when 'OS_SetpointManager_OutdoorAirReset'
75
+ spm = spm.to_SetpointManagerOutdoorAirReset.get
76
+ temp_1_f = OpenStudio.convert(spm.setpointatOutdoorHighTemperature, 'C', 'F').get
77
+ temp_2_f = OpenStudio.convert(spm.setpointatOutdoorLowTemperature, 'C', 'F').get
78
+ loop_op_min_f = [temp_1_f, temp_2_f].min
79
+ loop_op_max_f = [temp_1_f, temp_2_f].max
80
+ when 'OS_SetpointManager_FollowOutdoorAirTemperature'
81
+ spm = spm.to_SetpointManagerFollowOutdoorAirTemperature.get
82
+ loop_op_min_f = OpenStudio.convert(spm.minimumSetpointTemperature, 'C', 'F').get
83
+ loop_op_max_f = OpenStudio.convert(spm.maximumSetpointTemperature, 'C', 'F').get
84
+ else
85
+ OpenStudio.logFree(OpenStudio::Error, 'openstudio.model.Model', "Could not find min and max values for #{obj_type} Setpoint Manager.")
86
+ end
87
+
88
+ return { 'min_temp' => loop_op_min_f, 'max_temp' => loop_op_max_f }
89
+ end
90
+ end
91
+ end
@@ -6,7 +6,7 @@ class ASHRAE9012004 < ASHRAE901
6
6
  #
7
7
  # @param air_terminal_single_duct_vav_reheat [OpenStudio::Model::AirTerminalSingleDuctVAVReheat] the air terminal object
8
8
  # @param zone_oa_per_area [Double] the zone outdoor air per area in m^3/s*m^2
9
- # @return [Bool] returns true if successful, false if not
9
+ # @return [Boolean] returns true if successful, false if not
10
10
  def air_terminal_single_duct_vav_reheat_apply_initial_prototype_damper_position(air_terminal_single_duct_vav_reheat, zone_oa_per_area)
11
11
  min_damper_position = 0.3
12
12
 
@@ -6,7 +6,7 @@ class ASHRAE9012007 < ASHRAE901
6
6
  #
7
7
  # @param air_terminal_single_duct_vav_reheat [OpenStudio::Model::AirTerminalSingleDuctVAVReheat] the air terminal object
8
8
  # @param zone_oa_per_area [Double] the zone outdoor air per area in m^3/s*m^2
9
- # @return [Bool] returns true if successful, false if not
9
+ # @return [Boolean] returns true if successful, false if not
10
10
  def air_terminal_single_duct_vav_reheat_apply_initial_prototype_damper_position(air_terminal_single_duct_vav_reheat, zone_oa_per_area)
11
11
  min_damper_position = 0.3
12
12
 
@@ -6,7 +6,7 @@ class ASHRAE9012010 < ASHRAE901
6
6
  #
7
7
  # @param air_terminal_single_duct_vav_reheat [OpenStudio::Model::AirTerminalSingleDuctVAVReheat] the air terminal object
8
8
  # @param zone_oa_per_area [Double] the zone outdoor air per area in m^3/s*m^2
9
- # @return [Bool] returns true if successful, false if not
9
+ # @return [Boolean] returns true if successful, false if not
10
10
  def air_terminal_single_duct_vav_reheat_apply_initial_prototype_damper_position(air_terminal_single_duct_vav_reheat, zone_oa_per_area)
11
11
  min_damper_position = case air_terminal_single_duct_vav_reheat_reheat_type(air_terminal_single_duct_vav_reheat)
12
12
  when 'HotWater'
@@ -3,7 +3,7 @@ class ASHRAE9012010 < ASHRAE901
3
3
 
4
4
  # Determine the prototypical economizer type for the model.
5
5
  #
6
- # @param model [OpenStudio::Model::Model] the model
6
+ # @param model [OpenStudio::Model::Model] OpenStudio model object
7
7
  # @param climate_zone [String] ASHRAE climate zone, e.g. 'ASHRAE 169-2013-4A'
8
8
  # @return [String] the economizer type. Possible values are:
9
9
  # 'NoEconomizer'
@@ -6,7 +6,7 @@ class ASHRAE9012013 < ASHRAE901
6
6
  #
7
7
  # @param air_terminal_single_duct_vav_reheat [OpenStudio::Model::AirTerminalSingleDuctVAVReheat] the air terminal object
8
8
  # @param zone_oa_per_area [Double] the zone outdoor air per area in m^3/s*m^2
9
- # @return [Bool] returns true if successful, false if not
9
+ # @return [Boolean] returns true if successful, false if not
10
10
  def air_terminal_single_duct_vav_reheat_apply_initial_prototype_damper_position(air_terminal_single_duct_vav_reheat, zone_oa_per_area)
11
11
  min_damper_position = case air_terminal_single_duct_vav_reheat_reheat_type(air_terminal_single_duct_vav_reheat)
12
12
  when 'HotWater'
@@ -38,7 +38,7 @@ class ASHRAE9012013 < ASHRAE901
38
38
  #
39
39
  # @param model [OpenStudio::Model::Model] OpenStudio model object
40
40
  # @param climate_zone [String] ASHRAE climate zone, e.g. 'ASHRAE 169-2013-4A'
41
- # @return [Bool] returns true if successful, false if not
41
+ # @return [Boolean] returns true if successful, false if not
42
42
  def model_fenestration_orientation(model, climate_zone)
43
43
  # Building rotation to meet the same code requirement for
44
44
  # 90.1-2010 are kept
@@ -181,7 +181,7 @@ class ASHRAE9012013 < ASHRAE901
181
181
  # @note code_sections [90.1-2013_6.5.7.1.2]
182
182
  #
183
183
  # @param model [OpenStudio::Model::Model] OpenStudio model object
184
- # @return [Bool] returns true if transfer air is required, false if not
184
+ # @return [Boolean] returns true if transfer air is required, false if not
185
185
  def model_transfer_air_required?(model)
186
186
  # @todo It actually is for kitchen but not implemented yet
187
187
  return false
@@ -4,7 +4,7 @@ class ASHRAE9012013 < ASHRAE901
4
4
  # Determine which type of fan the cooling tower will have.
5
5
  # Variable Speed Fan for ASHRAE 90.1-2013.
6
6
  #
7
- # @param model [OpenStudio::Model::Model] the model
7
+ # @param model [OpenStudio::Model::Model] OpenStudio model object
8
8
  # @return [String] the fan type: TwoSpeed Fan, Variable Speed Fan
9
9
  def model_cw_loop_cooling_tower_fan_type(model)
10
10
  fan_type = 'Variable Speed Fan'
@@ -6,7 +6,7 @@ class ASHRAE9012016 < ASHRAE901
6
6
  #
7
7
  # @param air_terminal_single_duct_vav_reheat [OpenStudio::Model::AirTerminalSingleDuctVAVReheat] the air terminal object
8
8
  # @param zone_oa_per_area [Double] the zone outdoor air per area in m^3/s*m^2
9
- # @return [Bool] returns true if successful, false if not
9
+ # @return [Boolean] returns true if successful, false if not
10
10
  def air_terminal_single_duct_vav_reheat_apply_initial_prototype_damper_position(air_terminal_single_duct_vav_reheat, zone_oa_per_area)
11
11
  min_damper_position = case air_terminal_single_duct_vav_reheat_reheat_type(air_terminal_single_duct_vav_reheat)
12
12
  when 'HotWater'
@@ -1,44 +1,12 @@
1
1
  class ASHRAE9012016 < ASHRAE901
2
2
  # @!group Model
3
3
 
4
- # Determine the prototypical economizer type for the model.
5
- #
6
- # @param model [OpenStudio::Model::Model] OpenStudio model object
7
- # @param climate_zone [String] ASHRAE climate zone, e.g. 'ASHRAE 169-2013-4A'
8
- # @return [String] the economizer type. Possible values are:
9
- # 'NoEconomizer'
10
- # 'FixedDryBulb'
11
- # 'FixedEnthalpy'
12
- # 'DifferentialDryBulb'
13
- # 'DifferentialEnthalpy'
14
- # 'FixedDewPointAndDryBulb'
15
- # 'ElectronicEnthalpy'
16
- # 'DifferentialDryBulbAndEnthalpy'
17
- def model_economizer_type(model, climate_zone)
18
- economizer_type = case climate_zone
19
- when 'ASHRAE 169-2006-0A',
20
- 'ASHRAE 169-2006-1A',
21
- 'ASHRAE 169-2006-2A',
22
- 'ASHRAE 169-2006-3A',
23
- 'ASHRAE 169-2006-4A',
24
- 'ASHRAE 169-2013-0A',
25
- 'ASHRAE 169-2013-1A',
26
- 'ASHRAE 169-2013-2A',
27
- 'ASHRAE 169-2013-3A',
28
- 'ASHRAE 169-2013-4A'
29
- 'DifferentialEnthalpy'
30
- else
31
- 'DifferentialDryBulb'
32
- end
33
- return economizer_type
34
- end
35
-
36
4
  # Adjust model to comply with fenestration orientation requirements
37
5
  # @note code_sections [90.1-2013_5.5.4.5]
38
6
  #
39
7
  # @param model [OpenStudio::Model::Model] OpenStudio model object
40
8
  # @param climate_zone [String] ASHRAE climate zone, e.g. 'ASHRAE 169-2013-4A'
41
- # @return [Bool] Returns true if successful, false otherwise
9
+ # @return [Boolean] Returns true if successful, false otherwise
42
10
  def model_fenestration_orientation(model, climate_zone)
43
11
  # Building rotation to meet the same code requirement for
44
12
  # 90.1-2010 are kept
@@ -232,7 +200,7 @@ class ASHRAE9012016 < ASHRAE901
232
200
  # @note code_sections [90.1-2016_6.5.7.1]
233
201
  #
234
202
  # @param model [OpenStudio::Model::Model] OpenStudio model object
235
- # @return [Bool] returns true if transfer air is required, false if not
203
+ # @return [Boolean] returns true if transfer air is required, false if not
236
204
  def model_transfer_air_required?(model)
237
205
  return true
238
206
  end
@@ -263,7 +231,7 @@ class ASHRAE9012016 < ASHRAE901
263
231
  # @author Xuechen (Jerry) Lei, PNNL
264
232
  #
265
233
  # @param model [OpenStudio::Model::Model] OpenStudio Model
266
- # @return [Bool] returns true if successful, false if not
234
+ # @return [Boolean] returns true if successful, false if not
267
235
  def model_add_lights_shutoff(model)
268
236
  zones = model.getThermalZones
269
237
  num_zones = 0
@@ -299,7 +267,7 @@ class ASHRAE9012016 < ASHRAE901
299
267
  end
300
268
 
301
269
  # guard clause to skip space with no lights
302
- next if space_lights.empty?
270
+ next if space_lights.empty?
303
271
 
304
272
  # if lights are defined at the space type level, clone each lights object and make it individual to the space
305
273
  new_space_lights = []
@@ -4,7 +4,7 @@ class ASHRAE9012016 < ASHRAE901
4
4
  # Determine which type of fan the cooling tower will have.
5
5
  # Variable Speed Fan for ASHRAE 90.1-2016.
6
6
  #
7
- # @param model [OpenStudio::Model::Model] the model
7
+ # @param model [OpenStudio::Model::Model] OpenStudio model object
8
8
  # @return [String] the fan type: TwoSpeed Fan, Variable Speed Fan
9
9
  def model_cw_loop_cooling_tower_fan_type(model)
10
10
  fan_type = 'Variable Speed Fan'
@@ -6,7 +6,7 @@ class ASHRAE9012019 < ASHRAE901
6
6
  #
7
7
  # @param air_terminal_single_duct_vav_reheat [OpenStudio::Model::AirTerminalSingleDuctVAVReheat] the air terminal object
8
8
  # @param zone_oa_per_area [Double] the zone outdoor air per area in m^3/s*m^2
9
- # @return [Bool] returns true if successful, false if not
9
+ # @return [Boolean] returns true if successful, false if not
10
10
  def air_terminal_single_duct_vav_reheat_apply_initial_prototype_damper_position(air_terminal_single_duct_vav_reheat, zone_oa_per_area)
11
11
  min_damper_position = case air_terminal_single_duct_vav_reheat_reheat_type(air_terminal_single_duct_vav_reheat)
12
12
  when 'HotWater'
@@ -1,44 +1,12 @@
1
1
  class ASHRAE9012019 < ASHRAE901
2
2
  # @!group Model
3
3
 
4
- # Determine the prototypical economizer type for the model.
5
- #
6
- # @param model [OpenStudio::Model::Model] OpenStudio model object
7
- # @param climate_zone [String] ASHRAE climate zone, e.g. 'ASHRAE 169-2013-4A'
8
- # @return [String] the economizer type. Possible values are:
9
- # 'NoEconomizer'
10
- # 'FixedDryBulb'
11
- # 'FixedEnthalpy'
12
- # 'DifferentialDryBulb'
13
- # 'DifferentialEnthalpy'
14
- # 'FixedDewPointAndDryBulb'
15
- # 'ElectronicEnthalpy'
16
- # 'DifferentialDryBulbAndEnthalpy'
17
- def model_economizer_type(model, climate_zone)
18
- economizer_type = case climate_zone
19
- when 'ASHRAE 169-2006-0A',
20
- 'ASHRAE 169-2006-1A',
21
- 'ASHRAE 169-2006-2A',
22
- 'ASHRAE 169-2006-3A',
23
- 'ASHRAE 169-2006-4A',
24
- 'ASHRAE 169-2013-0A',
25
- 'ASHRAE 169-2013-1A',
26
- 'ASHRAE 169-2013-2A',
27
- 'ASHRAE 169-2013-3A',
28
- 'ASHRAE 169-2013-4A'
29
- 'DifferentialEnthalpy'
30
- else
31
- 'DifferentialDryBulb'
32
- end
33
- return economizer_type
34
- end
35
-
36
4
  # Adjust model to comply with fenestration orientation requirements
37
5
  # @note code_sections [90.1-2013_5.5.4.5]
38
6
  #
39
7
  # @param model [OpenStudio::Model::Model] OpenStudio model object
40
8
  # @param climate_zone [String] ASHRAE climate zone, e.g. 'ASHRAE 169-2013-4A'
41
- # @return [Bool] Returns true if successful, false otherwise
9
+ # @return [Boolean] Returns true if successful, false otherwise
42
10
  def model_fenestration_orientation(model, climate_zone)
43
11
  # Building rotation to meet the same code requirement for
44
12
  # 90.1-2010 are kept
@@ -232,7 +200,7 @@ class ASHRAE9012019 < ASHRAE901
232
200
  # @note code_sections [90.1-2019_6.5.7.1]
233
201
  #
234
202
  # @param model [OpenStudio::Model::Model] OpenStudio model object
235
- # @return [Bool] returns true if transfer air is required, false if not
203
+ # @return [Boolean] returns true if transfer air is required, false if not
236
204
  def model_transfer_air_required?(model)
237
205
  return true
238
206
  end
@@ -263,7 +231,7 @@ class ASHRAE9012019 < ASHRAE901
263
231
  # @author Xuechen (Jerry) Lei, PNNL
264
232
  #
265
233
  # @param model [OpenStudio::Model::Model] OpenStudio Model
266
- # @return [Bool] returns true if successful, false if not
234
+ # @return [Boolean] returns true if successful, false if not
267
235
  def model_add_lights_shutoff(model)
268
236
  zones = model.getThermalZones
269
237
  num_zones = 0
@@ -299,7 +267,7 @@ class ASHRAE9012019 < ASHRAE901
299
267
  end
300
268
 
301
269
  # guard clause to skip space with no lights
302
- next if space_lights.empty?
270
+ next if space_lights.empty?
303
271
 
304
272
  # if lights are defined at the space type level, clone each lights object and make it individual to the space
305
273
  new_space_lights = []
@@ -3,7 +3,7 @@ class ASHRAE9012019 < ASHRAE901
3
3
 
4
4
  # Determine if a space should be modeled with an occupancy standby mode
5
5
  #
6
- # @param space [OpenStudio::model::Space] OpenStudio Space object
6
+ # @param space [OpenStudio::Model::Space] OpenStudio Space object
7
7
  # @return [Boolean] true if occupancy standby mode is to be modeled, false otherwise
8
8
  def space_occupancy_standby_mode_required?(space)
9
9
  # Get space type
@@ -35,8 +35,8 @@ class ASHRAE9012019 < ASHRAE901
35
35
 
36
36
  # Modify thermostat schedule to account for a thermostat setback/up
37
37
  #
38
- # @param thermostat [OpenStudio::model::ThermostatSetpointDualSetpoint] OpenStudio ThermostatSetpointDualSetpoint object
39
- # @return [Boolean] true if success
38
+ # @param thermostat [OpenStudio::Model::ThermostatSetpointDualSetpoint] OpenStudio ThermostatSetpointDualSetpoint object
39
+ # @return [Boolean] returns true if successful, false if not
40
40
  def space_occupancy_standby_mode(thermostat)
41
41
  htg_sch = thermostat.getHeatingSchedule.get
42
42
  clg_sch = thermostat.getCoolingSchedule.get
@@ -4,7 +4,7 @@ class ASHRAE9012019 < ASHRAE901
4
4
  # Determine which type of fan the cooling tower will have.
5
5
  # Variable Speed Fan for ASHRAE 90.1-2019.
6
6
  #
7
- # @param model [OpenStudio::Model::Model] the model
7
+ # @param model [OpenStudio::Model::Model] OpenStudio model object
8
8
  # @return [String] the fan type: TwoSpeed Fan, Variable Speed Fan
9
9
  def model_cw_loop_cooling_tower_fan_type(model)
10
10
  fan_type = 'Variable Speed Fan'
@@ -6,7 +6,7 @@ class DOERef1980to2004 < ASHRAE901
6
6
  #
7
7
  # @param air_terminal_single_duct_vav_reheat [OpenStudio::Model::AirTerminalSingleDuctVAVReheat] the air terminal object
8
8
  # @param zone_oa_per_area [Double] the zone outdoor air per area in m^3/s*m^2
9
- # @return [Bool] returns true if successful, false if not
9
+ # @return [Boolean] returns true if successful, false if not
10
10
  def air_terminal_single_duct_vav_reheat_apply_initial_prototype_damper_position(air_terminal_single_duct_vav_reheat, zone_oa_per_area)
11
11
  # Set the minimum flow fraction
12
12
  min_damper_position = 0.3
@@ -78,7 +78,7 @@ class DOERef1980to2004 < ASHRAE901
78
78
  #
79
79
  # @param model [OpenStudio::Model::Model] OpenStudio model object
80
80
  # @param elevator_type [String] valid choices are Traction, Hydraulic
81
- # @param building_type [string] the building type
81
+ # @param building_type [String] the building type
82
82
  # @return [Double] elevator lift power in watts
83
83
  def model_elevator_lift_power(model, elevator_type, building_type)
84
84
  lift_pwr_w = 0
@@ -6,7 +6,7 @@ class DOERefPre1980 < ASHRAE901
6
6
  #
7
7
  # @param air_terminal_single_duct_vav_reheat [OpenStudio::Model::AirTerminalSingleDuctVAVReheat] the air terminal object
8
8
  # @param zone_oa_per_area [Double] the zone outdoor air per area in m^3/s*m^2
9
- # @return [Bool] returns true if successful, false if not
9
+ # @return [Boolean] returns true if successful, false if not
10
10
  def air_terminal_single_duct_vav_reheat_apply_initial_prototype_damper_position(air_terminal_single_duct_vav_reheat, zone_oa_per_area)
11
11
  # Set the minimum flow fraction
12
12
  min_damper_position = 0.3
@@ -6,7 +6,7 @@ class DOERefPre1980 < ASHRAE901
6
6
  # @todo Refactor: remove inconsistency in logic; all coils should be lower efficiency
7
7
  #
8
8
  # @param coil_heating_gas [OpenStudio::Model::CoilHeatingGas] a gas heating coil
9
- # @return [Bool] returns true if successful, false if not
9
+ # @return [Boolean] returns true if successful, false if not
10
10
  def coil_heating_gas_apply_prototype_efficiency(coil_heating_gas)
11
11
  # Only modify coils in PSZ-AC units
12
12
  name_patterns = ['PSZ-AC Gas Htg Coil',
@@ -78,7 +78,7 @@ class DOERefPre1980 < ASHRAE901
78
78
  #
79
79
  # @param model [OpenStudio::Model::Model] OpenStudio model object
80
80
  # @param elevator_type [String] valid choices are Traction, Hydraulic
81
- # @param building_type [string] the building type
81
+ # @param building_type [String] the building type
82
82
  # @return [Double] elevator lift power in watts
83
83
  def model_elevator_lift_power(model, elevator_type, building_type)
84
84
  lift_pwr_w = 0
@@ -6,7 +6,7 @@ class NRELZNEReady2017 < ASHRAE901
6
6
  #
7
7
  # @param air_terminal_single_duct_vav_reheat [OpenStudio::Model::AirTerminalSingleDuctVAVReheat] the air terminal object
8
8
  # @param zone_oa_per_area [Double] the zone outdoor air per area in m^3/s*m^2
9
- # @return [Bool] returns true if successful, false if not
9
+ # @return [Boolean] returns true if successful, false if not
10
10
  def air_terminal_single_duct_vav_reheat_apply_initial_prototype_damper_position(air_terminal_single_duct_vav_reheat, zone_oa_per_area)
11
11
  min_damper_position = case air_terminal_single_duct_vav_reheat_reheat_type(air_terminal_single_duct_vav_reheat)
12
12
  when 'HotWater'
@@ -6,7 +6,7 @@ class ZEAEDGMultifamily < ASHRAE901
6
6
  #
7
7
  # @param air_terminal_single_duct_vav_reheat [OpenStudio::Model::AirTerminalSingleDuctVAVReheat] the air terminal object
8
8
  # @param zone_oa_per_area [Double] the zone outdoor air per area in m^3/s*m^2
9
- # @return [Bool] returns true if successful, false if not
9
+ # @return [Boolean] returns true if successful, false if not
10
10
  def air_terminal_single_duct_vav_reheat_apply_initial_prototype_damper_position(air_terminal_single_duct_vav_reheat, zone_oa_per_area)
11
11
  min_damper_position = case air_terminal_single_duct_vav_reheat_reheat_type(air_terminal_single_duct_vav_reheat)
12
12
  when 'HotWater'
@@ -4,10 +4,10 @@ module College
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 College
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
  return false if template == 'DOE Ref 1980-2004' || template == 'DOE Ref Pre-1980'
43
43
 
@@ -82,10 +82,10 @@ module College
82
82
  # swh adjustments specific to the prototype model
83
83
  #
84
84
  # @param model [OpenStudio::Model::Model] OpenStudio model object
85
- # @param building_type [string] the building type
85
+ # @param building_type [String] the building type
86
86
  # @param climate_zone [String] ASHRAE climate zone, e.g. 'ASHRAE 169-2013-4A'
87
87
  # @param prototype_input [Hash] hash of prototype inputs
88
- # @return [Bool] returns true if successful, false if not
88
+ # @return [Boolean] returns true if successful, false if not
89
89
  def model_custom_swh_tweaks(model, building_type, climate_zone, prototype_input)
90
90
  return true
91
91
  end
@@ -93,10 +93,10 @@ module College
93
93
  # geometry adjustments specific to the prototype model
94
94
  #
95
95
  # @param model [OpenStudio::Model::Model] OpenStudio model object
96
- # @param building_type [string] the building type
96
+ # @param building_type [String] the building type
97
97
  # @param climate_zone [String] ASHRAE climate zone, e.g. 'ASHRAE 169-2013-4A'
98
98
  # @param prototype_input [Hash] hash of prototype inputs
99
- # @return [Bool] returns true if successful, false if not
99
+ # @return [Boolean] returns true if successful, false if not
100
100
  def model_custom_geometry_tweaks(model, building_type, climate_zone, prototype_input)
101
101
  return true
102
102
  end
@@ -4,10 +4,10 @@ module Courthouse
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 Courthouse
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 entry door in m3/s (there is no attic in 'DOE Ref Pre-1980')
43
43
  return false if template == 'DOE Ref 1980-2004' || template == 'DOE Ref Pre-1980'
@@ -67,7 +67,7 @@ module Courthouse
67
67
  # update water heater loss coefficient
68
68
  #
69
69
  # @param model [OpenStudio::Model::Model] OpenStudio model object
70
- # @return [Bool] returns true if successful, false if not
70
+ # @return [Boolean] returns true if successful, false if not
71
71
  def update_waterheater_loss_coefficient(model)
72
72
  case template
73
73
  when '90.1-2004', '90.1-2007', '90.1-2010', '90.1-2013', 'NECB 2011'
@@ -82,10 +82,10 @@ module Courthouse
82
82
  # swh adjustments specific to the prototype model
83
83
  #
84
84
  # @param model [OpenStudio::Model::Model] OpenStudio model object
85
- # @param building_type [string] the building type
85
+ # @param building_type [String] the building type
86
86
  # @param climate_zone [String] ASHRAE climate zone, e.g. 'ASHRAE 169-2013-4A'
87
87
  # @param prototype_input [Hash] hash of prototype inputs
88
- # @return [Bool] returns true if successful, false if not
88
+ # @return [Boolean] returns true if successful, false if not
89
89
  def model_custom_swh_tweaks(model, building_type, climate_zone, prototype_input)
90
90
  update_waterheater_loss_coefficient(model)
91
91
 
@@ -95,10 +95,10 @@ module Courthouse
95
95
  # geometry adjustments specific to the prototype model
96
96
  #
97
97
  # @param model [OpenStudio::Model::Model] OpenStudio model object
98
- # @param building_type [string] the building type
98
+ # @param building_type [String] the building type
99
99
  # @param climate_zone [String] ASHRAE climate zone, e.g. 'ASHRAE 169-2013-4A'
100
100
  # @param prototype_input [Hash] hash of prototype inputs
101
- # @return [Bool] returns true if successful, false if not
101
+ # @return [Boolean] returns true if successful, false if not
102
102
  def model_custom_geometry_tweaks(model, building_type, climate_zone, prototype_input)
103
103
  return true
104
104
  end