openstudio-standards 0.3.0 → 0.3.1.rc2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (237) hide show
  1. checksums.yaml +4 -4
  2. data/data/geometry/ASHRAELargeOffice.json +4 -4
  3. data/data/geometry/ASHRAESuperMarket.json +29 -38
  4. data/data/standards/OpenStudio_Standards-deer-ALL-comstock(space_types).xlsx +0 -0
  5. data/data/standards/metadata_units_OpenStudio_Standards-deer-ALL-comstockspace_types.csv +172 -0
  6. data/data/standards/test_performance_expected_dd_results.csv +1890 -2016
  7. data/lib/openstudio-standards/btap/analysis.rb +389 -389
  8. data/lib/openstudio-standards/btap/bridging.rb +2099 -0
  9. data/lib/openstudio-standards/btap/btap.model.rb +717 -717
  10. data/lib/openstudio-standards/btap/btap.rb +33 -30
  11. data/lib/openstudio-standards/btap/economics.rb +1163 -1163
  12. data/lib/openstudio-standards/btap/envelope.rb +4 -4
  13. data/lib/openstudio-standards/btap/equest.rb +2524 -2524
  14. data/lib/openstudio-standards/btap/fileio.rb +10 -0
  15. data/lib/openstudio-standards/btap/measures.rb +1515 -1515
  16. data/lib/openstudio-standards/btap/mpc.rb +554 -554
  17. data/lib/openstudio-standards/btap/reporting.rb +287 -287
  18. data/lib/openstudio-standards/btap/simmanager.rb +759 -759
  19. data/lib/openstudio-standards/btap/spaceloads.rb +439 -439
  20. data/lib/openstudio-standards/btap/spacetypes.rb +113 -113
  21. data/lib/openstudio-standards/btap/utilities.rb +134 -134
  22. data/lib/openstudio-standards/hvac_sizing/Siz.AirLoopHVAC.rb +8 -83
  23. data/lib/openstudio-standards/hvac_sizing/Siz.CoilCoolingWater.rb +3 -99
  24. data/lib/openstudio-standards/hvac_sizing/Siz.HeatingCoolingFuels.rb +81 -75
  25. data/lib/openstudio-standards/hvac_sizing/Siz.Model.rb +7 -306
  26. data/lib/openstudio-standards/hvac_sizing/Siz.ThermalZone.rb +75 -98
  27. data/lib/openstudio-standards/prototypes/ashrae_90_1/ashrae_90_1_2016/ashrae_90_1_2016.Model.rb +41 -14
  28. data/lib/openstudio-standards/prototypes/ashrae_90_1/ashrae_90_1_2019/ashrae_90_1_2019.Model.rb +40 -14
  29. data/lib/openstudio-standards/prototypes/ashrae_90_1/ashrae_90_1_2019/ashrae_90_1_2019.Pump.rb +6 -6
  30. data/lib/openstudio-standards/prototypes/common/buildings/Prototype.LargeOffice.rb +7 -5
  31. data/lib/openstudio-standards/prototypes/common/buildings/Prototype.SuperMarket.rb +1 -23
  32. data/lib/openstudio-standards/prototypes/common/objects/Prototype.Model.rb +1 -1
  33. data/lib/openstudio-standards/prototypes/common/objects/Prototype.PumpVariableSpeed.rb +3 -3
  34. data/lib/openstudio-standards/prototypes/common/objects/Prototype.ServiceWaterHeating.rb +93 -4
  35. data/lib/openstudio-standards/prototypes/common/objects/Prototype.hvac_systems.rb +17 -4
  36. data/lib/openstudio-standards/prototypes/common/objects/Prototype.refrigeration.rb +5 -4
  37. data/lib/openstudio-standards/prototypes/common/objects/Prototype.utilities.rb +24 -4
  38. data/lib/openstudio-standards/standards/Standards.AirLoopHVAC.rb +41 -25
  39. data/lib/openstudio-standards/standards/Standards.AirTerminalSingleDuctParallelPIUReheat.rb +3 -3
  40. data/lib/openstudio-standards/standards/Standards.BoilerHotWater.rb +18 -0
  41. data/lib/openstudio-standards/standards/Standards.CoilCoolingDXSingleSpeed.rb +13 -10
  42. data/lib/openstudio-standards/standards/Standards.CoilDX.rb +5 -3
  43. data/lib/openstudio-standards/standards/Standards.CoilHeatingDXSingleSpeed.rb +11 -8
  44. data/lib/openstudio-standards/standards/Standards.Construction.rb +1 -1
  45. data/lib/openstudio-standards/standards/Standards.Fan.rb +6 -6
  46. data/lib/openstudio-standards/standards/Standards.Model.rb +88 -66
  47. data/lib/openstudio-standards/standards/Standards.PlantLoop.rb +2 -2
  48. data/lib/openstudio-standards/standards/Standards.Pump.rb +21 -19
  49. data/lib/openstudio-standards/standards/Standards.Space.rb +41 -36
  50. data/lib/openstudio-standards/standards/Standards.SpaceType.rb +2 -2
  51. data/lib/openstudio-standards/standards/Standards.ZoneHVACComponent.rb +3 -3
  52. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2004/data/ashrae_90_1_2004.ref_cases.json +510 -0
  53. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2004/data/ashrae_90_1_2004.refrigeration_compressors.json +18 -0
  54. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2004/data/ashrae_90_1_2004.refrigeration_walkins.json +410 -0
  55. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2004/data/ashrae_90_1_2004.spc_typ.json +2 -2
  56. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2007/data/ashrae_90_1_2007.ref_cases.json +510 -0
  57. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2007/data/ashrae_90_1_2007.refrigeration_compressors.json +18 -0
  58. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2007/data/ashrae_90_1_2007.refrigeration_walkins.json +410 -0
  59. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2007/data/ashrae_90_1_2007.spc_typ.json +2 -2
  60. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2010/data/ashrae_90_1_2010.ref_cases.json +510 -0
  61. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2010/data/ashrae_90_1_2010.refrigeration_compressors.json +18 -0
  62. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2010/data/ashrae_90_1_2010.refrigeration_walkins.json +410 -0
  63. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2010/data/ashrae_90_1_2010.spc_typ.json +2 -2
  64. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2013/data/ashrae_90_1_2013.ref_cases.json +510 -0
  65. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2013/data/ashrae_90_1_2013.refrigeration_compressors.json +18 -0
  66. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2013/data/ashrae_90_1_2013.refrigeration_walkins.json +410 -0
  67. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2013/data/ashrae_90_1_2013.spc_typ.json +2 -2
  68. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2016/data/ashrae_90_1_2016.spc_typ.json +2 -2
  69. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2019/data/ashrae_90_1_2019.spc_typ.json +2 -2
  70. data/lib/openstudio-standards/standards/ashrae_90_1_prm/ashrae_90_1_prm.AirLoopHVAC.rb +12 -3
  71. data/lib/openstudio-standards/standards/ashrae_90_1_prm/ashrae_90_1_prm.Model.rb +5 -3
  72. data/lib/openstudio-standards/standards/ashrae_90_1_prm/ashrae_90_1_prm.ZoneHVACComponent.rb +6 -6
  73. data/lib/openstudio-standards/standards/ashrae_90_1_prm/ashrae_90_1_prm.rb +4 -3
  74. data/lib/openstudio-standards/standards/deer/deer_1985/comstock_deer_1985/data/comstock_deer_1985.spc_typ.json +405 -405
  75. data/lib/openstudio-standards/standards/deer/deer_1996/comstock_deer_1996/data/comstock_deer_1996.spc_typ.json +405 -405
  76. data/lib/openstudio-standards/standards/deer/deer_2003/comstock_deer_2003/data/comstock_deer_2003.spc_typ.json +405 -405
  77. data/lib/openstudio-standards/standards/deer/deer_2003/deer_2003.ThermalZone.rb +21 -0
  78. data/lib/openstudio-standards/standards/deer/deer_2007/comstock_deer_2007/data/comstock_deer_2007.spc_typ.json +405 -405
  79. data/lib/openstudio-standards/standards/deer/deer_2007/deer_2007.ThermalZone.rb +21 -0
  80. data/lib/openstudio-standards/standards/deer/deer_2011/comstock_deer_2011/data/comstock_deer_2011.spc_typ.json +405 -405
  81. data/lib/openstudio-standards/standards/deer/deer_2011/deer_2011.ThermalZone.rb +21 -0
  82. data/lib/openstudio-standards/standards/deer/deer_2014/comstock_deer_2014/data/comstock_deer_2014.spc_typ.json +405 -405
  83. data/lib/openstudio-standards/standards/deer/deer_2014/deer_2014.ThermalZone.rb +21 -0
  84. data/lib/openstudio-standards/standards/deer/deer_2015/comstock_deer_2015/data/comstock_deer_2015.spc_typ.json +405 -405
  85. data/lib/openstudio-standards/standards/deer/deer_2015/deer_2015.ThermalZone.rb +21 -0
  86. data/lib/openstudio-standards/standards/deer/deer_2017/comstock_deer_2017/data/comstock_deer_2017.spc_typ.json +405 -405
  87. data/lib/openstudio-standards/standards/deer/deer_2017/deer_2017.ThermalZone.rb +21 -0
  88. data/lib/openstudio-standards/standards/deer/deer_2020/comstock_deer_2020/data/comstock_deer_2020.spc_typ.json +405 -405
  89. data/lib/openstudio-standards/standards/deer/deer_2020/deer_2020.AirLoopHVAC.rb +8 -0
  90. data/lib/openstudio-standards/standards/deer/deer_2020/deer_2020.ThermalZone.rb +21 -0
  91. data/lib/openstudio-standards/standards/deer/deer_2025/comstock_deer_2025/data/comstock_deer_2025.spc_typ.json +405 -405
  92. data/lib/openstudio-standards/standards/deer/deer_2030/comstock_deer_2030/data/comstock_deer_2030.spc_typ.json +405 -405
  93. data/lib/openstudio-standards/standards/deer/deer_2035/comstock_deer_2035/data/comstock_deer_2035.spc_typ.json +405 -405
  94. data/lib/openstudio-standards/standards/deer/deer_2040/comstock_deer_2040/data/comstock_deer_2040.spc_typ.json +405 -405
  95. data/lib/openstudio-standards/standards/deer/deer_2045/comstock_deer_2045/data/comstock_deer_2045.spc_typ.json +405 -405
  96. data/lib/openstudio-standards/standards/deer/deer_2050/comstock_deer_2050/data/comstock_deer_2050.spc_typ.json +405 -405
  97. data/lib/openstudio-standards/standards/deer/deer_2055/comstock_deer_2055/data/comstock_deer_2055.spc_typ.json +405 -405
  98. data/lib/openstudio-standards/standards/deer/deer_2060/comstock_deer_2060/data/comstock_deer_2060.spc_typ.json +405 -405
  99. data/lib/openstudio-standards/standards/deer/deer_2065/comstock_deer_2065/data/comstock_deer_2065.spc_typ.json +405 -405
  100. data/lib/openstudio-standards/standards/deer/deer_2070/comstock_deer_2070/data/comstock_deer_2070.spc_typ.json +405 -405
  101. data/lib/openstudio-standards/standards/deer/deer_2075/comstock_deer_2075/data/comstock_deer_2075.spc_typ.json +405 -405
  102. data/lib/openstudio-standards/standards/deer/deer_pre_1975/comstock_deer_pre_1975/data/comstock_deer_pre_1975.spc_typ.json +405 -405
  103. data/lib/openstudio-standards/standards/necb/BTAPPRE1980/btap_pre1980.rb +1 -1
  104. data/lib/openstudio-standards/standards/necb/BTAPPRE1980/hvac_system_3_and_8_single_speed.rb +3 -1
  105. data/lib/openstudio-standards/standards/necb/BTAPPRE1980/hvac_system_4.rb +3 -1
  106. data/lib/openstudio-standards/standards/necb/BTAPPRE1980/hvac_system_6.rb +2 -2
  107. data/lib/openstudio-standards/standards/necb/ECMS/data/curves.json +233 -0
  108. data/lib/openstudio-standards/standards/necb/ECMS/data/unitary_acs.json +180 -0
  109. data/lib/openstudio-standards/standards/necb/ECMS/ecms.rb +6 -1
  110. data/lib/openstudio-standards/standards/necb/ECMS/hvac_systems.rb +839 -290
  111. data/lib/openstudio-standards/standards/necb/NECB2011/autozone.rb +102 -66
  112. data/lib/openstudio-standards/standards/necb/NECB2011/data/fuel_type_sets.json +85 -8
  113. data/lib/openstudio-standards/standards/necb/NECB2011/data/geometry/HighriseApartment.osm +2483 -992
  114. data/lib/openstudio-standards/standards/necb/NECB2011/data/geometry/LowriseApartment.osm +4 -336
  115. data/lib/openstudio-standards/standards/necb/NECB2011/data/geometry/MidriseApartment.osm +228 -231
  116. data/lib/openstudio-standards/standards/necb/NECB2011/data/heat_pumps_heating.json +12 -18
  117. data/lib/openstudio-standards/standards/necb/NECB2011/data/space_type_unit_definitions.txt +76 -0
  118. data/lib/openstudio-standards/standards/necb/NECB2011/hvac_system_1_multi_speed.rb +6 -1
  119. data/lib/openstudio-standards/standards/necb/NECB2011/hvac_system_1_single_speed.rb +111 -24
  120. data/lib/openstudio-standards/standards/necb/NECB2011/hvac_system_2_and_5.rb +1 -0
  121. data/lib/openstudio-standards/standards/necb/NECB2011/hvac_system_3_and_8_multi_speed.rb +3 -1
  122. data/lib/openstudio-standards/standards/necb/NECB2011/hvac_system_3_and_8_single_speed.rb +64 -16
  123. data/lib/openstudio-standards/standards/necb/NECB2011/hvac_system_4.rb +61 -17
  124. data/lib/openstudio-standards/standards/necb/NECB2011/hvac_system_6.rb +128 -0
  125. data/lib/openstudio-standards/standards/necb/NECB2011/hvac_systems.rb +252 -23
  126. data/lib/openstudio-standards/standards/necb/NECB2011/necb_2011.rb +316 -20
  127. data/lib/openstudio-standards/standards/necb/NECB2011/qaqc/necb_qaqc.rb +1 -1
  128. data/lib/openstudio-standards/standards/necb/NECB2011/service_water_heating.rb +3 -5
  129. data/lib/openstudio-standards/standards/necb/NECB2011/system_fuels.rb +38 -0
  130. data/lib/openstudio-standards/standards/necb/NECB2015/data/heat_pumps_heating.json +16 -24
  131. data/lib/openstudio-standards/standards/necb/NECB2015/hvac_systems.rb +48 -25
  132. data/lib/openstudio-standards/standards/necb/NECB2020/building_envelope.rb +3 -3
  133. data/lib/openstudio-standards/standards/necb/NECB2020/data/chillers.json +36 -19
  134. data/lib/openstudio-standards/standards/necb/NECB2020/data/furnaces.json +19 -4
  135. data/lib/openstudio-standards/standards/necb/NECB2020/data/heat_pumps.json +20 -40
  136. data/lib/openstudio-standards/standards/necb/NECB2020/data/heat_pumps_heating.json +74 -36
  137. data/lib/openstudio-standards/standards/necb/NECB2020/necb_2020.rb +0 -2
  138. data/lib/openstudio-standards/standards/necb/NECB2020/service_water_heating.rb +123 -56
  139. data/lib/openstudio-standards/standards/necb/common/btap_data.rb +124 -2
  140. data/lib/openstudio-standards/standards/necb/common/btap_datapoint.rb +15 -2
  141. data/lib/openstudio-standards/standards/necb/common/necb_reference_runs.csv +1 -1
  142. data/lib/openstudio-standards/utilities/simulation.rb +1 -1
  143. data/lib/openstudio-standards/version.rb +1 -1
  144. data/lib/openstudio-standards/weather/Weather.stat_file.rb +33 -1
  145. data/lib/openstudio-standards.rb +1 -0
  146. metadata +14 -121
  147. data/data/standards/OpenStudio_Standards-ashrae_90_1.xlsx +0 -0
  148. data/data/weather/CAN_ON_Kingston.AP.718200_TMYx.2004-2018.ddy +0 -2342
  149. data/data/weather/CAN_ON_Kingston.AP.718200_TMYx.2004-2018.epw +0 -8768
  150. data/data/weather/CAN_ON_Kingston.AP.718200_TMYx.2004-2018.stat +0 -700
  151. data/data/weather/CAN_ON_Region.of.Waterloo.Intl.AP.713680_TMYx.2004-2018.ddy +0 -2342
  152. data/data/weather/CAN_ON_Region.of.Waterloo.Intl.AP.713680_TMYx.2004-2018.epw +0 -8768
  153. data/data/weather/CAN_ON_Region.of.Waterloo.Intl.AP.713680_TMYx.2004-2018.stat +0 -700
  154. data/data/weather/CAN_ON_Sarnia-Hadfield.AP.717040_TMYx.2004-2018.ddy +0 -2342
  155. data/data/weather/CAN_ON_Sarnia-Hadfield.AP.717040_TMYx.2004-2018.epw +0 -8768
  156. data/data/weather/CAN_ON_Sarnia-Hadfield.AP.717040_TMYx.2004-2018.stat +0 -700
  157. data/data/weather/CAN_QC_Gatineau.AP.716279_TMYx.2004-2018.ddy +0 -276
  158. data/data/weather/CAN_QC_Gatineau.AP.716279_TMYx.2004-2018.epw +0 -8768
  159. data/data/weather/CAN_QC_Gatineau.AP.716279_TMYx.2004-2018.stat +0 -611
  160. data/data/weather/CAN_QC_Granby.710367_TMYx.2004-2018.ddy +0 -276
  161. data/data/weather/CAN_QC_Granby.710367_TMYx.2004-2018.epw +0 -8768
  162. data/data/weather/CAN_QC_Granby.710367_TMYx.2004-2018.stat +0 -610
  163. data/data/weather/CAN_QC_Sherbrooke.AP.716100_TMYx.2004-2018.ddy +0 -2342
  164. data/data/weather/CAN_QC_Sherbrooke.AP.716100_TMYx.2004-2018.epw +0 -8768
  165. data/data/weather/CAN_QC_Sherbrooke.AP.716100_TMYx.2004-2018.stat +0 -700
  166. data/data/weather/CAN_QC_Trois.Rivieres.717240_TMYx.2004-2018.ddy +0 -2342
  167. data/data/weather/CAN_QC_Trois.Rivieres.717240_TMYx.2004-2018.epw +0 -8768
  168. data/data/weather/CAN_QC_Trois.Rivieres.717240_TMYx.2004-2018.stat +0 -700
  169. data/lib/openstudio-standards/hvac_sizing/Siz.AirConditionerVariableRefrigerantFlow.rb +0 -81
  170. data/lib/openstudio-standards/hvac_sizing/Siz.AirLoopHVACUnitaryHeatCoolVAVChngByp.rb +0 -27
  171. data/lib/openstudio-standards/hvac_sizing/Siz.AirLoopHVACUnitaryHeatPumpAirToAir.rb +0 -69
  172. data/lib/openstudio-standards/hvac_sizing/Siz.AirLoopHVACUnitaryHeatPumpAirToAirMultiSpeed.rb +0 -178
  173. data/lib/openstudio-standards/hvac_sizing/Siz.AirLoopHVACUnitarySystem.rb +0 -27
  174. data/lib/openstudio-standards/hvac_sizing/Siz.AirTermSnglDuctConstVolCooledBeam.rb +0 -27
  175. data/lib/openstudio-standards/hvac_sizing/Siz.AirTermSnglDuctConstVolFourPipeInduction.rb +0 -27
  176. data/lib/openstudio-standards/hvac_sizing/Siz.AirTermSnglDuctConstVolReheat.rb +0 -27
  177. data/lib/openstudio-standards/hvac_sizing/Siz.AirTermSnglDuctParallelPIUReheat.rb +0 -67
  178. data/lib/openstudio-standards/hvac_sizing/Siz.AirTermSnglDuctSeriesPIUReheat.rb +0 -27
  179. data/lib/openstudio-standards/hvac_sizing/Siz.AirTermSnglDuctUncontrolled.rb +0 -30
  180. data/lib/openstudio-standards/hvac_sizing/Siz.AirTermSnglDuctVAVHeatAndCoolNoReheat.rb +0 -27
  181. data/lib/openstudio-standards/hvac_sizing/Siz.AirTermSnglDuctVAVHeatAndCoolReheat.rb +0 -27
  182. data/lib/openstudio-standards/hvac_sizing/Siz.AirTermSnglDuctVAVNoReheat.rb +0 -68
  183. data/lib/openstudio-standards/hvac_sizing/Siz.AirTermSnglDuctVAVReheat.rb +0 -68
  184. data/lib/openstudio-standards/hvac_sizing/Siz.BoilerHotWater.rb +0 -42
  185. data/lib/openstudio-standards/hvac_sizing/Siz.BoilerSteam.rb +0 -27
  186. data/lib/openstudio-standards/hvac_sizing/Siz.ChillerElectricEIR.rb +0 -58
  187. data/lib/openstudio-standards/hvac_sizing/Siz.CoilCoolingDXMultiSpeed.rb +0 -171
  188. data/lib/openstudio-standards/hvac_sizing/Siz.CoilCoolingDXSingleSpeed.rb +0 -56
  189. data/lib/openstudio-standards/hvac_sizing/Siz.CoilCoolingDXTwoSpeed.rb +0 -89
  190. data/lib/openstudio-standards/hvac_sizing/Siz.CoilCoolingDXVariableRefrigerantFlow.rb +0 -50
  191. data/lib/openstudio-standards/hvac_sizing/Siz.CoilCoolingWaterToAirHeatPumpEquationFit.rb +0 -69
  192. data/lib/openstudio-standards/hvac_sizing/Siz.CoilHeatingDXMultiSpeed.rb +0 -120
  193. data/lib/openstudio-standards/hvac_sizing/Siz.CoilHeatingDXSingleSpeed.rb +0 -56
  194. data/lib/openstudio-standards/hvac_sizing/Siz.CoilHeatingDXVariableRefrigerantFlow.rb +0 -41
  195. data/lib/openstudio-standards/hvac_sizing/Siz.CoilHeatingDesuperheater.rb +0 -27
  196. data/lib/openstudio-standards/hvac_sizing/Siz.CoilHeatingElectric.rb +0 -30
  197. data/lib/openstudio-standards/hvac_sizing/Siz.CoilHeatingGas.rb +0 -30
  198. data/lib/openstudio-standards/hvac_sizing/Siz.CoilHeatingGasMultiStage.rb +0 -68
  199. data/lib/openstudio-standards/hvac_sizing/Siz.CoilHeatingWater.rb +0 -61
  200. data/lib/openstudio-standards/hvac_sizing/Siz.CoilHeatingWaterToAirHeatPumpEquationFit.rb +0 -57
  201. data/lib/openstudio-standards/hvac_sizing/Siz.CoilWaterHeatingDesuperheater.rb +0 -27
  202. data/lib/openstudio-standards/hvac_sizing/Siz.ControllerOutdoorAir.rb +0 -59
  203. data/lib/openstudio-standards/hvac_sizing/Siz.ControllerWaterCoil.rb +0 -49
  204. data/lib/openstudio-standards/hvac_sizing/Siz.CoolingTowerSingleSpeed.rb +0 -90
  205. data/lib/openstudio-standards/hvac_sizing/Siz.CoolingTowerTwoSpeed.rb +0 -83
  206. data/lib/openstudio-standards/hvac_sizing/Siz.CoolingTowerVariableSpeed.rb +0 -57
  207. data/lib/openstudio-standards/hvac_sizing/Siz.DistrictCooling.rb +0 -27
  208. data/lib/openstudio-standards/hvac_sizing/Siz.DistrictHeating.rb +0 -27
  209. data/lib/openstudio-standards/hvac_sizing/Siz.EvaporativeCoolerDirectResearchSpecial.rb +0 -27
  210. data/lib/openstudio-standards/hvac_sizing/Siz.EvaporativeCoolerIndirectResearchSpecial.rb +0 -27
  211. data/lib/openstudio-standards/hvac_sizing/Siz.EvaporativeFluidCoolerSingleSpeed.rb +0 -27
  212. data/lib/openstudio-standards/hvac_sizing/Siz.FanConstantVolume.rb +0 -29
  213. data/lib/openstudio-standards/hvac_sizing/Siz.FanOnOff.rb +0 -27
  214. data/lib/openstudio-standards/hvac_sizing/Siz.FanVariableVolume.rb +0 -29
  215. data/lib/openstudio-standards/hvac_sizing/Siz.HeaderedPumpsConstantSpeed.rb +0 -55
  216. data/lib/openstudio-standards/hvac_sizing/Siz.HeaderedPumpsVariableSpeed.rb +0 -55
  217. data/lib/openstudio-standards/hvac_sizing/Siz.HeatExchangerAirToAirSensibleAndLatent.rb +0 -38
  218. data/lib/openstudio-standards/hvac_sizing/Siz.HeatExchangerFluidToFluid.rb +0 -27
  219. data/lib/openstudio-standards/hvac_sizing/Siz.HumidifierSteamElectric.rb +0 -27
  220. data/lib/openstudio-standards/hvac_sizing/Siz.PlantLoop.rb +0 -42
  221. data/lib/openstudio-standards/hvac_sizing/Siz.PumpConstantSpeed.rb +0 -59
  222. data/lib/openstudio-standards/hvac_sizing/Siz.PumpVariableSpeed.rb +0 -59
  223. data/lib/openstudio-standards/hvac_sizing/Siz.SizingSystem.rb +0 -48
  224. data/lib/openstudio-standards/hvac_sizing/Siz.WaterHeaterMixed.rb +0 -16
  225. data/lib/openstudio-standards/hvac_sizing/Siz.ZoneHVACBaseboardConvectiveElectric.rb +0 -27
  226. data/lib/openstudio-standards/hvac_sizing/Siz.ZoneHVACBaseboardConvectiveWater.rb +0 -27
  227. data/lib/openstudio-standards/hvac_sizing/Siz.ZoneHVACFourPipeFanCoil.rb +0 -27
  228. data/lib/openstudio-standards/hvac_sizing/Siz.ZoneHVACHighTemperatureRadiant.rb +0 -27
  229. data/lib/openstudio-standards/hvac_sizing/Siz.ZoneHVACIdealLoadsAirSystem.rb +0 -27
  230. data/lib/openstudio-standards/hvac_sizing/Siz.ZoneHVACLowTempRadiantConstFlow.rb +0 -27
  231. data/lib/openstudio-standards/hvac_sizing/Siz.ZoneHVACLowTempRadiantVarFlow.rb +0 -27
  232. data/lib/openstudio-standards/hvac_sizing/Siz.ZoneHVACLowTemperatureRadiantElectric.rb +0 -27
  233. data/lib/openstudio-standards/hvac_sizing/Siz.ZoneHVACPackagedTerminalAirConditioner.rb +0 -88
  234. data/lib/openstudio-standards/hvac_sizing/Siz.ZoneHVACPackagedTerminalHeatPump.rb +0 -88
  235. data/lib/openstudio-standards/hvac_sizing/Siz.ZoneHVACTerminalUnitVariableRefrigerantFlow.rb +0 -104
  236. data/lib/openstudio-standards/hvac_sizing/Siz.ZoneHVACUnitHeater.rb +0 -27
  237. data/lib/openstudio-standards/hvac_sizing/Siz.ZoneHVACWaterToAirHeatPump.rb +0 -27
