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

Running EnergyPlus through an API

asked 5 years ago

updated 5 years ago

Hello,

I'm new to EnergyPlus and was wondering if it would be possible to access it via an API?

The idea is to have the building modeled in EnergyPlus, and then to have our application (opentaps.org) access it by passing in weather data and then getting in return modeled energy use. We would then calculate the energy savings against actual meter readings, value those energy savings, and distribute payments between different groups (building owner, tenants, investor, etc.)

Do you currently have an API access? If not do you think it would make sense for us to make one for EnergyPlus?

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
6

answered 5 years ago

Nearly everyone who uses EnergyPlus interacts with it through an API.

OpenStudio is the primary API for EnergyPlus. EnergyPlus and OpenStudio are maintained by NREL. jEPlus, eppy (python), and params are other APIs for EnergyPlus that other forum users have made work.

I strongly recommend using one of the above APIs instead of making your own. It's a lot of work to just maintain an API to stay up to date with recent versions of EnergyPlus, let alone build one.

Preview: (hide)
link

Comments

Absolutely! We'd certainly use an existing API instead of trying to develop one ourselves!

I had read about OpenStudio before but thought it was more for visually modeling buildings, rather than running weather data through an existing building model to calculate the energy use. Maybe I missed something there?

Also I thought that ModelKit (params) seems to have a lot of what we're looking for. I liked that they have some prototype commercial buildings models. Has anybody had any experience working with ModelKit/Params?

sichen1234's avatar sichen1234  ( 5 years ago )

The devs will mostly agree that OpenStudio is better suited for parametric modeling, instead of a single "proposed building" case. Take a look at the example files for the Parametric Analysis Tool. I have set up scenarios similar to what you describe, but to run sensitivity studies. Regarding the prototype commercial buildings, you can take a look at the 'openstudio-standards' gem.

Luis Lara's avatar Luis Lara  ( 5 years ago )

Thanks, Luis. That is very interesting. Actually I'm going to start a separate topic on this: https://unmethours.com/question/42673...

sichen1234's avatar sichen1234  ( 5 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: 5 years ago

Seen: 502 times

Last updated: Jan 31 '20