Sha256: 46eddf53fd35fcdf314ea981aa084be1d71dd698ef538655caf6ee180ff7f079

Contents?: true

Size: 617 Bytes

Versions: 3

Compression:

Stored size: 617 Bytes

Contents

# This class holds methods that apply ASHRAE 90.1-2007
# to a given model.
# @ref [References::ASHRAE9012007]
class ASHRAE9012007 < ASHRAE901
  register_standard '90.1-2007'
  attr_reader :template

  def initialize
    super()
    @template = '90.1-2007'
    load_standards_database
  end

  # Loads the openstudio standards dataset for this standard.
  #
  # @param data_directories [Array<String>] array of file paths that contain standards data
  # @return [Hash] a hash of standards data
  def load_standards_database(data_directories = [])
    super([__dir__] + data_directories)
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
openstudio-standards-0.7.0 lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2007/ashrae_90_1_2007.rb
openstudio-standards-0.7.0.rc1 lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2007/ashrae_90_1_2007.rb
openstudio-standards-0.6.3 lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2007/ashrae_90_1_2007.rb