openstudio-standards 0.3.0 → 0.3.1.rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (226) 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.ServiceWaterHeating.rb +93 -4
  30. data/lib/openstudio-standards/prototypes/common/objects/Prototype.hvac_systems.rb +13 -0
  31. data/lib/openstudio-standards/prototypes/common/objects/Prototype.refrigeration.rb +5 -4
  32. data/lib/openstudio-standards/prototypes/common/objects/Prototype.utilities.rb +24 -4
  33. data/lib/openstudio-standards/standards/Standards.AirLoopHVAC.rb +18 -2
  34. data/lib/openstudio-standards/standards/Standards.BoilerHotWater.rb +18 -0
  35. data/lib/openstudio-standards/standards/Standards.CoilCoolingDXSingleSpeed.rb +13 -10
  36. data/lib/openstudio-standards/standards/Standards.CoilDX.rb +5 -3
  37. data/lib/openstudio-standards/standards/Standards.CoilHeatingDXSingleSpeed.rb +11 -8
  38. data/lib/openstudio-standards/standards/Standards.Construction.rb +1 -1
  39. data/lib/openstudio-standards/standards/Standards.Model.rb +68 -52
  40. data/lib/openstudio-standards/standards/Standards.PlantLoop.rb +2 -2
  41. data/lib/openstudio-standards/standards/Standards.Space.rb +16 -18
  42. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2004/data/ashrae_90_1_2004.ref_cases.json +510 -0
  43. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2004/data/ashrae_90_1_2004.refrigeration_compressors.json +18 -0
  44. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2004/data/ashrae_90_1_2004.refrigeration_walkins.json +410 -0
  45. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2004/data/ashrae_90_1_2004.spc_typ.json +2 -2
  46. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2007/data/ashrae_90_1_2007.ref_cases.json +510 -0
  47. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2007/data/ashrae_90_1_2007.refrigeration_compressors.json +18 -0
  48. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2007/data/ashrae_90_1_2007.refrigeration_walkins.json +410 -0
  49. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2007/data/ashrae_90_1_2007.spc_typ.json +2 -2
  50. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2010/data/ashrae_90_1_2010.ref_cases.json +510 -0
  51. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2010/data/ashrae_90_1_2010.refrigeration_compressors.json +18 -0
  52. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2010/data/ashrae_90_1_2010.refrigeration_walkins.json +410 -0
  53. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2010/data/ashrae_90_1_2010.spc_typ.json +2 -2
  54. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2013/data/ashrae_90_1_2013.ref_cases.json +510 -0
  55. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2013/data/ashrae_90_1_2013.refrigeration_compressors.json +18 -0
  56. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2013/data/ashrae_90_1_2013.refrigeration_walkins.json +410 -0
  57. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2013/data/ashrae_90_1_2013.spc_typ.json +2 -2
  58. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2016/data/ashrae_90_1_2016.spc_typ.json +2 -2
  59. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2019/data/ashrae_90_1_2019.spc_typ.json +2 -2
  60. data/lib/openstudio-standards/standards/ashrae_90_1_prm/ashrae_90_1_prm.AirLoopHVAC.rb +9 -0
  61. data/lib/openstudio-standards/standards/ashrae_90_1_prm/ashrae_90_1_prm.Model.rb +2 -0
  62. data/lib/openstudio-standards/standards/ashrae_90_1_prm/ashrae_90_1_prm.rb +4 -3
  63. data/lib/openstudio-standards/standards/deer/deer_1985/comstock_deer_1985/data/comstock_deer_1985.spc_typ.json +405 -405
  64. data/lib/openstudio-standards/standards/deer/deer_1996/comstock_deer_1996/data/comstock_deer_1996.spc_typ.json +405 -405
  65. data/lib/openstudio-standards/standards/deer/deer_2003/comstock_deer_2003/data/comstock_deer_2003.spc_typ.json +405 -405
  66. data/lib/openstudio-standards/standards/deer/deer_2003/deer_2003.ThermalZone.rb +21 -0
  67. data/lib/openstudio-standards/standards/deer/deer_2007/comstock_deer_2007/data/comstock_deer_2007.spc_typ.json +405 -405
  68. data/lib/openstudio-standards/standards/deer/deer_2007/deer_2007.ThermalZone.rb +21 -0
  69. data/lib/openstudio-standards/standards/deer/deer_2011/comstock_deer_2011/data/comstock_deer_2011.spc_typ.json +405 -405
  70. data/lib/openstudio-standards/standards/deer/deer_2011/deer_2011.ThermalZone.rb +21 -0
  71. data/lib/openstudio-standards/standards/deer/deer_2014/comstock_deer_2014/data/comstock_deer_2014.spc_typ.json +405 -405
  72. data/lib/openstudio-standards/standards/deer/deer_2014/deer_2014.ThermalZone.rb +21 -0
  73. data/lib/openstudio-standards/standards/deer/deer_2015/comstock_deer_2015/data/comstock_deer_2015.spc_typ.json +405 -405
  74. data/lib/openstudio-standards/standards/deer/deer_2015/deer_2015.ThermalZone.rb +21 -0
  75. data/lib/openstudio-standards/standards/deer/deer_2017/comstock_deer_2017/data/comstock_deer_2017.spc_typ.json +405 -405
  76. data/lib/openstudio-standards/standards/deer/deer_2017/deer_2017.ThermalZone.rb +21 -0
  77. data/lib/openstudio-standards/standards/deer/deer_2020/comstock_deer_2020/data/comstock_deer_2020.spc_typ.json +405 -405
  78. data/lib/openstudio-standards/standards/deer/deer_2020/deer_2020.AirLoopHVAC.rb +8 -0
  79. data/lib/openstudio-standards/standards/deer/deer_2020/deer_2020.ThermalZone.rb +21 -0
  80. data/lib/openstudio-standards/standards/deer/deer_2025/comstock_deer_2025/data/comstock_deer_2025.spc_typ.json +405 -405
  81. data/lib/openstudio-standards/standards/deer/deer_2030/comstock_deer_2030/data/comstock_deer_2030.spc_typ.json +405 -405
  82. data/lib/openstudio-standards/standards/deer/deer_2035/comstock_deer_2035/data/comstock_deer_2035.spc_typ.json +405 -405
  83. data/lib/openstudio-standards/standards/deer/deer_2040/comstock_deer_2040/data/comstock_deer_2040.spc_typ.json +405 -405
  84. data/lib/openstudio-standards/standards/deer/deer_2045/comstock_deer_2045/data/comstock_deer_2045.spc_typ.json +405 -405
  85. data/lib/openstudio-standards/standards/deer/deer_2050/comstock_deer_2050/data/comstock_deer_2050.spc_typ.json +405 -405
  86. data/lib/openstudio-standards/standards/deer/deer_2055/comstock_deer_2055/data/comstock_deer_2055.spc_typ.json +405 -405
  87. data/lib/openstudio-standards/standards/deer/deer_2060/comstock_deer_2060/data/comstock_deer_2060.spc_typ.json +405 -405
  88. data/lib/openstudio-standards/standards/deer/deer_2065/comstock_deer_2065/data/comstock_deer_2065.spc_typ.json +405 -405
  89. data/lib/openstudio-standards/standards/deer/deer_2070/comstock_deer_2070/data/comstock_deer_2070.spc_typ.json +405 -405
  90. data/lib/openstudio-standards/standards/deer/deer_2075/comstock_deer_2075/data/comstock_deer_2075.spc_typ.json +405 -405
  91. data/lib/openstudio-standards/standards/deer/deer_pre_1975/comstock_deer_pre_1975/data/comstock_deer_pre_1975.spc_typ.json +405 -405
  92. data/lib/openstudio-standards/standards/necb/BTAPPRE1980/btap_pre1980.rb +1 -1
  93. data/lib/openstudio-standards/standards/necb/BTAPPRE1980/hvac_system_3_and_8_single_speed.rb +3 -1
  94. data/lib/openstudio-standards/standards/necb/BTAPPRE1980/hvac_system_4.rb +3 -1
  95. data/lib/openstudio-standards/standards/necb/BTAPPRE1980/hvac_system_6.rb +2 -2
  96. data/lib/openstudio-standards/standards/necb/ECMS/data/curves.json +233 -0
  97. data/lib/openstudio-standards/standards/necb/ECMS/data/unitary_acs.json +180 -0
  98. data/lib/openstudio-standards/standards/necb/ECMS/ecms.rb +6 -1
  99. data/lib/openstudio-standards/standards/necb/ECMS/hvac_systems.rb +807 -258
  100. data/lib/openstudio-standards/standards/necb/NECB2011/autozone.rb +102 -66
  101. data/lib/openstudio-standards/standards/necb/NECB2011/data/fuel_type_sets.json +85 -8
  102. data/lib/openstudio-standards/standards/necb/NECB2011/data/geometry/HighriseApartment.osm +2483 -992
  103. data/lib/openstudio-standards/standards/necb/NECB2011/data/geometry/LowriseApartment.osm +4 -336
  104. data/lib/openstudio-standards/standards/necb/NECB2011/data/geometry/MidriseApartment.osm +228 -231
  105. data/lib/openstudio-standards/standards/necb/NECB2011/data/heat_pumps_heating.json +12 -18
  106. data/lib/openstudio-standards/standards/necb/NECB2011/data/space_type_unit_definitions.txt +76 -0
  107. data/lib/openstudio-standards/standards/necb/NECB2011/hvac_system_1_multi_speed.rb +6 -1
  108. data/lib/openstudio-standards/standards/necb/NECB2011/hvac_system_1_single_speed.rb +111 -24
  109. data/lib/openstudio-standards/standards/necb/NECB2011/hvac_system_2_and_5.rb +1 -0
  110. data/lib/openstudio-standards/standards/necb/NECB2011/hvac_system_3_and_8_multi_speed.rb +3 -1
  111. data/lib/openstudio-standards/standards/necb/NECB2011/hvac_system_3_and_8_single_speed.rb +64 -16
  112. data/lib/openstudio-standards/standards/necb/NECB2011/hvac_system_4.rb +61 -17
  113. data/lib/openstudio-standards/standards/necb/NECB2011/hvac_system_6.rb +128 -0
  114. data/lib/openstudio-standards/standards/necb/NECB2011/hvac_systems.rb +252 -23
  115. data/lib/openstudio-standards/standards/necb/NECB2011/necb_2011.rb +316 -20
  116. data/lib/openstudio-standards/standards/necb/NECB2011/qaqc/necb_qaqc.rb +1 -1
  117. data/lib/openstudio-standards/standards/necb/NECB2011/service_water_heating.rb +3 -5
  118. data/lib/openstudio-standards/standards/necb/NECB2011/system_fuels.rb +38 -0
  119. data/lib/openstudio-standards/standards/necb/NECB2015/data/heat_pumps_heating.json +16 -24
  120. data/lib/openstudio-standards/standards/necb/NECB2015/hvac_systems.rb +48 -25
  121. data/lib/openstudio-standards/standards/necb/NECB2020/building_envelope.rb +3 -3
  122. data/lib/openstudio-standards/standards/necb/NECB2020/data/chillers.json +36 -19
  123. data/lib/openstudio-standards/standards/necb/NECB2020/data/furnaces.json +19 -4
  124. data/lib/openstudio-standards/standards/necb/NECB2020/data/heat_pumps.json +20 -40
  125. data/lib/openstudio-standards/standards/necb/NECB2020/data/heat_pumps_heating.json +74 -36
  126. data/lib/openstudio-standards/standards/necb/NECB2020/necb_2020.rb +0 -2
  127. data/lib/openstudio-standards/standards/necb/NECB2020/service_water_heating.rb +123 -56
  128. data/lib/openstudio-standards/standards/necb/common/btap_data.rb +124 -2
  129. data/lib/openstudio-standards/standards/necb/common/btap_datapoint.rb +15 -2
  130. data/lib/openstudio-standards/standards/necb/common/necb_reference_runs.csv +1 -1
  131. data/lib/openstudio-standards/utilities/simulation.rb +1 -1
  132. data/lib/openstudio-standards/version.rb +1 -1
  133. data/lib/openstudio-standards/weather/Weather.stat_file.rb +33 -1
  134. data/lib/openstudio-standards.rb +1 -0
  135. metadata +14 -121
  136. data/data/standards/OpenStudio_Standards-ashrae_90_1.xlsx +0 -0
  137. data/data/weather/CAN_ON_Kingston.AP.718200_TMYx.2004-2018.ddy +0 -2342
  138. data/data/weather/CAN_ON_Kingston.AP.718200_TMYx.2004-2018.epw +0 -8768
  139. data/data/weather/CAN_ON_Kingston.AP.718200_TMYx.2004-2018.stat +0 -700
  140. data/data/weather/CAN_ON_Region.of.Waterloo.Intl.AP.713680_TMYx.2004-2018.ddy +0 -2342
  141. data/data/weather/CAN_ON_Region.of.Waterloo.Intl.AP.713680_TMYx.2004-2018.epw +0 -8768
  142. data/data/weather/CAN_ON_Region.of.Waterloo.Intl.AP.713680_TMYx.2004-2018.stat +0 -700
  143. data/data/weather/CAN_ON_Sarnia-Hadfield.AP.717040_TMYx.2004-2018.ddy +0 -2342
  144. data/data/weather/CAN_ON_Sarnia-Hadfield.AP.717040_TMYx.2004-2018.epw +0 -8768
  145. data/data/weather/CAN_ON_Sarnia-Hadfield.AP.717040_TMYx.2004-2018.stat +0 -700
  146. data/data/weather/CAN_QC_Gatineau.AP.716279_TMYx.2004-2018.ddy +0 -276
  147. data/data/weather/CAN_QC_Gatineau.AP.716279_TMYx.2004-2018.epw +0 -8768
  148. data/data/weather/CAN_QC_Gatineau.AP.716279_TMYx.2004-2018.stat +0 -611
  149. data/data/weather/CAN_QC_Granby.710367_TMYx.2004-2018.ddy +0 -276
  150. data/data/weather/CAN_QC_Granby.710367_TMYx.2004-2018.epw +0 -8768
  151. data/data/weather/CAN_QC_Granby.710367_TMYx.2004-2018.stat +0 -610
  152. data/data/weather/CAN_QC_Sherbrooke.AP.716100_TMYx.2004-2018.ddy +0 -2342
  153. data/data/weather/CAN_QC_Sherbrooke.AP.716100_TMYx.2004-2018.epw +0 -8768
  154. data/data/weather/CAN_QC_Sherbrooke.AP.716100_TMYx.2004-2018.stat +0 -700
  155. data/data/weather/CAN_QC_Trois.Rivieres.717240_TMYx.2004-2018.ddy +0 -2342
  156. data/data/weather/CAN_QC_Trois.Rivieres.717240_TMYx.2004-2018.epw +0 -8768
  157. data/data/weather/CAN_QC_Trois.Rivieres.717240_TMYx.2004-2018.stat +0 -700
  158. data/lib/openstudio-standards/hvac_sizing/Siz.AirConditionerVariableRefrigerantFlow.rb +0 -81
  159. data/lib/openstudio-standards/hvac_sizing/Siz.AirLoopHVACUnitaryHeatCoolVAVChngByp.rb +0 -27
  160. data/lib/openstudio-standards/hvac_sizing/Siz.AirLoopHVACUnitaryHeatPumpAirToAir.rb +0 -69
  161. data/lib/openstudio-standards/hvac_sizing/Siz.AirLoopHVACUnitaryHeatPumpAirToAirMultiSpeed.rb +0 -178
  162. data/lib/openstudio-standards/hvac_sizing/Siz.AirLoopHVACUnitarySystem.rb +0 -27
  163. data/lib/openstudio-standards/hvac_sizing/Siz.AirTermSnglDuctConstVolCooledBeam.rb +0 -27
  164. data/lib/openstudio-standards/hvac_sizing/Siz.AirTermSnglDuctConstVolFourPipeInduction.rb +0 -27
  165. data/lib/openstudio-standards/hvac_sizing/Siz.AirTermSnglDuctConstVolReheat.rb +0 -27
  166. data/lib/openstudio-standards/hvac_sizing/Siz.AirTermSnglDuctParallelPIUReheat.rb +0 -67
  167. data/lib/openstudio-standards/hvac_sizing/Siz.AirTermSnglDuctSeriesPIUReheat.rb +0 -27
  168. data/lib/openstudio-standards/hvac_sizing/Siz.AirTermSnglDuctUncontrolled.rb +0 -30
  169. data/lib/openstudio-standards/hvac_sizing/Siz.AirTermSnglDuctVAVHeatAndCoolNoReheat.rb +0 -27
  170. data/lib/openstudio-standards/hvac_sizing/Siz.AirTermSnglDuctVAVHeatAndCoolReheat.rb +0 -27
  171. data/lib/openstudio-standards/hvac_sizing/Siz.AirTermSnglDuctVAVNoReheat.rb +0 -68
  172. data/lib/openstudio-standards/hvac_sizing/Siz.AirTermSnglDuctVAVReheat.rb +0 -68
  173. data/lib/openstudio-standards/hvac_sizing/Siz.BoilerHotWater.rb +0 -42
  174. data/lib/openstudio-standards/hvac_sizing/Siz.BoilerSteam.rb +0 -27
  175. data/lib/openstudio-standards/hvac_sizing/Siz.ChillerElectricEIR.rb +0 -58
  176. data/lib/openstudio-standards/hvac_sizing/Siz.CoilCoolingDXMultiSpeed.rb +0 -171
  177. data/lib/openstudio-standards/hvac_sizing/Siz.CoilCoolingDXSingleSpeed.rb +0 -56
  178. data/lib/openstudio-standards/hvac_sizing/Siz.CoilCoolingDXTwoSpeed.rb +0 -89
  179. data/lib/openstudio-standards/hvac_sizing/Siz.CoilCoolingDXVariableRefrigerantFlow.rb +0 -50
  180. data/lib/openstudio-standards/hvac_sizing/Siz.CoilCoolingWaterToAirHeatPumpEquationFit.rb +0 -69
  181. data/lib/openstudio-standards/hvac_sizing/Siz.CoilHeatingDXMultiSpeed.rb +0 -120
  182. data/lib/openstudio-standards/hvac_sizing/Siz.CoilHeatingDXSingleSpeed.rb +0 -56
  183. data/lib/openstudio-standards/hvac_sizing/Siz.CoilHeatingDXVariableRefrigerantFlow.rb +0 -41
  184. data/lib/openstudio-standards/hvac_sizing/Siz.CoilHeatingDesuperheater.rb +0 -27
  185. data/lib/openstudio-standards/hvac_sizing/Siz.CoilHeatingElectric.rb +0 -30
  186. data/lib/openstudio-standards/hvac_sizing/Siz.CoilHeatingGas.rb +0 -30
  187. data/lib/openstudio-standards/hvac_sizing/Siz.CoilHeatingGasMultiStage.rb +0 -68
  188. data/lib/openstudio-standards/hvac_sizing/Siz.CoilHeatingWater.rb +0 -61
  189. data/lib/openstudio-standards/hvac_sizing/Siz.CoilHeatingWaterToAirHeatPumpEquationFit.rb +0 -57
  190. data/lib/openstudio-standards/hvac_sizing/Siz.CoilWaterHeatingDesuperheater.rb +0 -27
  191. data/lib/openstudio-standards/hvac_sizing/Siz.ControllerOutdoorAir.rb +0 -59
  192. data/lib/openstudio-standards/hvac_sizing/Siz.ControllerWaterCoil.rb +0 -49
  193. data/lib/openstudio-standards/hvac_sizing/Siz.CoolingTowerSingleSpeed.rb +0 -90
  194. data/lib/openstudio-standards/hvac_sizing/Siz.CoolingTowerTwoSpeed.rb +0 -83
  195. data/lib/openstudio-standards/hvac_sizing/Siz.CoolingTowerVariableSpeed.rb +0 -57
  196. data/lib/openstudio-standards/hvac_sizing/Siz.DistrictCooling.rb +0 -27
  197. data/lib/openstudio-standards/hvac_sizing/Siz.DistrictHeating.rb +0 -27
  198. data/lib/openstudio-standards/hvac_sizing/Siz.EvaporativeCoolerDirectResearchSpecial.rb +0 -27
  199. data/lib/openstudio-standards/hvac_sizing/Siz.EvaporativeCoolerIndirectResearchSpecial.rb +0 -27
  200. data/lib/openstudio-standards/hvac_sizing/Siz.EvaporativeFluidCoolerSingleSpeed.rb +0 -27
  201. data/lib/openstudio-standards/hvac_sizing/Siz.FanConstantVolume.rb +0 -29
  202. data/lib/openstudio-standards/hvac_sizing/Siz.FanOnOff.rb +0 -27
  203. data/lib/openstudio-standards/hvac_sizing/Siz.FanVariableVolume.rb +0 -29
  204. data/lib/openstudio-standards/hvac_sizing/Siz.HeaderedPumpsConstantSpeed.rb +0 -55
  205. data/lib/openstudio-standards/hvac_sizing/Siz.HeaderedPumpsVariableSpeed.rb +0 -55
  206. data/lib/openstudio-standards/hvac_sizing/Siz.HeatExchangerAirToAirSensibleAndLatent.rb +0 -38
  207. data/lib/openstudio-standards/hvac_sizing/Siz.HeatExchangerFluidToFluid.rb +0 -27
  208. data/lib/openstudio-standards/hvac_sizing/Siz.HumidifierSteamElectric.rb +0 -27
  209. data/lib/openstudio-standards/hvac_sizing/Siz.PlantLoop.rb +0 -42
  210. data/lib/openstudio-standards/hvac_sizing/Siz.PumpConstantSpeed.rb +0 -59
  211. data/lib/openstudio-standards/hvac_sizing/Siz.PumpVariableSpeed.rb +0 -59
  212. data/lib/openstudio-standards/hvac_sizing/Siz.SizingSystem.rb +0 -48
  213. data/lib/openstudio-standards/hvac_sizing/Siz.WaterHeaterMixed.rb +0 -16
  214. data/lib/openstudio-standards/hvac_sizing/Siz.ZoneHVACBaseboardConvectiveElectric.rb +0 -27
  215. data/lib/openstudio-standards/hvac_sizing/Siz.ZoneHVACBaseboardConvectiveWater.rb +0 -27
  216. data/lib/openstudio-standards/hvac_sizing/Siz.ZoneHVACFourPipeFanCoil.rb +0 -27
  217. data/lib/openstudio-standards/hvac_sizing/Siz.ZoneHVACHighTemperatureRadiant.rb +0 -27
  218. data/lib/openstudio-standards/hvac_sizing/Siz.ZoneHVACIdealLoadsAirSystem.rb +0 -27
  219. data/lib/openstudio-standards/hvac_sizing/Siz.ZoneHVACLowTempRadiantConstFlow.rb +0 -27
  220. data/lib/openstudio-standards/hvac_sizing/Siz.ZoneHVACLowTempRadiantVarFlow.rb +0 -27
  221. data/lib/openstudio-standards/hvac_sizing/Siz.ZoneHVACLowTemperatureRadiantElectric.rb +0 -27
  222. data/lib/openstudio-standards/hvac_sizing/Siz.ZoneHVACPackagedTerminalAirConditioner.rb +0 -88
  223. data/lib/openstudio-standards/hvac_sizing/Siz.ZoneHVACPackagedTerminalHeatPump.rb +0 -88
  224. data/lib/openstudio-standards/hvac_sizing/Siz.ZoneHVACTerminalUnitVariableRefrigerantFlow.rb +0 -104
  225. data/lib/openstudio-standards/hvac_sizing/Siz.ZoneHVACUnitHeater.rb +0 -27
  226. data/lib/openstudio-standards/hvac_sizing/Siz.ZoneHVACWaterToAirHeatPump.rb +0 -27
