Class: OpenStudio::Model::CoilCoolingDXTwoSpeed
- Inherits:
-
Object
- Object
- OpenStudio::Model::CoilCoolingDXTwoSpeed
- Defined in:
- lib/openstudio-standards/hvac_sizing/Siz.CoilCoolingDXTwoSpeed.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.
-
#autosizedRatedHighSpeedAirFlowRate ⇒ Object
returns the autosized rated high speed air flow rate as an optional double.
-
#autosizedRatedHighSpeedSensibleHeatRatio ⇒ Object
returns the autosized rated high speed sensible heat ratio as an optional double.
-
#autosizedRatedHighSpeedTotalCoolingCapacity ⇒ Object
returns the autosized rated high speed total cooling capacity as an optional double.
-
#autosizedRatedLowSpeedAirFlowRate ⇒ Object
returns the autosized rated low speed air flow rate as an optional double.
-
#autosizedRatedLowSpeedSensibleHeatRatio ⇒ Object
returns the autosized rated low speed sensible heat ratio as an optional double.
-
#autosizedRatedLowSpeedTotalCoolingCapacity ⇒ Object
returns the autosized rated low speed total cooling capacity 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.
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 |
# File 'lib/openstudio-standards/hvac_sizing/Siz.CoilCoolingDXTwoSpeed.rb', line 13 def applySizingValues rated_high_speed_air_flow_rate = self.autosizedRatedHighSpeedAirFlowRate if rated_high_speed_air_flow_rate.is_initialized self.setRatedHighSpeedAirFlowRate(rated_high_speed_air_flow_rate) end rated_high_speed_total_cooling_capacity = self.autosizedRatedHighSpeedTotalCoolingCapacity if rated_high_speed_total_cooling_capacity.is_initialized self.setRatedHighSpeedTotalCoolingCapacity(rated_high_speed_total_cooling_capacity) end rated_high_speed_sensible_heat_ratio = self.autosizedRatedHighSpeedSensibleHeatRatio if rated_high_speed_sensible_heat_ratio.is_initialized self.setRatedHighSpeedSensibleHeatRatio(rated_high_speed_sensible_heat_ratio) end rated_low_speed_air_flow_rate = self.autosizedRatedLowSpeedAirFlowRate if rated_low_speed_air_flow_rate.is_initialized self.setRatedLowSpeedAirFlowRate(rated_low_speed_air_flow_rate) end rated_low_speed_total_cooling_capacity = self.autosizedRatedLowSpeedTotalCoolingCapacity if rated_low_speed_total_cooling_capacity.is_initialized self.setRatedLowSpeedTotalCoolingCapacity(rated_low_speed_total_cooling_capacity) end rated_low_speed_sensible_heat_ratio = self.autosizedRatedLowSpeedSensibleHeatRatio if rated_low_speed_sensible_heat_ratio.is_initialized self.setRatedLowSpeedSensibleHeatRatio(rated_low_speed_sensible_heat_ratio) end end |
#autosize ⇒ Object
Sets all auto-sizeable fields to autosize
6 7 8 |
# File 'lib/openstudio-standards/hvac_sizing/Siz.CoilCoolingDXTwoSpeed.rb', line 6 def autosize OpenStudio::logFree(OpenStudio::Warn, "openstudio.sizing.CoilCoolingDXTwoSpeed", ".autosize not yet implemented for #{self.iddObject.type.valueDescription}.") end |
#autosizedRatedHighSpeedAirFlowRate ⇒ Object
returns the autosized rated high speed air flow rate as an optional double
48 49 50 51 52 |
# File 'lib/openstudio-standards/hvac_sizing/Siz.CoilCoolingDXTwoSpeed.rb', line 48 def autosizedRatedHighSpeedAirFlowRate return self.model.getAutosizedValue(self, 'Design Size High Speed Rated Air Flow Rate', 'm3/s') end |
#autosizedRatedHighSpeedSensibleHeatRatio ⇒ Object
returns the autosized rated high speed sensible heat ratio as an optional double
62 63 64 65 66 |
# File 'lib/openstudio-standards/hvac_sizing/Siz.CoilCoolingDXTwoSpeed.rb', line 62 def autosizedRatedHighSpeedSensibleHeatRatio return self.model.getAutosizedValue(self, 'Design Size High Speed Rated Sensible Heat Ratio', '') end |
#autosizedRatedHighSpeedTotalCoolingCapacity ⇒ Object
returns the autosized rated high speed total cooling capacity as an optional double
55 56 57 58 59 |
# File 'lib/openstudio-standards/hvac_sizing/Siz.CoilCoolingDXTwoSpeed.rb', line 55 def autosizedRatedHighSpeedTotalCoolingCapacity return self.model.getAutosizedValue(self, 'Design Size High Speed Gross Rated Total Cooling Capacity', 'W') end |
#autosizedRatedLowSpeedAirFlowRate ⇒ Object
returns the autosized rated low speed air flow rate as an optional double
69 70 71 72 73 |
# File 'lib/openstudio-standards/hvac_sizing/Siz.CoilCoolingDXTwoSpeed.rb', line 69 def autosizedRatedLowSpeedAirFlowRate return self.model.getAutosizedValue(self, 'Design Size Low Speed Rated Air Flow Rate', 'm3/s') end |
#autosizedRatedLowSpeedSensibleHeatRatio ⇒ Object
returns the autosized rated low speed sensible heat ratio as an optional double
83 84 85 86 87 |
# File 'lib/openstudio-standards/hvac_sizing/Siz.CoilCoolingDXTwoSpeed.rb', line 83 def autosizedRatedLowSpeedSensibleHeatRatio return self.model.getAutosizedValue(self, 'Design Size Low Speed Gross Rated Sensible Heat Ratio', '') end |
#autosizedRatedLowSpeedTotalCoolingCapacity ⇒ Object
returns the autosized rated low speed total cooling capacity as an optional double
76 77 78 79 80 |
# File 'lib/openstudio-standards/hvac_sizing/Siz.CoilCoolingDXTwoSpeed.rb', line 76 def autosizedRatedLowSpeedTotalCoolingCapacity return self.model.getAutosizedValue(self, 'Design Size Low Speed Gross Rated Total Cooling Capacity', 'W') end |