# Degree Days Explained

you might want to start understanding what degree days are here:

{% embed url="<https://en.wikipedia.org/wiki/Heating_degree_day>" %}

**Degree days** are calculated as the *integral of the difference between the outside air temperature and a base temperature over time*.

If you can define a **base temperature** (the outside temperature above which a building needs no heating or cooling) then you can use this to estimate degree days. The building requires heating if the outside air temperature falls below the heating base temperature, and the heating degree days accrue; if the outside air temperature rises above the cooling base temperature, the structure requires cooling, and the cooling degree days accumulate.

The base temperature does not necessarily correspond to the desired building internal temperature, but is the homeostatic temperature between the interior and exterior. Base temperature might depend, among other factors, upon the use of the building, the internal heat gains and the level of insulation.

![example deegree days for New York, Downtown Manhattan, NY, USA](https://491114279-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MhupA7DXRC4lRDTpJQJ%2Fuploads%2Fgit-blob-1a8d7743615058673405edde020770a8cc8af0a6%2Fimage.png?alt=media\&token=f3e26e27-bf84-49db-8a36-1e39af07ba1f)

![example deegree days for Palermo Boccadifalco Airport, ITALY](https://491114279-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MhupA7DXRC4lRDTpJQJ%2Fuploads%2Fgit-blob-4d5e8bbd67d6fce028dd0570ba2dfbc2a439dfbe%2Fimage.png?alt=media\&token=a7cb6a6d-754a-41d0-8422-c7a56d085088)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://cbe-berkeley.gitbook.io/clima/documentation/tabs-explained/tab-summary/degree-days-explained.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
