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

Revision history [back]

click to hide/show revision 1
initial version

EPPY error in running simulation using IDF.Run

Hi,

I'm running into some errors in trying to run an EnergyPlus simulation through EPPY. I am working on a Windows OS. To give a simple example of the error I am trying to run the '1ZoneUncontrolled.idf' with EnergyPlus 8.5 from the E+ examples with an EPW for Amsterdam (renamed 'someWeather.epw' here).

When I run the following python code (all these files are containted within the current 'C:\Z_TestEPPY' directory):

iddfile = "Energy+V8_5_0.idd"

IDF.setiddname(iddfile)

idfname = '1ZoneUncontrolled.idf'

epwfile = 'someWeather.epw'

Idf = IDF(idfname, epwfile)

Idf.run()

I get the following errors:

ERROR: Could not find input data dictionary: C:\Users\20171493\AppData\Local\Temp\tmp79zt77cw\Energy+V8_5_0.idd. Type 'energyplus --help' for usage. Traceback (most recent call last):
File "C:\Python39\lib\site-packages\eppy\runner\run_functions.py", line 356, in run check_call(cmd) File "C:\Python39\lib\subprocess.py", line 373, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['C:/EnergyPlusV8-5-0\energyplus.exe', '--weather', 'C:\Z_TestEPPY\someWeather.epw', '--output-directory', 'C:\Z_TestEPPY', '--idd', 'Energy+V8_5_0.idd', 'C:\Z_TestEPPY\in.idf']' returned non-zero exit status 1.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Python39\lib\site-packages\eppy\modeleditor.py", line 1010, in run run(self, weather=epw, idd=idd, **kwargs) File "C:\Python39\lib\site-packages\eppy\runner\run_functions.py", line 361, in run raise EnergyPlusRunError(message) eppy.runner.run_functions.EnergyPlusRunError:

Contents of EnergyPlus error file at C:\Z_TestEPPY\eplusout.err <file not="" found="">

I run into this error regardless of the directory, idf or EnergyPlus version that I use. I noted that in the line 'C:/EnergyPlusV8-5-0\e' in the error message there is an inconsistency in the path directory seperators where C:/ does not have an escape character before it. Also the in.idf file does not get created.

Here you can find a link to all the files that I am using in this example.

Kind regards,

Samuel

EPPY error in running simulation using IDF.Run

Hi,

I'm running into some errors in trying to run an EnergyPlus simulation through EPPY. I am working on a Windows OS. To give a simple example of the error I am trying to run the '1ZoneUncontrolled.idf' with EnergyPlus 8.5 from the E+ examples with an EPW for Amsterdam (renamed 'someWeather.epw' here).

When I run the following python code (all these files are containted within the current 'C:\Z_TestEPPY' directory):

directory):

import eppy import sys import os from eppy.modeleditor import IDF

iddfile = "Energy+V8_5_0.idd"

"Energy+V8_5_0.idd" IDF.setiddname(iddfile)

idfname = '1ZoneUncontrolled.idf'

'1ZoneUncontrolled.idf' epwfile = 'someWeather.epw'

Idf = IDF(idfname, epwfile)

epwfile) Idf.run()

I get the following errors:

ERROR: Could not find input data dictionary: C:\Users\20171493\AppData\Local\Temp\tmp79zt77cw\Energy+V8_5_0.idd. Type 'energyplus --help' for usage. Traceback (most recent call last):
File "C:\Python39\lib\site-packages\eppy\runner\run_functions.py", line 356, in run check_call(cmd) File "C:\Python39\lib\subprocess.py", line 373, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['C:/EnergyPlusV8-5-0\energyplus.exe', '--weather', 'C:\Z_TestEPPY\someWeather.epw', '--output-directory', 'C:\Z_TestEPPY', '--idd', 'Energy+V8_5_0.idd', 'C:\Z_TestEPPY\in.idf']' returned non-zero exit status 1.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Python39\lib\site-packages\eppy\modeleditor.py", line 1010, in run run(self, weather=epw, idd=idd, **kwargs) File "C:\Python39\lib\site-packages\eppy\runner\run_functions.py", line 361, in run raise EnergyPlusRunError(message) eppy.runner.run_functions.EnergyPlusRunError:

Contents of EnergyPlus error file at C:\Z_TestEPPY\eplusout.err <file not="" found="">

I run into this error regardless of the directory, idf or EnergyPlus version that I use. I noted that in the line 'C:/EnergyPlusV8-5-0\e' in the error message there is an inconsistency in the path directory seperators where C:/ does not have an escape character before it. Also the in.idf file does not get created.

