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

Create a weather file from measured data

asked 2016-02-17 17:33:18 -0500

Wilson's avatar

updated 2020-01-20 13:35:44 -0500


I have measured data(4 years) for 3 outside parameters. Temperature, Relative Humidity and CO2 levels(I think CO2 levels is not present on a *epw file) . I'm using OpenStudio to make my simulations. It's valid to create a weather file, by editing the *.epw file of my city provided by EnergyPlus website, and put 1 year data on the correct field and delete all the rest of *.epw info? Can I create a *.epw file with just this 3 parameters? Thank you

edit retag flag offensive close merge delete


You would also need solar data. If it is missing and you are using E+ weather converter then it may be able to create estimates automatically for a complete EnergyPlus weather file.

Waseem's avatar Waseem  ( 2016-02-18 07:14:54 -0500 )edit

Thank you Waseem.

Wilson's avatar Wilson  ( 2016-03-15 12:27:39 -0500 )edit

3 Answers

Sort by ยป oldest newest most voted

answered 2016-02-18 13:59:58 -0500

Joe Huang's avatar

You also need 1) pressure (if you don't have it, use an elevation-adjusted average value), 2) wind speed and direction (especially important if you're doing natural ventilation), and as others have alluded, 3) global horizontal and direct normal solar radiation. I'm very much against mashing together weather data from different sources and time periods, and while that may "work" in the sense it doesn't crash the simulation, I doubt whether you're getting any improvement in the analysis which I would think was the motivation for such data manipulation. A simple illustration - if it's sunny and windy on a particular day in the "typical year" file, how confident are you that would also be true for the same calendar date of your file ?

My suggestion is that you go and look for the missing data elements from the closest weather station for the same time period. An unintended but unfortunate consequence with the proliferation of free "typical year" weather data is the perception that actual historical weather data are rare and hard to obtain, whereas the truth is exactly the opposite - you need 10-25 years of historical data just to create a "typical year" weather file. I recently participated in a webinar organized by the Chicago chapter of IBPSA-USA where I described various sources for historical data. The webinar presentations are available here.

edit flag offensive delete link more


Thank you Joe Huang. My location is Porto(Portugal). I'll try to find it in the sources you refer.

Wilson's avatar Wilson  ( 2016-03-15 12:31:48 -0500 )edit

answered 2016-02-17 20:00:13 -0500

Do you know about elements?

edit flag offensive delete link more


Thank you _AmirRoth_. I didn't knew elements. I'm exploring it.

Wilson's avatar Wilson  ( 2016-03-15 12:33:31 -0500 )edit

answered 2016-02-18 11:16:52 -0500

Also see answers to this question. As @Joe Huang stated:

solar radiation is highly correlated to other climatic factors, so if you merge solar from one place in time to temperature, humidity, etc. for another place at a different time, I'm really not sure how much improvement you're getting, or maybe even making it worse.

edit flag offensive delete link more


Thank you Eric Ringold.

Wilson's avatar Wilson  ( 2016-03-15 12:34:16 -0500 )edit

Your Answer

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

Add Answer


Question Tools



Asked: 2016-02-17 17:33:18 -0500

Seen: 665 times

Last updated: Feb 18 '16