Class: OpenStudio::Model::HumidifierSteamElectric

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

Overview

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

Instance Method Summary collapse

Instance Method Details

#ratedPowerObject



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

def ratedPower
  if ratedPower.is_initialized # SystemStackError: stack level too deep error when this called, disabled in Siz.Model.rb
    ratedPower
  else
    ratedPowerAutosized
  end
end

#ratedPowerAutosizedObject



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

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