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

How to merge an EnergyPlus IDF with an OpenStudio IDF?

asked 2016-03-03 10:21:50 -0600

updated 2016-03-03 10:57:10 -0600

I would like to merge two IDFs modeling two parts of the same building, one created in EnergyPlus IDF Editor and another in OpenStudio 1.10. The IDF Editor model contains a refrigerated warehouse that could not be created in OS, and the OS model contains the rest of the building (dry warehouse, office, kitchen, etc). Is there a way to do this without having duplicate surfaces, schedules, nodes, and without losing systems? I don't want to just copy and paste one IDF into another because I assume there will be problems with naming conventions between the two files for nodes, surfaces that would take forever to rename. I tried a variation of the process in the post below, but it did not merge the systems.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2016-03-03 11:15:05 -0600

If your workflow is to eventually add EnergyPlus objects that aren't available in OpenStudio, your best options are:

  • write a measure to add the EnergyPlus objects within the OpenStudio application
  • complete the model as much as possible in OpenStudio, then manually alter the IDF file it generates using IDF Editor or a text editor

If you have not written measures before, you can search the Building Component Library for public measures others have uploaded. If you want to learn how to write measures, the Measure Writing Guide is a good starting point.

The workflow on the question you linked is for merging two OpenStudio files (__.osm extension), so it likely won't work for merging two EnergyPlus files (__.idf extension).

edit flag offensive delete link more



This measure might be helpful, or this one.

Eric Ringold gravatar image Eric Ringold  ( 2016-03-03 11:19:31 -0600 )edit

this post has more information and a link to a video demonstration of the measure to merge OSM generated geometry into an existing IDF file. This is the second measure in @Eric Ringold's comment

David Goldwasser gravatar image David Goldwasser  ( 2016-03-03 13:39:09 -0600 )edit

@aaron, yes the question I linked is for two osm files, so I tried importing the idf file into OS and saving it as an osm object and following the directions in the link to merge the resulting osm file with my existing osm file. All this did was import the geometry from the idf file, and left out the refrigeration systems. @Eric, I will try the first measure you linked and see if that works.

kramerica gravatar image kramerica  ( 2016-03-03 17:26:36 -0600 )edit

I didn't find a way to do what I wanted, but instead just rebuilt the part of my model that I had mode in IDF editor. Mostly I could copy and post objects. The difficult part was creating/naming all the new schedules and connecting the nodes to the appropriate locations.

kramerica gravatar image kramerica  ( 2016-03-14 14:41:45 -0600 )edit

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: 2016-03-03 10:21:50 -0600

Seen: 451 times

Last updated: Mar 03 '16