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.12 lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2004/ashrae_90_1_2004.Model.rb
openstudio-standards-0.2.12.rc7 lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2004/ashrae_90_1_2004.Model.rb
openstudio-standards-0.2.12.rc6 lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2004/ashrae_90_1_2004.Model.rb
openstudio-standards-0.2.12.rc5 lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2004/ashrae_90_1_2004.Model.rb
openstudio-standards-0.2.12.rc4 lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2004/ashrae_90_1_2004.Model.rb
openstudio-standards-0.2.12.rc2 lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2004/ashrae_90_1_2004.Model.rb
openstudio-standards-0.2.12.rc1 lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2004/ashrae_90_1_2004.Model.rb
openstudio-standards-0.2.11 lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2004/ashrae_90_1_2004.Model.rb
openstudio-standards-0.2.11.rc2 lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2004/ashrae_90_1_2004.Model.rb
openstudio-standards-0.2.11.rc1 lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2004/ashrae_90_1_2004.Model.rb
openstudio-standards-0.2.10 lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2004/ashrae_90_1_2004.Model.rb
openstudio-standards-0.2.10.rc3 lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2004/ashrae_90_1_2004.Model.rb
openstudio-standards-0.2.10.rc2 lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2004/ashrae_90_1_2004.Model.rb
openstudio-standards-0.2.10.rc1 lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2004/ashrae_90_1_2004.Model.rb
openstudio-standards-0.2.9 lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2004/ashrae_90_1_2004.Model.rb
openstudio-standards-0.2.8 lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2004/ashrae_90_1_2004.Model.rb
openstudio-standards-0.2.7 lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2004/ashrae_90_1_2004.Model.rb
openstudio-standards-0.2.6 lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2004/ashrae_90_1_2004.Model.rb
openstudio-standards-0.2.5 lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2004/ashrae_90_1_2004.Model.rb
openstudio-standards-0.2.4 lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2004/ashrae_90_1_2004.Model.rb