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

Why does running EnergyPlus with an old IDD no longer fail?

asked 2018-10-02 04:49:36 -0600

I'm updating eppy to be able to use EnergyPlus v8.9.0 (I know, I know, v9.0.0 is just coming out, we'll get there), and one test is failing unexpectedly. This test asserts that if EnergyPlus is called with an IDD version that doesn't match the IDF version, the run fails.

I've tested this outside of eppy and it seems to be an issue with EnergyPlus itself. Is this expected behaviour?

Call:

C:\EnergyPlusV8-9-0>energyplus.exe --idd "C:\Users\<snip>\eppy\resources\iddfiles\Energy+V7_2_0.idd" "C:\Users\<snip>\eppy\resources\idffiles\V8_9\smallfile.idf"

Std out:

EnergyPlus Starting
EnergyPlus, Version 8.9.0-40101eaafd, YMD=2018.10.02 11:35
Adjusting Air System Sizing
Adjusting Standard 62.1 Ventilation Sizing
Initializing Simulation
Reporting Surfaces
Beginning Primary Simulation
Initializing New Environment Parameters
Warming up {1}
Starting Simulation at 12/21 for DENVER_STAPLETON ANN HTG 99.6% CONDNS DB
Initializing New Environment Parameters
Warming up {1}
Starting Simulation at 07/21 for DENVER_STAPLETON ANN CLG .4% CONDNS DB=>MWB
Writing tabular output file results using HTML format.
EnergyPlus Completed Successfully.

eplusout.err

Program Version,EnergyPlus, Version 8.9.0-40101eaafd, YMD=2018.10.02 11:35,
       ************* Testing Individual Branch Integrity
       ************* All Branches passed integrity testing
       ************* Testing Individual Supply Air Path Integrity
       ************* All Supply Air Paths passed integrity testing
       ************* Testing Individual Return Air Path Integrity
       ************* All Return Air Paths passed integrity testing
       ************* No node connection errors were found.
       ************* Beginning Simulation
       ************* Simulation Error Summary *************
       ************* EnergyPlus Warmup Error Summary. During Warmup: 0 Warning; 0 Severe Errors.
       ************* EnergyPlus Sizing Error Summary. During Sizing: 0 Warning; 0 Severe Errors.
       ************* EnergyPlus Completed Successfully-- 0 Warning; 0 Severe Errors; Elapsed Time=00hr 00min  0.30sec`
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2018-10-02 07:28:28 -0600

As of V8.9 the program no longer reads the IDD at runtime. Instead, the IDD is converted to JSON format at compile time and the JSON data structure is used for validation. You can read the brief description of this change here.

edit flag offensive delete link more

Comments

I want to add that ExpandObjects still uses the IDD at runtime when run from the command line. However, the main EnergyPlus simulation does not use the IDD at runtime like @rraustad's answer.

MarkAdams gravatar image MarkAdams  ( 2018-10-16 08:05:44 -0600 )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

Stats

Asked: 2018-10-02 04:49:36 -0600

Seen: 163 times

Last updated: Oct 02 '18