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

ChangeBuildingLocation BCL measure and PAT compatible?

asked 2018-10-03 16:47:47 -0500

mldichter gravatar image

updated 2018-10-04 13:50:46 -0500

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.

edit retag flag offensive 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 gravatar imageDavid 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 gravatar imagemldichter ( 2018-10-04 13:55:29 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2018-10-04 15:18:09 -0500

mldichter gravatar image

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.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

 



Question Tools

1 follower

Stats

Asked: 2018-10-03 16:47:47 -0500

Seen: 62 times

Last updated: Oct 04 '18