NREL / EnergyPlus

EnergyPlus™ is a whole building energy simulation program that engineers, architects, and researchers use to model both energy consumption and water use in buildings.
https://energyplus.net
Other
1.13k stars 389 forks source link

ExpandObjects.exe ignores Energy+.ini and just want the IDD to be copied in the working directory #8428

Open souliane opened 3 years ago

souliane commented 3 years ago

Issue overview

I added Energy+ installation directory to my path environment variable because I want to run ExpandObjects.exe from another directory, where my in.idf file is. ExpandObjects.exe complains about Energy+.ini bad configuration...

Cannot find Energy+.idd as specified in Energy+.ini.

... but seems to actually ignore it. I tried several things to configure the Energy+.ini (putting it in Energy+ installation directory or in my working directory, writing the path with slash or backslash, as I was initially trying with Windows Subsystem for Linux I later tried directly in Windows command prompt) but nothing worked. Finally the sole thing that seem to work is to copy the IDD to my working directory.

Even If I write a non existing path to Energy+.ini in the "program / dir" setting, it would still work if the IDD is in my working directory. As long as I delete the IDD from the working directory, nothing works.

Details

chenghaow commented 3 years ago

Similar issue found in LINUX. Copy IDD to the working directory should work. I guess this is a bug.