# Custom Window Gap Material

![](/files/-MihpejFudlRbMZcQpj-)

![](/files/-MihpejGHWZTmajiU9oJ) - [\[source code\]](https://github.com/ladybug-tools/honeybee-grasshopper-energy/blob/master/honeybee_grasshopper_energy/src//HB%20Custom%20Window%20Gap%20Material.py)

Create a custom gas gap material that corresponds to a layer in a window construction. This material can be plugged into the "HB Window Construction" component.

This object allows you to specify specific values for conductivity, viscosity and specific heat through the following formula: property = A + (B \* T) where: A, B = regression coefficients for the gas T = temperature \[K]

## Inputs

* **name**

  Text to set the name for the material and to be incorporated into a unique material identifier.&#x20;
* **thickness \[Required]**

  Number for the thickness of the gas gap layer in meters.&#x20;
* **conductivity\_a \[Required]**

  First conductivity coefficient. Or condictivity in \[W/m-K] if b coefficient is 0.&#x20;
* **viscosity\_a \[Required]**

  First viscosity coefficient. Or viscosity in \[kg/m-s] if b coefficient is 0.&#x20;
* **specific\_heat\_a \[Required]**

  First specific heat coefficient. Or the specific heat in \[J/kg-K] if b coefficient is 0.&#x20;
* **conductivity\_b**

  Second conductivity coefficient. (Default: 0).&#x20;
* **viscosity\_b**

  Second viscosity coefficient. (Default: 0).&#x20;
* **specific\_heat\_b**

  Second specific heat coefficient. (Default: 0).&#x20;
* **spec\_heat\_ratio**

  A number for the the ratio of the specific heat a contant pressure, to the specific heat at constant volume. (Default: 1.0 for Air).&#x20;
* **mol\_weight**

  Number between 20 and 200 for the mass of 1 mol of the substance in grams. (Default: 20.0).&#x20;

## Outputs

* **mat**

  A custom gas gap material that describes a layer in a window construction and can be assigned to a Honeybee Window construction.&#x20;


---

# 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/hb-energy-primer/components/1_constructions/custom_window_gap_material.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.
