1

Adding EnergyPlus components to OpenStudio

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!

CosmoKramer's avatar
11
CosmoKramer
asked 2023-04-09 11:44:13 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

3 Answers

2

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.

Julien Marrec's avatar
29.7k
Julien Marrec
answered 2023-04-11 05:55:55 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments
1

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: josepsolebonet@telefonica.net)

josepsolebonet@telefonica.net's avatar
510
josepsolebonet@telefonica.net
answered 2023-04-11 11:51:32 -0500, updated 2023-04-11 11:52:40 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments
0

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

https://youtu.be/G_qk_FGXMlo

https://youtu.be/m5zyftyEf7s

Ski90Moo's avatar
869
Ski90Moo
answered 2023-04-12 08:51:24 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments