Sha256: e5d6bbb579dc51dfd515501a567a4bd244390fdc516f663a9a243f89df3facc6

Contents?: true

Size: 628 Bytes

Versions: 26

Compression:

Stored size: 628 Bytes

Contents

class ASHRAE9012004 < ASHRAE901
  # @!group Model

  # Determine which climate zone to use.
  # Uses the most specific climate zone set for most
  # climate zones, except for ClimateZone 3, which
  # uses the least specific climate zone.
  def model_get_climate_zone_set_from_list(model, possible_climate_zone_sets)
    climate_zone_set = if possible_climate_zone_sets.include? 'ClimateZone 3'
                         possible_climate_zone_sets.sort.last
                       else
                         possible_climate_zone_sets.sort.first
                       end
    return climate_zone_set
  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
openstudio-standards-0.2.3 lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2004/ashrae_90_1_2004.Model.rb
openstudio-standards-0.2.2 lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2004/ashrae_90_1_2004.Model.rb
openstudio-standards-0.2.1 lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2004/ashrae_90_1_2004.Model.rb
openstudio-standards-0.2.0 lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2004/ashrae_90_1_2004.Model.rb
openstudio-standards-0.2.0.rc2 lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2004/ashrae_90_1_2004.Model.rb
openstudio-standards-0.2.0.rc1 lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2004/ashrae_90_1_2004.Model.rb