Module: BTAP::Site

Defined in:
lib/openstudio-standards/btap/btap.rb

Class Method Summary collapse

Class Method Details

.set_weather_file(model, epw_path) ⇒ Object

This method sets the weather file for the model. It takes a simple string, remember to escape the slashes..(i.e. // not / )

Parameters:

  • model (OpenStudio::Model::Model)

    A model object

  • epw_path (String)

    a simple string of the epw file path, remember to escape the slashes..(i.e. // not / )

Author:

  • Phylroy A. Lopez



281
282
283
# File 'lib/openstudio-standards/btap/btap.rb', line 281

def self.set_weather_file(model, epw_path)
  BTAP::Environment::WeatherFile.new(epw_path).set_weather_file(model)
end