# Adaptive Comfort

![](/files/-Ma6CzUGNVB4hiwgGjfz)

![](/files/-MihilouU9aO7OQ9jjDA) - [\[source code\]](https://github.com/ladybug-tools/ladybug-grasshopper/blob/master/ladybug_grasshopper/src//LB%20Adaptive%20Comfort.py)

Calculate Adaptive thermal comfort.

The Adaptive thermal comfort model is for use on the interior of buildings where a heating or cooling system is not operational and occupants have the option to open windows for natural ventilation.

Note that, for fully conditioned buildings, the PMV thermal comfort model should be used.

### Inputs

* **out\_temp \[Required]**

Outdoor temperatures in one of the following formats:

```
* A Data Collection of outdoor dry bulb temperatures recorded overthe entire year. This Data Collection must be continouous and must either be an Hourly Collection or Daily Collection. In the event that the input adapt_par_ has a _avgm_or_runmean_ set to True, Monthly collections are also acceptable here. Note that, because an annual input is required, this input collection does not have to align with the _air_temp or _mrt_ inputs. 

* A Data Collection of prevailing outdoor temperature values in C.This Data Collection must align with the _air_temp or _mrt_ inputs and bear the PrevailingOutdoorTemperature data type in its header. 

* A single prevailing outdoor temperature value in C to be usedfor all of the _air_temp or _mrt_ inputs. 
```

* **air\_temp \[Required]**

Data Collection or individual value for air temperature in C.

* **mrt**

Data Collection or individual value for mean radiant temperature (MRT) in C. Default is the same as the air\_temp.

* **air\_speed**

Data Collection or individual value for air speed in m/s. Note that higher air speeds in the adaptive model only widen the upper boundary of the comfort range at temperatures above 24 C and will not affect the lower temperature of the comfort range. Default is a very low speed of 0.1 m/s.

* **adapt\_par**

Optional comfort parameters from the "LB Adaptive Comfort Parameters" component to specify the criteria under which conditions are considered acceptable/comfortable. The default will use ASHRAE-55 adaptive comfort criteria.

* **run \[Required]**

Set to True to run the component.

### Outputs

* **report**

Reports, errors, warnings, etc.

* **prevail\_temp**

Data Collection of prevailing outdoor temperature in degrees C.

* **neutral\_temp**

Data Collection of the desired neutral temperature in degrees C.

* **deg\_neutral**

Data Collection of the degrees from desired neutral temperature in degrees C.

* **comfort**

Integers noting whether the input conditions are acceptable according to the assigned comfort\_parameter. Values are one of the following:

```
* 0 = uncomfortable

* 1 = comfortable
```

* **condition**

Integers noting the thermal status of a subject according to the assigned comfort\_parameter. Values are one of the following:

```
* -1 = cold

*  0 = netural

* +1 = hot
```

* **comf\_obj**

A Python object containing all inputs and results of the analysis. This can be plugged into components like the "Comfort Statistics" component to get further information.


---

# 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://docs.ladybug.tools/ladybug-primer/components/1_analyzedata/adaptive_comfort.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.