@@ -2,108 +2,12 @@
2
2
  # open the class to add methods to return sizing values
3
3
  class OpenStudio::Model::CoilCoolingWater
4
4
 
5
- # Sets all auto-sizeable fields to autosize
6
- def autosize
7
- OpenStudio::logFree(OpenStudio::Warn, "openstudio.sizing.CoilCoolingWater", ".autosize not yet implemented for #{self.iddObject.type.valueDescription}.")
8
- end
9
-
10
- # Takes the values calculated by the EnergyPlus sizing routines
11
- # and puts them into this object model in place of the autosized fields.
12
- # Must have previously completed a run with sql output for this to work.
13
- def applySizingValues
14
-
15
- design_water_flow_rate = self.autosizedDesignWaterFlowRate
16
- if design_water_flow_rate.is_initialized
17
- self.setDesignWaterFlowRate(design_water_flow_rate.get)
18
- end
19
-
20
- design_air_flow_rate = self.autosizedDesignAirFlowRate
21
- if design_air_flow_rate.is_initialized
22
- self.setDesignAirFlowRate(design_air_flow_rate.get)
23
- end
24
-
25
- design_inlet_water_temperature = self.autosizedDesignInletWaterTemperature
26
- if design_inlet_water_temperature.is_initialized
27
- self.setDesignInletWaterTemperature(design_inlet_water_temperature.get)
28
- end
29
-
30
- design_inlet_air_temperature = self.autosizedDesignInletAirTemperature
31
- if design_inlet_air_temperature.is_initialized
32
- self.setDesignInletAirTemperature(design_inlet_air_temperature.get)
33
- end
34
-
35
- design_outlet_air_temperature = self.autosizedDesignOutletAirTemperature
36
- if design_outlet_air_temperature.is_initialized
37
- self.setDesignOutletAirTemperature(design_outlet_air_temperature.get)
38
- end
39
-
40
- design_inlet_air_humidity_ratio = self.autosizedDesignInletAirHumidityRatio
41
- if design_inlet_air_humidity_ratio.is_initialized
42
- self.setDesignInletAirHumidityRatio(design_inlet_air_humidity_ratio.get)
43
- end
44
-
45
- design_outlet_air_humidity_ratio = self.autosizedDesignOutletAirHumidityRatio
46
- if design_outlet_air_humidity_ratio.is_initialized
47
- self.setDesignOutletAirHumidityRatio(design_outlet_air_humidity_ratio.get)
48
- end
49
-
50
- end
51
-
52
- # returns the autosized design water flow rate as an optional double
53
- def autosizedDesignWaterFlowRate
54
-
55
- return self.model.getAutosizedValue(self, 'Design Size Design Water Flow Rate', 'm3/s')
56
-
57
- end
58
-
59
- # returns the autosized design air flow rate as an optional double
60
- def autosizedDesignAirFlowRate
61
-
62
- return self.model.getAutosizedValue(self, 'Design Size Design Air Flow Rate', 'm3/s')
63
-
64
- end
65
-
66
- # returns the autosized design inlet water temperature as an optional double
67
- def autosizedDesignInletWaterTemperature
68
-
69
- return self.model.getAutosizedValue(self, 'Design Size Design Inlet Water Temperature', 'C')
70
-
71
- end
72
-
73
- # returns the autosized design inlet air temperatureas an optional double
74
- def autosizedDesignInletAirTemperature
75
-
76
- return self.model.getAutosizedValue(self, 'Design Size Design Inlet Air Temperature', 'C')
77
-
78
- end
79
-
80
- # returns the autosized design outlet air temperature as an optional double
81
- def autosizedDesignOutletAirTemperature
82
-
83
- return self.model.getAutosizedValue(self, 'Design Size Design Outlet Air Temperature', 'C')
84
-
85
- end
86
-
87
- # returns the autosized inlet air humidity ratio as an optional double
88
- def autosizedDesignInletAirHumidityRatio
89
-
90
- return self.model.getAutosizedValue(self, 'Design Size Design Inlet Air Humidity Ratio', '')
91
-
92
- end
5
+ # returns the autosized design coil load
6
+ def autosizedDesignCoilLoad
93
7
 
94
- # returns the autosized outlet air humidity ratio as an optional double
95
- def autosizedDesignOutletAirHumidityRatio
8
+ return self.getAutosizedValue('Design Size Design Coil Load', 'W')
96
9
 
97
- return self.model.getAutosizedValue(self, 'Design Size Design Outlet Air Humidity Ratio', '')
98
-
99
10
  end
100
11
 
101
- # returns the autosized design coil load
102
- def autosizedDesignCoilLoad
103
-
104
- return self.model.getAutosizedValue(self, 'Design Size Design Coil Load', 'W')
105
-
106
- end
107
-
108
12
 
109
13
  end
@@ -9,7 +9,7 @@
9
9
  ###### IMPORTANT NOTE ######
10
10
 
11
11
  class OpenStudio::Model::Model
12
-
12
+
13
13
  # Get the heating fuel type of a plant loop
14
14
  # @todo If no heating equipment is found, check if there's a heat exchanger,
15
15
  # or a WaterHeater:Mixed or stratified that is connected to a heating source on the demand side
@@ -24,11 +24,11 @@ class OpenStudio::Model::Model
24
24
  when 'OS_Boiler_HotWater'
25
25
  component = component.to_BoilerHotWater.get
26
26
  fuels << component.fuelType
27
- when 'OS_Boiler_Steam'
27
+ when 'OS_Boiler_Steam'
28
28
  component = component.to_BoilerHotWater.get
