Class: OpenStudio::Model::CoilCoolingWaterToAirHeatPumpEquationFit

Inherits:
Object
  • Object
show all
Defined in:
lib/measures/openstudio_results/resources/Siz.CoilCoolingWaterToAirHeatPumpEquationFit.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.CoilCoolingWaterToAirHeatPumpEquationFit.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.CoilCoolingWaterToAirHeatPumpEquationFit.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

#maxCoolingCapacityObject



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

def maxCoolingCapacity
  if ratedTotalCoolingCapacity.is_initialized
    ratedTotalCoolingCapacity
  else
    autosizedRatedTotalCoolingCapacity
  end
end

#maxCoolingCapacityAutosizedObject



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

def maxCoolingCapacityAutosized
  if ratedTotalCoolingCapacity.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.CoilCoolingWaterToAirHeatPumpEquationFit.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.CoilCoolingWaterToAirHeatPumpEquationFit.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.CoilCoolingWaterToAirHeatPumpEquationFit.rb', line 58

def performanceCharacteristics
  effs = []
  effs << [ratedCoolingCoefficientofPerformance, 'Rated Cooling COP']
  return effs
end