Automated Multivariate Optimization Tool for Energy Analysis