Weather — Solar spectrum
SunSolve accounts for the solar spectra of the direct and diffuse light.
It either calculates the spectra from atmospheric conditions, or it assumes a standard spectrum, like AM1.5g.
The spectral-related inputs are entered in the Options panel of the Weather tab. See Solar spectra for more detail on the models.
Approach
Section link: ApproachThe Determination of incident spectra controls whether the solar spectra are calculated or assumed constant at every timestep. The options are as follows:
Calculate, Default. Clear-sky spectra calculated with SPECTRL2,, the air mass,, and the atmospheric conditions. Cloudy-sky modifications calculated by the Ernst approach.
When Calculate is selected, SunSolve calculates the clear-sky spectra with SPECTRL2 and then modifies the spectra to account for cloud by the Ernst (2016) approach. The user must assign inputs for the models, as described below.
Clear-sky model
Section link: Clear-sky modelThere is currently only one algorithm, SPECTRL2, that SunSolve uses to compute the clear-sky direct and diffuse spectra.
Extraterrestrial spectrum
Section link: Extraterrestrial spectrumThe clear-sky model begins its calculations with the extraterrestrial spectrum (AM0). The user can select between two options.
- AM0 [Gue95] — The extraterrestrial spectrum in the current IEC standard.
- AM0 [Nec81] (Default) — The extraterrestrial spectrum published by Neckel and Labs (1981) and used to develop SPECTRL2.
Both spectra extend from 280 to 4000 nm.
We set the [Nec81] spectrum to be the default because it was assumed as the AM0 spectrum when SPECTRL2 was developed. (Prior to October 2026, SunSolve set [Gue95] as the default.)
Atmospheric parameters
Section link: Atmospheric parametersWhen Determination of incident spectra is set to Calculate, SunSolve uses atmospheric parameters to calculate the solar spectrum at each timestep. By default, these values come from the weather file but each parameter can be overridden.
To override an atmospheric parameter, check the associated checkbox and enter a value. This value is applied at every timestep.
If an atmospheric parameter is not included in the weather file, and if the override is not applied, a default value is used instead. The default value is that used to derive the AM1.5g spectrum (with the exception of the far-field albedo, which is set to 20% instead of the wavelength-dependent reflectance of a particular soil).
Thus, the order of precedence for each atmospheric parameter is as follows:
- Override value — Applied if override checkbox is checked.
- Weather file value — Applied if the override checkbox is unchecked and the parameter is contained in the weather file.
- Default value — Applied otherwise.
There is one exception: Precipitable water vapour (PWV). If there is no override value, and if it is not contained in the weather file, SunSolve checks if the weather file contains the relative humidity. If it does, SunSolve calculates the PWV from the relative humidity and the ambient temperature; if it does not, SunSolve applies the default PWV value of 1.4164 cm.
For more details on the specific impact of each atmospheric component, see impact of atmosphere on spectrum.
AOD at 500 nm, Dimensionless, 0.084, Aerosol optical depth at 500 nm, a measure of atmospheric turbidity.
Far-field albedo, %, 20, Ground reflectance used to calculate the component of sunlight that reflects from the ground to the sky and back to the PV system.
Calculating the spectrum with the default atmospheric conditions
Section link: Calculating the spectrum with the default atmospheric conditionsSetting the atmospheric inputs to their default values is not equivalent to solving the system with the AM1.5g spectrum. There are three reasons:
- The calculated spectra apply the SPECTRL2 model whereas the AM1.5g spectrum was generated with the SMARTS model (v2.95).
- The calculated spectra depend on the air mass, which changes as the solar position changes. That is, the air mass during a simulation is almost never 1.5.
- The calculated spectra use an albedo that is constant with wavelength; the albedo is 20%. This differs from the AM1.5g spectrum (ASTM G173-03), which was generated for a wavelength-dependent albedo representing ‘LightSoil’.