First time here? Check our help page!
1

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.

mldichter's avatar
2.6k
mldichter
asked 2018-10-03 16:47:47 -0500, updated 2018-10-04 13:50:46 -0500
edit flag offensive 0 remove flag close merge delete

Comments

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's avatar David Goldwasser (2018-10-03 18:37:34 -0500) edit

@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.

mldichter's avatar mldichter (2018-10-04 13:55:29 -0500) edit

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 ?

Brianna's avatar Brianna (2023-06-15 09:51:33 -0500) edit
add a comment see more comments

1 Answer

0

The ChangeBuildingLocation BCL measure is PAT compatible. The problem was a blank weather file used as the default in PAT before the ChangeBuildingLocation measure was applied. Even though the default weather file is replaced by the ChangeBuildingLocation measure, the default weather file must be a valid weather file according to PAT.

mldichter's avatar
2.6k
mldichter
answered 2018-10-04 15:18:09 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments