Cascade

Research & Publications

Building Energy Simulation Tools Compared

How building energy simulation engines work, how EnergyPlus, TRNSYS, ESP-r, IDA ICE and Modelica compare, and how to judge validation and calibration.

Published
Reading time
6 min
Byline
Cascade
Computer screen showing a 3D building geometry model with thermal zones prepared for energy simulation
Image: StockSnap, Pixabay Content License

Building energy simulation sits behind compliance calculations, design optimisation, research papers on advanced controls and, increasingly, the operational models often described as digital twins. The choice of tool shapes what questions can be asked, how long the work takes and how far the results can be trusted.

There is no single best simulation program. The established engines differ in their numerical approach, how they represent HVAC systems and controls, how open and extensible they are, and the communities that support them. This article explains what a simulation engine actually computes, compares the main tools used in research and practice, and sets out how to judge whether a model is credible, including the calibration criteria widely used to compare models with measured data.

What a simulation engine does

A whole-building dynamic simulation solves, at each time step, coupled balances of heat (and often moisture and air) for the building's zones, envelope and systems:

  • Envelope and zones: conduction through walls and roofs, with thermal storage in the construction; solar gains through glazing; infiltration and ventilation; internal gains from people, lighting and equipment.
  • HVAC systems: air-handling units, terminal units, boilers, chillers and heat pumps, with part-load performance curves and control logic.
  • Plant and distribution: water and air loops, pumps and fans, storage.
  • Controls: setpoints, schedules, sequences and, in more advanced tools, detailed control algorithms.

Inputs typically include geometry, constructions, schedules, system specifications and hourly or sub-hourly weather data. Outputs range from annual energy by end use to minute-by-minute temperatures and equipment states.

Steady-state or monthly methods, such as those used in many national compliance calculations, are simpler and need far fewer inputs. They work well for envelope-dominated questions but cannot represent control dynamics, thermal mass interactions or peak behaviour in detail.

The main tools

ToolOrigin and developerLicenceApproachTypical strengths
EnergyPlusUS Department of Energy; first released 2001, building on BLAST and DOE-2Open sourceHeat-balance engine with component-based HVAC; sub-hourly time stepsWidely validated, large user base, extensive HVAC library, used for code development
OpenStudioNational Renewable Energy Laboratory (now the National Laboratory of the Rockies)Open sourceSoftware development kit and interface for EnergyPlus; scripted "measures"Automation, parametric studies, large-scale analysis
TRNSYSSolar Energy Laboratory, University of Wisconsin–Madison, from the 1970sCommercialModular component ("type") system solved togetherSolar thermal, storage, renewable and novel systems; flexible custom components
ESP-rUniversity of Strathclyde, from the 1970sOpen source (GPL)Integrated building, plant, airflow and electrical modellingResearch flexibility, detailed physics, coupled domains
IDA ICEEQUA Simulation AB, SwedenCommercialEquation-based modelling with variable time stepsDetailed indoor climate and HVAC; popular in Nordic practice
Modelica Buildings LibraryLawrence Berkeley National LaboratoryOpen sourceEquation-based, acausal component models in the Modelica languageDetailed control design and testing, co-simulation, district energy systems

Many commercial design tools wrap one of these engines, or their own, in a graphical interface linked to architectural models. That is valuable for productivity, but users should know which engine and version sits underneath, because it determines the physics.

Equation-based against procedural tools

A growing distinction is between procedural engines such as EnergyPlus, where the program's code fixes how components are solved, and equation-based environments such as Modelica and IDA ICE, where models are written as systems of equations and a solver handles their solution. Equation-based tools make it easier to model new system configurations and realistic control sequences. They demand more modelling expertise and can be slower for whole-building annual runs. Research on advanced controls, discussed in our article on fault detection research approaches, increasingly uses Modelica for this reason.

Is the model credible? Validation and calibration

Credibility has two levels: whether the software computes physics correctly, and whether a specific model represents a specific building.

Software validation

ASHRAE Standard 140, the Standard Method of Test for the Evaluation of Building Energy Analysis Computer Programs, grew out of the International Energy Agency's BESTEST procedures. It compares programs against a set of defined test cases and against each other. Major engines publish their Standard 140 results. Passing these tests shows a program behaves plausibly. It does not guarantee that any particular model built with it is right.

