Class: OpenStudio::Model::ZoneHVACFourPipeFanCoil

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

def maxAirFlowRate
  if maximumSupplyAirFlowRate.is_initialized
    maximumSupplyAirFlowRate
  else
    autosizedMaximumSupplyAirFlowRate
  end
end

#maxAirFlowRateAutosizedObject



46
47
48
49
50
51
52
53
# File 'lib/measures/openstudio_results/resources/Siz.ZoneHVACFourPipeFanCoil.rb', line 46

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

#maxCoolingCapacityObject



11
12
13
# File 'lib/measures/openstudio_results/resources/Siz.ZoneHVACFourPipeFanCoil.rb', line 11

def maxCoolingCapacity
  coolingCoil.maxCoolingCapacity
end

#maxCoolingCapacityAutosizedObject



42
43
44
# File 'lib/measures/openstudio_results/resources/Siz.ZoneHVACFourPipeFanCoil.rb', line 42

def maxCoolingCapacityAutosized
  coolingCoil.maxCoolingCapacityAutosized
end

#maxHeatingCapacityObject



7
8
9
# File 'lib/measures/openstudio_results/resources/Siz.ZoneHVACFourPipeFanCoil.rb', line 7

def maxHeatingCapacity
  heatingCoil.maxHeatingCapacity
end

#maxHeatingCapacityAutosizedObject



38
39
40
# File 'lib/measures/openstudio_results/resources/Siz.ZoneHVACFourPipeFanCoil.rb', line 38

def maxHeatingCapacityAutosized
  heatingCoil.maxHeatingCapacityAutosized
end

#maxWaterFlowRateObject



23
24
25
26
27
28
29
30
31
32
33
34
35
36
# File 'lib/measures/openstudio_results/resources/Siz.ZoneHVACFourPipeFanCoil.rb', line 23

def maxWaterFlowRate
  vals = []
  if coolingCoil.maxWaterFlowRate.is_initialized
    vals << coolingCoil.maxWaterFlowRate.get
  end
  if heatingCoil.maxWaterFlowRate.is_initialized
    vals << heatingCoil.maxWaterFlowRate.get
  end
  if vals.size.zero?
    OpenStudio::OptionalDouble.new
  else
    OpenStudio::OptionalDouble.new(vals.max)
  end
end

#maxWaterFlowRateAutosizedObject



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

def maxWaterFlowRateAutosized
  if coolingCoil.maxWaterFlowRate.is_initialized
    return OpenStudio::OptionalBool.new(false)
  elsif heatingCoil.maxWaterFlowRate.is_initialized
    return OpenStudio::OptionalBool.new(false)
  else
    return OpenStudio::OptionalBool.new(true)
  end
end

#performanceCharacteristicsObject



65
66
67
68
69
70
71
# File 'lib/measures/openstudio_results/resources/Siz.ZoneHVACFourPipeFanCoil.rb', line 65

def performanceCharacteristics
  effs = []
  effs += supplyAirFan.performanceCharacteristics
  effs += coolingCoil.performanceCharacteristics
  effs += heatingCoil.performanceCharacteristics
  return effs
end