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

Adding EnergyPlus components to OpenStudio

asked 2023-04-09 11:44:13 -0500

CosmoKramer's avatar

Hi all -- I'm fairly new to EnergyPlus/OpenStudio and I'm wondering if there's a way to use the EnergyPlus components in OpenStudio (i.e., in the same way that you can use BCL measures). I'm particularly after the components ZoneCoolTower:Shower and ZoneEarthtube. Is there a way to 'convert' EnergyPlus components into OpenStudio through a script? Thanks in advance!

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted

answered 2023-04-11 05:55:55 -0500

Yes that is possible, this is referred to an an OpenStudio EnergyPlusMeasure (not an OpenStudio ModelMeasure), as the point where that measures run the Model (OSM) has been converted to an EnergyPlus Workspace (IDF).

See the section EnergyPlus Measures in the OpenStudio Measure Writing Guide.

These EnergyPlusMeasure can only be applied when your workflow is run though (unlike ModelMeasure which could can "Apply Now" to get a resulting modified OSM Model).

You can find a bunch of such measures on the BCL to draw inspiration from, and there is one that may suit your needs with minimal effort (if you want to apply it to a single model): Inject IDF Objects. The source of that measure is at NREL/openstudio-common-measures-gem and is pretty simple to follow.

There is also one that is installed with OpenStudio in /path/to/openstudio/compact_osw/measures/SetEplusInfiltration.

edit flag offensive delete link more

answered 2023-04-11 11:51:32 -0500

updated 2023-04-11 11:52:40 -0500

I wrote an E+ mesure to introduce an Earth Tube (pozo canadiense in Spanish) from OpenStudio using it is not necessary to manually modify the idf. I can send to you on a private message (my email:

edit flag offensive delete link more

answered 2023-04-12 08:51:24 -0500

You might also find these instructional videos helpful for writing measures:

edit flag offensive delete link more

Your Answer

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

Add Answer

Training Workshops


Question Tools

1 follower


Asked: 2023-04-09 11:44:13 -0500

Seen: 119 times

Last updated: Apr 12 '23