Model calibration

When a model represents an existing building, it can be calibrated against measured energy data. ASHRAE Guideline 14 is commonly used to judge whether calibration is adequate, using two statistics:

NMBE = Σ(mi − si) ÷ ((n − p) × m̄) × 100%

CV(RMSE) = √(Σ(mi − si)² ÷ (n − p)) ÷ m̄ × 100%

where mi and si are measured and simulated values, m̄ is the mean of the measured values, n is the number of data points and p is the number of model parameters (often taken as 1 for this purpose). The criteria commonly cited from Guideline 14 are NMBE within ±5% and CV(RMSE) below 15% for monthly data, and ±10% and 30% for hourly data.

Worked example (illustrative). A model compared with 12 months of electricity data has a measured mean of 100 MWh/month. The simulated values are, on balance, 3 MWh/month too low (Σ(m − s) = 36 MWh over 12 months), and the root-mean-square error is 11 MWh. Taking p = 1:

  • NMBE = 36 ÷ (11 × 100) × 100% ≈ 3.3% (within ±5%)
  • CV(RMSE) ≈ 11 ÷ 100 × 100% = 11% (below 15%)

The model meets the monthly criteria. Two cautions apply. Many different parameter combinations can meet the same criteria, so a calibrated model can still give the wrong answer for a retrofit that changes poorly constrained parameters. And monthly calibration says little about hourly behaviour, which matters for control and peak-demand questions. The relationship between calibrated models and savings verification is explained in our guide to measurement and verification of energy savings.

Choosing a tool

If your main question is…Consider
Code compliance in a specific countryThe nationally approved calculation method or accredited software
Whole-building annual energy and design optionsEnergyPlus (often via OpenStudio or a commercial interface), IDA ICE
Parametric or portfolio-scale studiesOpenStudio scripting; EnergyPlus with automation
Solar thermal, storage or novel plantTRNSYS, Modelica
Detailed controls and fault behaviourModelica Buildings Library; EnergyPlus with co-simulation
Coupled airflow, moisture and electrical systems in researchESP-r, Modelica
Heat pump system sizing and seasonal performanceAny dynamic tool with validated heat pump models; see heat pumps explained

Practical factors matter as much as capability: availability of trained staff, support, documentation, licence cost, compatibility with the design team's models and the acceptance of the tool by clients or regulators.

Simulation in applied research: an airport example

Simulation is often used alongside measured data rather than instead of it. In the FP7 project CASCADE (2011–2015), researchers at the National University of Ireland Galway (now the University of Galway) presented a paper at the Building Simulation 2013 conference in Chambéry. It explored how simulation could support an ISO 50001 energy management system and fault detection and diagnosis, using Milan Malpensa airport as a case study (DOI 10.26868/25222708.2013.2525). The approach, using models to establish expected performance and compare it with operation, is now central to many fault detection and digital-twin concepts. An independent archive of the project's public record is available at /cms/, and its papers are listed on the CASCADE publications page.

Good practice for any simulation study

  1. State the tool, version and weather file, and archive the input files.
  2. Document every significant assumption: schedules, internal gains, infiltration, system efficiencies and control logic.
  3. For existing buildings, calibrate against measured data and report the statistics and the data resolution.
  4. Run sensitivity analysis on uncertain inputs that drive the result.
  5. Report absolute energy and percentage changes, with the baseline defined.
  6. Make inputs available where possible, so others can reproduce or extend the work.

For quick, transparent estimates before a full model is justified, the building energy savings calculator offers a simpler first step. Simulation is a powerful way of thinking about buildings, but it is only as good as the questions asked of it and the care taken with its inputs.

References

  1. EnergyPlus. US Department of Energy, Building Technologies Office
  2. OpenStudio. National Laboratory of the Rockies (formerly NREL)
  3. ESP-r. Energy Systems Research Unit, University of Strathclyde
  4. Modelica Buildings Library. Lawrence Berkeley National Laboratory
  5. International Building Performance Simulation Association. IBPSA