2

eppy ideal air loads not compatible?

I want to run the idf file in python with eppy package, and the idf file is the one exported from OpenStudio with "Ideal Air Loads On". If I just want to see the load results and don't want to do any details about system, the ideal air load calculation seem to be a good solution. But when I ran the script like "idf1.run()", there're errors like below:

Program Version,EnergyPlus, Version 8.9.0-40101eaafd, YMD=2018.05.30 16:23,
   ** Severe  ** Line: 8112 You must run the ExpandObjects program for "HVACTemplate:Zone:IdealLoadsAirSystem"
   ** Severe  ** Line: 8140 You must run the ExpandObjects program for "HVACTemplate:Zone:IdealLoadsAirSystem"
   ** Severe  ** Line: 8168 You must run the ExpandObjects program for "HVACTemplate:Zone:IdealLoadsAirSystem"
   ** Severe  ** Line: 8196 You must run the ExpandObjects program for "HVACTemplate:Zone:IdealLoadsAirSystem"
   ** Severe  ** Line: 8224 You must run the ExpandObjects program for "HVACTemplate:Zone:IdealLoadsAirSystem"
   ** Severe  ** Line: 8252 You must run the ExpandObjects program for "HVACTemplate:Zone:IdealLoadsAirSystem"
   ** Severe  ** Line: 8280 You must run the ExpandObjects program for "HVACTemplate:Zone:IdealLoadsAirSystem"
   ** Severe  ** Line: 8308 You must run the ExpandObjects program for "HVACTemplate:Zone:IdealLoadsAirSystem"
   ** Severe  ** Line: 8336 You must run the ExpandObjects program for "HVACTemplate:Zone:IdealLoadsAirSystem"
   ** Severe  ** Line: 8364 You must run the ExpandObjects program for "HVACTemplate:Zone:IdealLoadsAirSystem"
   ** Severe  ** Line: 8392 You must run the ExpandObjects program for "HVACTemplate:Zone:IdealLoadsAirSystem"
   ** Severe  ** Line: 8420 You must run the ExpandObjects program for "HVACTemplate:Zone:IdealLoadsAirSystem"
   **  Fatal  ** Errors occurred on processing input file. Preceding condition(s) cause termination.
   ...Summary of Errors that led to program termination:
   ..... Reference severe error count=12
   ..... Last severe error=Line: 8420 You must run the ExpandObjects program for "HVACTemplate:Zone:IdealLoadsAirSystem"
   ************* Warning:  Node connection errors not checked - most system input has not been read (see previous warning).
   ************* Fatal error -- final processing.  Program exited before simulations began.  See previous error messages.
   ************* EnergyPlus Warmup Error Summary. During Warmup: 0 Warning; 0 Severe Errors.
   ************* EnergyPlus Sizing Error Summary. During Sizing: 0 Warning; 0 Severe Errors.
   ************* EnergyPlus Terminated--Fatal Error Detected. 0 Warning; 12 Severe Errors; Elapsed Time=00hr 00min  0.22sec

Is eppy run function not compatible with ideal air load calculation? Since the file could run successfully in EP-Launch.

Yueyue_Zhou's avatar
499
Yueyue_Zhou
asked 2018-05-30 18:32:24 -0500
__AmirRoth__'s avatar
4.4k
__AmirRoth__
updated 2018-05-31 07:59:07 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

1

The error is informative:

You must run the ExpandObjects program for "HVACTemplate:Zone:IdealLoadsAirSystem"

In Eppy, you must pass the expandobjects=True to the run() function (eg: idf1.run(expandobjects=True)). By default this parameter is False.

See the docstring of the run function eppy.runner.run_functions:

def run(...)

[...]

expandobjects : bool, optional

Run ExpandObjects prior to simulation (default: False)

Julien Marrec's avatar
29.7k
Julien Marrec
answered 2018-05-31 04:23:57 -0500, updated 2018-05-31 04:51:00 -0500
edit flag offensive 0 remove flag delete link

Comments

Thanks, Julien!! it works well!!!

Yueyue_Zhou's avatar Yueyue_Zhou (2018-06-12 11:24:09 -0500) edit

Glad it did. Please mark the answer as accepted (check mark turns green) if it solved the problem so the thread is flagged as resolved, thx

Julien Marrec's avatar Julien Marrec (2018-06-13 02:29:13 -0500) edit
add a comment see more comments