Class: BTAP::OpenStudioLibrary

Inherits:
Object
  • Object
show all
Includes:
Singleton
Defined in:
lib/openstudio-standards/btap/btap.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeOpenStudioLibrary

This method initializes the library.



177
178
179
180
181
# File 'lib/openstudio-standards/btap/btap.rb', line 177

def initialize()
  #path to openstudio library
  @lib_path = "C:\\Program Files (x86)\\OpenStudio 1.2.0\\share\\openstudio\\OSApp\\hvaclibrary\\hvac_library.osm"
  @library = BTAP::FileIO::load_osm(@lib_path, "OpenStudio_Library")
end

Instance Attribute Details

#libraryObject

Returns the value of attribute library.



174
175
176
# File 'lib/openstudio-standards/btap/btap.rb', line 174

def library
  @library
end