Class: OpenStudio::Model::AirTerminalSingleDuctConstantVolumeFourPipeInduction

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

Overview

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

Instance Method Summary collapse

Instance Method Details

#maxAirFlowRateObject



19
20
21
22
23
24
25
# File 'lib/measures/openstudio_results/resources/Siz.AirTerminalSingleDuctConstantVolumeFourPipeInduction.rb', line 19

def maxAirFlowRate
  if maximumTotalAirFlowRate.is_initialized
    maximumTotalAirFlowRate
  else
    autosizedMaximumTotalAirFlowRate
  end
end

#maxAirFlowRateAutosizedObject



59
60
61
62
63
64
65
66
# File 'lib/measures/openstudio_results/resources/Siz.AirTerminalSingleDuctConstantVolumeFourPipeInduction.rb', line 59

def maxAirFlowRateAutosized
  if maximumTotalAirFlowRate.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
14
15
16
17
# File 'lib/measures/openstudio_results/resources/Siz.AirTerminalSingleDuctConstantVolumeFourPipeInduction.rb', line 11

def maxCoolingCapacity
  if coolingCoil.is_initialized
    coolingCoil.get.maxCoolingCapacity
  else
    OpenStudio::OptionalDouble.new
  end
end

#maxCoolingCapacityAutosizedObject



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

def maxCoolingCapacityAutosized
  if coolingCoil.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
# File 'lib/measures/openstudio_results/resources/Siz.AirTerminalSingleDuctConstantVolumeFourPipeInduction.rb', line 7

def maxHeatingCapacity
  heatingCoil.maxHeatingCapacity
end

#maxHeatingCapacityAutosizedObject



46
47
48
# File 'lib/measures/openstudio_results/resources/Siz.AirTerminalSingleDuctConstantVolumeFourPipeInduction.rb', line 46

def maxHeatingCapacityAutosized
  heatingCoil.maxHeatingCapacityAutosized
end

#maxWaterFlowRateObject



27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# File 'lib/measures/openstudio_results/resources/Siz.AirTerminalSingleDuctConstantVolumeFourPipeInduction.rb', line 27

def maxWaterFlowRate
  vals = []
  if maximumHotWaterFlowRate.is_initialized
    vals << maximumHotWaterFlowRate.get
  elsif autosizedMaximumHotWaterFlowRate.is_initialized
    vals << autosizedMaximumHotWaterFlowRate.get
  end
  if maximumColdWaterFlowRate.is_initialized
    vals << maximumColdWaterFlowRate.get
  elsif autosizedMaximumColdWaterFlowRate.is_initialized
    vals << autosizedMaximumColdWaterFlowRate.get
  end
  if vals.size.zero?
    OpenStudio::OptionalDouble.new
  else
    OpenStudio::OptionalDouble.new(vals.max)
  end
end

#maxWaterFlowRateAutosizedObject



68
69
70
71
72
73
74
75
76
# File 'lib/measures/openstudio_results/resources/Siz.AirTerminalSingleDuctConstantVolumeFourPipeInduction.rb', line 68

def maxWaterFlowRateAutosized
  if maximumHotWaterFlowRate.is_initialized
    return OpenStudio::OptionalBool.new(false)
  elsif maximumColdWaterFlowRate.is_initialized
    return OpenStudio::OptionalBool.new(false)
  else
    return OpenStudio::OptionalBool.new(true)
  end
end

#performanceCharacteristicsObject



78
79
80
81
82
83
# File 'lib/measures/openstudio_results/resources/Siz.AirTerminalSingleDuctConstantVolumeFourPipeInduction.rb', line 78

def performanceCharacteristics
  effs = []
  effs += heatingCoil.performanceCharacteristics
  effs += coolingCoil.get.performanceCharacteristics if coolingCoil.is_initialized
  return effs
end