Here you can find a link to all the files that I am using in this example.

Kind regards,

Samuel

EPPY error in running simulation using IDF.Run

Hi,

I'm running into some errors in trying to run an EnergyPlus simulation through EPPY. I am working on a Windows OS. To give a simple example of the error I am trying to run the '1ZoneUncontrolled.idf' with EnergyPlus 8.5 from the E+ examples with an EPW for Amsterdam (renamed 'someWeather.epw' here).

When I run the following python code (all these files are containted within the current 'C:\Z_TestEPPY' directory):

import eppy eppy

import sys sys

import os os

from eppy.modeleditor import IDF

iddfile = "Energy+V8_5_0.idd" "Energy+V8_5_0.idd"

IDF.setiddname(iddfile)

idfname = '1ZoneUncontrolled.idf' '1ZoneUncontrolled.idf'

epwfile = 'someWeather.epw'

Idf = IDF(idfname, epwfile) epwfile)

Idf.run()

I get the following errors:

ERROR: Could not find input data dictionary: C:\Users\20171493\AppData\Local\Temp\tmp79zt77cw\Energy+V8_5_0.idd. Type 'energyplus --help' for usage. Traceback (most recent call last):
File "C:\Python39\lib\site-packages\eppy\runner\run_functions.py", line 356, in run check_call(cmd) File "C:\Python39\lib\subprocess.py", line 373, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['C:/EnergyPlusV8-5-0\energyplus.exe', '--weather', 'C:\Z_TestEPPY\someWeather.epw', '--output-directory', 'C:\Z_TestEPPY', '--idd', 'Energy+V8_5_0.idd', 'C:\Z_TestEPPY\in.idf']' returned non-zero exit status 1.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Python39\lib\site-packages\eppy\modeleditor.py", line 1010, in run run(self, weather=epw, idd=idd, **kwargs) File "C:\Python39\lib\site-packages\eppy\runner\run_functions.py", line 361, in run raise EnergyPlusRunError(message) eppy.runner.run_functions.EnergyPlusRunError:

Contents of EnergyPlus error file at C:\Z_TestEPPY\eplusout.err <file not="" found="">

I run into this error regardless of the directory, idf or EnergyPlus version that I use. I noted that in the line 'C:/EnergyPlusV8-5-0\e' in the error message there is an inconsistency in the path directory seperators where C:/ does not have an escape character before it. Also the in.idf file does not get created.

Here you can find a link to all the files that I am using in this example.

Kind regards,

Samuel

EPPY error in running simulation using IDF.Run

Hi,

I'm running into some errors in trying to run an EnergyPlus simulation through EPPY. I am working on a Windows OS. To give a simple example of the error I am trying to run the '1ZoneUncontrolled.idf' with EnergyPlus 8.5 from the E+ examples with an EPW for Amsterdam (renamed 'someWeather.epw' here).

When I run the following python code (all these files are containted within the current 'C:\Z_TestEPPY' directory):

import eppy

import sys

import os

from eppy.modeleditor import IDF

iddfile = "Energy+V8_5_0.idd"

IDF.setiddname(iddfile)

idfname = '1ZoneUncontrolled.idf'

epwfile = 'someWeather.epw'

Idf = IDF(idfname, epwfile)

Idf.run()

I get the following errors:

ERROR: Could not find input data dictionary: data dictionary: C:\Users\20171493\AppData\Local\Temp\tmp79zt77cw\Energy+V8_5_0.idd. Type 'energyplus --help' for usage. Traceback (most recent call last):
File "C:\Python39\lib\site-packages\eppy\runner\run_functions.py",
last): File "C:\Python39\lib\site-packages\eppy\runner\run_functions.py", line 356, in run check_call(cmd) check_call(cmd) File "C:\Python39\lib\subprocess.py", line line 373, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['C:/EnergyPlusV8-5-0\energyplus.exe', '--weather', 'C:\Z_TestEPPY\someWeather.epw', '--output-directory', cmd) subprocess.CalledProcessError: Command '['C:/EnergyPlusV8-5-0\energyplus.exe', '--weather', 'C:\Z_TestEPPY\someWeather.epw', '--output-directory', 'C:\Z_TestEPPY', '--idd', 'Energy+V8_5_0.idd', '--idd', 'Energy+V8_5_0.idd', 'C:\Z_TestEPPY\in.idf']' returned returned non-zero exit status 1.

During handling of the above above exception, another exception occurred:

