Sha256: 2f2b07fbb29c233ce660f0658f34d22c6f983608b54513ee49c8e7a1a9afe181

Contents?: true

Size: 617 Bytes

Versions: 3

Compression:

Stored size: 617 Bytes

Contents

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

  def initialize
    super()
    @template = '90.1-2004'
    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_2004/ashrae_90_1_2004.rb
openstudio-standards-0.7.0.rc1 lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2004/ashrae_90_1_2004.rb
openstudio-standards-0.6.3 lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2004/ashrae_90_1_2004.rb