Class: OpenStudio::Model::AirLoopHVACUnitaryHeatPumpAirToAir
- Inherits:
-
Object
- Object
- OpenStudio::Model::AirLoopHVACUnitaryHeatPumpAirToAir
- Defined in:
- lib/openstudio-standards/hvac_sizing/Siz.AirLoopHVACUnitaryHeatPumpAirToAir.rb
Overview
open the class to add methods to return sizing values
Instance Method Summary collapse
-
#applySizingValues ⇒ Object
Takes the values calculated by the EnergyPlus sizing routines and puts them into this object model in place of the autosized fields.
-
#autosize ⇒ Object
Sets all auto-sizeable fields to autosize.
-
#autosizedMaximumSupplyAirTemperaturefromSupplementalHeater ⇒ Object
returns the autosized maximum supply air temperature from supplemental heater as an optional double.
-
#autosizedsSupplyAirFlowRateDuringHeatingOperation ⇒ Object
returns the autosized supply air flow rate during heating operation as an optional double.
-
#autosizedSupplyAirFlowRateDuringCoolingOperation ⇒ Object
returns the autosized supply air flow rate during cooling operation as an optional double.
-
#autosizedSupplyAirFlowRateWhenNoCoolingorHeatingisNeeded ⇒ Object
returns the autosized supply air flow rate when no heating or cooling is needed as an optional double.
Instance Method Details
#applySizingValues ⇒ Object
Takes the values calculated by the EnergyPlus sizing routines and puts them into this object model in place of the autosized fields. Must have previously completed a run with sql output for this to work.
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 |
# File 'lib/openstudio-standards/hvac_sizing/Siz.AirLoopHVACUnitaryHeatPumpAirToAir.rb', line 16 def applySizingValues sup_air_flow_cooling = self.autosizedSupplyAirFlowRateDuringCoolingOperation if sup_air_flow_cooling.is_initialized self.setSupplyAirFlowRateDuringCoolingOperation(sup_air_flow_cooling.get) end sup_air_flow_heating = self.autosizedsSupplyAirFlowRateDuringHeatingOperation if sup_air_flow_heating.is_initialized self.setSupplyAirFlowRateDuringHeatingOperation(sup_air_flow_heating.get) end sup_air_flow_no_htg_clg = self.autosizedSupplyAirFlowRateWhenNoCoolingorHeatingisNeeded if sup_air_flow_no_htg_clg.is_initialized self.setSupplyAirFlowRateWhenNoCoolingorHeatingisNeeded(sup_air_flow_no_htg_clg.get) end max_sup_htg_temp = self.autosizedMaximumSupplyAirTemperaturefromSupplementalHeater if max_sup_htg_temp.is_initialized self.setMaximumSupplyAirTemperaturefromSupplementalHeater(max_sup_htg_temp.get) end end |
#autosize ⇒ Object
Sets all auto-sizeable fields to autosize
6 7 8 9 10 11 |
# File 'lib/openstudio-standards/hvac_sizing/Siz.AirLoopHVACUnitaryHeatPumpAirToAir.rb', line 6 def autosize self.autosizeSupplyAirFlowRateDuringCoolingOperation self.autosizeSupplyAirFlowRateDuringHeatingOperation self.autosizeSupplyAirFlowRateWhenNoCoolingorHeatingisNeeded self.autosizeMaximumSupplyAirTemperaturefromSupplementalHeater end |
#autosizedMaximumSupplyAirTemperaturefromSupplementalHeater ⇒ Object
returns the autosized maximum supply air temperature from supplemental heater as an optional double
62 63 64 65 66 |
# File 'lib/openstudio-standards/hvac_sizing/Siz.AirLoopHVACUnitaryHeatPumpAirToAir.rb', line 62 def autosizedMaximumSupplyAirTemperaturefromSupplementalHeater return self.model.getAutosizedValue(self, 'Maximum Supply Air Temperature from Supplemental Heater', 'C') end |
#autosizedsSupplyAirFlowRateDuringHeatingOperation ⇒ Object
returns the autosized supply air flow rate during heating operation as an optional double
48 49 50 51 52 |
# File 'lib/openstudio-standards/hvac_sizing/Siz.AirLoopHVACUnitaryHeatPumpAirToAir.rb', line 48 def autosizedsSupplyAirFlowRateDuringHeatingOperation return self.model.getAutosizedValue(self, 'Supply Air Flow Rate During Cooling Operation', 'm3/s') end |
#autosizedSupplyAirFlowRateDuringCoolingOperation ⇒ Object
returns the autosized supply air flow rate during cooling operation as an optional double
41 42 43 44 45 |
# File 'lib/openstudio-standards/hvac_sizing/Siz.AirLoopHVACUnitaryHeatPumpAirToAir.rb', line 41 def autosizedSupplyAirFlowRateDuringCoolingOperation return self.model.getAutosizedValue(self, 'Supply Air Flow Rate During Heating Operation', 'm3/s') end |
#autosizedSupplyAirFlowRateWhenNoCoolingorHeatingisNeeded ⇒ Object
returns the autosized supply air flow rate when no heating or cooling is needed as an optional double
55 56 57 58 59 |
# File 'lib/openstudio-standards/hvac_sizing/Siz.AirLoopHVACUnitaryHeatPumpAirToAir.rb', line 55 def autosizedSupplyAirFlowRateWhenNoCoolingorHeatingisNeeded return self.model.getAutosizedValue(self, 'Supply Air Flow Rate', 'm3/s') end |