Traceback (most recent call last):
last): File "<stdin>", line 1, in <module>
File "C:\Python39\lib\site-packages\eppy\modeleditor.py",
<module> File "C:\Python39\lib\site-packages\eppy\modeleditor.py", line 1010, in run run(self, weather=epw, idd=idd, **kwargs) **kwargs) File "C:\Python39\lib\site-packages\eppy\runner\run_functions.py", "C:\Python39\lib\site-packages\eppy\runner\run_functions.py", line 361, in run raise EnergyPlusRunError(message) EnergyPlusRunError(message) eppy.runner.run_functions.EnergyPlusRunError:

Contents of EnergyPlus error file at C:\Z_TestEPPY\eplusout.err at C:\Z_TestEPPY\eplusout.err <file not="" found="">

I run into this error regardless of the directory, idf or EnergyPlus version that I use. I noted that in the line 'C:/EnergyPlusV8-5-0\e' in the error message there is an inconsistency in the path directory seperators where C:/ does not have an escape character before it. Also the in.idf file does not get created.

Here you can find a link to all the files that I am using in this example.

Kind regards,

Samuel

EPPY error in running simulation using IDF.Run

Hi,

I'm running into some errors in trying to run an EnergyPlus simulation through EPPY. I am working on a Windows OS. To give a simple example of the error I am trying to run the '1ZoneUncontrolled.idf' with EnergyPlus 8.5 from the E+ examples with an EPW for Amsterdam (renamed 'someWeather.epw' here).

When I run the following python code (all these files are containted within the current 'C:\Z_TestEPPY' directory):

import eppy

import sys

import os

from eppy.modeleditor import IDF

iddfile = "Energy+V8_5_0.idd"

IDF.setiddname(iddfile)

idfname = '1ZoneUncontrolled.idf'

epwfile = 'someWeather.epw'

Idf = IDF(idfname, epwfile)

Idf.run()

I get the following errors:

ERROR: Could not find input data dictionary: C:\Users\20171493\AppData\Local\Temp\tmp79zt77cw\Energy+V8_5_0.idd. Type 'energyplus --help' for usage. Traceback (most recent call last): File "C:\Python39\lib\site-packages\eppy\runner\run_functions.py", line 356, in run check_call(cmd) File "C:\Python39\lib\subprocess.py", line 373, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['C:/EnergyPlusV8-5-0\energyplus.exe', '--weather', 'C:\Z_TestEPPY\someWeather.epw', '--output-directory', 'C:\Z_TestEPPY', '--idd', 'Energy+V8_5_0.idd', 'C:\Z_TestEPPY\in.idf']' returned non-zero exit status 1.

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "<stdin>", line 1, in <module> File "C:\Python39\lib\site-packages\eppy\modeleditor.py", line 1010, in run run(self, weather=epw, idd=idd, **kwargs) File "C:\Python39\lib\site-packages\eppy\runner\run_functions.py", line 361, in run raise EnergyPlusRunError(message) eppy.runner.run_functions.EnergyPlusRunError:

Contents of EnergyPlus error file at C:\Z_TestEPPY\eplusout.err <file not="" found="">

I run into this error regardless of the directory, idf or EnergyPlus version that I use. I noted that in the line 'C:/EnergyPlusV8-5-0\e' in the error message there is an inconsistency in the path directory seperators where C:/ does not have an escape character before it. Also the in.idf file does not get created.

Here you can find a link to all the files that I am using in this example.

Kind regards,

Samuel

EPPY error in running simulation using IDF.Run

Hi,

I'm running into some errors in trying to run an EnergyPlus simulation through EPPY. I am working on a Windows OS. To give a simple example of the error I am trying to run the '1ZoneUncontrolled.idf' with EnergyPlus 8.5 from the E+ examples with an EPW for Amsterdam (renamed 'someWeather.epw' here).

When I run the following python code (all these files are containted within the current 'C:\Z_TestEPPY' directory):

import eppy

import sys

import os

from eppy.modeleditor import IDF

iddfile = "Energy+V8_5_0.idd"

IDF.setiddname(iddfile)

idfname = '1ZoneUncontrolled.idf'

epwfile = 'someWeather.epw'

Idf = IDF(idfname, epwfile)

Idf.run()

I get the following errors:

