4

open source epw file interpreter exists (to parse and turn into classes for easy use)?

Just curious if there are any open source projects for grabbing an epw file and turning it into classes with simple commands to extract and make use of the data (in any language).

Chienman's avatar
588
Chienman
asked 2016-05-25 10:17:58 -0500
__AmirRoth__'s avatar
4.4k
__AmirRoth__
updated 2017-05-29 09:32:50 -0500
edit flag offensive 0 remove flag close merge delete

Comments

Elements probably has an internal data model that you could potentially extract and use as a library.

__AmirRoth__'s avatar __AmirRoth__ (2016-05-25 12:32:03 -0500) edit

Elements seems to be written in Flash / ActionScript or something like that; so unless that is the development platform or can interface with that code, it may not be possible to utilize it.

dhollman's avatar dhollman (2018-01-12 07:51:47 -0500) edit
add a comment see more comments

4 Answers

4

OpenStudio provides some basic capabilities to parse the EPW and return data in a couple different forms. I don't have a great example of the usage, but here is a link to the unit test that demonstrates (kind of) what can be done using the Ruby bindings.

You can access individual rows in the file, most of the header content, and you can get OpenStudio time series objects for the columns.

Jason DeGraw's avatar
2.2k
Jason DeGraw
answered 2016-05-25 13:34:35 -0500, updated 2016-05-25 13:43:07 -0500
edit flag offensive 0 remove flag delete link

Comments

I think this is the class you have in mind: https://openstudio-sdk-documentation....

dhollman's avatar dhollman (2017-09-19 10:43:34 -0500) edit
add a comment see more comments
4

I've found the following epw file parsers:

python

javascript

  • (EDIT): I made an epw2json script for epwvis.

There are also some tools in the OpenStudio ruby SDK.

Haven't found any opensource C# or C++ ones yet. Seems pretty straightforward. Just reference the epw.idd.

mdahlhausen's avatar
9.5k
mdahlhausen
answered 2016-06-15 13:10:06 -0500, updated 2016-09-26 15:46:52 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments
3

Hi Everybody-

Thanks for your feedback. For what it is worth, I couldn't find anything that could quickly meet my needs, but all of your help and comments helped point me in the right direction. Good to see people posting comments!

Anyhow, since I'm really pretty wedded to the .NET environment, and I'm familiar with those code libraries and dependencies, I just decided that it would be easiest to make a library that I wanted with the functionality that meet my current use cases and publish it on Github. This first version lets you grab data from any epw file and returns the hourly data with some statistical analysis of the data. Github explains the rest. I'll be adding to the project over the next couple of days.

https://github.com/chiensiTB/EnergyPl...

Chienman's avatar
588
Chienman
answered 2016-05-27 19:20:48 -0500, updated 2016-05-27 19:27:56 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments
1

I've not used it myself (yet) but you could take a look at pyepw.

Jamie Bull's avatar
5.1k
Jamie Bull
answered 2016-05-25 14:16:16 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments