Sha256: e2df36d8f9cb9ea87c7610af63a4a03d11897627f3cd54c2147dc13500e61645

Contents?: true

Size: 628 Bytes

Versions: 4

Compression:

Stored size: 628 Bytes

Contents

# This class holds methods that apply DEER 2045 to a given model.
# @ref [References::DEERMASControl]
class ComStockDEER2045 < DEER2045
  register_standard 'ComStock DEER 2045'
  attr_reader :template

  def initialize
    super()
    @template = 'ComStock DEER 2045'
    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

4 entries across 4 versions & 1 rubygems

Version Path
openstudio-standards-0.7.1 lib/openstudio-standards/standards/deer/deer_2045/comstock_deer_2045/comstock_deer_2045.rb
openstudio-standards-0.7.0 lib/openstudio-standards/standards/deer/deer_2045/comstock_deer_2045/comstock_deer_2045.rb
openstudio-standards-0.7.0.rc1 lib/openstudio-standards/standards/deer/deer_2045/comstock_deer_2045/comstock_deer_2045.rb
openstudio-standards-0.6.3 lib/openstudio-standards/standards/deer/deer_2045/comstock_deer_2045/comstock_deer_2045.rb