Class: OpenStudio::Model::CoilCoolingWaterToAirHeatPumpEquationFit
- Inherits:
-
Object
- Object
- OpenStudio::Model::CoilCoolingWaterToAirHeatPumpEquationFit
- Defined in:
- lib/openstudio-standards/hvac_sizing/Siz.CoilCoolingWaterToAirHeatPumpEquationFit.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.
-
#autosizedRatedAirFlowRate ⇒ Object
returns the autosized rated air flow rate as an optional double.
-
#autosizedRatedSensibleCoolingCapacity ⇒ Object
returns the autosized rated sensible cooling capacity as an optional double.
-
#autosizedRatedTotalCoolingCapacity ⇒ Object
returns the autosized rated total cooling capacity as an optional double.
-
#autosizedRatedWaterFlowRate ⇒ Object
returns the autosized rated water flow rate 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.CoilCoolingWaterToAirHeatPumpEquationFit.rb', line 16 def applySizingValues rated_air_flow_rate = self.autosizedRatedAirFlowRate if rated_air_flow_rate.is_initialized self.setRatedAirFlowRate(rated_air_flow_rate.get) end rated_total_cooling_capacity = self.autosizedRatedTotalCoolingCapacity if rated_total_cooling_capacity.is_initialized self.setRatedTotalCoolingCapacity(rated_total_cooling_capacity.get) end rated_sensible_cooling_capacity = self.autosizedRatedSensibleCoolingCapacity if rated_sensible_cooling_capacity.is_initialized self.setRatedSensibleCoolingCapacity(rated_sensible_cooling_capacity.get) end rated_water_flow_rate = self.autosizedRatedWaterFlowRate if rated_water_flow_rate.is_initialized self.setRatedWaterFlowRate(rated_water_flow_rate.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.CoilCoolingWaterToAirHeatPumpEquationFit.rb', line 6 def autosize self.autosizeRatedAirFlowRate self.autosizeRatedTotalCoolingCapacity self.autosizeRatedSensibleCoolingCapacity self.autosizeRatedWaterFlowRate end |
#autosizedRatedAirFlowRate ⇒ Object
returns the autosized rated air flow rate as an optional double
41 42 43 44 45 |
# File 'lib/openstudio-standards/hvac_sizing/Siz.CoilCoolingWaterToAirHeatPumpEquationFit.rb', line 41 def autosizedRatedAirFlowRate return self.model.getAutosizedValue(self, 'Design Size Rated Air Flow Rate', 'm3/s') end |
#autosizedRatedSensibleCoolingCapacity ⇒ Object
returns the autosized rated sensible cooling capacity as an optional double
55 56 57 58 59 |
# File 'lib/openstudio-standards/hvac_sizing/Siz.CoilCoolingWaterToAirHeatPumpEquationFit.rb', line 55 def autosizedRatedSensibleCoolingCapacity return self.model.getAutosizedValue(self, 'Design Size Rated Sensible Cooling Capacity', 'W') end |
#autosizedRatedTotalCoolingCapacity ⇒ Object
returns the autosized rated total cooling capacity as an optional double
48 49 50 51 52 |
# File 'lib/openstudio-standards/hvac_sizing/Siz.CoilCoolingWaterToAirHeatPumpEquationFit.rb', line 48 def autosizedRatedTotalCoolingCapacity return self.model.getAutosizedValue(self, 'Design Size Rated Total Cooling Capacity', 'W') end |
#autosizedRatedWaterFlowRate ⇒ Object
returns the autosized rated water flow rate as an optional double
62 63 64 65 66 |
# File 'lib/openstudio-standards/hvac_sizing/Siz.CoilCoolingWaterToAirHeatPumpEquationFit.rb', line 62 def autosizedRatedWaterFlowRate return self.model.getAutosizedValue(self, 'Design Size Rated Water Flow Rate', 'm3/s') end |