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
@@ -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
-