Class: OpenStudio::Model::PlantLoop

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

Overview

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

Instance Method Summary collapse

Instance Method Details

#maxAirFlowRateObject



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

def maxAirFlowRate
  if maximumLoopFlowRate.is_initialized
    maximumLoopFlowRate
  else
    autosizedMaximumLoopFlowRate
  end
end

#maxAirFlowRateAutosizedObject



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

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

#maxWaterFlowRateObject



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

def maxWaterFlowRate
  if maximumLoopFlowRate.is_initialized
    maximumLoopFlowRate
  else
    autosizedMaximumLoopFlowRate
  end
end

#maxWaterFlowRateAutosizedObject



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

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