class ComStockDOERefPre1980

This class holds methods that apply the “standard” assumptions used in the DOE Pre-1980 Reference Buildings, but modified to better reflect the U.S. building stock to a given model. @ref [References::USDOEReferenceBuildings]

Attributes

template[R]

Public Class Methods

new() click to toggle source
# File lib/openstudio-standards/standards/ashrae_90_1/doe_ref_pre_1980/comstock_doe_ref_pre_1980/comstock_doe_ref_pre_1980.rb, line 9
def initialize
  @template = 'ComStock DOE Ref Pre-1980'
  load_standards_database
end

Public Instance Methods

load_standards_database(data_directories = []) click to toggle source

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

Calls superclass method DOERefPre1980#load_standards_database
# File lib/openstudio-standards/standards/ashrae_90_1/doe_ref_pre_1980/comstock_doe_ref_pre_1980/comstock_doe_ref_pre_1980.rb, line 18
def load_standards_database(data_directories = [])
  super([__dir__] + data_directories)
end