Class: OpenStudio::Model::ChillerElectricEIR

Inherits:
Object
  • Object
show all
Defined in:
lib/measures/openstudio_results/resources/Siz.ChillerElectricEIR.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.ChillerElectricEIR.rb', line 15

def maxAirFlowRate
  if referenceCondenserFluidFlowRate.is_initialized
    referenceCondenserFluidFlowRate
  else
    autosizedReferenceCondenserFluidFlowRate
  end
end

#maxAirFlowRateAutosizedObject



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

def maxAirFlowRateAutosized
  if referenceCondenserFluidFlowRate.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.ChillerElectricEIR.rb', line 7

def maxCoolingCapacity
  if referenceCapacity.is_initialized
    referenceCapacity
  else
    autosizedReferenceCapacity
  end
end

#maxCoolingCapacityAutosizedObject



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

def maxCoolingCapacityAutosized
  if referenceCapacity.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.ChillerElectricEIR.rb', line 23

def maxWaterFlowRate
  if referenceChilledWaterFlowRate.is_initialized
    referenceChilledWaterFlowRate
  else
    autosizedReferenceChilledWaterFlowRate
  end
end

#maxWaterFlowRateAutosizedObject



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

def maxWaterFlowRateAutosized
  if referenceChilledWaterFlowRate.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
63
64
65
66
67
68
# File 'lib/measures/openstudio_results/resources/Siz.ChillerElectricEIR.rb', line 58

def performanceCharacteristics
  effs = []
  effs << [referenceCOP, 'Reference COP']
  # check os version
  if Gem::Version.new(OpenStudio.openStudioVersion) > Gem::Version.new('2.9.1')
    effs << [fractionofCompressorElectricConsumptionRejectedbyCondenser, 'Fraction of Compressor Electric Consumption Rejected by Condenser']
  else
    effs << [compressorMotorEfficiency, 'Compressor Motor Fraction of Compressor Electric Consumption Rejected by Condenser']
  end
  return effs
end