ERROR: Could not find input data dictionary: C:\Users\20171493\AppData\Local\Temp\tmp79zt77cw\Energy+V8_5_0.idd. Type 'energyplus --help' for usage. Traceback (most recent call last): File "C:\Python39\lib\site-packages\eppy\runner\run_functions.py", line 356, in run check_call(cmd) File "C:\Python39\lib\subprocess.py", line 373, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['C:/EnergyPlusV8-5-0\energyplus.exe', '--weather', 'C:\Z_TestEPPY\someWeather.epw', '--output-directory', 'C:\Z_TestEPPY', '--idd', 'Energy+V8_5_0.idd', 'C:\Z_TestEPPY\in.idf']' returned non-zero exit status 1.

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "<stdin>", line 1, in <module> File "C:\Python39\lib\site-packages\eppy\modeleditor.py", line 1010, in run run(self, weather=epw, idd=idd, **kwargs) File "C:\Python39\lib\site-packages\eppy\runner\run_functions.py", line 361, in run raise EnergyPlusRunError(message) eppy.runner.run_functions.EnergyPlusRunError:

Contents of EnergyPlus error file at C:\Z_TestEPPY\eplusout.err <file not="" found="">

I run into this error regardless of the directory, idf or EnergyPlus version that I use. I noted that in the line 'C:/EnergyPlusV8-5-0\e' in the error message there is an inconsistency in the path directory seperators where C:/ does not have an escape character before it. Also the in.idf file does not get created.

Here you can find a link to all the files that I am using in this example.

Kind regards,

Samuel

EPPY error in running simulation using IDF.Run

Hi,

I'm running into some errors in trying to run an EnergyPlus simulation through EPPY. I am working on a Windows OS. To give a simple example of the error I am trying to run the '1ZoneUncontrolled.idf' with EnergyPlus 8.5 from the E+ examples with an EPW for Amsterdam (renamed 'someWeather.epw' here).

When I run the following python code (all these files are containted within the current 'C:\Z_TestEPPY' directory):

# Import libraries
import eppy

eppy import sys

sys import os

os from eppy.modeleditor import IDF

IDF iddfile = "Energy+V8_5_0.idd"

IDF.setiddname(iddfile)

"Energy+V8_5_0.idd" IDF.setiddname(iddfile) idfname = '1ZoneUncontrolled.idf'

'1ZoneUncontrolled.idf' epwfile = 'someWeather.epw'

'someWeather.epw' Idf = IDF(idfname, epwfile)

Idf.run()

epwfile) Idf.run()

I get the following errors:

ERROR: Could not find input data dictionary: C:\Users\20171493\AppData\Local\Temp\tmp79zt77cw\Energy+V8_5_0.idd.
Type 'energyplus --help' for usage.
Traceback (most recent call last):
  File "C:\Python39\lib\site-packages\eppy\runner\run_functions.py", line 356, in run
    check_call(cmd)
  File "C:\Python39\lib\subprocess.py", line 373, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['C:/EnergyPlusV8-5-0\energyplus.exe', '['C:/EnergyPlusV8-5-0\\energyplus.exe', '--weather', 'C:\Z_TestEPPY\someWeather.epw', 'C:\\Z_TestEPPY\\someWeather.epw', '--output-directory', 'C:\Z_TestEPPY', 'C:\\Z_TestEPPY', '--idd', 'Energy+V8_5_0.idd', 'C:\Z_TestEPPY\in.idf']' 'C:\\Z_TestEPPY\\in.idf']' returned non-zero exit status 1.

1. During handling of the above exception, another exception occurred:

occurred: Traceback (most recent call last): File "<stdin>", line 1, in <module> File "C:\Python39\lib\site-packages\eppy\modeleditor.py", line 1010, in run run(self, weather=epw, idd=idd, **kwargs) File "C:\Python39\lib\site-packages\eppy\runner\run_functions.py", line 361, in run raise EnergyPlusRunError(message) eppy.runner.run_functions.EnergyPlusRunError:

eppy.runner.run_functions.EnergyPlusRunError: Contents of EnergyPlus error file at C:\Z_TestEPPY\eplusout.err <file not="" found="">

<File not found>

I run into this error regardless of the directory, idf or EnergyPlus version that I use. I noted that in the line 'C:/EnergyPlusV8-5-0\e' in the error message there is an inconsistency in the path directory seperators where C:/ does not have an escape character before it. Also the in.idf file does not get created.

Here you can find a link to all the files that I am using in this example.

Kind regards,

Samuel

EPPY error in running simulation using IDF.Run

Hi,

