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

Using own weather files in PAT tool

asked 2019-12-26 14:43:37 -0500

y.tanaka gravatar image

I would like to run PAT tool analysis on project_singlefamilydetached using TMY2 and TMY weather files for one region only (Alpena, Michigan).

Going through the tutorial on the ResStock "readthedocs", I have done the following:

Downloaded and zipped both the .ddy and .epw file of the TMY2 weather data for the area I want. The zipped folder is located on my machine, NOT in an S3 bucket, called USA_MI_Alpena.726390_TMY2. The two files contained are:

a. USA_MI_Alpena.County.Rgnl.AP.726390_TMY2.ddy

b. USA_MI_Alpena.County.Rgnl.AP.726390_TMY2.epw

The contents are shown: image description

Changed the following cells in the "Location Weather Filename" and "Location Weather Year" tsv files:

Location Weather Filename image description image description

Location Weather Year image description

Changed the Worker Initialization Script argument to the absolute path of my zipped folder containing my desired weather files.

image description

Despite the above changes, running the analysis ultimately results in datapoint failure. I compared the log files for building ID:1, one after running PAT tool with my own weather files, and one after running PAT tool with the default weather files (i.e. using project_national_resstock, referencing from the S3 bucket, etc.). I've observed the error occurs approximately here:

image description

The error states as follows:

Cannot find file /mnt/openstudio/analysis_3d4139f0-c511-41b9-9d2a-3c729da19d05/lib/housing_characteristics/buildstock.csv.

What am I doing incorrectly in this process of using my own weather files? Do I have to reference an S3 bucket in PAT tool since I'm using AWS to run simulations?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
3

answered 2019-12-26 14:49:32 -0500

I believe you need to upload the weather file zip somewhere (dropbox, google drive, etc.) and paste the url in that Script Arguments field (it can't be a local drive location).

edit flag offensive delete link more

Comments

Thank you! Yes, uploading the zipped weather files into Dropbox, and using the download link to the respective files, seemed to do the trick for me. However, I needed to relabel the corresponding TMY2 and TMY files as if they were TMY3, otherwise, PAT tool would not work.

y.tanaka gravatar imagey.tanaka ( 2020-01-10 13:23:23 -0500 )edit
0

answered 2020-01-10 13:26:22 -0500

y.tanaka gravatar image

Using weather file zip locally will not work (i.e. from your own machine). What I found worked was taking the desired zipped weather files, uploading them into Dropbox/Google Drive, then using the download link to those respective files into the Script Argument section for Worker Initialization Script.

However, I made sure to relabel the TMY2/TMY zipped file as if they were TMY3. And I changed the location-weather-filename and location-weather-year back to default. For some reason, it won't work otherwise. To sum it up, I was still able to use different weather files, but they're just labeled as if they were TMY3.

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: 2019-12-26 14:43:37 -0500

Seen: 66 times

Last updated: Jan 10