Class: OpenStudio::Model::CoilHeatingWaterToAirHeatPumpEquationFit

Inherits:
Object
  • Object
show all
Defined in:
lib/measures/openstudio_results/resources/Siz.CoilHeatingWaterToAirHeatPumpEquationFit.rb

Overview

******************************************************************************* OpenStudio®, Copyright © Alliance for Sustainable Energy, LLC. See also openstudio.net/license *******************************************************************************

Instance Method Summary collapse

Instance Method Details

#maxAirFlowRateObject



15
16
17
18
19
20
21
# File 'lib/measures/openstudio_results/resources/Siz.CoilHeatingWaterToAirHeatPumpEquationFit.rb', line 15

def maxAirFlowRate
  if ratedAirFlowRate.is_initialized
    ratedAirFlowRate
  else
    autosizedRatedAirFlowRate
  end
end

#maxAirFlowRateAutosizedObject



40
41
42
43
44
45
46
47
# File 'lib/measures/openstudio_results/resources/Siz.CoilHeatingWaterToAirHeatPumpEquationFit.rb', line 40

def maxAirFlowRateAutosized
  if ratedAirFlowRate.is_initialized
    # Not autosized if hard size field value present
    return OpenStudio::OptionalBool.new(false)
  else
    return OpenStudio::OptionalBool.new(true)
  end
end

#maxHeatingCapacityObject



7
8
9
10
11
12
13
# File 'lib/measures/openstudio_results/resources/Siz.CoilHeatingWaterToAirHeatPumpEquationFit.rb', line 7

def maxHeatingCapacity
  if ratedHeatingCapacity.is_initialized
    ratedHeatingCapacity
  else
    autosizedRatedHeatingCapacity
  end
end

#maxHeatingCapacityAutosizedObject



31
32
33
34
35
36
37
38
# File 'lib/measures/openstudio_results/resources/Siz.CoilHeatingWaterToAirHeatPumpEquationFit.rb', line 31

def maxHeatingCapacityAutosized
  if ratedHeatingCapacity.is_initialized
    # Not autosized if hard size field value present
    return OpenStudio::OptionalBool.new(false)
  else
    return OpenStudio::OptionalBool.new(true)
  end
end

#maxWaterFlowRateObject



23
24
25
26
27
28
29
# File 'lib/measures/openstudio_results/resources/Siz.CoilHeatingWaterToAirHeatPumpEquationFit.rb', line 23

def maxWaterFlowRate
  if ratedWaterFlowRate.is_initialized
    ratedWaterFlowRate
  else
    autosizedRatedWaterFlowRate
  end
end

#maxWaterFlowRateAutosizedObject



49
50
51
52
53
54
55
56
# File 'lib/measures/openstudio_results/resources/Siz.CoilHeatingWaterToAirHeatPumpEquationFit.rb', line 49

def maxWaterFlowRateAutosized
  if ratedWaterFlowRate.is_initialized
    # Not autosized if hard size field value present
    return OpenStudio::OptionalBool.new(false)
  else
    return OpenStudio::OptionalBool.new(true)
  end
end

#performanceCharacteristicsObject



58
59
60
61
62
# File 'lib/measures/openstudio_results/resources/Siz.CoilHeatingWaterToAirHeatPumpEquationFit.rb', line 58

def performanceCharacteristics
  effs = []
  effs << [ratedHeatingCoefficientofPerformance, 'Rated Heating COP']
  return effs
end