# Assign Building UWG Properties

![](/files/-MihrauJdzlOzRpvCBp9)

![](/files/-MihraPj40LrjG7szBoZ) - [\[source code\]](https://github.com/ladybug-tools/dragonfly-grasshopper/blob/master/dragonfly_grasshopper/src//DF%20Assign%20Building%20UWG%20Properties.py)

Edit the properties of a Dragonfly Building that affect simulation with to the Urban Weather Generator (UWG).

## Inputs

* **building \[Required]**

  A Dragonfly Building which is to have its Urban Weather Generator (UWG) properties assigned.&#x20;
* **program**

  Text for the name of the building program. Must be one of the options below. (Default: LargeOffice).

  * LargeOffice
  * MediumOffice
  * SmallOffice
  * MidriseApartment
  * Retail
  * StripMall
  * PrimarySchool
  * SecondarySchool
  * SmallHotel
  * LargeHotel
  * Hospital
  * Outpatient
  * Warehouse
  * SuperMarket
  * FullServiceRestaurant
  * QuickServiceRestaurant
* **vintage**

  Text for the vintage of the building. This will be used to set default constructions. Must be one of the options below or one of the options from the "HB Building Vintages" component, which will be mapped to one of the options below. (Default: New).

  * New
  * 1980\_Present
  * Pre1980
* **fr\_canyon**

  A number from 0 to 1 that represents the fraction of the building's waste heat from air conditioning that gets rejected into the urban canyon. (Default: 0.5).&#x20;
* **shgc**

  A number from 0 to 1 that represents the SHGC of the building's windows. This is used to evaluate the amount of solar heat reflected into the street canyon. By default, it will be set by the building vintage and the Model climate zone.&#x20;
* **wall\_alb**

  A number from 0 to 1 that represents the exterior wall albedo of the building. By default, it will be set by the building program and the DoE commercial reference buildings.&#x20;
* **roof\_alb**

  A number from 0 to 1 that represents the exterior roof albedo of the building. By default, it will be set by the vintage, meaning 0.7 for New and 0.2 for 1980\_Present and Pre1980.&#x20;
* **roof\_veg**

  A number from 0 to 1 that represents the fraction of the building's roofs covered in vegetation. (Default: 0).&#x20;

## Outputs

* **report**

  ...&#x20;
* **building**

  The input Dragonfly Building with its UWG properties re-assigned based on the input.&#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/dragonfly-primer/components/6_alternativeweather/assign_building_uwg_properties.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.
