Class: OpenStudio::Model::AirConditionerVariableRefrigerantFlow

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

Overview

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

Instance Method Summary collapse

Instance Method Details

#maxAirFlowRateObject



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

def maxAirFlowRate
  if evaporativeCondenserAirFlowRate.is_initialized
    evaporativeCondenserAirFlowRate
  else
    autosizedEvaporativeCondenserAirFlowRate
  end
end

#maxAirFlowRateAutosizedObject



57
58
59
60
61
62
63
64
# File 'lib/measures/openstudio_results/resources/Siz.AirConditionerVariableRefrigerantFlow.rb', line 57

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

#maxCoolingCapacityObject



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

def maxCoolingCapacity
  if ratedTotalCoolingCapacity.is_initialized
    ratedTotalCoolingCapacity
  else
    autosizedRatedTotalCoolingCapacity
  end
end

#maxCoolingCapacityAutosizedObject



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

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

#maxHeatingCapacityObject



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

def maxHeatingCapacity
  if ratedTotalHeatingCapacity.is_initialized
    ratedTotalHeatingCapacity
  else
    autosizedRatedTotalHeatingCapacity
  end
end

#maxHeatingCapacityAutosizedObject



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

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

#maxWaterFlowRateObject



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

def maxWaterFlowRate
  if waterCondenserVolumeFlowRate.is_initialized
    waterCondenserVolumeFlowRate
  else
    autosizedWaterCondenserVolumeFlowRate
  end
end

#maxWaterFlowRateAutosizedObject



66
67
68
69
70
71
72
73
# File 'lib/measures/openstudio_results/resources/Siz.AirConditionerVariableRefrigerantFlow.rb', line 66

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

#performanceCharacteristicsObject



75
76
77
78
79
80
81
# File 'lib/measures/openstudio_results/resources/Siz.AirConditionerVariableRefrigerantFlow.rb', line 75

def performanceCharacteristics
  effs = []
  effs << [ratedCoolingCOP, 'Rated Cooling COP']
  effs << [ratedHeatingCOP, 'Rated Heating COP']
  effs << [evaporativeCondenserEffectiveness, 'Evaporative Condenser Effectiveness'] if condenserType == 'EvaporativelyCooled'
  return effs
end