Model option
Weather file
The three irradiance columns as parsed from the uploaded file
Inputs used: Global horizontal irradiance, Diffuse horizontal irradiance, Direct normal irradiance
Method
The global horizontal, diffuse horizontal and direct normal irradiance of every timestep come from the uploaded file. When the file has no direct normal column, the tool derives it from the global and diffuse values and the sun height (1). When the file has global and direct normal columns but no diffuse column, the diffuse part is the global minus the direct normal times the sine of the sun height, with the same 5° floor. When the file has only global irradiance, the tool splits it with the model chosen at upload (Weather tab, API form field decomposition). If none is chosen: the Erbs correlation, which gives the diffuse fraction as a function of the clearness index (2, 3), with the direct normal irradiance then derived by (1). The other choice is DIRINT (Perez and co-workers 1992): Maxwell's DISC model gives a direct normal irradiance from the clearness index and the air mass (4, 5), and DIRINT multiplies it by a coefficient from the published table, chosen by bins of the zenith-independent clearness index (6), of its change from the neighbouring timesteps (7), of the zenith angle and of the precipitable water from the dew point (8). The diffuse part is then the global minus the direct normal times the cosine of the zenith (9). Values DIRINT fills in or derives: the station pressure is the file's pressure column, or the standard atmosphere's pressure at the site elevation when the file has none; the dew point comes from the file's temperature and relative humidity by the Magnus formula (10), and without a humidity column the table's column for unknown precipitable water is used; the day of year is the local standard day of the timestep. The parse report names the model used and, for DIRINT, when the water was not known.
The math
- Direct normal irradiance
- Diffuse part by the Erbs correlation
- Clearness index
- DIRINT: DISC clearness index and air mass
- DIRINT: DISC direct normal irradiance
- DIRINT: zenith-independent clearness index
- DIRINT: stability index
- DIRINT: direct normal irradiance
- DIRINT: diffuse part
- Dew point (Magnus)
where
| Symbol | Meaning | Unit |
|---|---|---|
| the direct normal irradiance | W/m² | |
| the global horizontal irradiance | W/m² | |
| the diffuse horizontal irradiance, from the file or estimated by (2) | W/m² | |
| the elevation of the sun above the horizon | degrees | |
| the diffuse fraction of the global horizontal irradiance | — | |
| the clearness index | — | |
| the extraterrestrial normal irradiance | W/m² | |
| the time from 1 January 00:00 to the middle of the timestep | hours | |
| the extraterrestrial normal irradiance by Spencer | W/m² | |
| the day of the year | — | |
| the zenith angle of the sun, 90° minus its elevation | degrees | |
| the station pressure | Pa | |
| the absolute air mass, Kasten 1966, at most 12 | — | |
| Maxwell's cubic polynomials in , one set for and one above | — | |
| the clear-sky direct beam transmittance | — | |
| the zenith-independent clearness index | — | |
| the stability index; one neighbour alone at the ends of a sunlit run | — | |
| the coefficient of Perez's table for the bins of (6), (6), (6) and (4, plus a bin for unknown water) | — | |
| the precipitable water | cm | |
| the dew point | °C | |
| the relative humidity | % | |
| the ambient temperature | °C |
References
- Erbs, Klein & Duffie 1982, Estimation of the diffuse radiation fraction for hourly, daily and monthly-average global radiation, Solar Energy 28(4) 293–302
- Perez, Ineichen, Maxwell, Seals & Zelenka 1992, Dynamic Global-to-Direct Irradiance Conversion Models, ASHRAE Transactions 98(1) 354–369
- Maxwell 1987, A Quasi-Physical Model for Converting Hourly Global Horizontal to Direct Normal Insolation, Solar Energy Research Institute, SERI/TR-215-3087
- Alduchov & Eskridge 1996, Improved Magnus form approximation of saturation vapor pressure, Journal of Applied Meteorology 35(4) 601–609
- pvlib-python 0.16.1 source code (github.com/pvlib/pvlib-python), reference implementation: pvlib/irradiance.py, disc() and dirint()
API
weather = {…} or {"id": "met_…"}; POST /api/parse-weather form field decomposition = erbs | dirint
Symbols follow the symbol registry.