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 6 years ago

Mitchal Dichter's avatar

updated 6 years ago

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.

Preview: (hide)

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  ( 6 years ago )

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

Mitchal Dichter's avatar Mitchal Dichter  ( 6 years ago )

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  ( 1 year ago )

1 Answer

Sort by » oldest newest most voted
0

answered 6 years ago

Mitchal Dichter's avatar

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.

Preview: (hide)
link

Your Answer

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

Add Answer

Training Workshops

Careers

Question Tools

1 follower

Stats

Asked: 6 years ago

Seen: 188 times

Last updated: Oct 04 '18