29
29
  fuels << component.fuelType
30
30
  when 'OS_DistrictHeating'
31
- fuels << 'DistrictHeating'
31
+ fuels << 'DistrictHeating'
32
32
  when 'OS_HeatPump_WaterToWater_EquationFit_Heating'
33
33
  fuels << 'Electricity'
34
34
  when 'OS_SolarCollector_FlatPlate_PhotovoltaicThermal'
@@ -38,7 +38,7 @@ class OpenStudio::Model::Model
38
38
  when 'OS_SolarCollector_IntegralCollectorStorage'
39
39
  fuels << 'SolarEnergy'
40
40
  when 'OS_WaterHeater_HeatPump'
41
- fuels << 'Electricity'
41
+ fuels << 'Electricity'
42
42
  when 'OS_WaterHeater_Mixed'
43
43
  component = component.to_WaterHeaterMixed.get
44
44
 
@@ -65,10 +65,9 @@ class OpenStudio::Model::Model
65
65
  if component.secondaryPlantLoop.is_initialized
66
66
  fuels += self.plant_loop_heating_fuels(component.secondaryPlantLoop.get)
67
67
  end
68
-
69
68
  when 'OS_HeatExchanger_FluidToFluid'
70
69
  hx = component.to_HeatExchangerFluidToFluid.get
