OpenStudio Failed To Set Weather File

asked 2020-03-08 10:31:28 -0500

5argan's avatar

I've wanted to use OpenStudio 2.9.1 for a project for my thesis. However, whenever I try to set a weather file, I get a warning "Failed To Set Weather File To [filepath]". This happens with the weather files I wanted to use for my project, the weather files bundled in my EnergyPlus installation, and weather files downloaded from energyplus.net/weather, like for example this one.

This is a fresh installation of OpenStudio 2.9.1, with nothing done to it beforehand, as this was the first thing I tried. The only clue I found by searching was that this can be caused by special characters in the path or filename. However, none of those are in my file names, and I've tried moving and renaming the weather file to no avail. I would be happy to any clue as to what I'm doing wrong.

This is on Windows 10, if that matters.

edit retag flag offensive close merge delete

Comments

@5argan i can't reproduce this with the linked weather file on Mac or Windows version of OpenStudio 2.9.1 (tested on machine with Windows 10), so I still think there is something unique on your machine. Beyond file name it is possible there is a permissions issue with the source location of the epw or the location where you OSM file is saved. The epw needs to be copied from its original location to a directory next to your OSM file.

David Goldwasser's avatar David Goldwasser  ( 2020-03-09 11:21:05 -0500 )edit

Thank you for the response. I tried what you said, but it didn't change anything. However, having confirmation that it's something unique to my machine, I tried reinstalling SketchUp (after trying a bunch of other stuff), which seemed to fix the issue for now. I also tried reinstalling OpenStudio before posting, but that didn't do anything.

5argan's avatar 5argan  ( 2020-03-10 10:49:04 -0500 )edit

Strange, so re-installing SketchUp fixed this. Were you setting the weather file with the SketchUp Plugin, or were you using the OpenStudio Application? I had assumed you were using the OpenStudio Application.

David Goldwasser's avatar David Goldwasser  ( 2020-03-13 12:07:01 -0500 )edit

there might be some file name issue (eg file name starting with ".") in the default weather file library when first downloading the PAT

Brianna's avatar Brianna  ( 2023-06-14 20:08:50 -0500 )edit