Sensitivity analysis of an EnergyPlus model

Sensitivity analysis identifies how uncertainties in input parameters affect important measures of building performance, such as cost, indoor thermal comfort, or CO2 emissions. Input parameters for buildings fall into roughly three categories:

* Discrete design alternatives, e.g. different glazing options, number of storeys, etc.
* Variance in physical parameters such as U-values, air tightness and location of leakages, and variance/uncertainty in economic parameters such as interest rate, energy prices, or service-life.
* Stochastic behaviour-related parameters such as occupancy pattern (number, timing, and location), and use of hot water, window airing, lighting and electrical equipment. Differing personal preferences for air temperature and lighting level.

Each parameter has a different distribution of possible values. Sensitivity analysis is an effective way of identifying which parameters influence simulation results the most, and thus need more attention during design. More specifically, sensitivity analysis qualifies how much each parameter affects the results, either individually or in combination (synergistic or antagonistic), and quantifies the variance in possible outcomes, such as energy costs, and is thus a very powerful quantitative tool for decision making.

## EnergyPlus

[edit]

EnergyPlus[1] is a whole-building energy simulation program that engineers, architects, and researchers use to model both energy consumption — for heating, cooling, ventilation, lighting, and process and plug loads — and water use in buildings. Its development is funded by the U.S. Department of Energy Building Technologies Office.[1] EnergyPlus is a console-based program that reads input and writes output to text files. Several comprehensive graphical interfaces for EnergyPlus are also available.

### Main features

[edit]

* Integrated, simultaneous solution[1] of thermal zone conditions and HVAC system response that does not assume that the HVAC system can meet zone loads and can simulate un-conditioned and under-conditioned spaces.
* Sub-hourly, user-definable time steps[1] for interaction between thermal zones and the environment; with automatically varied time steps for interactions between thermal zones and HVAC systems
* Heat balance-based solution[1] of radiant and convective effects that produce surface temperatures thermal comfort and condensation calculations
* Atmospheric pollutant calculations[1]
* Anisotropic sky model[1]
* Combined heat and mass transfer model[1] that accounts for air movement between zones.
* Heat transfer model[1]
* Simulation based on climate zone[1]
* Advanced fenestration models[1] including controllable window blinds, electrochromic glazings, and layer-by-layer heat balances that calculate solar energy absorbed by window panes.
* Component-based HVAC[1] that supports both standard and novel system configurations.

### Stand-alone vs coupled simulation

[edit]

EnergyPlus is normally used as a stand-alone command-line application or together with one of many free or commercial GUIs. However, EnergyPlus can be linked with other applications to simulate more advanced numerical models. One method is BCVTB[2] (Building Controls Virtual Test Bed), which allows users to couple different simulation programs for co-simulation, and to couple simulation programs with actual hardware. For example, the BCVTB can simulate a building in EnergyPlus and the HVAC and control system in Modelica, exchanging data between them as they simulate. Programs that can be linked to BCVTB include EnergyPlus, Modelica (OpenModelica or Dymola), Functional Mock-up Units, MATLAB, and Simulink, Ray tracing (physics)|ray-tracing, ESP-r, TRNSYS, BACnet stack.

## Applications for sensitivity analysis with EnergyPlus

[edit]

There exist many software tools that can automate sensitivity analysis to various degrees. Here is a non-exhaustive list. Most of these tools have multiple options, including one-at-a-time sensitivity analysis, multidimensional discrete parametric, continuous low-discrepancy distributions, and pareto-front optimization (listed alphabetically):

* EnergyPlus parametric IDF objects.[3] This simple method is limited to discrete parametric analysis, using the auxiliary ParametricPreprocessor program that is bundled with EnergyPlus.
* EPlusR[4] (EnergyPlus R): A research-level scripting toolkit for EnergyPlus in R (programming language).
* EpXL[5] (EnergyPlus Excel): A simple Excel spreadsheet application with options for sensitivity/parametric analysis and pareto-front optimization.
* GenOpt[6] (Generic Optimization Program), optionally with the free GenOpt GUI ExcalibBEM[7]
* jEPlus[8] (Jython EnergyPlus): A simulation manager for parametric analysis with EnergyPlus.
* OpenStudio Analysis Framework and Spreadsheet:[9] A front-end for the OpenStudio Server, allowing for users to create large-scale cloud analyses using OpenStudio measures.
* SALib:[10] A Python library for general sensitivity analysis, which can be used with user-defined scripts to run EnergyPlus and extract results.
* ... or pretty much any other scripting language

