Class: OpenStudio::Model::SizingSystem

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

Overview

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

Instance Method Summary collapse

Instance Method Details

#maxAirFlowRateObject



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

def maxAirFlowRate
  if designOutdoorAirFlowRate.is_initialized
    designOutdoorAirFlowRate
  else
    autosizedDesignOutdoorAirFlowRate
  end
end

#maxAirFlowRateAutosizedObject



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

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

#maxCoolingCapacityObject



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

def maxCoolingCapacity
  if coolingDesignCapacity.is_initialized
    coolingDesignCapacity
  else
    autosizedCoolingDesignCapacity
  end
end

#maxCoolingCapacityAutosizedObject



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

def maxCoolingCapacityAutosized
  if coolingDesignCapacity.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
10
11
12
13
# File 'lib/measures/openstudio_results/resources/Siz.SizingSystem.rb', line 7

def maxHeatingCapacity
  if heatingDesignCapacity.is_initialized
    heatingDesignCapacity
  else
    autosizedHeatingDesignCapacity
  end
end

#maxHeatingCapacityAutosizedObject



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

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