@@ -1,49 +0,0 @@
1
-
2
- # open the class to add methods to return sizing values
3
- class OpenStudio::Model::ControllerWaterCoil
4
-
5
- # Sets all auto-sizeable fields to autosize
6
- def autosize
7
- OpenStudio::logFree(OpenStudio::Warn, "openstudio.sizing.ControllerWaterCoil", ".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
- # Only attempt to retrieve sizes for water coil controllers
16
- # that have their sensor nodes set. Water coils without sensor
17
- # nodes aren't controlling anything.
18
- if self.sensorNode.is_initialized
19
-
20
- maximum_actuated_flow = self.autosizedMaximumActuatedFlow
21
- if maximum_actuated_flow.is_initialized
22
- self.setMaximumActuatedFlow(maximum_actuated_flow.get)
23
- end
24
-
25
- controller_convergence_tolerance = self.autosizedControllerConvergenceTolerance
26
- if controller_convergence_tolerance.is_initialized
27
- self.setControllerConvergenceTolerance(controller_convergence_tolerance.get)
28
- end
29
-
30
- end
31
-
32
- end
33
-
34
- # returns the autosized maximum actuated flow rate as an optional double
35
- def autosizedMaximumActuatedFlow
36
-
37
- return self.model.getAutosizedValue(self, 'Maximum Actuated Flow', 'm3/s')
38
-
39
- end
40
-
41
- # returns the autosized controller convergence tolerance as an optional double
42
- def autosizedControllerConvergenceTolerance
43
-
44
- return self.model.getAutosizedValue(self, 'Controller Convergence Tolerance', '')
45
-
46
- end
47
-
48
-
49
- end
@@ -1,90 +0,0 @@
1
-
2
- # open the class to add methods to return sizing values
3
- class OpenStudio::Model::CoolingTowerSingleSpeed
4
-
5
- # Sets all auto-sizeable fields to autosize
6
- def autosize
7
- OpenStudio::logFree(OpenStudio::Warn, "openstudio.sizing.CoolingTowerSingleSpeed", ".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
- fan_power_at_design_air_flow_rate = self.autosizedFanPoweratDesignAirFlowRate
21
- if fan_power_at_design_air_flow_rate.is_initialized
22
- self.setFanPoweratDesignAirFlowRate(fan_power_at_design_air_flow_rate.get)
23
- end
24
-
25
- design_air_flow_rate = self.autosizedDesignAirFlowRate
26
- if design_air_flow_rate.is_initialized
27
- self.setDesignAirFlowRate(design_air_flow_rate.get)
28
- end
29
-
30
- u_factor_times_area_value_at_design_air_flow_rate = self.autosizedUFactorTimesAreaValueatDesignAirFlowRate
31
- if u_factor_times_area_value_at_design_air_flow_rate.is_initialized
32
- self.setUFactorTimesAreaValueatDesignAirFlowRate(u_factor_times_area_value_at_design_air_flow_rate.get)
33
- end
34
-
35
- air_flow_rate_in_free_convection_regime = self.autosizedAirFlowRateinFreeConvectionRegime
36
- if air_flow_rate_in_free_convection_regime.is_initialized
37
- self.setAirFlowRateinFreeConvectionRegime(air_flow_rate_in_free_convection_regime.get)
38
- end
39
-
40
- u_factor_times_area_value_at_free_convection_air_flow_rate = self.autosizedUFactorTimesAreaValueatFreeConvectionAirFlowRate
41
- if u_factor_times_area_value_at_free_convection_air_flow_rate.is_initialized
42
- self.setUFactorTimesAreaValueatFreeConvectionAirFlowRate(u_factor_times_area_value_at_free_convection_air_flow_rate.get)
43
- end
44
-
45
- end
46
-
47
- # returns the autosized design water flow rate as an optional double
48
- def autosizedDesignWaterFlowRate
49
-
50
- return self.model.getAutosizedValue(self, 'Design Water Flow Rate', 'm3/s')
51
-
52
- end
53
-
54
- # returns the autosized fan power at design air flow rate as an optional double
55
- def autosizedFanPoweratDesignAirFlowRate
56
-
57
- return self.model.getAutosizedValue(self, 'Fan Power at Design Air Flow Rate', 'W')
58
-
59
- end
60
-
61
- # returns the autosized reference design air flow rate as an optional double
62
- def autosizedDesignAirFlowRate
63
-
64
- return self.model.getAutosizedValue(self, 'Design Air Flow Rate', 'm3/s')
65
-
66
- end
67
-
68
- # returns the autosized u-factor times area value at design air flow rate as an optional double
69
- def autosizedUFactorTimesAreaValueatDesignAirFlowRate
70
-
71
- return self.model.getAutosizedValue(self, 'U-Factor Times Area Value at Design Air Flow Rate', 'W/C')
72
-
73
- end
74
-
75
- # returns the autosized air flow rate in free convection regime as an optional double
76
- def autosizedAirFlowRateinFreeConvectionRegime
77
-
78
- return self.model.getAutosizedValue(self, 'Free Convection Regime Air Flow Rate', 'm3/s')
79
-
80
- end
81
-
82
- # returns the autosized u-factor times area value in free convection as an optional double
83
- def autosizedUFactorTimesAreaValueatFreeConvectionAirFlowRate
84
-
85
- return self.model.getAutosizedValue(self, 'Free Convection U-Factor Times Area Value', 'W/K')
86
-
87
- end
88
-
89
-
90
- end
@@ -1,83 +0,0 @@
1
-
2
- # open the class to add methods to return sizing values
3
- class OpenStudio::Model::CoolingTowerTwoSpeed
4
-
5
- # Sets all auto-sizeable fields to autosize
6
- def autosize
7
- OpenStudio::logFree(OpenStudio::Warn, "openstudio.sizing.CoolingTowerTwoSpeed", ".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.CoolingTowerTwoSpeed", ".applySizingValues not yet implemented for #{self.iddObject.type.valueDescription}.")
16
-
17
- end
18
-
19
- # returns the autosized design water flow rate as an optional double
20
- def autosizedDesignWaterFlowRate
21
-
22
- return self.model.getAutosizedValue(self, 'Design Water Flow Rate', 'm3/s')
23
-
24
- end
25
-
26
- # returns the autosized fan power at high speed as an optional double
27
- def autosizedHighFanSpeedFanPower
28
-
29
- return self.model.getAutosizedValue(self, 'Fan Power at High Fan Speed', 'W')
30
-
31
- end
32
-
33
- # returns the autosized reference design air flow rate as an optional double
34
- def autosizedHighFanSpeedAirFlowRate
35
-
36
- return self.model.getAutosizedValue(self, 'Air Flow Rate at High Fan Speed', 'm3/s')
37
-
38
- end
39
-
40
- # returns the autosized u-factor times area value at high speed as an optional double
41
- def autosizedHighFanSpeedUFactorTimesAreaValue
42
-
43
- return self.model.getAutosizedValue(self, 'U-Factor Times Area Value at High Fan Speed', 'W/C')
44
-
45
- end
46
-
47
- # returns the autosized reference low speed air flow rate as an optional double
48
- def autosizedLowFanSpeedAirFlowRate
49
-
50
- return self.model.getAutosizedValue(self, 'Low Fan Speed Air Flow Rate', 'm3/s')
51
-
52
- end
53
-
54
- # returns the autosized fan power at low speed as an optional double
55
- def autosizedLowFanSpeedFanPower
56
-
57
- return self.model.getAutosizedValue(self, 'Fan Power at Low Fan Speed', 'W')
58
-
59
- end
60
-
61
- # returns the autosized u-factor times area value at design air flow rate as an optional double
62
- def autosizedLowFanSpeedUFactorTimesAreaValue
63
-
64
- return self.model.getAutosizedValue(self, 'U-Factor Times Area Value at Low Fan Speed', 'W/K')
65
-
66
- end
67
-
68
- # returns the autosized air flow rate in free convection regime as an optional double
69
- def autosizedFreeConvectionRegimeAirFlowRate
70
-
71
- return self.model.getAutosizedValue(self, 'Free Convection Regime Air Flow Rate', 'm3/s')
72
-
73
- end
74
-
75
- # returns the autosized u-factor times area value in free convection as an optional double
76
- def autosizedFreeConvectionRegimeUFactorTimesAreaValue
77
-
78
- return self.model.getAutosizedValue(self, 'Free Convection U-Factor Times Area Value', 'W/K')
79
-
80
- end
81
-
82
-
83
- end
@@ -1,57 +0,0 @@
1
-
2
- # open the class to add methods to return sizing values
3
- class OpenStudio::Model::CoolingTowerVariableSpeed
4
-
5
- # Sets all auto-sizeable fields to autosize
6
- def autosize
7
-
8
- self.autosizeDesignWaterFlowRate
9
- self.autosizeDesignAirFlowRate
10
- self.autosizeDesignFanPower
11
-
12
- end
13
-
14
- # Takes the values calculated by the EnergyPlus sizing routines
15
- # and puts them into this object model in place of the autosized fields.
16
- # Must have previously completed a run with sql output for this to work.
17
- def applySizingValues
18
-
19
- rated_water_flow_rate = self.autosizedDesignWaterFlowRate
20
- if rated_water_flow_rate.is_initialized
21
- self.setDesignWaterFlowRate(rated_water_flow_rate.get)
22
- end
23
-
24
- rated_air_flow_rate = self.autosizedDesignAirFlowRate
25
- if rated_air_flow_rate.is_initialized
26
- self.setDesignAirFlowRate(rated_air_flow_rate.get)
27
- end
28
-
29
- rated_fan_power = self.autosizedDesignFanPower
30
- if rated_fan_power.is_initialized
31
- self.setDesignFanPower(rated_fan_power.get)
32
- end
33
-
34
- end
35
-
36
- # returns the autosized design water flow rate as an optional double
37
- def autosizedDesignWaterFlowRate
38
-
39
- return self.model.getAutosizedValue(self, 'Design Water Flow Rate', 'm3/s')
40
-
41
- end
42
-
43
- # returns the autosized air flow rate as an optional double
44
- def autosizedDesignAirFlowRate
45
-
46
- return self.model.getAutosizedValue(self, 'Design Air Flow Rate', 'm3/s')
47
-
48
- end
49
-
50
- # returns the autosized design fan power as an optional double
51
- def autosizedDesignFanPower
52
-
53
- return self.model.getAutosizedValue(self, 'Fan Power at Design Air Flow Rate', 'W')
54
-
55
- end
56
-
57
- end
@@ -1,27 +0,0 @@
1
-
2
- # open the class to add methods to return sizing values
3
- class OpenStudio::Model::DistrictCooling
4
-
5
- # Sets all auto-sizeable fields to autosize
6
- def autosize
7
- self.autosizeNominalCapacity
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.autosizedMaximumFlowRate
16
- if nominal_capacity.is_initialized
17
- self.setMaximumFlowRate(nominal_capacity.get)
18
- end
19
-
20
- end
21
-
22
- # returns the autosized maximum flow rate as an optional double
23
- def autosizedNominalCapacity
24
- return self.model.getAutosizedValue(self, 'Design Size Nominal Capacity', 'W')
25
- end
26
-
27
- end
@@ -1,27 +0,0 @@
1
-
2
- # open the class to add methods to return sizing values
3
- class OpenStudio::Model::DistrictHeating
4
-
5
- # Sets all auto-sizeable fields to autosize
6
- def autosize
7
- self.autosizeNominalCapacity
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.autosizedMaximumFlowRate
16
- if nominal_capacity.is_initialized
17
- self.setMaximumFlowRate(nominal_capacity.get)
18
- end
19
-
20
- end
21
-
22
- # returns the autosized maximum flow rate as an optional double
23
- def autosizedNominalCapacity
24
- return self.model.getAutosizedValue(self, 'Design Size Nominal Capacity', 'W')
25
- end
26
-
27
- end
@@ -1,27 +0,0 @@
1
-
2
- # open the class to add methods to return sizing values
3
- class OpenStudio::Model::EvaporativeCoolerDirectResearchSpecial
4
-
5
- # Sets all auto-sizeable fields to autosize
6
- def autosize
7
- OpenStudio::logFree(OpenStudio::Warn, "openstudio.sizing.EvaporativeCoolerDirectResearchSpecial", ".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.EvaporativeCoolerDirectResearchSpecial", ".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,27 +0,0 @@
1
-
2
- # open the class to add methods to return sizing values
3
- class OpenStudio::Model::EvaporativeCoolerIndirectResearchSpecial
4
-
5
- # Sets all auto-sizeable fields to autosize
6
- def autosize
7
- OpenStudio::logFree(OpenStudio::Warn, "openstudio.sizing.EvaporativeCoolerIndirectResearchSpecial", ".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.EvaporativeCoolerIndirectResearchSpecial", ".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,27 +0,0 @@
1
-
2
- # open the class to add methods to return sizing values
3
- class OpenStudio::Model::EvaporativeFluidCoolerSingleSpeed
4
-
5
- # Sets all auto-sizeable fields to autosize
6
- def autosize
7
- OpenStudio::logFree(OpenStudio::Warn, "openstudio.sizing.EvaporativeFluidCoolerSingleSpeed", ".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.EvaporativeFluidCoolerSingleSpeed", ".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,29 +0,0 @@
1
-
2
- # open the class to add methods to return sizing values
3
- class OpenStudio::Model::FanConstantVolume
4
-
5
- # Sets all auto-sizeable fields to autosize
6
- def autosize
7
- OpenStudio::logFree(OpenStudio::Warn, "openstudio.sizing.FanConstantVolume", ".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
- maximum_flow_rate = self.autosizedMaximumFlowRate
16
- if maximum_flow_rate.is_initialized
17
- self.setMaximumFlowRate(maximum_flow_rate.get)
18
- end
19
-
20
- end
21
-
22
- # returns the autosized maximum flow rate as an optional double
23
- def autosizedMaximumFlowRate
24
-
25
- return self.model.getAutosizedValue(self, 'Design Size Maximum Flow Rate', 'm3/s')
26
-
27
- end
28
-
29
- end
@@ -1,27 +0,0 @@
1
-
2
- # open the class to add methods to return sizing values
3
- class OpenStudio::Model::FanOnOff
4
-
5
- # Sets all auto-sizeable fields to autosize
6
- def autosize
7
- self.autosizeMaximumFlowRate
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
- maximum_flow_rate = self.autosizedMaximumFlowRate
16
- if maximum_flow_rate.is_initialized
17
- self.setMaximumFlowRate(maximum_flow_rate.get)
18
- end
19
-
20
- end
21
-
22
- # returns the autosized maximum flow rate as an optional double
23
- def autosizedMaximumFlowRate
24
- return self.model.getAutosizedValue(self, 'Design Size Maximum Flow Rate', 'm3/s')
25
- end
26
-
27
- end
@@ -1,29 +0,0 @@
1
-
2
- # open the class to add methods to return sizing values
3
- class OpenStudio::Model::FanVariableVolume
4
-
5
- # Sets all auto-sizeable fields to autosize
6
- def autosize
7
- OpenStudio::logFree(OpenStudio::Warn, "openstudio.sizing.FanVariableVolume", ".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
- maximum_flow_rate = self.autosizedMaximumFlowRate
16
- if maximum_flow_rate.is_initialized
17
- self.setMaximumFlowRate(maximum_flow_rate.get)
18
- end
19
-
20
- end
21
-
22
- # returns the autosized maximum flow rate as an optional double
23
- def autosizedMaximumFlowRate
24
-
25
- return self.model.getAutosizedValue(self, 'Design Size Maximum Flow Rate', 'm3/s')
26
-
27
- end
28
-
29
- end
@@ -1,55 +0,0 @@
1
-
2
- # open the class to add methods to return sizing values
3
- class OpenStudio::Model::HeaderedPumpsConstantSpeed
4
-
5
- # Sets all auto-sizeable fields to autosize
6
- def autosize
7
- self.autosizeTotalRatedFlowRate
8
- self.autosizeRatedPowerConsumption
9
- end
10
-
11
- # Takes the values calculated by the EnergyPlus sizing routines
12
- # and puts them into this object model in place of the autosized fields.
13
- # Must have previously completed a run with sql output for this to work.
14
- def applySizingValues
15
-
16
- rated_flow_rate = self.autosizedTotalRatedFlowRate
17
- if rated_flow_rate.is_initialized
18
- self.setTotalRatedFlowRate(rated_flow_rate.get)
19
- end
20
-
21
- rated_power_consumption = self.autosizedRatedPowerConsumption
22
- if rated_power_consumption.is_initialized
23
- self.setRatedPowerConsumption(rated_power_consumption.get)
24
- end
25
-
26
- end
27
-
28
- # returns the autosized rated flow rate as an optional double
29
- def autosizedTotalRatedFlowRate
30
-
31
- # In E+ 8.5, (OS 1.10.5 onward) the column name changed
32
- col_name = nil
33
- if self.model.version < OpenStudio::VersionString.new('1.10.5')
34
- col_name = 'Rated Flow Rate'
35
- else
36
- col_name = 'Design Flow Rate'
37
- end
38
-
39
- return self.model.getAutosizedValue(self, col_name, 'm3/s')
40
- end
41
-
42
- # returns the autosized rated power consumption as an optional double
43
- def autosizedRatedPowerConsumption
44
-
45
- # In E+ 8.5, (OS 1.10.5 onward) the column name changed
46
- col_name = nil
47
- if self.model.version < OpenStudio::VersionString.new('1.10.5')
48
- col_name = 'Rated Power Consumption'
49
- else
50
- col_name = 'Design Power Consumption'
51
- end
52
-
53
- return self.model.getAutosizedValue(self, col_name, 'W')
54
- end
55
- end
@@ -1,55 +0,0 @@
1
-
2
- # open the class to add methods to return sizing values
3
- class OpenStudio::Model::HeaderedPumpsVariableSpeed
4
-
5
- # Sets all auto-sizeable fields to autosize
6
- def autosize
7
- self.autosizeTotalRatedFlowRate
8
- self.autosizeRatedPowerConsumption
9
- end
10
-
11
- # Takes the values calculated by the EnergyPlus sizing routines
12
- # and puts them into this object model in place of the autosized fields.
13
- # Must have previously completed a run with sql output for this to work.
14
- def applySizingValues
15
-
16
- rated_flow_rate = self.autosizedTotalRatedFlowRate
17
- if rated_flow_rate.is_initialized
18
- self.setTotalRatedFlowRate(rated_flow_rate.get)
19
- end
20
-
21
- rated_power_consumption = self.autosizedRatedPowerConsumption
22
- if rated_power_consumption.is_initialized
23
- self.setRatedPowerConsumption(rated_power_consumption.get)
24
- end
25
-
26
- end
27
-
28
- # returns the autosized rated flow rate as an optional double
29
- def autosizedTotalRatedFlowRate
30
-
31
- # In E+ 8.5, (OS 1.10.5 onward) the column name changed
32
- col_name = nil
33
- if self.model.version < OpenStudio::VersionString.new('1.10.5')
34
- col_name = 'Rated Flow Rate'
35
- else
36
- col_name = 'Design Flow Rate'
37
- end
38
-
39
- return self.model.getAutosizedValue(self, col_name, 'm3/s')
40
- end
41
-
42
- # returns the autosized rated power consumption as an optional double
43
- def autosizedRatedPowerConsumption
44
-
45
- # In E+ 8.5, (OS 1.10.5 onward) the column name changed
46
- col_name = nil
47
- if self.model.version < OpenStudio::VersionString.new('1.10.5')
48
- col_name = 'Rated Power Consumption'
49
- else
50
- col_name = 'Design Power Consumption'
51
- end
52
-
53
- return self.model.getAutosizedValue(self, col_name, 'W')
54
- end
55
- end
@@ -1,38 +0,0 @@
1
-
2
- # open the class to add methods to return sizing values
3
- class OpenStudio::Model::HeatExchangerAirToAirSensibleAndLatent
4
-
5
- # Sets all auto-sizeable fields to autosize
6
- def autosize
7
- OpenStudio::logFree(OpenStudio::Warn, "openstudio.sizing.HeatExchangerAirToAirSensibleAndLatent", ".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_supply_air_flow_rate = self.autosizedNominalSupplyAirFlowRate
16
- if nominal_supply_air_flow_rate.is_initialized
17
- self.setNominalSupplyAirFlowRate(nominal_supply_air_flow_rate.get)
18
- end
19
-
20
- end
21
-
22
- # returns the autosized nominal supply air flow rate as an optional double
23
- def autosizedNominalSupplyAirFlowRate
24
-
25
- # In E+ 8.4, (OS 1.9.3 onward) the variable name changed
26
- supply_air_flow_rate_name = nil
27
- if self.model.version < OpenStudio::VersionString.new('1.9.3')
28
- supply_air_flow_rate_name = 'Nominal Supply Air Flow Rate'
29
- else
30
- supply_air_flow_rate_name = 'Design Size Nominal Supply Air Flow Rate'
31
- end
32
-
33
- return self.model.getAutosizedValue(self, supply_air_flow_rate_name, 'm3/s')
34
-
35
- end
36
-
37
- end
38
-