/simple-simple

A simple building energy model written in Python.

Primary LanguagePythonMIT LicenseMIT

Simple Simple

Your dream house come true!

A simple Building Energy Model written in Python.

Conceptual Model

The model is derived from the hourly dynamic model in ISO 13790. It has only one capacity and one resistance.

Compared to the ISO 13790 there is

  • no internal heat gain,
  • full shading of the building, no direct or indirect sun light,
  • no windows or doors,
  • no ventilation,
  • immediate heat transfer between air and surface.

Simple simple model

θm,t = θm,t-1 × (1 - Δt / Cm × Htr, em) + Δt / Cm × (ΦHC, nd, t-1 + Htr, em × θe, t-1)

Output Variables

  • ΦHC, nd, t: cooling or heating power at time t

State Variables

  • θm, t: building temperature [℃] at time t

Parameters

  • θe, t: outside temperature [℃] at time t
  • Af: conditioned floor area [m2]
  • Cm: capacity of the building's heat mass [J/K]
  • Δt: time step size [s]
  • Htr, em: heat transmission to the outside [W/K]
  • θint, C, set: cooling set point temperature [℃]
  • θint, H, set: heating set point temperature [℃]
  • ΦC, max: maximum cooling power [W]
  • ΦH, max: maximum heating power [W]

Developer Guide

Installation

Best install simplesimple in editable mode:

$ pip install -e .

Run the test suite

Run the test suite with py.test:

$ py.test