71
- cooling_hx_control_types = ["CoolingSetpointModulated", "CoolingSetpointOnOff", "CoolingDifferentialOnOff", "CoolingSetpointOnOffWithComponentOverride"]
70
+ cooling_hx_control_types = ['CoolingSetpointModulated', 'CoolingSetpointOnOff', 'CoolingDifferentialOnOff', 'CoolingSetpointOnOffWithComponentOverride']
72
71
  cooling_hx_control_types.each {|x| x.downcase!}
73
72
  if !cooling_hx_control_types.include?(hx.controlType.downcase) && hx.secondaryPlantLoop.is_initialized
74
73
  fuels += self.plant_loop_heating_fuels(hx.secondaryPlantLoop.get)
@@ -79,9 +78,9 @@ class OpenStudio::Model::Model
79
78
  #OpenStudio::logFree(OpenStudio::Debug, 'openstudio.sizing.Model', "No heating fuel types found for #{obj_type}")
80
79
  end
81
80
  end
82
-
81
+
83
82
  return fuels.uniq.sort
84
-
83
+
85
84
  end
86
85
 
87
86
  # Get the cooling fuel type of a plant loop
@@ -94,7 +93,7 @@ class OpenStudio::Model::Model
94
93
  plant_loop.supplyComponents.each do |component|
95
94
  # Get the object type
96
95
  obj_type = component.iddObjectType.valueName.to_s
97
- case obj_type
96
+ case obj_type
98
97
  when 'OS_Chiller_Absorption'
99
98
  fuels << 'NaturalGas'
100
99
  OpenStudio::logFree(OpenStudio::Warn, 'openstudio.sizing.Model', "Assuming NaturalGas as fuel for absorption chiller.")
@@ -119,15 +118,22 @@ class OpenStudio::Model::Model
119
118
  fuels << 'Electricity'
120
119
  when 'OS_FluidCooler_TwoSpeed'
121
120
  fuels << 'Electricity'
121
+ when 'OS_HeatExchanger_FluidToFluid'
122
+ hx = component.to_HeatExchangerFluidToFluid.get
123
+ cooling_hx_control_types = ['CoolingSetpointModulated', 'CoolingSetpointOnOff', 'CoolingDifferentialOnOff', 'CoolingSetpointOnOffWithComponentOverride']
124
+ cooling_hx_control_types.each {|x| x.downcase!}
125
+ if cooling_hx_control_types.include?(hx.controlType.downcase) && hx.secondaryPlantLoop.is_initialized
126
+ fuels += self.plant_loop_cooling_fuels(hx.secondaryPlantLoop.get)
127
+ end
122
128
  when 'OS_Node', 'OS_Pump_ConstantSpeed', 'OS_Pump_VariableSpeed', 'OS_Connector_Splitter', 'OS_Connector_Mixer', 'OS_Pipe_Adiabatic'
