ChangeBuildingLocation BCL measure and PAT compatible?
I am trying to use the ChangeBuildingLocation BCL measure to in the Parametric Analysis Tool to automatically run a single building model in many different locations, but the weather file is not changing.
Is the function
OpenStudio::Weather::Epw.load(weather_file)
compatible with the PAT?
Post Script:
The PAT run resulted in a completed Fail because I used an empty file I made called blank.epw as the default weather file. I thought this would be okay because the weather file would be set by the ChangeBuildingLocation BCL measure. By changing the PAT default weather file to any valid epw file resulted in a successful run in PAT. I checked the generated idf and results, which confirmed all the objects and the epw file were changed successfully by the ChangeBuildingLocation BCL measure.
Yes, this should work in PAT. You need to copy the epw, ddy, and stat files into the weather directory for the project and then enter the epw file name (with the extension, but no path) as the argument for weather file name. Can you describe what behavior you are seeing, in particular the log messages from the measure and how you identified that simulation didn't use the correct epw.
@David Goldwasser I found the error. See the edit to my post. There was an run.txt error file generated, which is where I've found my mistakes before, but I couldn't make sense of it this time. After trying a few common sense things, I got it working. Sorry for the bother.
how about the setting for climate zone calendar year, upstream argument values, and find and replace option etc.? How to set up those if I am about to change the location ? Should I leave them as default? Lookup from stat file, 0, true, do nothing ?