Your dream house come true!
A simple Building Energy Model written in Python.
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.
θm,t = θm,t-1 × (1 - Δt / Cm × Htr, em) + Δt / Cm × (ΦHC, nd, t-1 + Htr, em × θe, t-1)
- ΦHC, nd, t: cooling or heating power at time t
- θm, t: building temperature [℃] at time t
- θ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]
Best install simplesimple in editable mode:
$ pip install -e .
Run the test suite with py.test:
$ py.test