Sha256: 5515849715034006a52908f740dc3a347ffff743e5e55fbe6a7752473bc11ebd

Contents?: true

Size: 651 Bytes

Versions: 2

Compression:

Stored size: 651 Bytes

Contents

class ASHRAE901PRM < Standard
  # @!group BoilerHotWater

  # Applies the standard efficiency ratings to this object.
  #
  # @param boiler_hot_water [OpenStudio::Model::BoilerHotWater] hot water boiler object
  # @return [Boolean] returns true if successful, false if not
  def boiler_hot_water_apply_efficiency_and_curves(boiler_hot_water)
    # Get the minimum efficiency standards
    thermal_eff = boiler_hot_water_standard_minimum_thermal_efficiency(boiler_hot_water)

    # Set the efficiency values
    unless thermal_eff.nil?
      boiler_hot_water.setNominalThermalEfficiency(thermal_eff)
    end
    return true
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
openstudio-standards-0.5.0 lib/openstudio-standards/standards/ashrae_90_1_prm/ashrae_90_1_prm.BoilerHotWater.rb
openstudio-standards-0.5.0.rc1 lib/openstudio-standards/standards/ashrae_90_1_prm/ashrae_90_1_prm.BoilerHotWater.rb