# Ambient Resolution

![](https://2572426507-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Ma9X8PomX22wWVDNCoj%2Fuploads%2Fgit-blob-a6ddc99c6a760226e53e25f235e53583ef05b534%2FAmbient_Resolution.png?alt=media)

![](https://2572426507-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Ma9X8PomX22wWVDNCoj%2Fuploads%2Fgit-blob-7d2c4862478817913fc40ce26fa141f22491833e%2FAmbient_Resolution.png?alt=media) - [\[source code\]](https://github.com/ladybug-tools/honeybee-grasshopper-radiance/blob/master/honeybee_grasshopper_radiance/src/HB%20Ambient%20Resolution.py)

Get the recommended ambient resoluation (-ar) needed to resolve details with a given dimension in model units.

This recommendation is derived from the overall dimensions of the Radince scene being simulated as well as the ambient accuracy (-aa) being used in the simulation.

The result from this component can be plugged directly into the additional\_par\_ of the "HB Radiance Parameter" component or into the radiance\_par of any recipe components.

### Inputs

* **model \[Required]**

The Honeybee Model being used for Radiance simulation.

* **detail\_dim \[Required]**

A number in model units that represents the dimension of the smallest detail that must be resolved in the Radiance simulation.

* **aa**

An number for ambient accuracy (-aa) being used in the Radiance smiulation. This value should be matched between this component and the component into which the ouput ar is being input. (Default: 0.25 for low-resolution Radiance studies).

### Outputs

* **ar**

The abmient resolution needed to resolve the *detail\_dim as a text string. These can be plugged into the additional\_par* of the "HB Radiance Parameter" component or the radiance\_par\_ input of the recipes.
