> For the complete documentation index, see [llms.txt](https://docs.ladybug.tools/hb-radiance-primer/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ladybug.tools/hb-radiance-primer/components/2_lightsources/wea_from_zhang-huang.md).

# Wea from Zhang-Huang

![](/files/-MihqhOP_-wHf5tucZcm)

![](/files/-MihqacqNLJ1L_G5zWwp) - [\[source code\]](https://github.com/ladybug-tools/honeybee-grasshopper-radiance/blob/master/honeybee_grasshopper_radiance/src//HB%20Wea%20from%20Zhang-Huang.py)

Construct a WEA from hourly data collections and the Zhang-Huang Solar Model.

### Inputs

* #### location \[Required]

A Ladybug Location object.

* #### cloud\_cover \[Required]

Hourly DataCollection with the fraction of total sky cover (tenths of coverage). (eg. 1 is 1/10 covered. 10 is total coverage)

* #### rel\_humidity \[Required]

Hourly DataCollection with relative humidity \[%].

* #### dry\_bulb\_temp \[Required]

Hourly DataCollection with dry bulb temperature \[C].

* #### wind\_speed \[Required]

Hourly DataCollection with wind speed \[m/s].

* #### atmos\_pressure

Hourly DataCollection with amtospheric pressure \[Pa]. If no value is connected here, pressure at sea level will be assumed (101,325 Pa).

### Outputs

* #### wea

A wea object from the input data collections and the Zhang-Huang solar model.
