In our latest Python in the VE article we look at adding new features to the Parametric scripts.
What?
The IES TM54 training seminar (& related article) demonstrates how to use the Python tools IES provided for parametric simulations. In this article we respond to requests to show how to add new functionality to extend these scripts
Why?
In this example we add weather file and building orientation functionality to the scripts. We show where in the scripts the new features are added and we create the functions that modify the model.
There are two utility modules referenced by the parametric uncertainty & sensitivity scripts; one that generates the scenarios & runs the simulations and one that has functions that modify the model, harvests & processes the results.
There are two utility modules referenced by the parametric optimisation scripts; one that generates the scenarios & runs the simulations and one that has functions that modify the model, harvests & processes the results – the latter is common with the parametric uncertainty & sensitivity scripts. We do not need to revise the modules that generate the s cenarios & runs the simulations, only the input and model modification modules need revis ion to add the new functionality.
Check out the full guide here
Download sample Genetic and Parametric Analysis scripts here: https://www.iesve.com//support/faq/zip/Genetic_and_Parametric_Analysis_Scripts-V2a.zip
You can view other articles in my VE Python series HERE.