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

Jamie's answer here is excellent and will give you the correct results. Of course, if you have never used python or never used eppy, you would be wondering how to start. Follow the steps below and the answer will be revealed. (I am assuming you are on a windows machine.)

go to python.org and install python 2.7

Open a dos window. You can do this by: clicking on the windows start button and running cmd

in the dos window type: pip install eppy and hit return this will install eppy (hopefully this works)

  • Save the program Jamie has written here in a file (call the file eppyarea.py). Let us say you saved this file in c:/somewhere/eppyarea.py
  • Change line 2 and 3 in this file by putting your file name and idd file name. Give the full path name to the file such as "c:/my_models/amazingmodel.idf". Note the the slashes are frontslashes "/" not backslashes "\"
  • the idd file is usually found in the folder c:/Energyplus8.0/E+.idd (I think)

go back to the dos window and type: python "c:/somewhere/eppyarea.py" (hopefully this works too :-)

shazaam !! You should have your answers.

If you have any problems with these steps, open an issue at https://github.com/santoshphilip/eppy/issues and we can use this opportunity to streamline the process, so it works for you and for others

Jamie's answer here is excellent and will give you the correct results. Of course, if you have never used python or never used eppy, you would be wondering how to start. Follow the steps below and the answer will be revealed. (I am assuming you are on a windows machine.)

go to python.org and install python 2.7

Open a dos window. You can do this by: clicking on the windows start button and running cmd

in the dos window type: pip install eppy eppy and hit return this will install eppy (hopefully this works)

  • Save the program Jamie has written here in a file (call the file eppyarea.py). Let us say you saved this file in c:/somewhere/eppyarea.py
  • Change line 2 and 3 in this file by putting your file name and idd file name. Give the full path name to the file such as "c:/my_models/amazingmodel.idf". Note note the the slashes are frontslashes "/" not backslashes "\"
  • the idd file is usually found in the folder c:/Energyplus8.0/E+.idd (I think)

go back to the dos window and type: python "c:/somewhere/eppyarea.py" "c:/somewhere/eppyarea.py" (hopefully this works too :-)

shazaam !! You should have your answers.

If you have any problems with these steps, open an issue at https://github.com/santoshphilip/eppy/issues and we can use this opportunity to streamline the process, so it works for you and for others