1

Custom EPW file errors with 5 minute data.

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.

Tomwell17's avatar
11
Tomwell17
asked 2023-02-14 11:59:31 -0500
Aaron Boranian's avatar
14.1k
Aaron Boranian
updated 2023-02-15 10:23:31 -0500
edit flag offensive 0 remove flag close merge delete

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 (2023-02-14 17:01:13 -0500) edit
1

Seems to be pretty similar issue to this post.

Aaron Boranian's avatar Aaron Boranian (2023-02-15 12:35:57 -0500) edit
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 (2023-02-15 12:41:27 -0500) edit
add a comment see more comments

1 Answer

2

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

lklawrie's avatar
450
lklawrie
answered 2023-02-15 09:09:12 -0500
edit flag offensive 0 remove flag delete 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 (2023-02-15 09:11:36 -0500) edit
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 (2023-02-15 11:24:13 -0500) edit

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 (2023-02-15 12:17:55 -0500) edit
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 (2023-02-15 13:12:14 -0500) edit

@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 (2023-02-15 13:28:58 -0500) edit
add a comment see more comments