123
- # To avoid extraneous debug messages
129
+ # To avoid extraneous debug messages
124
130
  else
125
131
  #OpenStudio::logFree(OpenStudio::Debug, 'openstudio.sizing.Model', "No cooling fuel types found for #{obj_type}")
126
132
  end
127
133
  end
128
-
134
+
129
135
  return fuels.uniq.sort
130
-
136
+
131
137
  end
132
138
 
133
139
  # Get the heating fuel type of a heating coil
@@ -161,7 +167,7 @@ class OpenStudio::Model::Model
161
167
  heating_coil = heating_coil.to_CoilHeatingWaterBaseboardRadiant.get
162
168
  if heating_coil.plantLoop.is_initialized
163
169
  fuels += self.plant_loop_heating_fuels(heating_coil.plantLoop.get)
164
- end
170
+ end
165
171
  when 'OS_Coil_Heating_WaterToAirHeatPump_EquationFit'
166
172
  fuels << 'Electricity'
167
173
  heating_coil = heating_coil.to_CoilHeatingWaterToAirHeatPumpEquationFit.get
@@ -192,13 +198,13 @@ class OpenStudio::Model::Model
192
198
  OpenStudio::logFree(OpenStudio::Debug, 'openstudio.sizing.Model', "No heating fuel types found for #{obj_type}")
193
199
  end
194
200
 
195
- return fuels.uniq.sort
201
+ return fuels.uniq.sort
196
202
 
197
203
  end
198
204
 
199
205
  # Get type of heat for coil for Appendix G system type selections
200
- #
201
- # @param heating_coil [object]
206
+ #
207
+ # @param heating_coil [object]
202
208
  # @return string description of heat type: Fuel, Electric, District, HeatPump, Solar, Mixed
203
209
  def coil_heat_type(heating_coil)
204
210
  fuels = []
@@ -231,7 +237,7 @@ class OpenStudio::Model::Model
231
237
  heating_coil = heating_coil.to_CoilHeatingWaterBaseboardRadiant.get
232
238
  if heating_coil.plantLoop.is_initialized
233
239
  fuels += self.plant_loop_heating_fuels(heating_coil.plantLoop.get)
234
- end
240
+ end
235
241
  when 'OS_Coil_Heating_WaterToAirHeatPump_EquationFit'
236
242
  fuels << 'Electricity'
237
243
  heating_coil = heating_coil.to_CoilHeatingWaterToAirHeatPumpEquationFit.get
@@ -283,7 +289,7 @@ class OpenStudio::Model::Model
283
289
  end
284
290
  end
285
291
  end
286
-
292
+
287
293
  # Choose only one heat type, or Mixed if there are multiple
288
294
  if heat_type == ''
289
295
  if has_fuel == true
@@ -323,8 +329,8 @@ class OpenStudio::Model::Model
323
329
  end
324
330
 
325
331
  # Get primary type of heat for one air loop for Appendix G system type selections
326
- #
327
- # @param air_loop [object]
332
+ #
333
+ # @param air_loop [object]
328
334
  # @return string description of heat type: Fuel, Electric, District, HeatPump, Solar, Mixed
329
335
  def airloop_primary_heat_type(air_loop)
330
336
 
@@ -362,7 +368,7 @@ class OpenStudio::Model::Model
362
368
  when 'OS_Coil_Heating_Gas_MultiStage'
363
369
  heat_types << self.coil_heat_type(component)
364
370
  when 'OS_Coil_Heating_Water'
365
- heat_types << self.coil_heat_type(component)
371
+ heat_types << self.coil_heat_type(component)
366
372
  when 'OS_Coil_Heating_WaterToAirHeatPump_EquationFit'
367
373
  heat_types << self.coil_heat_type(component)
368
374
  when 'OS_Coil_Heating_WaterToAirHeatPump_VariableSpeed_EquationFit'
@@ -372,11 +378,11 @@ class OpenStudio::Model::Model
372
378
  when 'OS_Coil_WaterHeating_Desuperheater'
373
379
  heat_types << self.coil_heat_type(component)
374
380
  when 'OS_Node', 'OS_Fan_ConstantVolume', 'OS_Fan_VariableVolume', 'OS_AirLoopHVAC_OutdoorAirSystem'
375
- # To avoid extraneous debug messages
381
+ # To avoid extraneous debug messages
376
382
  else
377
383
  #OpenStudio::logFree(OpenStudio::Debug, 'openstudio.sizing.Model', "No heating fuel types found for #{obj_type}")
378
384
  end
379
- end
385
+ end
380
386
 
381
387
  has_electric = false
382
388
  has_fuel = false
@@ -448,8 +454,8 @@ class OpenStudio::Model::Model
448
454
  end
449
455
 
450
456
  # Get primary type of heat for one air loop for Appendix G system type selections
451
- #
452
- # @param air_loop [object]
457
+ #
458
+ # @param air_loop [object]
453
459
  # @return string description of heat type: Fuel, Electric, District, HeatPump, Solar, Mixed
454
460
  def zone_equipment_heat_type(zone)
455
461
  fuels = []
@@ -464,44 +470,44 @@ class OpenStudio::Model::Model
464
470
  heat_type = self.coil_heat_type(equipment.heatingCoil)
465
471
  when 'OS_AirTerminal_SingleDuct_ConstantVolume_Reheat'
466
472
  equipment = equipment.to_AirTerminalSingleDuctConstantVolumeReheat.get
467
- heat_type = self.coil_heat_type(equipment.reheatCoil)
473
+ heat_type = self.coil_heat_type(equipment.reheatCoil)
468
474
  when 'OS_AirTerminal_SingleDuct_InletSideMixer'
469
475
  # TODO
470
476
  when 'OS_AirTerminal_SingleDuct_ParallelPIU_Reheat'
471
477
  equipment = equipment.to_AirTerminalSingleDuctParallelPIUReheat.get
472
- heat_type = self.coil_heat_type(equipment.reheatCoil)
478
+ heat_type = self.coil_heat_type(equipment.reheatCoil)
473
479
  when 'OS_AirTerminal_SingleDuct_SeriesPIU_Reheat'
474
480
  equipment = equipment.to_AirTerminalSingleDuctSeriesPIUReheat.get
475
- heat_type = self.coil_heat_type(equipment.reheatCoil)
481
+ heat_type = self.coil_heat_type(equipment.reheatCoil)
476
482
  when 'OS_AirTerminal_SingleDuct_VAVHeatAndCool_Reheat'
477
483
  equipment = equipment.to_AirTerminalSingleDuctVAVHeatAndCoolReheat.get
478
- heat_type = self.coil_heat_type(equipment.reheatCoil)
484
+ heat_type = self.coil_heat_type(equipment.reheatCoil)
479
485
  when 'OS_AirTerminal_SingleDuct_VAV_Reheat'
480
486
  equipment = equipment.to_AirTerminalSingleDuctVAVReheat.get
481
487
  heat_type = self.coil_heat_type(equipment.reheatCoil)
482
488
  when 'OS_ZoneHVAC_Baseboard_Convective_Water'
483
489
  equipment = equipment.to_ZoneHVACBaseboardConvectiveWater.get
484
- heat_type = self.coil_heat_type(equipment.heatingCoil)
490
+ heat_type = self.coil_heat_type(equipment.heatingCoil)
485
491
  when 'OS_ZoneHVAC_Baseboard_RadiantConvective_Water'
486
492
  equipment = equipment.to_ZoneHVACBaseboardRadiantConvectiveWater.get
487
- heat_type = self.coil_heat_type(equipment.heatingCoil)
493
+ heat_type = self.coil_heat_type(equipment.heatingCoil)
488
494
  when 'OS_ZoneHVAC_FourPipeFanCoil'
489
495
  equipment = equipment.to_ZoneHVACFourPipeFanCoil.get
490
- heat_type = self.coil_heat_type(equipment.heatingCoil)
496
+ heat_type = self.coil_heat_type(equipment.heatingCoil)
491
497
  when 'OS_ZoneHVAC_LowTemperatureRadiant_ConstantFlow'
492
498
  equipment = equipment.to_ZoneHVACLowTempRadiantConstFlow.get
493
- heat_type = self.coil_heat_type(equipment.heatingCoil)
499
+ heat_type = self.coil_heat_type(equipment.heatingCoil)
494
500
  when 'OS_ZoneHVAC_LowTemperatureRadiant_VariableFlow'
495
501
  equipment = equipment.to_ZoneHVACLowTempRadiantVarFlow.get
496
- heat_type = self.coil_heat_type(equipment.heatingCoil)
502
+ heat_type = self.coil_heat_type(equipment.heatingCoil)
497
503
  when 'OS_ZoneHVAC_UnitHeater'
498
504
  equipment = equipment.to_ZoneHVACUnitHeater.get
499
- heat_type = self.coil_heat_type(equipment.heatingCoil)
505
+ heat_type = self.coil_heat_type(equipment.heatingCoil)
500
506
  when 'OS_ZoneHVAC_UnitVentilator'
501
507
  equipment = equipment.to_ZoneHVACUnitVentilator.get
502
508
  if equipment.heatingCoil.is_initialized
503
- heat_type = self.coil_heat_type(equipment.heatingCoil.get)
504
- end
509
+ heat_type = self.coil_heat_type(equipment.heatingCoil.get)
510
+ end
505
511
  when 'OS_ZoneHVAC_Baseboard_Convective_Electric'
506
512
  heat_type = 'Electric'
507
513
  when 'OS_ZoneHVAC_Baseboard_RadiantConvective_Electric'
@@ -542,9 +548,9 @@ class OpenStudio::Model::Model
542
548
  else
543
549
  OpenStudio::logFree(OpenStudio::Debug, 'openstudio.sizing.Model', "No heat type found for #{obj_type}") end
544
550
  end
545
-
551
+
546
552
  return heat_type
547
-
553
+
548
554
  end
549
555
 
550
556
 
@@ -593,17 +599,17 @@ class OpenStudio::Model::Model
593
599
  if cooling_coil.plantLoop.is_initialized
594
600
  fuels += self.plant_loop_cooling_fuels(cooling_coil.plantLoop.get)
595
601
  end
596
- when 'OS_Coil_Cooling_Water'
602
+ when 'OS_Coil_Cooling_Water'
597
603
  cooling_coil = cooling_coil.to_CoilCoolingWater.get
598
604
  if cooling_coil.plantLoop.is_initialized
599
605
  fuels += self.plant_loop_cooling_fuels(cooling_coil.plantLoop.get)
600
- end
606
+ end
601
607
  else
602
608
  OpenStudio::logFree(OpenStudio::Debug, 'openstudio.sizing.Model', "No cooling fuel types found for #{obj_type}")
603
609
  end
604
610
 
605
611
  return fuels.uniq.sort
606
-
612
+
607
613
  end
608
614
 
609
615
  # Get the heating fuels for a zone
@@ -615,7 +621,7 @@ class OpenStudio::Model::Model
615
621
  # Get the object type
616
622
  obj_type = equipment.iddObjectType.valueName.to_s
617
623
  case obj_type
618
- when 'OS_AirLooHVAC_UnitarySystem'
624
+ when 'OS_AirLoopHVAC_UnitarySystem'
619
625
  equipment = equipment.to_AirLoopHVACUnitarySystem.get
620
626
  if equipment.heatingCoil.is_initialized
621
627
  fuels += self.coil_heating_fuels(equipment.heatingCoil.get)
@@ -625,33 +631,33 @@ class OpenStudio::Model::Model
625
631
  fuels += self.coil_heating_fuels(equipment.heatingCoil)
626
632
  when 'OS_AirTerminal_SingleDuct_ConstantVolume_Reheat'
627
633
  equipment = equipment.to_AirTerminalSingleDuctConstantVolumeReheat.get
628
- fuels += self.coil_heating_fuels(equipment.reheatCoil)
634
+ fuels += self.coil_heating_fuels(equipment.reheatCoil)
629
635
  when 'OS_AirTerminal_SingleDuct_InletSideMixer'
630
636
  # @todo complete method
631
637
  when 'OS_AirTerminal_SingleDuct_ParallelPIU_Reheat'
632
638
  equipment = equipment.to_AirTerminalSingleDuctParallelPIUReheat.get
633
- fuels += self.coil_heating_fuels(equipment.reheatCoil)
639
+ fuels += self.coil_heating_fuels(equipment.reheatCoil)
634
640
  when 'OS_AirTerminal_SingleDuct_SeriesPIU_Reheat'
635
641
  equipment = equipment.to_AirTerminalSingleDuctSeriesPIUReheat.get
636
- fuels += self.coil_heating_fuels(equipment.reheatCoil)
642
+ fuels += self.coil_heating_fuels(equipment.reheatCoil)
637
643
  when 'OS_AirTerminal_SingleDuct_VAVHeatAndCool_Reheat'
638
644
  equipment = equipment.to_AirTerminalSingleDuctVAVHeatAndCoolReheat.get
639
- fuels += self.coil_heating_fuels(equipment.reheatCoil)
645
+ fuels += self.coil_heating_fuels(equipment.reheatCoil)
640
646
  when 'OS_AirTerminal_SingleDuct_VAV_Reheat'
641
647
  equipment = equipment.to_AirTerminalSingleDuctVAVReheat.get
642
648
  fuels += self.coil_heating_fuels(equipment.reheatCoil)
643
649
  when 'OS_ZoneHVAC_Baseboard_Convective_Water'
644
650
  equipment = equipment.to_ZoneHVACBaseboardConvectiveWater.get
645
- fuels += self.coil_heating_fuels(equipment.heatingCoil)
651
+ fuels += self.coil_heating_fuels(equipment.heatingCoil)
646
652
  when 'OS_ZoneHVAC_Baseboard_RadiantConvective_Water'
647
653
  equipment = equipment.to_ZoneHVACBaseboardRadiantConvectiveWater.get
648
- fuels += self.coil_heating_fuels(equipment.heatingCoil)
654
+ fuels += self.coil_heating_fuels(equipment.heatingCoil)
649
655
  when 'OS_ZoneHVAC_FourPipeFanCoil'
650
656
  equipment = equipment.to_ZoneHVACFourPipeFanCoil.get
651
- fuels += self.coil_heating_fuels(equipment.heatingCoil)
657
+ fuels += self.coil_heating_fuels(equipment.heatingCoil)
652
658
  when 'OS_ZoneHVAC_LowTemperatureRadiant_ConstantFlow'
