Class: OpenStudio::Model::CoilHeatingWaterToAirHeatPumpVariableSpeedEquationFit
- Inherits:
-
Object
- Object
- OpenStudio::Model::CoilHeatingWaterToAirHeatPumpVariableSpeedEquationFit
- Defined in:
- lib/measures/openstudio_results/resources/Siz.CoilHeatingWaterToAirHeatPumpVariableSpeedEquationFit.rb
Overview
******************************************************************************* OpenStudio®, Copyright © Alliance for Sustainable Energy, LLC. See also openstudio.net/license *******************************************************************************
Instance Method Summary collapse
- #maxAirFlowRate ⇒ Object
- #maxAirFlowRateAutosized ⇒ Object
- #maxHeatingCapacity ⇒ Object
- #maxHeatingCapacityAutosized ⇒ Object
- #maxWaterFlowRate ⇒ Object
- #maxWaterFlowRateAutosized ⇒ Object
- #performanceCharacteristics ⇒ Object
Instance Method Details
#maxAirFlowRate ⇒ Object
15 16 17 18 19 20 21 |
# File 'lib/measures/openstudio_results/resources/Siz.CoilHeatingWaterToAirHeatPumpVariableSpeedEquationFit.rb', line 15 def maxAirFlowRate if ratedAirFlowRateAtSelectedNominalSpeedLevel.is_initialized ratedAirFlowRateAtSelectedNominalSpeedLevel else autosizedRatedAirFlowRateAtSelectedNominalSpeedLevel end end |
#maxAirFlowRateAutosized ⇒ Object
40 41 42 43 44 45 46 47 |
# File 'lib/measures/openstudio_results/resources/Siz.CoilHeatingWaterToAirHeatPumpVariableSpeedEquationFit.rb', line 40 def maxAirFlowRateAutosized if ratedAirFlowRateAtSelectedNominalSpeedLevel.is_initialized # Not autosized if hard size field value present return OpenStudio::OptionalBool.new(false) else return OpenStudio::OptionalBool.new(true) end end |
#maxHeatingCapacity ⇒ Object
7 8 9 10 11 12 13 |
# File 'lib/measures/openstudio_results/resources/Siz.CoilHeatingWaterToAirHeatPumpVariableSpeedEquationFit.rb', line 7 def maxHeatingCapacity if ratedHeatingCapacityAtSelectedNominalSpeedLevel.is_initialized ratedHeatingCapacityAtSelectedNominalSpeedLevel else autosizedRatedHeatingCapacityAtSelectedNominalSpeedLevel end end |
#maxHeatingCapacityAutosized ⇒ Object
31 32 33 34 35 36 37 38 |
# File 'lib/measures/openstudio_results/resources/Siz.CoilHeatingWaterToAirHeatPumpVariableSpeedEquationFit.rb', line 31 def maxHeatingCapacityAutosized if ratedHeatingCapacityAtSelectedNominalSpeedLevel.is_initialized # Not autosized if hard size field value present return OpenStudio::OptionalBool.new(false) else return OpenStudio::OptionalBool.new(true) end end |
#maxWaterFlowRate ⇒ Object
23 24 25 26 27 28 29 |
# File 'lib/measures/openstudio_results/resources/Siz.CoilHeatingWaterToAirHeatPumpVariableSpeedEquationFit.rb', line 23 def maxWaterFlowRate if ratedWaterFlowRateAtSelectedNominalSpeedLevel.is_initialized ratedWaterFlowRateAtSelectedNominalSpeedLevel else autosizedRatedWaterFlowRateAtSelectedNominalSpeedLevel end end |
#maxWaterFlowRateAutosized ⇒ Object
49 50 51 52 53 54 55 56 |
# File 'lib/measures/openstudio_results/resources/Siz.CoilHeatingWaterToAirHeatPumpVariableSpeedEquationFit.rb', line 49 def maxWaterFlowRateAutosized if ratedWaterFlowRateAtSelectedNominalSpeedLevel.is_initialized # Not autosized if hard size field value present return OpenStudio::OptionalBool.new(false) else return OpenStudio::OptionalBool.new(true) end end |
#performanceCharacteristics ⇒ Object
58 59 60 61 62 63 64 65 66 |
# File 'lib/measures/openstudio_results/resources/Siz.CoilHeatingWaterToAirHeatPumpVariableSpeedEquationFit.rb', line 58 def performanceCharacteristics effs = [] speeds.each_with_index do |speed_data, i| speed_effs = speed_data.performanceCharacteristics speed_effs.each { |pc| pc[1] = "Speed #{i+1} #{pc[1]}"} effs.concat speed_effs end return effs end |