How to export results from IES using Python
This post looks at how to export results from the IES building simulation software using Python.
Why do this?
The results of an IES building simulation can be viewed in the software itself but for professional reports or academic publications it can be useful to export the data and use another tool such as Excel or Python to create figures and tables of the results.
What is this?
I have written a Python script which runs inside the IES software. When run, the following happens:
Here is an example for the Small Office starter geometry building in IES. The Python script exports 85 individual CSV files.
How to access this Python script?
The script is saved in a file named "ExportResultsToCSV.py". It can be downloaded from GitHub here.
Recommended by LinkedIn
How to add the Python script into my IES installation?
The Python script should now be visible and available to run.
For easy access, right click on the Python script file and select "Promote to Navigator".
Next steps
Hi Steven I always find your work fascinating! I'm currently developing grey-box models using Python, and I think it would be a great move to extract building construction and geometry data from an IES model, export it to a CSV file, and then process it in Python to calculate grey-box parameters. This could help link grey-box modelling with BIM, right? Would you be interested in discussing this further?
Thomas Smith Jon Nuttall Zoe Branford
Thanks for sharing. Would the script also export results for custom variables?