Class: OpenStudio::Model::WaterHeaterHeatPump

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

Overview

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

Instance Method Summary collapse

Instance Method Details

#maxWaterFlowRateObject



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

def maxWaterFlowRate
  if condenserWaterFlowRate.is_initialized
    condenserWaterFlowRate
  else
    autosizedCondenserWaterFlowRate
  end
end

#maxWaterFlowRateAutosizedObject



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

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

#performanceCharacteristicsObject



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

def performanceCharacteristics
  effs = []
  effs += fan.performanceCharacteristics
  return effs
end