Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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)

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)

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)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