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

Custom EPW file errors with 5 minute data.

asked 2 years ago

Tomwell17's avatar

updated 2 years ago

I have created a custom weather file that contains 5-minute data from 12/22/2022 to 12/28/2022. I am using this data to verify our building model with real data that was taking during the winter. I am getting the error bellow:

**  Fatal  ** Unexpected error condition in middle of reading EPW file, stopped at 2022/12/23 12:50

I have triple checked this line in the text file but have not been able to locate any errors. I also went through the auxiliary programs pdf to replace the data that I do not have with the respective missing value numbers. I collect on-site weather data every 1 minute and pulled 5-minute solar data to fill that. I had no values for Horizontal Infrared Radiation so I tried leaving it empty and also replaced with TMY values just to get it to run but failed.

Here is the drive link to the weather file: https://drive.google.com/file/d/1yz5V...

Any help would be greatly appreciated as I have been banging my head on the wall for hours now.

Thanks.

Preview: (hide)

Comments

@Tomwell17 while you can't attach your weather file to this post, you can upload it to a file storage service like Google Drive, Dropbox, etc. and then share the URL here for others to access.

Aaron Boranian's avatar Aaron Boranian  ( 2 years ago )
1

Seems to be pretty similar issue to this post.

Aaron Boranian's avatar Aaron Boranian  ( 2 years ago )
1

Yeah, I looked into that one. Instead of a .csv and .def file using the weather converter, I took a sample TMY weather file for the local airport that is used for E+ simulations already. I kept all the headers and input my custom weather data and tried to fill the 'missing values' in following the auxiliary document. Then I output the rows into Notepad ++ and save as an .epw. A little brute force approach and maybe I need to revisit the weather converter.

Tomwell17's avatar Tomwell17  ( 2 years ago )

1 Answer

Sort by » oldest newest most voted
2

answered 2 years ago

lklawrie's avatar

@Tomwell17 If you upload your file somewhere, I will take a look at it.

Preview: (hide)
link

Comments

I added the google drive link in my post but it is under review. Here is the link: https://drive.google.com/file/d/1yz5V...

Thanks!

Tomwell17's avatar Tomwell17  ( 2 years ago )
1

1) I don't believe EPlus likes weather files that start in the middle of the day.

2) I played around with records in the epw file but could not get a resolution. Can fire up my debug version later (it's old but might help)

lklawrie's avatar lklawrie  ( 2 years ago )

I have a little more on the debugging part...

It seems to be more with the content of the weather file.

  1. I reverted the minutes from '2:60' back to '3:00'
  2. I removed the 5-minute intervals and used only data at the hour mark (modifying the timestep variable in the .idf and also the intervals per hour in the DATA PERIODS line in the .epw file.)
  3. I tested only full days of data (12/23 - 12/27)

Still, I receive the same error where fatal error occurs reading the weather file.

I will go back to the auxiliary document to make sure I am putting the correct 'missing' values.

Thanks!

Tomwell17's avatar Tomwell17  ( 2 years ago )
1

@Tomwell17 I ran partial file thru the weatherconverter we use on climate.onebuilding.org It seemed to resolve the issue. Here is a dropbox link. https://www.dropbox.com/sh/b48ciay6dc...

lklawrie's avatar lklawrie  ( 2 years ago )

@lklawrie it looks great and I tested it to verify. I will use this method instead of trying to use my own method. Thank you for your help!

Tomwell17's avatar Tomwell17  ( 2 years ago )

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: 2 years ago

Seen: 250 times

Last updated: Feb 15 '23