bifacial_radiance.RadianceObj.gendaylit2manual#
- RadianceObj.gendaylit2manual(dni, dhi, sunalt, sunaz)[source]#
Sets and returns sky information using gendaylit. Uses user-provided data for sun position and irradiance.
Warning
This generates the sky at the sun altitude&azimuth provided, make sure it is the right position relative to how the weather data got created and read (i.e. label right, left or center).
- Parameters:
dni (int or float) – Direct Normal Irradiance (DNI) value, in W/m^2
dhi (int or float) – Diffuse Horizontal Irradiance (DHI) value, in W/m^2
sunalt (int or float) – Sun altitude (degrees)
sunaz (int or float) – Sun azimuth (degrees)
- Returns:
skyname (string) – Filename of sky in /skies/ directory