---
url: /dyad/dev/examples/ThermalHouseDemo.md
---

# Thermal House Demo {#Thermal-House-Demo}

Download this exampleThermalHouseDemo.zipFull project — Dyad model + Julia + data›

A Dyad thermal model of a residential house, for studying how indoor temperature responds to the weather outside and the heating strategy inside.

The house loses heat through its envelope — walls, roof, floor, windows, and doors — and through air leaking in and out. It gains heat from the sun, from whatever is running indoors, and from the HVAC.

## The model {#The-model}

`ThermalHouse` assembles the envelope losses, infiltration, thermal mass, and heat sources around a single interior air node:&#xA;

## Running it {#Running-it}

Run the open-loop winter design analysis and plot the result:

```julia
using ThermalHouseDemo, Plots

sol = TestHouseWinterDesign()
plot(sol)
```

![](tvthrdj.svg)
