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

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

asked 2016-09-19 11:12:17 -0600

updated 2016-09-20 12:22:39 -0600

Archmage gravatar image

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 flag offensive close merge delete

Comments

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

dradair gravatar image dradair  ( 2016-09-19 13:57:47 -0600 )edit

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

Jamie Bull gravatar image Jamie Bull  ( 2016-09-20 07:41:41 -0600 )edit

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

Jamie Bull gravatar image Jamie Bull  ( 2016-09-20 07:42:30 -0600 )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.

dradair gravatar image dradair  ( 2016-09-20 08:33:40 -0600 )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?

dradair gravatar image dradair  ( 2016-09-20 08:41:15 -0600 )edit

2 Answers

Sort by ยป oldest newest most voted
4

answered 2016-09-21 07:29:28 -0600

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.

edit flag offensive delete link more

Comments

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

dradair gravatar image dradair  ( 2016-09-21 08:17:27 -0600 )edit
0

answered 2020-12-17 07:31:21 -0600

Adrien gravatar image

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...

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

 

Question Tools

1 follower

Stats

Asked: 2016-09-19 11:12:17 -0600

Seen: 1,131 times

Last updated: Dec 17 '20