Sha256: 2a3293e456b22153836b5887f2b577c51fe653cb8e4a2a87e3385c9c1e07897b

Contents?: true

Size: 628 Bytes

Versions: 4

Compression:

Stored size: 628 Bytes

Contents

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

  def initialize
    super()
    @template = 'ComStock DEER 2030'
    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_2030/comstock_deer_2030/comstock_deer_2030.rb
openstudio-standards-0.7.0 lib/openstudio-standards/standards/deer/deer_2030/comstock_deer_2030/comstock_deer_2030.rb
openstudio-standards-0.7.0.rc1 lib/openstudio-standards/standards/deer/deer_2030/comstock_deer_2030/comstock_deer_2030.rb
openstudio-standards-0.6.3 lib/openstudio-standards/standards/deer/deer_2030/comstock_deer_2030/comstock_deer_2030.rb