SIMPLE

[SIM]ulating for peo[PLE]

An open-source building performance simulation tool that simulates heat, light and air together, so we can study how buildings perform for the people who live in them.

A Cornell box with two glass spheres, rendered with SIMPLE's ray tracer
A Cornell box rendered with SIMPLE's ray tracer: the same engine that calculates daylight and solar gains.

What is SIMPLE?

People do not separate the thermal, daylight and acoustic performance of a room: they just feel it. SIMPLE was designed so that all those domains share a single simulation state, and so that the behaviour of people, such as opening a window or switching on a heater, can be part of the simulation as it runs.

Holistic

Heat transfer, solar and long-wave radiation, daylight, infiltration and ventilation, solved together at every timestep rather than in separate runs.

Made for people

Control buildings with Rhai scripts that read and change the state, from window operation to model predictive control.

Runs everywhere

Written in Rust: a command-line tool for Windows, Linux and Mac, a library, and WebAssembly (try the browser demo).

Transparent

Open source (MIT), and validated against EnergyPlus, Radiance and analytic solutions. Every release regenerates the reports below.

Diagram: the SIMPLE model connects a shared simulation state with thermal, lighting, ventilation and acoustic modules
Every physics module reads and writes the same simulation state.
Diagram: from the present state, several potential futures are simulated to choose the best action
"Time travelling": copy the state, try several actions, and simulate their futures before choosing one.

Download

Pre-built command-line tools for v0.2.2, the latest release. Each archive contains simple, spict, sfluxmtx, sfalsecolor, scompare.

Older versions and release notes are on the releases page. On macOS, the binaries are not signed: if the system refuses to open them, run xattr -d com.apple.quarantine simple.

Build from source

Releases are the tested, validated versions. To get the latest development version (the main branch, not validated yet), or a platform without pre-built binaries, build SIMPLE with Rust.

# A release
cargo install --locked --features parallel \
  --git https://github.com/germolinal/simple \
  --tag v0.2.2 simple

# The development version (main)
cargo install --locked --features parallel \
  --git https://github.com/germolinal/simple simple

Getting started

  1. Download SIMPLE, or build it from source.
  2. Describe your building in a .spl file (see the guide and the input reference).
  3. Run it with an EPW weather file.
# Simulate a year, 4 timesteps per hour
simple -i model.spl \
       -w wellington.epw \
       -n 4 \
       -o results.csv

# Add a control script
simple -i model.spl -w wellington.epw \
       -c control.rhai -o results.csv

Documentation

From why SIMPLE exists to every field of every input object.

Validation

SIMPLE aims to be as reliable and transparent as possible. These reports are produced by the tests every release has to pass, comparing SIMPLE with EnergyPlus, Radiance and analytic solutions. We are not perfect: if you can help make the results better, let us know.

Chart: solar irradiance on a wall over a week, as calculated by SIMPLE and by EnergyPlus; the curves overlap
Solar radiation incident on a wall, SIMPLE and EnergyPlus.

Whole buildings

Heat and air

Solar, light and long-wave radiation

Weather