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

# How do I solve an Energy+.ini file missing error?

I've seen several other threads, but no solid answer I could decipher. So, this could be basic and I'm daft.

I am getting an error that my Energy+.ini file is missing, and therefore 'entire eso treated as dictionary'....? (and takes forever to finish....)

* Warning * Output:PreprocessorMessage="ExpandObjects" has the following Warning condition:
* ~~~ * Cannot find Energy+.idd as specified in Energy+.ini.
* Warning * Output:PreprocessorMessage="ExpandObjects" has the following Warning conditions:
* ~~~ * Since the Energy+.IDD file cannot be read no range or choice checking was
* ~~~ * performed.


Where exactly should this file exist? Does it go with the model folder/file or does it exist somewhere in the C:\EnergyPlusV8-5-0 directory? I can't seem to find it.

I've looked through the documentation on BigLadder, but am confused/lost. I'm not trying to use a custom idd here, just the 'stock' one that comes with E+v8.5 is fine.

edit retag close merge delete

Maybe a good/better follow-up is the role this plays in 'pointing' to a 'custom? modified idd file....?

( 2016-09-19 13:57:47 -0500 )edit

Are you seeing this error when calling EnergyPlus from the command line? From EPLaunch? A third-party interface?

( 2016-09-20 07:41:41 -0500 )edit

And can you post the whole error message? Even if it doesn't help directly, it might help future searchers.

( 2016-09-20 07:42:30 -0500 )edit

Sure. Running from EPlaunch. I'm not good enough wizard for cli ....yet. Error message is first appears in the 'simulation in progress' window (black window, looks like cli / ms-dos.) also appears in the .err file:

* Warning * Output:PreprocessorMessage="ExpandObjects" has the following Warning condition: * ~~~ * Cannot find Energy+.idd as specified in Energy+.ini. * Warning * Output:PreprocessorMessage="ExpandObjects" has the following Warning conditions: * ~~~ * Since the Energy+.IDD file cannot be read no range or choice checking was * ~~~ * performed.

( 2016-09-20 08:33:40 -0500 )edit

Additional question...while not appearing in the error file....I am having a LONG delay at the end of a sizing run (re: not full sim)....with a cryptic 'treating ESO ad the data dictionary"....ideas?

( 2016-09-20 08:41:15 -0500 )edit

Sort by » oldest newest most voted

In the default installation of EnergyPlus, when using EP-Launch, the Energy+.ini is not necessary. If you have one in the installation directory, try removing it and see if you still get that message. The message that you see is generated by the ExpandObjects processor that handles mostly the HVACTemplate objects. If you are using EP-Launch and ExpandObjects is in the installation directory and the Energy+.idd file is also in the same installation directory and the installation directory is the default such as c:\EnergyPlusV8-5-0 then you not get that message.

When ExpandObjects starts, it looks for the Energy+.ini file and if it finds one, it uses the directory name specified by the line dir= in the [program] group of lines. Even when this was commonly included in the installation the Energy+.ini file often looked like:

  [program]
dir=


If the dir= is specified in your Energy+.ini file, it should point to the directory that the Energy+.idd file is located. By default, the installation does not include the Energy+.ini file and then ExpandObjects just looks in the same directory that it is in for the Energy+.idd file.

If you are not using EP-Launch but are using the command line interface or a batch file things can get a little more complicated because ExpandObjects is expecting to be run directly from the directory where it exists.

more

Thank you! While I don't 100% follow some of what is going on with batching & what-not - I'll (hopefully) get there.

Main message is that I don't need it, but if I have it see if there error goes away. Step 2 would be looking at what I need to do if I get into batch / CLI runs.

Thanks a ton - DA

( 2016-09-21 08:17:27 -0500 )edit

I just created a bug report because I could not get rid of this error via the configuration of Energy+.ini, but I need to copy the IDD file to my working directory: https://github.com/NREL/EnergyPlus/is...

more