Theoretical Solar Irradiance
Dr. Stavros Keppas, 07/06/2023
Calculating the theoretical solar irradiance
The theoretical diurnal solar irradiance varies with the latitude, the day (of the year) and the time during the day. It can be calculated through the calculations described below (Mikulović et al., 2015). This methodology has been developed in order to be applied on data of 1-minute temporal resolution. The input variables are displayed in Table 1, while the required for calculations constants are shown in Table 2.
Table 1 - Input variables and their format/units
Variable | Format and Units |
---|---|
Latitude | decimal in °, e.g., 40.52° (use 2 decimals) |
Longitude | decimal in °, e.g., 15.25° (use 2 decimals) |
Date | YYYY-MM-DD, e.g., 2022-08-01 |
DT (Local Hour - GMT) | In hours |
Local Hour | Integer between 0-23 |
Local Minute | Integer between 0-59 |
Julian Day | e.g., 25/2 is the day 56 |
Table 2 - Constants that are used in the calculations
Constant Variable | Value |
---|---|
Solar Constant (σ) | 1367 W m−2 |
Reflective Coefficient | 0.2 (for ordinary ground or grass) |
The Julian day can be calculated using the datetime module in python and the following commands:
fmt='%Y-%m-%d'
sdtdate = datetime.strptime(date, fmt)
sdtdate = sdtdate.timetuple()
local_day = sdtdate.tm_yday
Then, a series of calculations for the last 30-minutes in a 1-minute time interval to obtain the theoretical solar irradiance. Firstly, we calculate the Sky Diffusion factor (SDF):
Where is the total number of days of the current year (365 for a typical year or 366 for a leap year) and the Julian day (see Table 1).
Next, through the Equation of Time (EoT) we calculate the deviation between the solar time and the time shown by a typical clock:
Where
The angle between the equator and the line drawn from the centre of the sun to the centre of the Earth can be obtained by the following equation:
We also need to know the local time at which the sun is at the zenith (thus the local time of the solar noon) SN:
Where Lon is the longitude of the region and LSTM the local meridian calculated as:
(for DT and EoT see Table 1).
Then, we calculate the angle that the Earth must or has rotated so the sun is directly above the meridian of the region:
Where LT is the local time in decimal format, calculated as:
Next, we can now calculate the altitude (SA) of the sun from the horizon:
Where Lat is the latitude and Lon is the longitude of the region.
The Extraterrestrial Solar Insolation (IO), which is the solar radiation that hits the top of the atmosphere, is given by:
Where σ is the solar constant (see Table 1).
The Apparent Extraterrestrial Solar Insolation (A), then, is given by the following formula:
In order to simulate the average clarity of the atmosphere, we need to estimate its optical depth (OD):
However, we also need the Air Mass Ratio (AMR), which is a measure indicating the distance that the solar ray travels within the atmosphere:
We should also consider that the light sensor is a horizontally-aligned surface. In this case, the angle of incidence (AoI) is:
Then, we are finally able to estimate the clear sky irradiance at Earth’s surface that hits a surface facing directly to the sun (IB), the irradiance that reaches the horizontally-aligned surface (IBC) and the irradiance reaching the surface after diffusion (IDC):
Eventually, the total radiation (IC) that hits the light sensor is considered to be the summation of IBC and IDC:
In order to apply a more realistic approach that is closer to the observed solar radiation, we used monthly constants suggested by the Nijegorodov Model (Nijegorodov, 1996; Ahmad and Tiwari, 2011) (Table 3).
Table 3 - Monthly constants for correcting theoretical solar radiation as suggested by Nijegorodov (1996).
Month | Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec |
---|---|---|---|---|---|---|---|---|---|---|---|---|
a | 1163 | 1151 | 1142 | 1146 | 1152 | 1157 | 1158 | 1152 | 1150 | 1156 | 1167 | 1169 |
b | 0.177 | 0.174 | 0.170 | 0.165 | 0.162 | 0.160 | 0.159 | 0.164 | 0.167 | 0.172 | 0.174 | 0.177 |
c | 0.114 | 0.112 | 0.110 | 0.105 | 0.101 | 0.098 | 0.100 | 0.103 | 0.107 | 0.111 | 0.113 | 0.115 |
Then, cos(θz) (θz is the solar zenith angle) is given by:
In order to avoid any weird values (when solar angle is around the sunrise or sunset time) in the latter calculations:
Then, IBC is calculated from the following relationship instead of (12) (therefore (10) should not be used as well):
Where A and B are given in Table 3.
Next, IDC is corrected as:
Where C are given in Table 3.
Finally, replacing (14), we use and in the following equation to calculate IC:
Note that should be replaced by .