Sha256: 896fb6b82472536da9c2971dbbaf4ac0fbdcba22aaa03cd1999332b82132d1b0

Contents?: true

Size: 915 Bytes

Versions: 6

Compression:

Stored size: 915 Bytes

Contents

class DEER
  # @!group Model

  # Determine which climate zone to use.
  # Uses the most specific climate zone set.
  def model_get_climate_zone_set_from_list(model, possible_climate_zone_sets)
    # OpenStudio.logFree(OpenStudio::Warn, 'openstudio.model.Model', "SpaceType #{space.spaceType.get.name} does not have a standardsSpaceType assigned.")
    climate_zone_set = possible_climate_zone_sets.max
    return climate_zone_set
  end

  # Determines how ventilation for the standard is specified.
  # When 'Sum', all min OA flow rates are added up.  Commonly used by 90.1.
  # When 'Maximum', only the biggest OA flow rate.  Used by T24.
  #
  # @param model [OpenStudio::Model::Model] OpenStudio model object
  # @return [String] the ventilation method, either Sum or Maximum
  def model_ventilation_method(model)
    ventilation_method = 'Maximum'
    return ventilation_method
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
openstudio-standards-0.7.1 lib/openstudio-standards/standards/deer/deer.Model.rb
openstudio-standards-0.7.0 lib/openstudio-standards/standards/deer/deer.Model.rb
openstudio-standards-0.7.0.rc1 lib/openstudio-standards/standards/deer/deer.Model.rb
openstudio-standards-0.6.3 lib/openstudio-standards/standards/deer/deer.Model.rb
openstudio-standards-0.6.0.rc2 lib/openstudio-standards/standards/deer/deer.Model.rb
openstudio-standards-0.6.0.rc1 lib/openstudio-standards/standards/deer/deer.Model.rb