Weather — Solar position
The solar position — i.e., the position of the sun in the sky — is defined by two angles: the solar zenith and the solar azimuth .
A SunSolve simulation needs these angles at every timestep as it ray traces the sunlight throughout the PV system. SunSolve can either calculate solar position or read it from the weather file.
Inputs for the solar position are in the Options panel of the Weather tab. For a longer description of the underlying models, see Solar position models.
Approach
Section link: ApproachThere are two approaches to setting the solar position:
- Calculate (default) — SunSolve computes and from the site’s location (latitude and longitude) and the time.
- Load from weather — SunSolve reads and from the weather file.
If the user chooses to calculate the solar position, then several more inputs must be set. These are the algorithm for calculating the solar vector (neglecting refraction by the atmosphere), the adjustment for refraction, and the definition of timestamps in the weather file.
Solar vector
Section link: Solar vectorThe algorithm to determine the solar position without atmospheric refraction has a minor influence on the results. The options are as follows:
The most sophisticated and accurate of these is the Reda and Andreas algorithm; it claims to be accurate to within ±0.0003° between 2000 BCE and 6000 CE. We do not recommend using another algorithm unless you are comparing SunSolve to other programs or to historical results that employ one of the other algorithms. For more detail, see Solar vector models.
Atmospheric refraction
Section link: Atmospheric refractionThere are three options for adjusting the solar position to account for refraction (the bending of light through the atmosphere). See atmospheric refraction models for more detail.
Reda and Andreas (2004) is the most accurate of these algorithms. It uses the atmospheric pressure and temperature from the weather file.
SunSolve must know the definition of the time periods used in each row of the weather file, and how to convert from UTC to solar time.
Timestamp definition
Section link: Timestamp definitionMost weather files define GHI, DNI and DHI as the irradiance integrated over a period of time, where the units are Wh/m². In such cases, SunSolve calculates the solar position at the middle of the time period. It must therefore be told whether the timestamps in the weather file represent the start, the middle, or the end of the period.
Alternatively, if GHI, DHI and DNI are defined as the irradiance in W/m², then it is considered the ‘instantaneous’ irradiance and the solar position is calculated at exactly the time specified by the weather file’s timestamps.
These options are addressed by the Timestep definition in the Options panel. If it is unchecked, SunSolve applies the definition contained in the weather file, which was embedded when the weather was loaded into the weather library.
When checked, however, SunSolve overrides the weather file and gives these options:
- Start of period — Timestamp marks the beginning of the measurement period.
- Middle of period — Timestamp marks the midpoint of the measurement period.
- End of period — Timestamp marks the end of the measurement period.
- Instantaneous — Timestamp marks the exact time.
For more detail on how observation periods and time offsets affect the solar position calculation, see timesteps.
Time offset
Section link: Time offsetWhen the irradiance is defined as Instantaneous, an offset in hours can be applied to the timestamp. E.g., an offset of +0.5 means that the solar position will be calculated at a time that is 30 minutes after the timestamp.
Solar time
Section link: Solar timeSeveral algorithms are available to convert UTC and legal time into local solar time: