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

eppy ideal air loads not compatible?

asked 2018-05-30 18:32:24 -0600

Yueyue_Zhou gravatar image

updated 2018-05-31 07:59:07 -0600

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.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2018-05-31 04:23:57 -0600

updated 2018-05-31 04:51:00 -0600

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)

edit flag offensive delete link more

Comments

Thanks, Julien!! it works well!!!

Yueyue_Zhou gravatar imageYueyue_Zhou ( 2018-06-12 11:24:09 -0600 )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 gravatar imageJulien Marrec ( 2018-06-13 02:29:13 -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

Stats

Asked: 2018-05-30 18:30:05 -0600

Seen: 51 times

Last updated: May 31