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

Understanding EPW leap year header

asked 2024-06-12 11:18:44 -0600

Jérôme's avatar

updated 2024-06-12 15:02:54 -0600

I'm developing a tool that exports weather data as epw. I'm wondering about the leap year header.

I'm exporting "true data", so for leap years, I always have Feb 29th data.

When exporting full years, the logic is simple, the leap year header should be "Yes" on leap years.

What if I'm exporting January data, or May-September data?

It boils down to what the flags is used for. IIUC, it means that if "Yes", E+ will expect Feb 29th data on leap years, otherwise not. In this case, and since I'm exporting true data, it shouldn't hurt to always set it to yes, right?

This seems to be confirmed by the reading of this PR so it should be true for E+ >= 9.1.0.

I'd be happy to get confirmation.

Assuming my understanding of E+ behaviour is correct, I'm still interested in what the "EPW standard" defines for this field, as other softwares consuming EPW might be more strict about it. I don't find the docs so explicit about it.

Thanks.

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
2

answered 2024-06-13 03:52:05 -0600

PmP's avatar

To my knowledge, as I had to research a bit about how E+ treats gap years for some simulations, your understanding is correct.

First, here is a really old post that talks about it, just to add information to the subject: https://onebuilding.org/archive/energyplus-support/msg00012.html

You asked, "it shouldn't hurt to always set it to yes, right?" The answer is yes, as you have to go out of your way to simulate a gap year: The .idf NEEDS to have the runperiod on a gap year, the gap year data has to be in the .epw and the flag set to yes. If you simulate the runperiod on the .idf as 2019 for example, the gap year won't be simulated nor affect the simulation.

"What if I'm exporting January data, or May-September data?" then, as long as the .idf does not try to simulate days that are not in the .EPW, the gap year flag won't affect anything.

Good luck making your tool and I hope you can share it here once its done!,

PMP

edit flag offensive delete link more

Comments

Thansk for confirming. I'd be happy to share the tool. It is currently private but I'll advocate in my company for releasing it under a free license.

Jérôme's avatar Jérôme  ( 2024-06-14 08:35:12 -0600 )edit

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: 2024-06-12 11:18:44 -0600

Seen: 132 times

Last updated: Jun 14