## Examples of sensitivity analyses

[edit]

### Example 1: Simulation of dwelling[11]

[edit]

A modern house which is located in Upper Austria is considered for the sensitivity analysis of construction materials. The building to be simulated is a modern two-story house with a cellar. The volume of the building is approximately 761 m^3. The house is located at Hagenberg in Upper Austria. The walls are made of 25 cm thick bricks without insulation except for the cellar. The windows and glassdoors are standard double glazed with an intermediate layer of air
We have used EnergyPlus for simulating the house model. For building our simulation framework we have used the software tool Building Controls Virtual Test Bed (BCVTB). We can define for example a heating control of an EnergyPlus building model with the control logic implemented in MATLAB.

### Example 2: Simulation of school[12]

[edit]

An elementary school is considered for the sensitivity analysis of occupancy.

### Example 3: Experiments on material properties[11]

[edit]

The experiments were performed in the following way:
Influence of the material properties in the house were tested. First a framework using BCVTB, EnergyPlus and MATLAB have been created so that the values can be sent to EnergyPlus online to overwrite the outside temperature. Secondly, a batch file is set up to do the following:

1. change the EnergyPlus input file with a different value of the material property
2. call BCVTB to run the co-simulation between EnergyPlus and MATLAB
3. run a script to calculate the MAE of the real and simulated indoor temperature
4. move to the next value of the range (if not finished) and go to (1).

Following this procedure mean absolute error (MAE) can be calculated for all values of all ranges. It assumed that the material properties are independent of each other. Therefore, each material property will be varied at a time, leaving the others constant at the default values (from EnergyPlus) and measured the mean absolute error (MAE) between the real indoor and the simulated temperatures. The range of material properties was given by an expert. The specific room under study has a lot of fenestration, so it is not so surprising to see that the influence of the solar transmittance of the windows is the most influential of all material properties analyzed. The next influential factor is the conductivity of the bricks, followed by the thermal absorptance and the specific heat of the bricks.
The most influential properties of the materials analyzed (bricks and glasses) are the solar transmittance of the glasses and the conductivity of the bricks.

### Example 4: Experiments of occupancy variance[12][infringing link?]

[edit]

Important parameters in a warm climate zone:

1. Equipment load (High)
2. Ventilation rate (High)
3. Equipment load (Low)
4. Infiltration rate (High)
5. Ventilation rate (Low)

Important parameters in a cold climate zone:

1. Infiltration rate (Low)
2. Ventilation rate (Low)
3. Occupant schedule (High)
4. Equipment load (Low)
5. Equipment load (High)

## See also

[edit]

* Sensitivity analysis
* Building performance simulation
* Efficient energy use
* Heating system
* HVAC
* Occupancy
* Renewable energy

* Renewable energy portal

## References

[edit]

1. ^ a b c d e f g h i j k l "energy plus software". Energy plus. Retrieved 17 June 2016.
2. ^ BCVTB: https://simulationresearch.lbl.gov/bcvtb
3. ^ Parametric IDF objects: https://bigladdersoftware.com/epx/docs/8-5/input-output-reference/parametric-objects.html#parametric-objects
4. ^ EPlusR: https://cran.r-project.org/web/packages/eplusr/vignettes/eplusr.html
5. ^ EpXL: https://github.com/SchildCode/EpXL/
6. ^ GenOpt: https://simulationresearch.lbl.gov/GO/
7. ^ ExcalibBEM: https://www.simeb.ca/ExCalibBEM/index_en.php
8. ^ jEPlus: http://www.jeplus.org/wiki/doku.php
9. ^ "Analysis Examples". GitHub. 29 August 2021.
10. ^ SALib: https://salib.readthedocs.io/en/latest/basics.html
11. ^ a b "Uncertainty and Sensitivity Decomposition of Building Energy Models". Journal of Building Performance Simulation. 5. 2012.
12. ^ a b "The Impact of the Building Occupant on Energy Modeling Simulations" (PDF).