Revision history  [back]

how to add .epw file in openstudio sdk for weather data using python bindings

I want to add .epw file to my model to add weather data but i am not able to do so

This is the code snippet i am using

epw_path = os.path("file path")
epw = os.openstudioutilities.openstudioutilitiesfiletypes.EpwFile(epw_path)
weather = os.model.WeatherFile.setWeatherFile(model, epw)

Thanks

how to add .epw file in openstudio sdk for weather data using python bindings

I want to add .epw file to my model to add weather data but i am not able to do so

This is the code snippet i am using

epw_path = os.path("file path")
epw = os.openstudioutilities.openstudioutilitiesfiletypes.EpwFile(epw_path)
weather = os.model.WeatherFile.setWeatherFile(model, epw)

Thanks

how to add .epw file in openstudio sdk for weather data using python bindings

I want to add .epw file to my model to add weather data but i am not able to do so

This is the code snippet i am using

epw_path = os.path("file path") epw = os.openstudioutilities.openstudioutilitiesfiletypes.EpwFile(epw_path) weather = os.model.WeatherFile.setWeatherFile(model, epw)

Thanksepw)

how to add .epw file in openstudio sdk for weather data using python bindings

I want to add .epw file to my model to add weather data but i am not able to do so

This is the code snippet i am using

epw_path = os.path("file path") epw = os.openstudioutilities.openstudioutilitiesfiletypes.EpwFile(epw_path) weather = os.model.WeatherFile.setWeatherFile(model, epw)