openstudio-standards 0.2.17.rc2 → 0.3.1.rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (233) hide show
  1. checksums.yaml +4 -4
  2. data/data/geometry/ASHRAESuperMarket.json +29 -38
  3. data/data/standards/OpenStudio_Standards-deer-ALL-comstock(space_types).xlsx +0 -0
  4. data/data/standards/metadata_units_OpenStudio_Standards-deer-ALL-comstockspace_types.csv +172 -0
  5. data/data/standards/test_performance_expected_dd_results.csv +12 -12
  6. data/lib/openstudio-standards/btap/analysis.rb +389 -389
  7. data/lib/openstudio-standards/btap/bridging.rb +2099 -0
  8. data/lib/openstudio-standards/btap/btap.model.rb +717 -717
  9. data/lib/openstudio-standards/btap/btap.rb +33 -30
  10. data/lib/openstudio-standards/btap/economics.rb +1163 -1163
  11. data/lib/openstudio-standards/btap/envelope.rb +4 -4
  12. data/lib/openstudio-standards/btap/equest.rb +2524 -2524
  13. data/lib/openstudio-standards/btap/fileio.rb +9 -0
  14. data/lib/openstudio-standards/btap/measures.rb +1515 -1515
  15. data/lib/openstudio-standards/btap/mpc.rb +554 -554
  16. data/lib/openstudio-standards/btap/reporting.rb +287 -287
  17. data/lib/openstudio-standards/btap/simmanager.rb +759 -759
  18. data/lib/openstudio-standards/btap/spaceloads.rb +439 -439
  19. data/lib/openstudio-standards/btap/spacetypes.rb +113 -113
  20. data/lib/openstudio-standards/btap/utilities.rb +134 -134
  21. data/lib/openstudio-standards/hvac_sizing/Siz.AirLoopHVAC.rb +8 -83
  22. data/lib/openstudio-standards/hvac_sizing/Siz.CoilCoolingWater.rb +3 -99
  23. data/lib/openstudio-standards/hvac_sizing/Siz.HeatingCoolingFuels.rb +81 -75
  24. data/lib/openstudio-standards/hvac_sizing/Siz.Model.rb +7 -306
  25. data/lib/openstudio-standards/hvac_sizing/Siz.ThermalZone.rb +70 -98
  26. data/lib/openstudio-standards/prototypes/ashrae_90_1/ashrae_90_1_2016/ashrae_90_1_2016.Model.rb +41 -14
  27. data/lib/openstudio-standards/prototypes/ashrae_90_1/ashrae_90_1_2019/ashrae_90_1_2019.Model.rb +40 -14
  28. data/lib/openstudio-standards/prototypes/common/buildings/Prototype.SuperMarket.rb +1 -23
  29. data/lib/openstudio-standards/prototypes/common/objects/Prototype.Model.exterior_lights.rb +7 -7
  30. data/lib/openstudio-standards/prototypes/common/objects/Prototype.Model.rb +5 -1
  31. data/lib/openstudio-standards/prototypes/common/objects/Prototype.ServiceWaterHeating.rb +101 -4
  32. data/lib/openstudio-standards/prototypes/common/objects/Prototype.hvac_systems.rb +16 -1
  33. data/lib/openstudio-standards/prototypes/common/objects/Prototype.refrigeration.rb +5 -4
  34. data/lib/openstudio-standards/prototypes/common/objects/Prototype.utilities.rb +24 -4
  35. data/lib/openstudio-standards/standards/Standards.AirLoopHVAC.rb +18 -2
  36. data/lib/openstudio-standards/standards/Standards.BoilerHotWater.rb +18 -0
  37. data/lib/openstudio-standards/standards/Standards.CoilCoolingDXSingleSpeed.rb +13 -10
  38. data/lib/openstudio-standards/standards/Standards.CoilDX.rb +5 -3
  39. data/lib/openstudio-standards/standards/Standards.CoilHeatingDXSingleSpeed.rb +11 -8
  40. data/lib/openstudio-standards/standards/Standards.Construction.rb +1 -1
  41. data/lib/openstudio-standards/standards/Standards.Model.rb +68 -52
  42. data/lib/openstudio-standards/standards/Standards.PlantLoop.rb +2 -2
  43. data/lib/openstudio-standards/standards/Standards.Space.rb +16 -18
  44. data/lib/openstudio-standards/standards/Standards.ThermalZone.rb +1 -1
  45. data/lib/openstudio-standards/standards/Standards.WaterHeaterMixed.rb +5 -5
  46. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2004/data/ashrae_90_1_2004.ref_cases.json +510 -0
  47. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2004/data/ashrae_90_1_2004.refrigeration_compressors.json +18 -0
  48. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2004/data/ashrae_90_1_2004.refrigeration_walkins.json +410 -0
  49. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2004/data/ashrae_90_1_2004.spc_typ.json +2 -2
  50. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2007/data/ashrae_90_1_2007.ref_cases.json +510 -0
  51. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2007/data/ashrae_90_1_2007.refrigeration_compressors.json +18 -0
  52. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2007/data/ashrae_90_1_2007.refrigeration_walkins.json +410 -0
  53. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2007/data/ashrae_90_1_2007.spc_typ.json +2 -2
  54. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2010/data/ashrae_90_1_2010.ref_cases.json +510 -0
  55. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2010/data/ashrae_90_1_2010.refrigeration_compressors.json +18 -0
  56. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2010/data/ashrae_90_1_2010.refrigeration_walkins.json +410 -0
  57. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2010/data/ashrae_90_1_2010.spc_typ.json +2 -2
  58. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2013/data/ashrae_90_1_2013.ref_cases.json +510 -0
  59. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2013/data/ashrae_90_1_2013.refrigeration_compressors.json +18 -0
  60. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2013/data/ashrae_90_1_2013.refrigeration_walkins.json +410 -0
  61. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2013/data/ashrae_90_1_2013.spc_typ.json +2 -2
  62. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2016/data/ashrae_90_1_2016.spc_typ.json +2 -2
  63. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2019/data/ashrae_90_1_2019.spc_typ.json +2 -2
  64. data/lib/openstudio-standards/standards/ashrae_90_1/data/ashrae_90_1.entryways.json +13 -2
  65. data/lib/openstudio-standards/standards/ashrae_90_1/data/ashrae_90_1.parking.json +11 -2
  66. data/lib/openstudio-standards/standards/ashrae_90_1_prm/ashrae_90_1_prm.AirLoopHVAC.rb +9 -0
  67. data/lib/openstudio-standards/standards/ashrae_90_1_prm/ashrae_90_1_prm.Model.rb +2 -0
  68. data/lib/openstudio-standards/standards/ashrae_90_1_prm/ashrae_90_1_prm.rb +4 -3
  69. data/lib/openstudio-standards/standards/deer/deer_1985/comstock_deer_1985/data/comstock_deer_1985.spc_typ.json +405 -405
  70. data/lib/openstudio-standards/standards/deer/deer_1996/comstock_deer_1996/data/comstock_deer_1996.spc_typ.json +405 -405
  71. data/lib/openstudio-standards/standards/deer/deer_2003/comstock_deer_2003/data/comstock_deer_2003.spc_typ.json +405 -405
  72. data/lib/openstudio-standards/standards/deer/deer_2003/deer_2003.ThermalZone.rb +21 -0
  73. data/lib/openstudio-standards/standards/deer/deer_2007/comstock_deer_2007/data/comstock_deer_2007.spc_typ.json +405 -405
  74. data/lib/openstudio-standards/standards/deer/deer_2007/deer_2007.ThermalZone.rb +21 -0
  75. data/lib/openstudio-standards/standards/deer/deer_2011/comstock_deer_2011/data/comstock_deer_2011.spc_typ.json +405 -405
  76. data/lib/openstudio-standards/standards/deer/deer_2011/deer_2011.ThermalZone.rb +21 -0
  77. data/lib/openstudio-standards/standards/deer/deer_2014/comstock_deer_2014/data/comstock_deer_2014.spc_typ.json +405 -405
  78. data/lib/openstudio-standards/standards/deer/deer_2014/deer_2014.ThermalZone.rb +21 -0
  79. data/lib/openstudio-standards/standards/deer/deer_2015/comstock_deer_2015/data/comstock_deer_2015.spc_typ.json +405 -405
  80. data/lib/openstudio-standards/standards/deer/deer_2015/deer_2015.ThermalZone.rb +21 -0
  81. data/lib/openstudio-standards/standards/deer/deer_2017/comstock_deer_2017/data/comstock_deer_2017.spc_typ.json +405 -405
  82. data/lib/openstudio-standards/standards/deer/deer_2017/deer_2017.ThermalZone.rb +21 -0
  83. data/lib/openstudio-standards/standards/deer/deer_2020/comstock_deer_2020/data/comstock_deer_2020.spc_typ.json +405 -405
  84. data/lib/openstudio-standards/standards/deer/deer_2020/deer_2020.AirLoopHVAC.rb +8 -0
  85. data/lib/openstudio-standards/standards/deer/deer_2020/deer_2020.ThermalZone.rb +21 -0
  86. data/lib/openstudio-standards/standards/deer/deer_2025/comstock_deer_2025/data/comstock_deer_2025.spc_typ.json +405 -405
  87. data/lib/openstudio-standards/standards/deer/deer_2030/comstock_deer_2030/data/comstock_deer_2030.spc_typ.json +405 -405
  88. data/lib/openstudio-standards/standards/deer/deer_2035/comstock_deer_2035/data/comstock_deer_2035.spc_typ.json +405 -405
  89. data/lib/openstudio-standards/standards/deer/deer_2040/comstock_deer_2040/data/comstock_deer_2040.spc_typ.json +405 -405
  90. data/lib/openstudio-standards/standards/deer/deer_2045/comstock_deer_2045/data/comstock_deer_2045.spc_typ.json +405 -405
  91. data/lib/openstudio-standards/standards/deer/deer_2050/comstock_deer_2050/data/comstock_deer_2050.spc_typ.json +405 -405
  92. data/lib/openstudio-standards/standards/deer/deer_2055/comstock_deer_2055/data/comstock_deer_2055.spc_typ.json +405 -405
  93. data/lib/openstudio-standards/standards/deer/deer_2060/comstock_deer_2060/data/comstock_deer_2060.spc_typ.json +405 -405
  94. data/lib/openstudio-standards/standards/deer/deer_2065/comstock_deer_2065/data/comstock_deer_2065.spc_typ.json +405 -405
  95. data/lib/openstudio-standards/standards/deer/deer_2070/comstock_deer_2070/data/comstock_deer_2070.spc_typ.json +405 -405
  96. data/lib/openstudio-standards/standards/deer/deer_2075/comstock_deer_2075/data/comstock_deer_2075.spc_typ.json +405 -405
  97. data/lib/openstudio-standards/standards/deer/deer_pre_1975/comstock_deer_pre_1975/data/comstock_deer_pre_1975.spc_typ.json +405 -405
  98. data/lib/openstudio-standards/standards/necb/BTAPPRE1980/btap_pre1980.rb +1 -1
  99. data/lib/openstudio-standards/standards/necb/BTAPPRE1980/hvac_system_3_and_8_single_speed.rb +3 -1
  100. data/lib/openstudio-standards/standards/necb/BTAPPRE1980/hvac_system_4.rb +3 -1
  101. data/lib/openstudio-standards/standards/necb/BTAPPRE1980/hvac_system_6.rb +2 -2
  102. data/lib/openstudio-standards/standards/necb/ECMS/data/curves.json +233 -0
  103. data/lib/openstudio-standards/standards/necb/ECMS/data/unitary_acs.json +180 -0
  104. data/lib/openstudio-standards/standards/necb/ECMS/ecms.rb +6 -1
  105. data/lib/openstudio-standards/standards/necb/ECMS/hvac_systems.rb +807 -258
  106. data/lib/openstudio-standards/standards/necb/NECB2011/autozone.rb +102 -66
  107. data/lib/openstudio-standards/standards/necb/NECB2011/data/fuel_type_sets.json +85 -8
  108. data/lib/openstudio-standards/standards/necb/NECB2011/data/geometry/HighriseApartment.osm +2483 -992
  109. data/lib/openstudio-standards/standards/necb/NECB2011/data/geometry/LowriseApartment.osm +4 -336
  110. data/lib/openstudio-standards/standards/necb/NECB2011/data/geometry/MidriseApartment.osm +228 -231
  111. data/lib/openstudio-standards/standards/necb/NECB2011/data/heat_pumps_heating.json +12 -18
  112. data/lib/openstudio-standards/standards/necb/NECB2011/data/space_type_unit_definitions.txt +76 -0
  113. data/lib/openstudio-standards/standards/necb/NECB2011/hvac_system_1_multi_speed.rb +6 -1
  114. data/lib/openstudio-standards/standards/necb/NECB2011/hvac_system_1_single_speed.rb +111 -24
  115. data/lib/openstudio-standards/standards/necb/NECB2011/hvac_system_2_and_5.rb +1 -0
  116. data/lib/openstudio-standards/standards/necb/NECB2011/hvac_system_3_and_8_multi_speed.rb +3 -1
  117. data/lib/openstudio-standards/standards/necb/NECB2011/hvac_system_3_and_8_single_speed.rb +64 -16
  118. data/lib/openstudio-standards/standards/necb/NECB2011/hvac_system_4.rb +61 -17
  119. data/lib/openstudio-standards/standards/necb/NECB2011/hvac_system_6.rb +128 -0
  120. data/lib/openstudio-standards/standards/necb/NECB2011/hvac_systems.rb +252 -23
  121. data/lib/openstudio-standards/standards/necb/NECB2011/necb_2011.rb +316 -20
  122. data/lib/openstudio-standards/standards/necb/NECB2011/qaqc/necb_qaqc.rb +1 -1
  123. data/lib/openstudio-standards/standards/necb/NECB2011/service_water_heating.rb +4 -6
  124. data/lib/openstudio-standards/standards/necb/NECB2011/system_fuels.rb +38 -0
  125. data/lib/openstudio-standards/standards/necb/NECB2015/data/heat_pumps_heating.json +16 -24
  126. data/lib/openstudio-standards/standards/necb/NECB2015/hvac_systems.rb +48 -25
  127. data/lib/openstudio-standards/standards/necb/NECB2020/building_envelope.rb +3 -3
  128. data/lib/openstudio-standards/standards/necb/NECB2020/data/chillers.json +36 -19
  129. data/lib/openstudio-standards/standards/necb/NECB2020/data/furnaces.json +19 -4
  130. data/lib/openstudio-standards/standards/necb/NECB2020/data/heat_pumps.json +20 -40
  131. data/lib/openstudio-standards/standards/necb/NECB2020/data/heat_pumps_heating.json +74 -36
  132. data/lib/openstudio-standards/standards/necb/NECB2020/necb_2020.rb +0 -2
  133. data/lib/openstudio-standards/standards/necb/NECB2020/service_water_heating.rb +124 -57
  134. data/lib/openstudio-standards/standards/necb/common/btap_data.rb +124 -2
  135. data/lib/openstudio-standards/standards/necb/common/btap_datapoint.rb +15 -2
  136. data/lib/openstudio-standards/standards/necb/common/necb_reference_runs.csv +1 -1
  137. data/lib/openstudio-standards/utilities/simulation.rb +1 -1
  138. data/lib/openstudio-standards/version.rb +1 -1
  139. data/lib/openstudio-standards/weather/Weather.Model.rb +5 -0
  140. data/lib/openstudio-standards/weather/Weather.stat_file.rb +33 -1
  141. data/lib/openstudio-standards.rb +1 -0
  142. metadata +14 -121
  143. data/data/standards/OpenStudio_Standards-ashrae_90_1.xlsx +0 -0
  144. data/data/weather/CAN_ON_Kingston.AP.718200_TMYx.2004-2018.ddy +0 -2342
  145. data/data/weather/CAN_ON_Kingston.AP.718200_TMYx.2004-2018.epw +0 -8768
  146. data/data/weather/CAN_ON_Kingston.AP.718200_TMYx.2004-2018.stat +0 -700
  147. data/data/weather/CAN_ON_Region.of.Waterloo.Intl.AP.713680_TMYx.2004-2018.ddy +0 -2342
  148. data/data/weather/CAN_ON_Region.of.Waterloo.Intl.AP.713680_TMYx.2004-2018.epw +0 -8768
  149. data/data/weather/CAN_ON_Region.of.Waterloo.Intl.AP.713680_TMYx.2004-2018.stat +0 -700
  150. data/data/weather/CAN_ON_Sarnia-Hadfield.AP.717040_TMYx.2004-2018.ddy +0 -2342
  151. data/data/weather/CAN_ON_Sarnia-Hadfield.AP.717040_TMYx.2004-2018.epw +0 -8768
  152. data/data/weather/CAN_ON_Sarnia-Hadfield.AP.717040_TMYx.2004-2018.stat +0 -700
  153. data/data/weather/CAN_QC_Gatineau.AP.716279_TMYx.2004-2018.ddy +0 -276
  154. data/data/weather/CAN_QC_Gatineau.AP.716279_TMYx.2004-2018.epw +0 -8768
  155. data/data/weather/CAN_QC_Gatineau.AP.716279_TMYx.2004-2018.stat +0 -611
  156. data/data/weather/CAN_QC_Granby.710367_TMYx.2004-2018.ddy +0 -276
  157. data/data/weather/CAN_QC_Granby.710367_TMYx.2004-2018.epw +0 -8768
  158. data/data/weather/CAN_QC_Granby.710367_TMYx.2004-2018.stat +0 -610
  159. data/data/weather/CAN_QC_Sherbrooke.AP.716100_TMYx.2004-2018.ddy +0 -2342
  160. data/data/weather/CAN_QC_Sherbrooke.AP.716100_TMYx.2004-2018.epw +0 -8768
  161. data/data/weather/CAN_QC_Sherbrooke.AP.716100_TMYx.2004-2018.stat +0 -700
  162. data/data/weather/CAN_QC_Trois.Rivieres.717240_TMYx.2004-2018.ddy +0 -2342
  163. data/data/weather/CAN_QC_Trois.Rivieres.717240_TMYx.2004-2018.epw +0 -8768
  164. data/data/weather/CAN_QC_Trois.Rivieres.717240_TMYx.2004-2018.stat +0 -700
  165. data/lib/openstudio-standards/hvac_sizing/Siz.AirConditionerVariableRefrigerantFlow.rb +0 -81
  166. data/lib/openstudio-standards/hvac_sizing/Siz.AirLoopHVACUnitaryHeatCoolVAVChngByp.rb +0 -27
  167. data/lib/openstudio-standards/hvac_sizing/Siz.AirLoopHVACUnitaryHeatPumpAirToAir.rb +0 -69
  168. data/lib/openstudio-standards/hvac_sizing/Siz.AirLoopHVACUnitaryHeatPumpAirToAirMultiSpeed.rb +0 -178
  169. data/lib/openstudio-standards/hvac_sizing/Siz.AirLoopHVACUnitarySystem.rb +0 -27
  170. data/lib/openstudio-standards/hvac_sizing/Siz.AirTermSnglDuctConstVolCooledBeam.rb +0 -27
  171. data/lib/openstudio-standards/hvac_sizing/Siz.AirTermSnglDuctConstVolFourPipeInduction.rb +0 -27
  172. data/lib/openstudio-standards/hvac_sizing/Siz.AirTermSnglDuctConstVolReheat.rb +0 -27
  173. data/lib/openstudio-standards/hvac_sizing/Siz.AirTermSnglDuctParallelPIUReheat.rb +0 -67
  174. data/lib/openstudio-standards/hvac_sizing/Siz.AirTermSnglDuctSeriesPIUReheat.rb +0 -27
  175. data/lib/openstudio-standards/hvac_sizing/Siz.AirTermSnglDuctUncontrolled.rb +0 -30
  176. data/lib/openstudio-standards/hvac_sizing/Siz.AirTermSnglDuctVAVHeatAndCoolNoReheat.rb +0 -27
  177. data/lib/openstudio-standards/hvac_sizing/Siz.AirTermSnglDuctVAVHeatAndCoolReheat.rb +0 -27
  178. data/lib/openstudio-standards/hvac_sizing/Siz.AirTermSnglDuctVAVNoReheat.rb +0 -68
  179. data/lib/openstudio-standards/hvac_sizing/Siz.AirTermSnglDuctVAVReheat.rb +0 -68
  180. data/lib/openstudio-standards/hvac_sizing/Siz.BoilerHotWater.rb +0 -42
  181. data/lib/openstudio-standards/hvac_sizing/Siz.BoilerSteam.rb +0 -27
  182. data/lib/openstudio-standards/hvac_sizing/Siz.ChillerElectricEIR.rb +0 -58
  183. data/lib/openstudio-standards/hvac_sizing/Siz.CoilCoolingDXMultiSpeed.rb +0 -171
  184. data/lib/openstudio-standards/hvac_sizing/Siz.CoilCoolingDXSingleSpeed.rb +0 -56
  185. data/lib/openstudio-standards/hvac_sizing/Siz.CoilCoolingDXTwoSpeed.rb +0 -89
  186. data/lib/openstudio-standards/hvac_sizing/Siz.CoilCoolingDXVariableRefrigerantFlow.rb +0 -50
  187. data/lib/openstudio-standards/hvac_sizing/Siz.CoilCoolingWaterToAirHeatPumpEquationFit.rb +0 -69
  188. data/lib/openstudio-standards/hvac_sizing/Siz.CoilHeatingDXMultiSpeed.rb +0 -120
  189. data/lib/openstudio-standards/hvac_sizing/Siz.CoilHeatingDXSingleSpeed.rb +0 -56
  190. data/lib/openstudio-standards/hvac_sizing/Siz.CoilHeatingDXVariableRefrigerantFlow.rb +0 -41
  191. data/lib/openstudio-standards/hvac_sizing/Siz.CoilHeatingDesuperheater.rb +0 -27
  192. data/lib/openstudio-standards/hvac_sizing/Siz.CoilHeatingElectric.rb +0 -30
  193. data/lib/openstudio-standards/hvac_sizing/Siz.CoilHeatingGas.rb +0 -30
  194. data/lib/openstudio-standards/hvac_sizing/Siz.CoilHeatingGasMultiStage.rb +0 -68
  195. data/lib/openstudio-standards/hvac_sizing/Siz.CoilHeatingWater.rb +0 -61
  196. data/lib/openstudio-standards/hvac_sizing/Siz.CoilHeatingWaterToAirHeatPumpEquationFit.rb +0 -57
  197. data/lib/openstudio-standards/hvac_sizing/Siz.CoilWaterHeatingDesuperheater.rb +0 -27
  198. data/lib/openstudio-standards/hvac_sizing/Siz.ControllerOutdoorAir.rb +0 -59
  199. data/lib/openstudio-standards/hvac_sizing/Siz.ControllerWaterCoil.rb +0 -49
  200. data/lib/openstudio-standards/hvac_sizing/Siz.CoolingTowerSingleSpeed.rb +0 -90
  201. data/lib/openstudio-standards/hvac_sizing/Siz.CoolingTowerTwoSpeed.rb +0 -83
  202. data/lib/openstudio-standards/hvac_sizing/Siz.CoolingTowerVariableSpeed.rb +0 -57
  203. data/lib/openstudio-standards/hvac_sizing/Siz.DistrictCooling.rb +0 -27
  204. data/lib/openstudio-standards/hvac_sizing/Siz.DistrictHeating.rb +0 -27
  205. data/lib/openstudio-standards/hvac_sizing/Siz.EvaporativeCoolerDirectResearchSpecial.rb +0 -27
  206. data/lib/openstudio-standards/hvac_sizing/Siz.EvaporativeCoolerIndirectResearchSpecial.rb +0 -27
  207. data/lib/openstudio-standards/hvac_sizing/Siz.EvaporativeFluidCoolerSingleSpeed.rb +0 -27
  208. data/lib/openstudio-standards/hvac_sizing/Siz.FanConstantVolume.rb +0 -29
  209. data/lib/openstudio-standards/hvac_sizing/Siz.FanOnOff.rb +0 -27
  210. data/lib/openstudio-standards/hvac_sizing/Siz.FanVariableVolume.rb +0 -29
  211. data/lib/openstudio-standards/hvac_sizing/Siz.HeaderedPumpsConstantSpeed.rb +0 -55
  212. data/lib/openstudio-standards/hvac_sizing/Siz.HeaderedPumpsVariableSpeed.rb +0 -55
  213. data/lib/openstudio-standards/hvac_sizing/Siz.HeatExchangerAirToAirSensibleAndLatent.rb +0 -38
  214. data/lib/openstudio-standards/hvac_sizing/Siz.HeatExchangerFluidToFluid.rb +0 -27
  215. data/lib/openstudio-standards/hvac_sizing/Siz.HumidifierSteamElectric.rb +0 -27
  216. data/lib/openstudio-standards/hvac_sizing/Siz.PlantLoop.rb +0 -42
  217. data/lib/openstudio-standards/hvac_sizing/Siz.PumpConstantSpeed.rb +0 -59
  218. data/lib/openstudio-standards/hvac_sizing/Siz.PumpVariableSpeed.rb +0 -59
  219. data/lib/openstudio-standards/hvac_sizing/Siz.SizingSystem.rb +0 -48
  220. data/lib/openstudio-standards/hvac_sizing/Siz.WaterHeaterMixed.rb +0 -16
  221. data/lib/openstudio-standards/hvac_sizing/Siz.ZoneHVACBaseboardConvectiveElectric.rb +0 -27
  222. data/lib/openstudio-standards/hvac_sizing/Siz.ZoneHVACBaseboardConvectiveWater.rb +0 -27
  223. data/lib/openstudio-standards/hvac_sizing/Siz.ZoneHVACFourPipeFanCoil.rb +0 -27
  224. data/lib/openstudio-standards/hvac_sizing/Siz.ZoneHVACHighTemperatureRadiant.rb +0 -27
  225. data/lib/openstudio-standards/hvac_sizing/Siz.ZoneHVACIdealLoadsAirSystem.rb +0 -27
  226. data/lib/openstudio-standards/hvac_sizing/Siz.ZoneHVACLowTempRadiantConstFlow.rb +0 -27
  227. data/lib/openstudio-standards/hvac_sizing/Siz.ZoneHVACLowTempRadiantVarFlow.rb +0 -27
  228. data/lib/openstudio-standards/hvac_sizing/Siz.ZoneHVACLowTemperatureRadiantElectric.rb +0 -27
  229. data/lib/openstudio-standards/hvac_sizing/Siz.ZoneHVACPackagedTerminalAirConditioner.rb +0 -88
  230. data/lib/openstudio-standards/hvac_sizing/Siz.ZoneHVACPackagedTerminalHeatPump.rb +0 -88
  231. data/lib/openstudio-standards/hvac_sizing/Siz.ZoneHVACTerminalUnitVariableRefrigerantFlow.rb +0 -104
  232. data/lib/openstudio-standards/hvac_sizing/Siz.ZoneHVACUnitHeater.rb +0 -27
  233. data/lib/openstudio-standards/hvac_sizing/Siz.ZoneHVACWaterToAirHeatPump.rb +0 -27