I'm running into some errors in trying to run an EnergyPlus simulation through EPPY. I am working on a Windows OS. To give a simple example of the error I am trying to run the '1ZoneUncontrolled.idf' with EnergyPlus 8.5 from the E+ examples with an EPW for Amsterdam (renamed 'someWeather.epw' here).

When I run the following python code (all these files are containted within the current 'C:\Z_TestEPPY' directory):

# Import libraries
import eppy
import sys
import os
from eppy.modeleditor import IDF

iddfile = "Energy+V8_5_0.idd"
IDF.setiddname(iddfile)

idfname = '1ZoneUncontrolled.idf'
epwfile = 'someWeather.epw'

Idf = IDF(idfname, epwfile)
Idf.run()

I get the following errors:

ERROR: Could not find input data dictionary: C:\Users\20171493\AppData\Local\Temp\tmp79zt77cw\Energy+V8_5_0.idd.
Type 'energyplus --help' for usage.
Traceback (most recent call last):
  File "C:\Python39\lib\site-packages\eppy\runner\run_functions.py", line 356, in run
    check_call(cmd)
  File "C:\Python39\lib\subprocess.py", line 373, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['C:/EnergyPlusV8-5-0\\energyplus.exe', '--weather', 'C:\\Z_TestEPPY\\someWeather.epw', '--output-directory', 'C:\\Z_TestEPPY', '--idd', 'Energy+V8_5_0.idd', 'C:\\Z_TestEPPY\\in.idf']' returned non-zero exit status 1.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Python39\lib\site-packages\eppy\modeleditor.py", line 1010, in run
    run(self, weather=epw, idd=idd, **kwargs)
  File "C:\Python39\lib\site-packages\eppy\runner\run_functions.py", line 361, in run
    raise EnergyPlusRunError(message)
eppy.runner.run_functions.EnergyPlusRunError:

Contents of EnergyPlus error file at C:\Z_TestEPPY\eplusout.err
<File not found>

I run into this error regardless of the directory, idf or EnergyPlus version that I use. I noted that in the line 'C:/EnergyPlusV8-5-0\e' in the error message there is an inconsistency in the path directory seperators where C:/ does not have an escape character before it. Also the in.idf file does not get created.

Here you can find a link to all the files that I am using in this example.

Kind regards,

Samuel

EPPY error in running simulation using IDF.Run

Hi,

I'm running into some errors in trying to run an EnergyPlus simulation through EPPY. I am working on a Windows OS. To give a simple example of the error I am trying to run the '1ZoneUncontrolled.idf' with EnergyPlus 8.5 from the E+ examples with an EPW for Amsterdam (renamed 'someWeather.epw' here).

When I run the following python code (all these files are containted within the current 'C:\Z_TestEPPY' directory):

# Import libraries
import eppy
import sys
import os
from eppy.modeleditor import IDF

iddfile = "Energy+V8_5_0.idd"
IDF.setiddname(iddfile)

idfname = '1ZoneUncontrolled.idf'
epwfile = 'someWeather.epw'

Idf = IDF(idfname, epwfile)
Idf.run()

I get the following errors:

ERROR: Could not find input data dictionary: C:\Users\20171493\AppData\Local\Temp\tmp79zt77cw\Energy+V8_5_0.idd.
Type 'energyplus --help' for usage.
Traceback (most recent call last):
  File "C:\Python39\lib\site-packages\eppy\runner\run_functions.py", line 356, in run
    check_call(cmd)
  File "C:\Python39\lib\subprocess.py", line 373, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['C:/EnergyPlusV8-5-0\\energyplus.exe', '--weather', 'C:\\Z_TestEPPY\\someWeather.epw', '--output-directory', 'C:\\Z_TestEPPY', '--idd', 'Energy+V8_5_0.idd', 'C:\\Z_TestEPPY\\in.idf']' returned non-zero exit status 1.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Python39\lib\site-packages\eppy\modeleditor.py", line 1010, in run
    run(self, weather=epw, idd=idd, **kwargs)
  File "C:\Python39\lib\site-packages\eppy\runner\run_functions.py", line 361, in run
    raise EnergyPlusRunError(message)
eppy.runner.run_functions.EnergyPlusRunError:

Contents of EnergyPlus error file at C:\Z_TestEPPY\eplusout.err
<File not found>

I run into this error regardless of the directory, idf or EnergyPlus version that I use. I noted that in the line 'C:/EnergyPlusV8-5-0\e' in the error message there is an inconsistency in the path directory seperators where C:/ does not have an escape character before it. Also the in.idf file does not get created.

Here you can find a link to all the files that I am using in this example.

Kind regards,

Samuel