Sha256: 70b8021b533e57d44d6a2888b316f7a9ffa363a354214ce85c4dae6c736474c5

Contents?: true

Size: 1.97 KB

Versions: 16

Compression:

Stored size: 1.97 KB

Contents

class Standard
  # @!group HeatExchangerSensLat

  # Sets the minimum effectiveness of the heat exchanger per
  # the standard.
  def heat_exchanger_air_to_air_sensible_and_latent_apply_efficiency(heat_exchanger_air_to_air_sensible_and_latent)
    # Assumed to be sensible and latent at all flow
    min_effct = heat_exchanger_air_to_air_sensible_and_latent_minimum_efficiency(heat_exchanger_air_to_air_sensible_and_latent)

    heat_exchanger_air_to_air_sensible_and_latent.setSensibleEffectivenessat100HeatingAirFlow(min_effct)
    heat_exchanger_air_to_air_sensible_and_latent.setLatentEffectivenessat100HeatingAirFlow(min_effct)
    heat_exchanger_air_to_air_sensible_and_latent.setSensibleEffectivenessat75HeatingAirFlow(min_effct)
    heat_exchanger_air_to_air_sensible_and_latent.setLatentEffectivenessat75HeatingAirFlow(min_effct)
    heat_exchanger_air_to_air_sensible_and_latent.setSensibleEffectivenessat100CoolingAirFlow(min_effct)
    heat_exchanger_air_to_air_sensible_and_latent.setLatentEffectivenessat100CoolingAirFlow(min_effct)
    heat_exchanger_air_to_air_sensible_and_latent.setSensibleEffectivenessat75CoolingAirFlow(min_effct)
    heat_exchanger_air_to_air_sensible_and_latent.setLatentEffectivenessat75CoolingAirFlow(min_effct)

    OpenStudio.logFree(OpenStudio::Info, 'openstudio.standards.HeatExchangerAirToAirSensibleAndLatent', "For #{heat_exchanger_air_to_air_sensible_and_latent.name}: Set sensible and latent effectiveness to #{(min_effct * 100).round}%.")

    return true
  end

  # Defines the minimum sensible and latent effectiveness of
  # the heat exchanger.  Assumed to apply to sensible and latent
  # effectiveness at all flow rates.
  #
  # @param heat_exchanger_air_to_air_sensible_and_latent [OpenStudio::Model::HeatExchangerAirToAirSensibleAndLatent] the heat exchanger
  def heat_exchanger_air_to_air_sensible_and_latent_minimum_efficiency(heat_exchanger_air_to_air_sensible_and_latent)
    min_effct = 0.5
    return min_effct
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
openstudio-standards-0.2.10 lib/openstudio-standards/standards/Standards.HeatExchangerSensLat.rb
openstudio-standards-0.2.10.rc3 lib/openstudio-standards/standards/Standards.HeatExchangerSensLat.rb
openstudio-standards-0.2.10.rc2 lib/openstudio-standards/standards/Standards.HeatExchangerSensLat.rb
openstudio-standards-0.2.10.rc1 lib/openstudio-standards/standards/Standards.HeatExchangerSensLat.rb
openstudio-standards-0.2.9 lib/openstudio-standards/standards/Standards.HeatExchangerSensLat.rb
openstudio-standards-0.2.8 lib/openstudio-standards/standards/Standards.HeatExchangerSensLat.rb
openstudio-standards-0.2.7 lib/openstudio-standards/standards/Standards.HeatExchangerSensLat.rb
openstudio-standards-0.2.6 lib/openstudio-standards/standards/Standards.HeatExchangerSensLat.rb
openstudio-standards-0.2.5 lib/openstudio-standards/standards/Standards.HeatExchangerSensLat.rb
openstudio-standards-0.2.4 lib/openstudio-standards/standards/Standards.HeatExchangerSensLat.rb
openstudio-standards-0.2.3 lib/openstudio-standards/standards/Standards.HeatExchangerSensLat.rb
openstudio-standards-0.2.2 lib/openstudio-standards/standards/Standards.HeatExchangerSensLat.rb
openstudio-standards-0.2.1 lib/openstudio-standards/standards/Standards.HeatExchangerSensLat.rb
openstudio-standards-0.2.0 lib/openstudio-standards/standards/Standards.HeatExchangerSensLat.rb
openstudio-standards-0.2.0.rc2 lib/openstudio-standards/standards/Standards.HeatExchangerSensLat.rb
openstudio-standards-0.2.0.rc1 lib/openstudio-standards/standards/Standards.HeatExchangerSensLat.rb