Class: OpenStudio::Model::HVACComponent

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

Overview

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

Instance Method Summary collapse

Instance Method Details

#maxAirFlowRateObject



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

def maxAirFlowRate
  comp = cast_to_concrete_type
  return OpenStudio::OptionalDouble.new if comp.nil?
  if comp.respond_to?(__method__.to_s)
    return comp.maxAirFlowRate
  else
    # puts "#{__method__.to_s} not implemented for #{iddObject.type.name}"
    return OpenStudio::OptionalDouble.new
  end
end

#maxAirFlowRateAutosizedObject



84
85
86
87
88
89
90
91
92
93
# File 'lib/measures/openstudio_results/resources/Siz.HVACComponent.rb', line 84

def maxAirFlowRateAutosized
  comp = cast_to_concrete_type
  return OpenStudio::OptionalDouble.new if comp.nil?
  if comp.respond_to?(__method__.to_s)
    return comp.maxAirFlowRateAutosized
  else
    # puts "#{__method__.to_s} not implemented for #{iddObject.type.name}"
    return OpenStudio::OptionalDouble.new
  end
end

#maxCoolingCapacityObject



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

def maxCoolingCapacity
  comp = cast_to_concrete_type
  return OpenStudio::OptionalDouble.new if comp.nil?
  if comp.respond_to?(__method__.to_s)
    return comp.maxCoolingCapacity
  else
    # puts "#{__method__.to_s} not implemented for #{iddObject.type.name}"
    return OpenStudio::OptionalDouble.new
  end
end

#maxCoolingCapacityAutosizedObject



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

def maxCoolingCapacityAutosized
  comp = cast_to_concrete_type
  return OpenStudio::OptionalDouble.new if comp.nil?
  if comp.respond_to?(__method__.to_s)
    return comp.maxCoolingCapacityAutosized
  else
    # puts "#{__method__.to_s} not implemented for #{iddObject.type.name}"
    return OpenStudio::OptionalDouble.new
  end
end

#maxHeatingCapacityObject



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

def maxHeatingCapacity
  comp = cast_to_concrete_type
  return OpenStudio::OptionalDouble.new if comp.nil?
  if comp.respond_to?(__method__.to_s)
    return comp.maxHeatingCapacity
  else
    # puts "#{__method__.to_s} not implemented for #{iddObject.type.name}"
    return OpenStudio::OptionalDouble.new
  end
end

#maxHeatingCapacityAutosizedObject



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

def maxHeatingCapacityAutosized
  comp = cast_to_concrete_type
  return OpenStudio::OptionalDouble.new if comp.nil?
  if comp.respond_to?(__method__.to_s)
    return comp.maxHeatingCapacityAutosized
  else
    # puts "#{__method__.to_s} not implemented for #{iddObject.type.name}"
    return OpenStudio::OptionalDouble.new
  end
end

#maxWaterFlowRateObject



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

def maxWaterFlowRate
  comp = cast_to_concrete_type
  return OpenStudio::OptionalDouble.new if comp.nil?
  if comp.respond_to?(__method__.to_s)
    return comp.maxWaterFlowRate
  else
    # puts "#{__method__.to_s} not implemented for #{iddObject.type.name}"
    return OpenStudio::OptionalDouble.new
  end
end

#maxWaterFlowRateAutosizedObject



95
96
97
98
99
100
101
102
103
104
# File 'lib/measures/openstudio_results/resources/Siz.HVACComponent.rb', line 95

def maxWaterFlowRateAutosized
  comp = cast_to_concrete_type
  return OpenStudio::OptionalDouble.new if comp.nil?
  if comp.respond_to?(__method__.to_s)
    return comp.maxWaterFlowRateAutosized
  else
    # puts "#{__method__.to_s} not implemented for #{iddObject.type.name}"
    return OpenStudio::OptionalDouble.new
  end
end

#performanceCharacteristicsObject



117
118
119
120
121
122
123
124
125
126
# File 'lib/measures/openstudio_results/resources/Siz.HVACComponent.rb', line 117

def performanceCharacteristics
  comp = cast_to_concrete_type
  return [] if comp.nil?
  if comp.respond_to?(__method__.to_s)
    return comp.performanceCharacteristics
  else
    # puts "#{__method__.to_s} not implemented for #{iddObject.type.name}"
    return []
  end
end

#ratedPowerObject



51
52
53
54
55
56
57
58
59
60
# File 'lib/measures/openstudio_results/resources/Siz.HVACComponent.rb', line 51

def ratedPower
  comp = cast_to_concrete_type
  return OpenStudio::OptionalDouble.new if comp.nil?
  if comp.respond_to?(__method__.to_s)
    return comp.ratedPower
  else
    # puts "#{__method__.to_s} not implemented for #{iddObject.type.name}"
    return OpenStudio::OptionalDouble.new
  end
end

#ratedPowerAutosizedObject



106
107
108
109
110
111
112
113
114
115
# File 'lib/measures/openstudio_results/resources/Siz.HVACComponent.rb', line 106

def ratedPowerAutosized
  comp = cast_to_concrete_type
  return OpenStudio::OptionalDouble.new if comp.nil?
  if comp.respond_to?(__method__.to_s)
    return comp.ratedPowerAutosized
  else
    # puts "#{__method__.to_s} not implemented for #{iddObject.type.name}"
    return OpenStudio::OptionalDouble.new
  end
end