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

"Inject IDF Objects" Measure Error

asked 2017-01-03 05:17:10 -0500

Craig Simmons gravatar image

updated 2017-05-08 16:01:20 -0500

I am trying to set up a model that uses the GroudSlabPreProcessor via an IDF that has the appropriate settings (rather than being ties to AEDG measure settings). I'm getting an error that seems to be related to ExpandObjects not running. Essentially I went ahead set the Boundary consitions to "GroundSlabPreProcessorAverage" assuming it would work out once the remaining IDF data was in place. The OS Output gives the following:

ExpandObjects Started. No expanded file generated. ExpandObjects Finished. Time: 0.218 Script executing from: C:/Users/csimmons/AppData/Local/Temp/OpenStudio.Of7564/resources/run/4-UserScript-0 Found argument 'source_idf_path' with value 'C:\Modeling Central\OpenStudio Projects\St Joseph School\Slab\st joseph slab_unins.idf'. Found UserScript ' Inject IDF Ojbects'. result = true

and the E+ Error file gives the following for each of the surfaces:

* Severe * BuildingSurface:Detailed="SURFACE 79", invalid Outside Boundary Condition="GROUNDSLABPREPROCESSORAVERAGE". * ~~~ * The ExpandObjects program has not been run or is not in your EnergyPlus.exe folder.

I assume the IDF isn't being injected and so the boundary condition becomes invalid. I don't know why the ExpandObjects isn't doing anything though.

PS - Using OpenStudio v1.13

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2017-01-03 15:01:06 -0500

updated 2017-01-03 15:03:47 -0500

I suspect you are trying to 'inject' un-expanded idf objects using that measure into an already 'expanded' idf.

The measure modifies the idf that is created from the OpenStudio osm following the steps outlined here. Notice that typically, step 3 runs the ExpandObjects auxiliary program on the idf, then step 4 applies EnergyPlus measure modifications to the expanded idf. If, in step 4, you inject objects that need to be expanded but never get expanded, you'll get that error.

I think to get around this you'll need to explicitly re-run the ExpandObjects program as well as the GroundSlabPreProcessor for things to work. It appears this is the approach taken by the "AEDG Small to Medium Office - SlabAndBasement" measure, which might be helpful if you're interested in 'rolling your own' solution.

edit flag offensive delete link more


I had originally thought to use that measure but had trouble with it as well. I have since figured out some of the problems I was having. I'll go back and try it again and post any problems separately. Thanks for the help.

Craig Simmons gravatar image Craig Simmons  ( 2017-01-04 03:36:12 -0500 )edit

Your Answer

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

Add Answer


Question Tools

1 follower


Asked: 2017-01-03 05:17:10 -0500

Seen: 387 times

Last updated: Jan 03 '17