653
659
  equipment = equipment.to_ZoneHVACLowTempRadiantConstFlow.get
654
- fuels += self.coil_heating_fuels(equipment.heatingCoil)
660
+ fuels += self.coil_heating_fuels(equipment.heatingCoil)
655
661
  when 'OS_ZoneHVAC_LowTemperatureRadiant_VariableFlow'
656
662
  equipment = equipment.to_ZoneHVACLowTempRadiantVarFlow.get
657
663
  if equipment.model.version < OpenStudio::VersionString.new('3.2.0')
@@ -663,12 +669,12 @@ class OpenStudio::Model::Model
663
669
  end
664
670
  when 'OS_ZoneHVAC_UnitHeater'
665
671
  equipment = equipment.to_ZoneHVACUnitHeater.get
666
- fuels += self.coil_heating_fuels(equipment.heatingCoil)
672
+ fuels += self.coil_heating_fuels(equipment.heatingCoil)
667
673
  when 'OS_ZoneHVAC_UnitVentilator'
668
674
  equipment = equipment.to_ZoneHVACUnitVentilator.get
669
675
  if equipment.heatingCoil.is_initialized
670
- fuels += self.coil_heating_fuels(equipment.heatingCoil.get)
671
- end
676
+ fuels += self.coil_heating_fuels(equipment.heatingCoil.get)
677
+ end
672
678
  when 'OS_ZoneHVAC_Baseboard_Convective_Electric'
673
679
  fuels << 'Electricity'
674
680
  when 'OS_ZoneHVAC_Baseboard_RadiantConvective_Electric'
@@ -695,9 +701,9 @@ class OpenStudio::Model::Model
695
701
  OpenStudio::logFree(OpenStudio::Debug, 'openstudio.sizing.Model', "No heating fuel types found for #{obj_type}")
696
702
  end
697
703
  end
698
-
704
+
699
705
  return fuels.uniq.sort
700
-
706
+
701
707
  end
702
708
 
703
709
  # Get the cooling fuels for a zone
@@ -716,10 +722,10 @@ class OpenStudio::Model::Model
716
722
  when 'OS_AirTerminal_SingleDuct_ConstantVolume_CooledBeam'
717
723
  equipment = equipment.to_AirTerminalSingleDuctConstantVolumeCooledBeam.get
718
724
  fuels += self.coil_cooling_fuels(equipment.coilCoolingCooledBeam)
719
- when 'OS_AirTerminal_SingleDuct_ConstantVolume_FourPipeInduction'
725
+ when 'OS_AirTerminal_SingleDuct_ConstantVolume_FourPipeInduction'
720
726
  equipment = equipment.to_AirTerminalSingleDuctConstantVolumeFourPipeInduction.get
721
727
  if equipment.coolingCoil.is_initialized
722
- fuels += self.coil_cooling_fuels(equipment.coolingCoil.get)
728
+ fuels += self.coil_cooling_fuels(equipment.coolingCoil.get)
723
729
  end
724
730
  when 'OS_ZoneHVAC_FourPipeFanCoil'
725
731
  equipment = equipment.to_ZoneHVACFourPipeFanCoil.get
@@ -752,7 +758,7 @@ class OpenStudio::Model::Model
752
758
  end
753
759
 
754
760
  return fuels.uniq.sort
755
-
761
+
756
762
  end
757
763
 
758
764
  # Get the heating fuels for a zones airloop
@@ -764,7 +770,7 @@ class OpenStudio::Model::Model
764
770
  return fuels
765
771
  end
766
772
  air_loop = air_loop.get
767
-
773
+
768
774
  # Find fuel types of all equipment
769
775
  # on the supply side of this airloop.
770
776
  air_loop.supplyComponents.each do |component|
@@ -800,7 +806,7 @@ class OpenStudio::Model::Model
800
806
  when 'OS_Coil_Heating_Gas_MultiStage'
801
807
  fuels += self.coil_heating_fuels(component)
802
808
  when 'OS_Coil_Heating_Water'
803
- fuels += self.coil_heating_fuels(component)
809
+ fuels += self.coil_heating_fuels(component)
804
810
  when 'OS_Coil_Heating_WaterToAirHeatPump_EquationFit'
805
811
  fuels += self.coil_heating_fuels(component)
806
812
  when 'OS_Coil_Heating_WaterToAirHeatPump_VariableSpeed_EquationFit'
@@ -810,14 +816,14 @@ class OpenStudio::Model::Model
810
816
  when 'OS_Coil_WaterHeating_Desuperheater'
811
817
  fuels += self.coil_heating_fuels(component)
812
818
  when 'OS_Node', 'OS_Fan_ConstantVolume', 'OS_Fan_VariableVolume', 'OS_AirLoopHVAC_OutdoorAirSystem'
813
- # To avoid extraneous debug messages
819
+ # To avoid extraneous debug messages
814
820
  else
815
821
  #OpenStudio::logFree(OpenStudio::Debug, 'openstudio.sizing.Model', "No heating fuel types found for #{obj_type}")
816
822
  end
817
- end
818
-
823
+ end
824
+
819
825
  return fuels.uniq.sort
820
-
826
+
821
827
  end
822
828
 
823
829
  # Get the cooling fuels for a zones airloop
@@ -829,7 +835,7 @@ class OpenStudio::Model::Model
829
835
  return fuels
830
836
  end
831
837
  air_loop = air_loop.get
832
-
838
+
833
839
  # Find fuel types of all equipment
834
840
  # on the supply side of this airloop.
835
841
  air_loop.supplyComponents.each do |component|
@@ -853,7 +859,7 @@ class OpenStudio::Model::Model
853
859
  when 'OS_EvaporativeCooler_Direct_ResearchSpecial'
854
860
  fuels << 'Electricity'
855
861
  when 'OS_EvaporativeCooler_Indirect_ResearchSpecial'
856
- fuels << 'Electricity'
862
+ fuels << 'Electricity'
857
863
  when 'OS_Coil_Cooling_DX_MultiSpeed'
858
864
  fuels += self.coil_cooling_fuels(component)
859
865
  when 'OS_Coil_Cooling_DX_SingleSpeed'
@@ -874,19 +880,19 @@ class OpenStudio::Model::Model
874
880
  fuels += self.coil_cooling_fuels(component)
875
881
  when 'OS_CoilSystem_Cooling_Water_HeatExchangerAssisted'
876
882
  fuels += self.coil_cooling_fuels(component)
877
- when 'OS_Coil_Cooling_Water'
878
- fuels += self.coil_cooling_fuels(component)
883
+ when 'OS_Coil_Cooling_Water'
884
+ fuels += self.coil_cooling_fuels(component)
879
885
  when 'OS_HeatPump_WaterToWater_EquationFit_Cooling'
880
886
  fuels += self.coil_cooling_fuels(component)
881
887
  when 'OS_Node', 'OS_Fan_ConstantVolume', 'OS_Fan_VariableVolume', 'OS_AirLoopHVAC_OutdoorAirSystem'
882
- # To avoid extraneous debug messages
888
+ # To avoid extraneous debug messages
883
889
  else
884
890
  #OpenStudio::logFree(OpenStudio::Debug, 'openstudio.sizing.Model', "No heating fuel types found for #{obj_type}")
885
891
  end
886
- end
887
-
892
+ end
893
+
888
894
  return fuels.uniq.sort
889
-
890
- end
891
-
895
+
896
+ end
897
+
892
898
  end