@@ -1,68 +0,0 @@
1
-
2
- # open the class to add methods to return sizing values
3
- class OpenStudio::Model::AirTerminalSingleDuctVAVReheat
4
-
5
- # Sets all auto-sizeable fields to autosize
6
- def autosize
7
- OpenStudio::logFree(OpenStudio::Warn, "openstudio.sizing.AirTerminalSingleDuctVAVReheat", ".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
- rated_flow_rate = self.autosizedMaximumAirFlowRate
16
- if rated_flow_rate.is_initialized
17
- self.setMaximumAirFlowRate(rated_flow_rate.get)
18
- end
19
-
20
- maximum_hot_water_or_steam_flow_rate = self.autosizedMaximumHotWaterOrSteamFlowRate
21
- if maximum_hot_water_or_steam_flow_rate.is_initialized
22
- self.setMaximumHotWaterOrSteamFlowRate(maximum_hot_water_or_steam_flow_rate.get)
23
- end
24
-
25
- maximum_flow_per_zone_floor_area_during_reheat = self.autosizedMaximumFlowPerZoneFloorAreaDuringReheat
26
- if maximum_flow_per_zone_floor_area_during_reheat.is_initialized
27
- self.setMaximumFlowPerZoneFloorAreaDuringReheat(maximum_flow_per_zone_floor_area_during_reheat.get)
28
- end
29
-
30
- maximum_flow_fraction_during_reheat = self.autosizedMaximumFlowFractionDuringReheat
31
- if maximum_flow_fraction_during_reheat.is_initialized
32
- self.setMaximumFlowFractionDuringReheat(maximum_flow_fraction_during_reheat.get)
33
- end
34
-
35
- end
36
-
37
- # returns the autosized maximum air flow rate as an optional double
38
- def autosizedMaximumAirFlowRate
39
-
40
- return self.model.getAutosizedValue(self, 'Design Size Maximum Air Flow Rate', 'm3/s')
41
-
42
- end
43
-
44
- # returns the autosized rated power consumption as an optional double
45
- def autosizedMaximumHotWaterOrSteamFlowRate
46
-
47
- return self.model.getAutosizedValue(self, 'Design Size Maximum Reheat Water Flow Rate', 'm3/s')
48
-
49
- end
50
-
51
- # returns the autosized maximum flow per zone floor area during reheat as an optional double
52
- def autosizedMaximumFlowPerZoneFloorAreaDuringReheat
53
-
54
- return self.model.getAutosizedValue(self, 'Design Size Maximum Flow per Zone Floor Area during Reheat', 'm3/s-m2')
55
-
56
- end
57
-
58
- # returns the autosized maximum flow fraction during reheat as an optional double
59
- def autosizedMaximumFlowFractionDuringReheat
60
-
61
- return self.model.getAutosizedValue(self, 'Design Size Maximum Flow Fraction during Reheat', '')
62
-
63
- end
64
-
65
-
66
-
67
-
68
- end
@@ -1,68 +0,0 @@
1
-
2
- # open the class to add methods to return sizing values
3
- class OpenStudio::Model::AirTerminalSingleDuctVAVReheat
4
-
5
- # Sets all auto-sizeable fields to autosize
6
- def autosize
7
- OpenStudio::logFree(OpenStudio::Warn, "openstudio.sizing.AirTerminalSingleDuctVAVReheat", ".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
- rated_flow_rate = self.autosizedMaximumAirFlowRate
16
- if rated_flow_rate.is_initialized
17
- self.setMaximumAirFlowRate(rated_flow_rate.get)
18
- end
19
-
20
- maximum_hot_water_or_steam_flow_rate = self.autosizedMaximumHotWaterOrSteamFlowRate
21
- if maximum_hot_water_or_steam_flow_rate.is_initialized
22
- self.setMaximumHotWaterOrSteamFlowRate(maximum_hot_water_or_steam_flow_rate.get)
23
- end
24
-
25
- maximum_flow_per_zone_floor_area_during_reheat = self.autosizedMaximumFlowPerZoneFloorAreaDuringReheat
26
- if maximum_flow_per_zone_floor_area_during_reheat.is_initialized
27
- self.setMaximumFlowPerZoneFloorAreaDuringReheat(maximum_flow_per_zone_floor_area_during_reheat.get)
28
- end
29
-
30
- maximum_flow_fraction_during_reheat = self.autosizedMaximumFlowFractionDuringReheat
31
- if maximum_flow_fraction_during_reheat.is_initialized
32
- self.setMaximumFlowFractionDuringReheat(maximum_flow_fraction_during_reheat.get)
33
- end
34
-
35
- end
36
-
37
- # returns the autosized maximum air flow rate as an optional double
38
- def autosizedMaximumAirFlowRate
39
-
40
- return self.model.getAutosizedValue(self, 'Design Size Maximum Air Flow Rate', 'm3/s')
41
-
42
- end
43
-
44
- # returns the autosized rated power consumption as an optional double
45
- def autosizedMaximumHotWaterOrSteamFlowRate
46
-
47
- return self.model.getAutosizedValue(self, 'Design Size Maximum Reheat Water Flow Rate', 'm3/s')
48
-
49
- end
50
-
51
- # returns the autosized maximum flow per zone floor area during reheat as an optional double
52
- def autosizedMaximumFlowPerZoneFloorAreaDuringReheat
53
-
54
- return self.model.getAutosizedValue(self, 'Design Size Maximum Flow per Zone Floor Area during Reheat', 'm3/s-m2')
55
-
56
- end
57
-
58
- # returns the autosized maximum flow fraction during reheat as an optional double
59
- def autosizedMaximumFlowFractionDuringReheat
60
-
61
- return self.model.getAutosizedValue(self, 'Design Size Maximum Flow Fraction during Reheat', '')
62
-
63
- end
64
-
65
-
66
-
67
-
68
- end
@@ -1,42 +0,0 @@
1
-
2
- # open the class to add methods to return sizing values
3
- class OpenStudio::Model::BoilerHotWater
4
-
5
- # Sets all auto-sizeable fields to autosize
6
- def autosize
7
- OpenStudio::logFree(OpenStudio::Warn, "openstudio.sizing.BoilerHotWater", ".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
- nominal_capacity = self.autosizedNominalCapacity
16
- if nominal_capacity.is_initialized
17
- self.setNominalCapacity(nominal_capacity.get)
18
- end
19
-
20
- design_water_flow_rate = self.autosizedDesignWaterFlowRate
21
- if design_water_flow_rate.is_initialized
22
- self.setDesignWaterFlowRate(design_water_flow_rate.get)
23
- end
24
-
25
- end
26
-
27
- # returns the autosized nominal capacity as an optional double
28
- def autosizedNominalCapacity
29
-
30
- return self.model.getAutosizedValue(self, 'Design Size Nominal Capacity', 'W')
31
-
32
- end
33
-
34
- # returns the autosized design water flow rate as an optional double
35
- def autosizedDesignWaterFlowRate
36
-
37
- return self.model.getAutosizedValue(self, 'Design Size Design Water Flow Rate', 'm3/s')
38
-
39
- end
40
-
41
-
42
- end
@@ -1,27 +0,0 @@
1
-
2
- # open the class to add methods to return sizing values
3
- class OpenStudio::Model::BoilerSteam
4
-
5
- # Sets all auto-sizeable fields to autosize
6
- def autosize
7
- OpenStudio::logFree(OpenStudio::Warn, "openstudio.sizing.BoilerSteam", ".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
- OpenStudio::logFree(OpenStudio::Warn, "openstudio.sizing.BoilerSteam", ".applySizingValues not yet implemented for #{self.iddObject.type.valueDescription}.")
16
-
17
- end
18
-
19
- # returns the autosized design supply air flow rate as an optional double
20
- # def autosizedDesignSupplyAirFlowRate
21
-
22
- # return self.model.getAutosizedValue(self, 'Design Supply Air Flow Rate', 'm3/s')
23
-
24
- # end
25
-
26
-
27
- end
@@ -1,58 +0,0 @@
1
-
2
- # open the class to add methods to return sizing values
3
- class OpenStudio::Model::ChillerElectricEIR
4
-
5
- # Sets all auto-sizeable fields to autosize
6
- def autosize
7
- OpenStudio::logFree(OpenStudio::Warn, "openstudio.sizing.ChillerElectricEIR", ".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
- reference_chilled_water_flow_rate = self.autosizedReferenceChilledWaterFlowRate
16
- if reference_chilled_water_flow_rate.is_initialized
17
- self.setReferenceChilledWaterFlowRate(reference_chilled_water_flow_rate.get)
18
- end
19
-
20
- reference_capacity = self.autosizedReferenceCapacity
21
- if reference_capacity.is_initialized
22
- self.setReferenceCapacity(reference_capacity.get)
23
- end
24
-
25
- # Only try to find the condenser water flow rate if this chiller
26
- # is a water cooled chiller connected to a condenser loop.
27
- if self.secondaryPlantLoop.is_initialized
28
- reference_condenser_fluid_flow_rate = self.autosizedReferenceCondenserFluidFlowRate
29
- if reference_condenser_fluid_flow_rate.is_initialized
30
- self.setReferenceCondenserFluidFlowRate(reference_condenser_fluid_flow_rate.get)
31
- end
32
- end
33
-
34
- end
35
-
36
- # returns the autosized chilled water flow rate as an optional double
37
- def autosizedReferenceChilledWaterFlowRate
38
-
39
- return self.model.getAutosizedValue(self, 'Design Size Reference Chilled Water Flow Rate', 'm3/s')
40
-
41
- end
42
-
43
- # returns the autosized reference capacity as an optional double
44
- def autosizedReferenceCapacity
45
-
46
- return self.model.getAutosizedValue(self, 'Design Size Reference Capacity', 'W')
47
-
48
- end
49
-
50
- # returns the autosized reference condenser fluid flow rate as an optional double
51
- def autosizedReferenceCondenserFluidFlowRate
52
-
53
- return self.model.getAutosizedValue(self, 'User-Specified Reference Condenser Water Flow Rate', 'm3/s')
54
-
55
- end
56
-
57
-
58
- end
@@ -1,171 +0,0 @@
1
-
2
- # open the class to add methods to return sizing values
3
- class OpenStudio::Model::CoilCoolingDXMultiSpeed
4
-
5
- # Sets all auto-sizeable fields to autosize
6
- def autosize
7
- autosizeSpeed1GrossRatedTotalCoolingCapacity
8
- autosizeSpeed2GrossRatedTotalCoolingCapacity
9
- autosizeSpeed3GrossRatedTotalCoolingCapacity
10
- autosizeSpeed4GrossRatedTotalCoolingCapacity
11
- autosizeSpeed1GrossRatedSensibleHeatRatio
12
- autosizeSpeed2GrossRatedSensibleHeatRatio
13
- autosizeSpeed3GrossRatedSensibleHeatRatio
14
- autosizeSpeed4GrossRatedSensibleHeatRatio
15
- autosizeSpeed1RatedAirFlowRate
16
- autosizeSpeed2RatedAirFlowRate
17
- autosizeSpeed3RatedAirFlowRate
18
- autosizeSpeed4RatedAirFlowRate
19
- end
20
-
21
- # Takes the values calculated by the EnergyPlus sizing routines
22
- # and puts them into this object model in place of the autosized fields.
23
- # Must have previously completed a run with sql output for this to work.
24
- def applySizingValues
25
-
26
- rated_speed1_rated_total_cooling_capacity = self.autosizedSpeed1GrossRatedTotalCoolingCapacity
27
- if rated_speed1_rated_total_cooling_capacity.is_initialized
28
- self.setSpeed1GrossRatedTotalCoolingCapacity(rated_speed1_rated_total_cooling_capacity.get)
29
- end
30
-
31
- rated_speed2_rated_total_cooling_capacity = self.autosizedSpeed2GrossRatedTotalCoolingCapacity
32
- if rated_speed2_rated_total_cooling_capacity.is_initialized
33
- self.setSpeed2GrossRatedTotalCoolingCapacity(rated_speed2_rated_total_cooling_capacity.get)
34
- end
35
-
36
- rated_speed3_rated_total_cooling_capacity = self.autosizedSpeed3GrossRatedTotalCoolingCapacity
37
- if rated_speed3_rated_total_cooling_capacity.is_initialized
38
- self.setSpeed3GrossRatedTotalCoolingCapacity(rated_speed3_rated_total_cooling_capacity.get)
39
- end
40
-
41
- rated_speed4_rated_total_cooling_capacity = self.autosizedSpeed4GrossRatedTotalCoolingCapacity
42
- if rated_speed4_rated_total_cooling_capacity.is_initialized
43
- self.setSpeed4GrossRatedTotalCoolingCapacity(rated_speed4_rated_total_cooling_capacity.get)
44
- end
45
-
46
- rated_speed1_rated_sensible_heat_ratio = self.autosizedSpeed1RatedSensibleHeatRatio
47
- if rated_speed1_rated_sensible_heat_ratio.is_initialized
48
- self.setSpeed1RatedSensibleHeatRatio(rated_speed1_rated_sensible_heat_ratio.get)
49
- end
50
-
51
- rated_speed2_rated_sensible_heat_ratio = self.autosizedSpeed2RatedSensibleHeatRatio
52
- if rated_speed2_rated_sensible_heat_ratio.is_initialized
53
- self.setSpeed2RatedSensibleHeatRatio(rated_speed2_rated_sensible_heat_ratio.get)
54
- end
55
-
56
- rated_speed3_rated_sensible_heat_ratio = self.autosizedSpeed3RatedSensibleHeatRatio
57
- if rated_speed3_rated_sensible_heat_ratio.is_initialized
58
- self.setSpeed3RatedSensibleHeatRatio(rated_speed3_rated_sensible_heat_ratio.get)
59
- end
60
-
61
- rated_speed4_rated_sensible_heat_ratio = self.autosizedSpeed4RatedSensibleHeatRatio
62
- if rated_speed4_rated_sensible_heat_ratio.is_initialized
63
- self.setSpeed4RatedSensibleHeatRatio(rated_speed4_rated_sensible_heat_ratio.get)
64
- end
65
-
66
- rated_speed1_rated_air_flow_rate = self.autosizedSpeed1RatedAirFlowRate
67
- if rated_speed1_rated_air_flow_rate.is_initialized
68
- self.setSpeed1RatedAirFlowRate(rated_speed1_rated_air_flow_rate.get)
69
- end
70
-
71
- rated_speed2_rated_air_flow_rate = self.autosizedSpeed2RatedAirFlowRate
72
- if rated_speed2_rated_air_flow_rate.is_initialized
73
- self.setSpeed2RatedAirFlowRate(rated_speed2_rated_air_flow_rate.get)
74
- end
75
-
76
- rated_speed3_rated_air_flow_rate = self.autosizedSpeed3RatedAirFlowRate
77
- if rated_speed3_rated_air_flow_rate.is_initialized
78
- self.setSpeed3RatedAirFlowRate(rated_speed3_rated_air_flow_rate.get)
79
- end
80
-
81
- rated_speed4_rated_air_flow_rate = self.autosizedSpeed4RatedAirFlowRate
82
- if rated_speed4_rated_air_flow_rate.is_initialized
83
- self.setSpeed4RatedAirFlowRate(rated_speed4_rated_air_flow_rate.get)
84
- end
85
-
86
- end
87
-
88
- # returns the autosized rated total cooling capacity for stage 1 as an optional double
89
- def autosizedSpeed1GrossRatedTotalCoolingCapacity
90
-
91
- return self.model.getAutosizedValue(self,'Design Size Speed 1 Gross Rated Total Cooling Capacity', 'W')
92
-
93
- end
94
-
95
- # returns the autosized rated total cooling capacity for stage 2 as an optional double
96
- def autosizedSpeed2GrossRatedTotalCoolingCapacity
97
-
98
- return self.model.getAutosizedValue(self,'Design Size Speed 2 Gross Rated Total Cooling Capacity', 'W')
99
-
100
- end
101
-
102
- # returns the autosized rated total cooling capacity for stage 3 as an optional double
103
- def autosizedSpeed3GrossRatedTotalCoolingCapacity
104
-
105
- return self.model.getAutosizedValue(self,'Design Size Speed 3 Gross Rated Total Cooling Capacity', 'W')
106
-
107
- end
108
-
109
- # returns the autosized rated total cooling capacity for stage 4 as an optional double
110
- def autosizedSpeed4GrossRatedTotalCoolingCapacity
111
-
112
- return self.model.getAutosizedValue(self,'Design Size Speed 4 Gross Rated Total Cooling Capacity', 'W')
113
-
114
- end
115
-
116
- # returns the autosized rated sensible heat ratio for stage 1 as an optional double
117
- def autosizedSpeed1RatedSensibleHeatRatio
118
-
119
- return self.model.getAutosizedValue(self,'Design Size Speed 1 Rated Sensible Heat Ratio', '')
120
-
121
- end
122
-
123
- # returns the autosized rated sensible heat ratio for stage 2 as an optional double
124
- def autosizedSpeed2RatedSensibleHeatRatio
125
-
126
- return self.model.getAutosizedValue(self,'Design Size Speed 2 Rated Sensible Heat Ratio', '')
127
-
128
- end
129
-
130
- # returns the autosized rated sensible heat ratio for stage 3 as an optional double
131
- def autosizedSpeed3RatedSensibleHeatRatio
132
-
133
- return self.model.getAutosizedValue(self,'Design Size Speed 3 Rated Sensible Heat Ratio', '')
134
-
135
- end
136
-
137
- # returns the autosized rated sensible heat ratio for stage 4 as an optional double
138
- def autosizedSpeed4RatedSensibleHeatRatio
139
-
140
- return self.model.getAutosizedValue(self,'Design Size Speed 4 Rated Sensible Heat Ratio', '')
141
-
142
- end
143
-
144
- # returns the autosized rated air flow rate for stage 1 as an optional double
145
- def autosizedSpeed1RatedAirFlowRate
146
-
147
- return self.model.getAutosizedValue(self,'Design Size Speed 1 Rated Air Flow Rate', 'm3/s')
148
-
149
- end
150
-
151
- # returns the autosized rated air flow rate for stage 2 as an optional double
152
- def autosizedSpeed2RatedAirFlowRate
153
-
154
- return self.model.getAutosizedValue(self,'Design Size Speed 2 Rated Air Flow Rate', 'm3/s')
155
-
156
- end
157
-
158
- # returns the autosized rated air flow rate for stage 3 as an optional double
159
- def autosizedSpeed3RatedAirFlowRate
160
-
161
- return self.model.getAutosizedValue(self,'Design Size Speed 3 Rated Air Flow Rate', 'm3/s')
162
-
163
- end
164
-
165
- # returns the autosized rated air flow rate for stage 4 as an optional double
166
- def autosizedSpeed4RatedAirFlowRate
167
-
168
- return self.model.getAutosizedValue(self,'Design Size Speed 4 Rated Air Flow Rate', 'm3/s')
169
-
170
- end
171
- end
@@ -1,56 +0,0 @@
1
-
2
- # open the class to add methods to return sizing values
3
- class OpenStudio::Model::CoilCoolingDXSingleSpeed
4
-
5
- # Sets all auto-sizeable fields to autosize
6
- def autosize
7
- self.autosizeRatedTotalCoolingCapacity
8
- self.autosizeRatedSensibleHeatRatio
9
- self.autosizeRatedAirFlowRate
10
- end
11
-
12
- # Takes the values calculated by the EnergyPlus sizing routines
13
- # and puts them into this object model in place of the autosized fields.
14
- # Must have previously completed a run with sql output for this to work.
15
- def applySizingValues
16
-
17
- rated_air_flow_rate = self.autosizedRatedAirFlowRate
18
- if rated_air_flow_rate.is_initialized
19
- self.setRatedAirFlowRate(rated_air_flow_rate.get)
20
- end
21
-
22
- rated_total_cooling_capacity = self.autosizedRatedTotalCoolingCapacity
23
- if rated_total_cooling_capacity.is_initialized
24
- self.setRatedTotalCoolingCapacity(rated_total_cooling_capacity.get)
25
- end
26
-
27
- rated_sensible_heat_ratio = self.autosizedRatedSensibleHeatRatio
28
- if rated_sensible_heat_ratio.is_initialized
29
- self.setRatedSensibleHeatRatio(rated_sensible_heat_ratio.get)
30
- end
31
-
32
- end
33
-
34
- # returns the autosized rated air flow rate as an optional double
35
- def autosizedRatedAirFlowRate
36
-
37
- return self.model.getAutosizedValue(self, 'Design Size Rated Air Flow Rate', 'm3/s')
38
-
39
- end
40
-
41
- # returns the autosized rated total cooling capacity as an optional double
42
- def autosizedRatedTotalCoolingCapacity
43
-
44
- return self.model.getAutosizedValue(self, 'Design Size Gross Rated Total Cooling Capacity', 'W')
45
-
46
- end
47
-
48
- # returns the autosized rated sensible heat ratio as an optional double
49
- def autosizedRatedSensibleHeatRatio
50
-
51
- return self.model.getAutosizedValue(self, 'Design Size Gross Rated Sensible Heat Ratio', '')
52
-
53
- end
54
-
55
-
56
- end
@@ -1,89 +0,0 @@
1
-
2
- # open the class to add methods to return sizing values
3
- class OpenStudio::Model::CoilCoolingDXTwoSpeed
4
-
5
- # Sets all auto-sizeable fields to autosize
6
- def autosize
7
- OpenStudio::logFree(OpenStudio::Warn, "openstudio.sizing.CoilCoolingDXTwoSpeed", ".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
- rated_high_speed_air_flow_rate = self.autosizedRatedHighSpeedAirFlowRate
16
- if rated_high_speed_air_flow_rate.is_initialized
17
- self.setRatedHighSpeedAirFlowRate(rated_high_speed_air_flow_rate)
18
- end
19
-
20
- rated_high_speed_total_cooling_capacity = self.autosizedRatedHighSpeedTotalCoolingCapacity
21
- if rated_high_speed_total_cooling_capacity.is_initialized
22
- self.setRatedHighSpeedTotalCoolingCapacity(rated_high_speed_total_cooling_capacity)
23
- end
24
-
25
- rated_high_speed_sensible_heat_ratio = self.autosizedRatedHighSpeedSensibleHeatRatio
26
- if rated_high_speed_sensible_heat_ratio.is_initialized
27
- self.setRatedHighSpeedSensibleHeatRatio(rated_high_speed_sensible_heat_ratio)
28
- end
29
-
30
- rated_low_speed_air_flow_rate = self.autosizedRatedLowSpeedAirFlowRate
31
- if rated_low_speed_air_flow_rate.is_initialized
32
- self.setRatedLowSpeedAirFlowRate(rated_low_speed_air_flow_rate)
33
- end
34
-
35
- rated_low_speed_total_cooling_capacity = self.autosizedRatedLowSpeedTotalCoolingCapacity
36
- if rated_low_speed_total_cooling_capacity.is_initialized
37
- self.setRatedLowSpeedTotalCoolingCapacity(rated_low_speed_total_cooling_capacity)
38
- end
39
-
40
- rated_low_speed_sensible_heat_ratio = self.autosizedRatedLowSpeedSensibleHeatRatio
41
- if rated_low_speed_sensible_heat_ratio.is_initialized
42
- self.setRatedLowSpeedSensibleHeatRatio(rated_low_speed_sensible_heat_ratio)
43
- end
44
-
45
- end
46
-
47
- # returns the autosized rated high speed air flow rate as an optional double
48
- def autosizedRatedHighSpeedAirFlowRate
49
-
50
- return self.model.getAutosizedValue(self, 'Design Size High Speed Rated Air Flow Rate', 'm3/s')
51
-
52
- end
53
-
54
- # returns the autosized rated high speed total cooling capacity as an optional double
55
- def autosizedRatedHighSpeedTotalCoolingCapacity
56
-
57
- return self.model.getAutosizedValue(self, 'Design Size High Speed Gross Rated Total Cooling Capacity', 'W')
58
-
59
- end
60
-
61
- # returns the autosized rated high speed sensible heat ratio as an optional double
62
- def autosizedRatedHighSpeedSensibleHeatRatio
63
-
64
- return self.model.getAutosizedValue(self, 'Design Size High Speed Rated Sensible Heat Ratio', '')
65
-
66
- end
67
-
68
- # returns the autosized rated low speed air flow rate as an optional double
69
- def autosizedRatedLowSpeedAirFlowRate
70
-
71
- return self.model.getAutosizedValue(self, 'Design Size Low Speed Rated Air Flow Rate', 'm3/s')
72
-
73
- end
74
-
75
- # returns the autosized rated low speed total cooling capacity as an optional double
76
- def autosizedRatedLowSpeedTotalCoolingCapacity
77
-
78
- return self.model.getAutosizedValue(self, 'Design Size Low Speed Gross Rated Total Cooling Capacity', 'W')
79
-
80
- end
81
-
82
- # returns the autosized rated low speed sensible heat ratio as an optional double
83
- def autosizedRatedLowSpeedSensibleHeatRatio
84
-
85
- return self.model.getAutosizedValue(self, 'Design Size Low Speed Gross Rated Sensible Heat Ratio', '')
86
-
87
- end
88
-
89
- end
@@ -1,50 +0,0 @@
1
-
2
- # open the class to add methods to return sizing values
3
- class OpenStudio::Model::CoilCoolingDXVariableRefrigerantFlow
4
-
5
- # Sets all auto-sizeable fields to autosize
6
- def autosize
7
- self.autosizedRatedTotalCoolingCapacity
8
- self.autosizeRatedAirFlowRate
9
- self.autosizeRatedSensibleHeatRatio
10
- end
11
-
12
-
13
- # Takes the values calculated by the EnergyPlus sizing routines
14
- # and puts them into this object model in place of the autosized fields.
15
- # Must have previously completed a run with sql output for this to work.
16
- def applySizingValues
17
-
18
- rated_air_flow_rate = self.autosizedRatedAirFlowRate
19
- if rated_air_flow_rate.is_initialized
20
- self.setRatedAirFlowRate(rated_air_flow_rate.get)
21
- end
22
-
23
- rated_total_cooling_capacity = self.autosizedRatedTotalCoolingCapacity
24
- if rated_total_cooling_capacity.is_initialized
25
- self.setRatedTotalCoolingCapacity(rated_total_cooling_capacity.get)
26
- end
27
-
28
- rated_sensible_heat_ratio = self.autosizedRatedSensibleHeatRatio
29
- if rated_sensible_heat_ratio.is_initialized
30
- self.setRatedSensibleHeatRatio(rated_sensible_heat_ratio.get)
31
- end
32
-
33
- end
34
-
35
- # Design Size Rated Air Flow Rate as an optional double
36
- def autosizedRatedTotalCoolingCapacity
37
- return self.model.getAutosizedValue(self, 'Design Size Rated Air Flow Rate', 'm3/s')
38
- end
39
-
40
- # Design Size Gross Rated Total Cooling Capacity as an optional double
41
- def autosizedRatedAirFlowRate
42
- return self.model.getAutosizedValue(self, 'Design Size Gross Rated Total Cooling Capacity', 'W')
43
- end
44
-
45
- # Design Size Gross Rated Sensible Heat Ratio as an optional double
46
- def autosizedRatedSensibleHeatRatio
47
- return self.model.getAutosizedValue(self, 'Design Size Gross Rated Sensible Heat Ratio', '')
48
- end
49
-
50
- end