Class: OpenStudio::Model::AirLoopHVACUnitaryHeatPumpAirToAir
- Inherits:
-
Object
- Object
- OpenStudio::Model::AirLoopHVACUnitaryHeatPumpAirToAir
- Defined in:
- lib/openstudio-standards/hvac_sizing/Siz.AirLoopHVACUnitaryHeatPumpAirToAirMultiSpeed.rb,
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.
-
#autosizedSpeed1SupplyAirFlowRateDuringCoolingOperation ⇒ Object
returns the autosized supply air flow rate during cooling operation as an optional double.
-
#autosizedSpeed1SupplyAirFlowRateDuringHeatingOperation ⇒ Object
returns the autosized supply air flow rate during heating operation as an optional double.
-
#autosizedSpeed2SupplyAirFlowRateDuringCoolingOperation ⇒ Object
returns the autosized supply air flow rate during cooling operation as an optional double.
-
#autosizedSpeed2SupplyAirFlowRateDuringHeatingOperation ⇒ Object
returns the autosized supply air flow rate during heating operation as an optional double.
-
#autosizedSpeed3SupplyAirFlowRateDuringCoolingOperation ⇒ Object
returns the autosized supply air flow rate during cooling operation as an optional double.
-
#autosizedSpeed3SupplyAirFlowRateDuringHeatingOperation ⇒ Object
returns the autosized supply air flow rate during heating operation as an optional double.
-
#autosizedSpeed4SupplyAirFlowRateDuringCoolingOperation ⇒ Object
returns the autosized supply air flow rate during cooling operation as an optional double.
-
#autosizedSpeed4SupplyAirFlowRateDuringHeatingOperation ⇒ Object
returns the autosized supply air flow rate during heating operation 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.
-
#autosizedSupplyAirFlowRateDuringHeatingOperation ⇒ Object
returns the autosized supply air flow rate during heating 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.
24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 |
# File 'lib/openstudio-standards/hvac_sizing/Siz.AirLoopHVACUnitaryHeatPumpAirToAirMultiSpeed.rb', line 24 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 speed1_sup_air_flow_cooling = self.autosizedSpeed1SupplyAirFlowRateDuringCoolingOperation if speed1_sup_air_flow_cooling.is_initialized self.setSpeed1SupplyAirFlowRateDuringCoolingOperation(speed1_sup_air_flow_cooling.get) end speed1_sup_air_flow_heating = self.autosizedsSpeed1SupplyAirFlowRateDuringHeatingOperation if speed1_sup_air_flow_heating.is_initialized self.setSpeed1SupplyAirFlowRateDuringHeatingOperation(speed1_sup_air_flow_heating.get) end speed2_sup_air_flow_cooling = self.autosizedSpeed2SupplyAirFlowRateDuringCoolingOperation if speed2_sup_air_flow_cooling.is_initialized self.setSpeed2SupplyAirFlowRateDuringCoolingOperation(speed2_sup_air_flow_cooling.get) end speed2_sup_air_flow_heating = self.autosizedsSpeed2SupplyAirFlowRateDuringHeatingOperation if speed2_sup_air_flow_heating.is_initialized self.setSpeed2SupplyAirFlowRateDuringHeatingOperation(speed2_sup_air_flow_heating.get) end speed3_sup_air_flow_cooling = self.autosizedSpeed3SupplyAirFlowRateDuringCoolingOperation if speed1_sup_air_flow_cooling.is_initialized self.setSpeed3SupplyAirFlowRateDuringCoolingOperation(speed3_sup_air_flow_cooling.get) end speed3_sup_air_flow_heating = self.autosizedsSpeed3SupplyAirFlowRateDuringHeatingOperation if speed3_sup_air_flow_heating.is_initialized self.setSpeed3SupplyAirFlowRateDuringHeatingOperation(speed3_sup_air_flow_heating.get) end speed3_sup_air_flow_no_htg_clg = self.autosizedSpeed3SupplyAirFlowRateWhenNoCoolingorHeatingisNeeded if speed3_sup_air_flow_no_htg_clg.is_initialized self.setSpeed3SupplyAirFlowRateWhenNoCoolingorHeatingisNeeded(speed3_sup_air_flow_no_htg_clg.get) end speed4_sup_air_flow_cooling = self.autosizedSpeed4SupplyAirFlowRateDuringCoolingOperation if speed4_sup_air_flow_cooling.is_initialized self.setSpeed4SupplyAirFlowRateDuringCoolingOperation(speed4_sup_air_flow_cooling.get) end speed4_sup_air_flow_heating = self.autosizedsSpeed4SupplyAirFlowRateDuringHeatingOperation if speed4_sup_air_flow_heating.is_initialized self.setSpeed4SupplyAirFlowRateDuringHeatingOperation(speed4_sup_air_flow_heating.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 12 13 14 15 16 17 18 19 |
# File 'lib/openstudio-standards/hvac_sizing/Siz.AirLoopHVACUnitaryHeatPumpAirToAirMultiSpeed.rb', line 6 def autosize self.autosizeSupplyAirFlowRateDuringCoolingOperation self.autosizeSupplyAirFlowRateDuringHeatingOperation self.autosizeSupplyAirFlowRateWhenNoCoolingorHeatingisNeeded self.autosizeSpeed1SupplyAirFlowRateDuringCoolingOperation self.autosizeSpeed1SupplyAirFlowRateDuringHeatingOperation self.autosizeSpeed2SupplyAirFlowRateDuringCoolingOperation self.autosizeSpeed2SupplyAirFlowRateDuringHeatingOperation self.autosizeSpeed3SupplyAirFlowRateDuringCoolingOperation self.autosizeSpeed3SupplyAirFlowRateDuringHeatingOperation self.autosizeSpeed4SupplyAirFlowRateDuringCoolingOperation self.autosizeSpeed4SupplyAirFlowRateDuringHeatingOperation self.autosizeMaximumSupplyAirTemperaturefromSupplementalHeater end |
#autosizedMaximumSupplyAirTemperaturefromSupplementalHeater ⇒ Object
returns the autosized maximum supply air temperature from supplemental heater as an optional double
171 172 173 174 175 |
# File 'lib/openstudio-standards/hvac_sizing/Siz.AirLoopHVACUnitaryHeatPumpAirToAirMultiSpeed.rb', line 171 def autosizedMaximumSupplyAirTemperaturefromSupplementalHeater return self.model.getAutosizedValue(self, 'Maximum Supply Air Temperature from Supplemental Heater', 'C') end |
#autosizedSpeed1SupplyAirFlowRateDuringCoolingOperation ⇒ Object
returns the autosized supply air flow rate during cooling operation as an optional double
115 116 117 118 119 |
# File 'lib/openstudio-standards/hvac_sizing/Siz.AirLoopHVACUnitaryHeatPumpAirToAirMultiSpeed.rb', line 115 def autosizedSpeed1SupplyAirFlowRateDuringCoolingOperation return self.model.getAutosizedValue(self, 'Speed 1 Supply Air Flow Rate During Heating Operation', 'm3/s') end |
#autosizedSpeed1SupplyAirFlowRateDuringHeatingOperation ⇒ Object
returns the autosized supply air flow rate during heating operation as an optional double
122 123 124 125 126 |
# File 'lib/openstudio-standards/hvac_sizing/Siz.AirLoopHVACUnitaryHeatPumpAirToAirMultiSpeed.rb', line 122 def autosizedSpeed1SupplyAirFlowRateDuringHeatingOperation return self.model.getAutosizedValue(self, 'Speed 1 Supply Air Flow Rate During Cooling Operation', 'm3/s') end |
#autosizedSpeed2SupplyAirFlowRateDuringCoolingOperation ⇒ Object
returns the autosized supply air flow rate during cooling operation as an optional double
129 130 131 132 133 |
# File 'lib/openstudio-standards/hvac_sizing/Siz.AirLoopHVACUnitaryHeatPumpAirToAirMultiSpeed.rb', line 129 def autosizedSpeed2SupplyAirFlowRateDuringCoolingOperation return self.model.getAutosizedValue(self, 'Speed 2 Supply Air Flow Rate During Heating Operation', 'm3/s') end |
#autosizedSpeed2SupplyAirFlowRateDuringHeatingOperation ⇒ Object
returns the autosized supply air flow rate during heating operation as an optional double
136 137 138 139 140 |
# File 'lib/openstudio-standards/hvac_sizing/Siz.AirLoopHVACUnitaryHeatPumpAirToAirMultiSpeed.rb', line 136 def autosizedSpeed2SupplyAirFlowRateDuringHeatingOperation return self.model.getAutosizedValue(self, 'Speed 2 Supply Air Flow Rate During Cooling Operation', 'm3/s') end |
#autosizedSpeed3SupplyAirFlowRateDuringCoolingOperation ⇒ Object
returns the autosized supply air flow rate during cooling operation as an optional double
143 144 145 146 147 |
# File 'lib/openstudio-standards/hvac_sizing/Siz.AirLoopHVACUnitaryHeatPumpAirToAirMultiSpeed.rb', line 143 def autosizedSpeed3SupplyAirFlowRateDuringCoolingOperation return self.model.getAutosizedValue(self, 'Speed 3 Supply Air Flow Rate During Heating Operation', 'm3/s') end |
#autosizedSpeed3SupplyAirFlowRateDuringHeatingOperation ⇒ Object
returns the autosized supply air flow rate during heating operation as an optional double
150 151 152 153 154 |
# File 'lib/openstudio-standards/hvac_sizing/Siz.AirLoopHVACUnitaryHeatPumpAirToAirMultiSpeed.rb', line 150 def autosizedSpeed3SupplyAirFlowRateDuringHeatingOperation return self.model.getAutosizedValue(self, 'Speed 3 Supply Air Flow Rate During Cooling Operation', 'm3/s') end |
#autosizedSpeed4SupplyAirFlowRateDuringCoolingOperation ⇒ Object
returns the autosized supply air flow rate during cooling operation as an optional double
157 158 159 160 161 |
# File 'lib/openstudio-standards/hvac_sizing/Siz.AirLoopHVACUnitaryHeatPumpAirToAirMultiSpeed.rb', line 157 def autosizedSpeed4SupplyAirFlowRateDuringCoolingOperation return self.model.getAutosizedValue(self, 'Speed 4 Supply Air Flow Rate During Heating Operation', 'm3/s') end |
#autosizedSpeed4SupplyAirFlowRateDuringHeatingOperation ⇒ Object
returns the autosized supply air flow rate during heating operation as an optional double
164 165 166 167 168 |
# File 'lib/openstudio-standards/hvac_sizing/Siz.AirLoopHVACUnitaryHeatPumpAirToAirMultiSpeed.rb', line 164 def autosizedSpeed4SupplyAirFlowRateDuringHeatingOperation return self.model.getAutosizedValue(self, 'Speed 4 Supply Air Flow Rate During Cooling Operation', 'm3/s') 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
94 95 96 97 98 |
# File 'lib/openstudio-standards/hvac_sizing/Siz.AirLoopHVACUnitaryHeatPumpAirToAirMultiSpeed.rb', line 94 def autosizedSupplyAirFlowRateDuringCoolingOperation return self.model.getAutosizedValue(self, 'Supply Air Flow Rate During Heating Operation', 'm3/s') end |
#autosizedSupplyAirFlowRateDuringHeatingOperation ⇒ Object
returns the autosized supply air flow rate during heating operation as an optional double
101 102 103 104 105 |
# File 'lib/openstudio-standards/hvac_sizing/Siz.AirLoopHVACUnitaryHeatPumpAirToAirMultiSpeed.rb', line 101 def autosizedSupplyAirFlowRateDuringHeatingOperation return self.model.getAutosizedValue(self, 'Supply Air Flow Rate During Cooling Operation', 'm3/s') end |
#autosizedSupplyAirFlowRateWhenNoCoolingorHeatingisNeeded ⇒ Object
returns the autosized supply air flow rate when no heating or cooling is needed as an optional double
108 109 110 111 112 |
# File 'lib/openstudio-standards/hvac_sizing/Siz.AirLoopHVACUnitaryHeatPumpAirToAirMultiSpeed.rb', line 108 def autosizedSupplyAirFlowRateWhenNoCoolingorHeatingisNeeded return self.model.getAutosizedValue(self, 'Supply Air Flow Rate', 'm3/s') end |