Sha256: da8e4405a93927ae1d411dc5f0a06496641e5c772158b4e54e07074a1b75b324

Contents?: true

Size: 1.6 KB

Versions: 4

Compression:

Stored size: 1.6 KB

Contents

# *******************************************************************************
# OpenStudio(R), Copyright (c) Alliance for Sustainable Energy, LLC.
# See also https://openstudio.net/license
# *******************************************************************************

class OpenStudio::Model::HeatExchangerAirToAirSensibleAndLatent
  def maxAirFlowRate
    if nominalSupplyAirFlowRate.is_initialized
      nominalSupplyAirFlowRate
    else
      autosizedNominalSupplyAirFlowRate
    end
  end

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

  def performanceCharacteristics
    effs = []
    effs << [sensibleEffectivenessat100HeatingAirFlow, 'Sensible Effectivenessat 100 Heating Air Flow']
    effs << [latentEffectivenessat100HeatingAirFlow, 'Latent Effectivenessat 100 Heating Air Flow']
    effs << [sensibleEffectivenessat75HeatingAirFlow, 'Sensible Effectivenessat 75 Heating Air Flow']
    effs << [latentEffectivenessat75HeatingAirFlow, 'Latent Effectivenessat 75 Heating Air Flow']
    effs << [sensibleEffectivenessat100CoolingAirFlow, 'Sensible Effectivenessat 100 Cooling Air Flow']
    effs << [latentEffectivenessat100CoolingAirFlow, 'Latent Effectivenessat 100 Cooling Air Flow']
    effs << [sensibleEffectivenessat75CoolingAirFlow, 'Sensible Effectivenessat 75 Cooling Air Flow']
    effs << [latentEffectivenessat75CoolingAirFlow, 'Latent Effectivenessat 75 Cooling Air Flow']
    return effs
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
openstudio-common-measures-0.11.0 lib/measures/openstudio_results/resources/Siz.HeatExchangerAirToAirSensibleAndLatent.rb
openstudio-common-measures-0.10.0 lib/measures/openstudio_results/resources/Siz.HeatExchangerAirToAirSensibleAndLatent.rb
openstudio-common-measures-0.9.0 lib/measures/openstudio_results/resources/Siz.HeatExchangerAirToAirSensibleAndLatent.rb
openstudio-common-measures-0.8.0 lib/measures/openstudio_results/resources/Siz.HeatExchangerAirToAirSensibleAndLatent.rb