Skip to content

"Start Here" tutorial produces EnergyPlusRunError #209

@rdmolony

Description

@rdmolony

Hi @jamiebull1, I created a geomeppy docker environment & a Github repo which copies the geomeppy tutorials to enable running the tutorials via docker and unfortunately this bug popped up.

To reproduce:

  1. Clone repo containing a Jupyter Notebook of tutorial and all required files
  2. Run Jupyter Notebook in a geomeppy docker environment
  3. Run the start_here.ipynb tutorial
git clone https://github.com/rdmolony/geomeppy-tutorials
cd geomeppy-tutorials
docker run -it --rm -p 8888:8888 -v $(pwd):/geomeppy-tutorials rdmolony/geomeppy:ep9.1.0-ge0.11.8
jnbook

This docker environment (see github and docker hub) installs geomeppy 0.11.8 and EnergyPlus 9.1.0 as stated in the tutorial

Bug:

idf.run()

/usr/local/bin/energyplus --weather /geomeppy-tutorials/IRL_Dublin.039690_IWEC.epw --output-directory /geomeppy-tutorials --idd /usr/local/bin/Energy+.idd --expandobjects /geomeppy-tutorials/in.idf

---------------------------------------------------------------------------
CalledProcessError                        Traceback (most recent call last)
/usr/local/lib/python3.7/site-packages/eppy/runner/run_functions.py in run(idf, weather, output_directory, annual, design_day, idd, epmacro, expandobjects, readvars, output_prefix, output_suffix, version, verbose, ep_version)
    355             print("\r\n" + " ".join(cmd) + "\r\n")
--> 356             check_call(cmd)
    357         elif verbose == "q":

/usr/local/lib/python3.7/subprocess.py in check_call(*popenargs, **kwargs)
    362             cmd = popenargs[0]
--> 363         raise CalledProcessError(retcode, cmd)
    364     return 0

CalledProcessError: Command '['/usr/local/bin/energyplus', '--weather', '/geomeppy-tutorials/IRL_Dublin.039690_IWEC.epw', '--output-directory', '/geomeppy-tutorials', '--idd', '/usr/local/bin/Energy+.idd', '--expandobjects', '/geomeppy-tutorials/in.idf']' returned non-zero exit status 1.

During handling of the above exception, another exception occurred:

EnergyPlusRunError                        Traceback (most recent call last)
<ipython-input-8-031bf0ca3325> in <module>
----> 1 idf.run()

/usr/local/lib/python3.7/site-packages/eppy/modeleditor.py in run(self, **kwargs)
   1008         epw = kwargs.pop("weather", self.epw)
   1009         try:
-> 1010             run(self, weather=epw, idd=idd, **kwargs)
   1011         finally:
   1012             os.remove("in.idf")

/usr/local/lib/python3.7/site-packages/eppy/runner/run_functions.py in run(idf, weather, output_directory, annual, design_day, idd, epmacro, expandobjects, readvars, output_prefix, output_suffix, version, verbose, ep_version)
    359     except CalledProcessError:
    360         message = parse_error(tmp_err, output_dir)
--> 361         raise EnergyPlusRunError(message)
    362     finally:
    363         sys.stderr = sys.__stderr__

EnergyPlusRunError: 

Contents of EnergyPlus error file at /geomeppy-tutorials/eplusout.err
Program Version,EnergyPlus, Version 9.1.0-08d2e308bb, YMD=2021.01.07 10:45,
   **  Fatal  ** Input file path /geomeppy-tutorials/eplusout.expidf not found
   ...Summary of Errors that led to program termination:
   ..... Reference severe error count=0
   ..... Last severe error=
   ************* 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; 0 Severe Errors; Elapsed Time=00hr 00min  0.11sec

Thanks for creating/maintaining geomeppy and eppy - really really useful repos! I'm very eager to get this docker environment working so I can leverage geomeppy for IDF file manipulation

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions