1 Introduction

Solar radiation Rs, also known as global radiation, is the portion of the extraterrestrial radiation that reaches the earth’s surface. Solar radiation is the sum of direct shortwave radiation of the sun and diffused radiation. The rest of the extraterrestrial radiation is scattered, reflected or absorbed by the atmospheric gases, clouds and air dust as it enters the atmosphere.

Knowledge of regional solar radiation data is essential for many applications, such as:

  • The design of solar energy systems

  • The design of irrigation systems with the use of evapotranspiration models

  • The application of hydrological models

  • Architectural design

  • The application of models that simulate crop growth, because growth is primarily based on the photosynthetic processes, which involves the utilization of radiation and its conversion to chemical energy

Several empirical models have been developed to calculate global solar radiation using various common parameters. These parameters include: extraterrestrial radiation, sunshine duration hours, mean temperature, maximum temperature, soil temperature, relative humidity, number of rainy days, altitude, latitude, total precipitable water, albedo, cloudiness and evaporation. Models, for the estimation of solar radiation, can be grouped in the following categories:

  1. 1.

    Linear models regarding relative sunshine, divided in:

    1. a)

      Annual models

    2. b)

      Monthly models

    3. c)

      Daily models

    4. d)

      Models with additional topographical parameters

    5. e)

      Models with additional meteorological parameters

  2. 2.

    Non-linear models regarding relative sunshine.

Hourly and daily solar radiation from the beginning of the 20th century was calculated by the sunshine, with the use of burning spots on special cards. The sunshine data from these cards can be converted into digital files by using modern technological equipment for their digitization. Yang et al. (2006) gave an empirical quadratic equation for the calculation of hourly solar radiation using the relative sunshine. In a previous work by the authors (Ampas and Baltas 2007), daily values of solar radiation were estimated, taking into account the distribution of sunshine during the day. Also, the estimation of hourly sunshine values was developed by using hourly weighting factors (Ampas and Baltas 2007).

The present work performs spectral analysis on the time series of hourly data of the clearness index. An original sinusoidal equation is developed to estimate the hourly and daily solar radiation based on sunshine data collected hourly.

2 Measurement of Solar Radiation (RS)

Solar radiation can be measured by pyranometers, radiometers or solarimeters. A pyranometer is an instrument used to measure global radiation. The instrument has a hemispherical view of its surroundings. With the use of two thermal sensors, with one exposed to the solar radiation, and the other shaded, the temperature difference is measured and is used to estimate solar radiation.

Existing research has approached the measurement of solar radiation in various ways. Angström (1924) noticed that solar radiation is a linear function of sunshine; later Prescott (1940), modified Angström’s equation and provided the following formula:

$$ \frac{{\mathrm{R}}_{\mathrm{s}}}{R_a}={\mathrm{a}}_{\mathrm{s}}+{\mathrm{b}}_{\mathrm{s}}\frac{\mathrm{n}}{\mathrm{N}} $$
(1)

where: Rs is the solar radiation [MJ m−2day−1]; Ra is the extraterrestrial radiation [MJ m−2day−1]; Rs/Ra is the clearness index [−], also denoted with KΤ; n is the actual duration of sunshine which represents the hours of the day that the sun is visible in the sky and is also called sunshine duration or simply sunshine. It is defined as the time during the day of direct light intensity above 120 J m−2 s−1. It is usually measured via a Campbell-Stokes sunshine recorder. Additionally, an automatic instrument to measure sunshine is the Foster Sunshine Switch [h]; N is the maximum possible duration of sunshine or daylight hours [h]; n/N is relative sunshine duration [−]; as is the minimum transmissivity, a regression constant expressing the fraction of extraterrestrial radiation reaching the earth on overcast days (n = 0) [−]; bs is the transmissivity angular coefficient [−]; (as + bs) is expressing the clear sky transmissivity, and is the fraction of extraterrestrial radiation reaching the earth in clear days (n = N).

Ra for each day of the year is given by Duffie and Beckman (2006) and Kalogirou (2009) by:

$$ {R}_a=\frac{24(60)}{\pi }{G}_{sc}{d}_r\left[{\omega}_s \sin \left(\varphi \right) \sin \left(\delta \right)+ \cos \left(\varphi \right) \cos \left(\delta \right) \sin \left({\omega}_s\right)\right] $$
(2)

where: Gsc is the solar constant = 0.0820 [MJ m−2 min−1]; dr is the inverse relative distance Earth-Sun [rad]; ωs is the sunset hour angle [rad]; φ is the latitude [rad]; and δ is the solar decimation [rad]. N is given by:

$$ N=\frac{24}{\pi }{\omega}_s $$
(3)

For hourly or shorter time periods the extraterrestrial radiation is described by the following relation:

$$ {R}_a=\frac{12(60)}{\pi }{G}_{sc}{d}_r\left\{\left({\omega}_2-{\omega}_1\right) \sin \left(\varphi \right) \sin \left(\delta \right)+ \cos \left(\varphi \right) \cos \left(\delta \right)\left( \sin \left({\omega}_2\right)- \sin \left({\omega}_1\right)\right)\right\} $$
(4)

where: ω1, ω2 are the solar time angles at the beginning and at the end of the period, respectively [rad].

Based on the Angström–Prescott equation, many researchers appointed values to the factors as and bs, e.g., Yin et al. (2008), Trnka et al. (2005) and Zekai (2001). Some researchers considered that the linear equation gave better results for monthly values, e.g., Almorox et al. (2005). Klabzuba et al. (1999) presented a relation using the day of the year. Other researchers involved topographical parameters, e.g., Gopinathan (1988). Moreover, other researchers inserted additional meteorological parameters. Some researchers used non-linear equations, e.g., Jin et al. (2005).

3 Analysis of the Data Used

Data for the present study was taken from the Automatic Meteorological Station (AMS) located at Amynteo (40ο41’40”Ν, 20ο40’40”E). The AMS of Amynteo belongs to an AMS network that operates in the Prefecture of Florina, Western Macedonia, Greece. This area is an interesting area concerning the rainfall and temperature pattern (Baltas 2007). All AMSs are equipped with various sensors, a data logger, a communication system and a power supply system. The AMS of Amynteo measures temperature, relative humidity, wind speed, wind direction, precipitation, solar radiation, sunshine duration, atmospheric pressure and soil temperature every 10 s. The data logger records data every 5 min. For reasons of data uniformity in the AMS network, the 5-min data are transformed to hourly data. The data collection from the stations is achieved by a UHF radio modem connected to a server. The AMS is power supplied by the main electrical network. Solar Radiation is measured by pyranometers and sunshine is measured by the Foster Sunshine Switch.

4 Modeling Solar Radiation

The factors as and bs of the Angström–Prescott equation, as pointed out by Hinrichsen (1994), must be estimated by their physical meaning: as represents overcast days and as + bs represents the clear sky days. More specifically, as expresses the diffused radiation and bs the direct radiation. Ampas (2010), using Glover’s diagrams (Glover and McCulloh 1958), explained why the annual values of the factors as and bs are susceptible to significant error when applied for the discrete situations of overcast and clear sky days. Therefore, hourly data are selected to provide useful information about the relation between sunshine and solar radiation.

4.1 Clear Sky

ASCE (2005) proposed an equation for calculating solar radiation in clear sky conditions, taking into account the covered distance of sunlight in the atmosphere, the water content of the atmosphere, air mass and dust. Examined monthly values for clear sky days are presented in Fig. 1.

Fig. 1
figure 1

Clearness index under clear sky conditions as the sum of as and bs

Seasonality is the main characteristic of all meteorological parameters. Thus, all equations mentioned above, that incorporate meteorological parameters, cause seasonality to the clearness index. Annual seasonality can also be distinguished in Fig. 1. Existing research shows that curves following uniform annual variations reach the lower value of the clearness index in the summer and the highest in the winter. The annual periodicity of the clearness index under clear sky conditions, KTo, can be seen in Fig. 2, where particularly low values are observed during the summer and high values in the winter.

Fig. 2
figure 2

Hourly values of clearness index under clear sky conditions from 30 August 2006 until 30 September 2008 (data for Amynteo)

As the travel distance of sunlight in the atmosphere changes through the day, a daily periodicity of the clearness index takes place. The daily periodicity of the clearness index under clear sky conditions, KTo, can be seen at the hourly values, in Fig. 3.

Fig. 3
figure 3

Hourly values of clearness index for a random period with clear sky conditions (data for Amynteo)

Spectral analysis was used to determine all the periodicities of time series data of the clearness index under clear sky conditions. Spectral density revealed the way time series data are spread versus frequency because a peak in the periodogram denotes an important frequency. Spectral density was computed by:

$$ SD=\underset{-\infty }{\overset{\infty }{\int }}x(t){e}^{i\omega t} dt $$

where: x (t) is function of time; ω is the frequency.

A computer program was developed in programming language R to estimate the spectrum of the clearness index under clear sky conditions, KTo, and the results are depicted in Fig. 4. Two peaks can be detected in the periodogram of the clearness index under clear sky conditions. The first peak is near the frequency 1/4,380 and denotes the annual periodicity. The second peak is near the frequency 1/12 and denotes the daily periodicity.

Fig. 4
figure 4

Smoothed periodogramm of clearness index under clear sky conditions

Moreover, the Lomb–Scargle method was applied (Broersen 2008), which is a method for analyzing non-uniform data and fit sinusoidal functions to time series data. Data on the clearness index under clear sky conditions, KTo, for spectral analysis are non-uniform, as there is not any data during night-time and skies are not always clear throughout the day. Lomb–Scargle periodogram of clearness index under clear sky conditions revealed additional frequencies to the two periodicities mentioned above, the aliased frequencies. Aliasing happens because systematically there is missing data due to night-time observations.

A finite number of harmonics can cover the greater part of the time series variation. As a result, to fit the data on a Fourier series, only these harmonics are required. Both methods of spectral analysis showed that two harmonics seem to adequately cover the clearness index under clear sky conditions; the equation expressing KTo in the form of a time series is:

$$ {K}_{To}(J)=\frac{1}{2}{a}_o+{A}_1 \sin \left(\frac{2\pi }{1}J+{\varphi}_1\right)+{A}_2 \sin \left(\frac{2\pi }{365}J+{\varphi}_2\right) $$
(5)

where: ΚΤο is the clearness index under clear sky conditions; and J is time in days and fraction of the day, e.g., 15 January 12:00 pm equals to 15.5; φ1, φ2 are the phases for the two frequencies; and A1, A2 are the amplitudes for the two frequencies.

Equation (5) can be expressed as (Ampas 2010):

$$ {K}_{To}(J)=\frac{1}{2}{a}_o+\left[{a}_1 \cos \left(\frac{2\pi }{1}J\right)+{b}_1 \sin \left(\frac{2\pi }{1}J\right)\right]+\left[{a}_2 \cos \left(\frac{2\pi }{365}J\right)+{b}_2 \sin \left(\frac{2\pi }{365}J\right)\right] $$
(6)

Regression analysis can be used on the measured values of the clearness index under clear sky conditions, ΚΤο, for time J, to estimate the coefficients a0, a1, a2, b1, b2. Table 1 provides regression estimates for data drawn from the station in Amynteo.

Table 1 Results of optimal fitting of sinusoidal functions to clearness index under clear sky

Thus, the clearness index under clear sky can be estimated by:

$$ {K}_{To}=0.60352+0.1846 \sin \left(2\pi J-1.9141\right)+0.0159 \sin \left(\frac{2\pi }{365}J+0.539\right) $$
(7)

The second term of Eq. (7) expresses the daily periodicity while the third term expresses the annual periodicity. Table 1 provides the respective amplitudes of the two periodicities. The annual width of variation, which is equal to two times the amplitude (2*0.0159), is found to be close to the results shown in Fig. 1. Figure 5 shows a diagram of the annual variation on the hourly data of KTo. The daily width of variation, which equals to the amplitude (0.159), is found to be close to the results of the equation that is proposed by ASCE (2005). Figure 6 shows the diagram of the estimated hourly clearness index under clear sky conditions derived for the period of continuous clear sky conditions at the AMS Amynteo, as provided by Eq. (7). Both Figs. 5 and 6 show the fit of the calculated KTo to the hourly data. KTo reaches its maximum and minimum values when the sinusoidal functions are equal to 1 or to −1, respectively, allowing the estimation of the time, J:

  • Maximum value of KTo during the day takes place at 13:19

  • Maximum value of KTo over the year takes place on the 28th of February

  • Minimum value of KTo over the year takes place on the 29th of August.

Fig. 5
figure 5

Diagram of hourly clearness index under clear sky conditions for Amynteo from 30 August 2006 until 30 September 2008 and the calculated values from Eq. (7) for each day at 12:00

Fig. 6
figure 6

Diagram of hourly clearness index under clear sky conditions for Amynteo for a period with continuous clear sky conditions

4.2 Overcast

Benson et al. (1984) mentioned that only direct radiation presents seasonality. So, the Fisher’s Kappa test and the Bartlett’s Kolmogorov-Smirnov test were used to check the periodicities of time series data of the clearness index under overcast, but both tests failed. Clearness index under overcast does not present periodicities. Figure 7 shows the hourly values of the clearness index under overcast.

Fig. 7
figure 7

Diagram of hourly clearness index under overcast for Amynteo from 30 August 2006 until 30 September 2008

Nagaraja Rao et al. (1984) examined the most frequently occurring values of the clearness index under overcast sky. Figure 8 presents the histogram of the frequency of occurrence; the most frequently occurring value, based on the data of the station in Amynteo, is as = 0.18. The median of the clearness index under overcast is 19.68 % and the average is 20.3 %.

Fig. 8
figure 8

Histogram of frequency of occurrence hourly clearness index under overcast sky for Fig. 9. Diagram of the hourly clearness index under any condition of cloudiness for the period 30 August 2006 until 30 September 2008

4.3 Intermediate Percentage of Cloudiness

Accepting the Angström-Prescott equation on the hourly data suggests a linear relationship between the two limit percentages of cloudiness (i.e., clear sky and overcast). Thus, the relation for the clearness index under any percentage of cloudiness is:

$$ \begin{array}{c}\hfill {a}_s=0.203\hfill \\ {}\hfill {b}_s=0.4+0.1846 \sin \left(2\pi J-1.9141\right)+0.0159 \sin \left(\frac{2\pi }{365}J+0.539\right)\hfill \\ {}\hfill {K}_T=\left[0.4+0.1846 \sin \left(2\pi J-1.9141\right)+0.0159 \sin \left(\frac{2\pi }{365}J+0.539\right)\right]\frac{n(h)}{60}+0.203\hfill \end{array} $$
(8)

where: n(h) is the hourly sunshine [min]

Figure 9 shows the measured hourly clearness index under any percentage of cloudiness against the estimated values of this index, as computed by Eq. (8). Figure 10 depicts the hourly clearness index under any percentage of cloudiness against the hourly values of relative sunshine.

Fig. 9
figure 9

Diagram of the hourly clearness index under any condition of cloudiness for the period 30 August 2006 until 30 September 2008

Fig. 10
figure 10

Hourly clearness index to hourly relative sunshine for Amynteo data from 30 August 2006 until 30 September 2008

Using the estimated hourly clearness index, the daily values of the clearness index can be computed with the following equation:

$$ {K}_{T(d)}(J)=\frac{{\displaystyle \sum_J^{J+1}{K}_T(h){R}_a(h)}}{R_a(d)} $$
(9)

where: ΚΤ(d) is the daily clearness index [−]; J is the day of the year [d]; ΚΤ(h) is the hourly clearness index calculated from Eq. (8) [−]; Ra(h) is the hourly extraterrestrial radiation from Eq. (4); and Ra(d) is the daily extraterrestrial radiation from Eq. (3) [−].

Figure 11 depicts the estimated daily values of the clearness index against the estimated values of clearness index by two different ways, one based on Eq. (9) and another based on a simple regression analysis. Equation (9) calculates the measured daily clearness index more precisely compared to the regression analysis, as elaborated in Table 2.

Fig. 11
figure 11

Measured daily clearness index to relative sunshine. Data are for Amynteo from 30 August 2006 until 30 September 2008

Table 2 Statistics of the two methods that estimate solar radiation

Figure 11 depicts the data points and the regression line of optimum fit, based on regression analysis results. The coefficient of determination, R2, is higher with the new values of adjusted sunshine and the improvement of R2 is higher compared to the adjusted sunshine by Ampas and Baltas (2007).

5 Summary and Conclusions

Solar radiation, based on hourly values of sunshine, was estimated. The Angström–Prescott equation was used expressing the relation between solar radiation and sunshine. The factors as and bs of this equation have a physical meaning, as as represents overcast conditions and as + bs represents conditions in clear sky. Both factors, as and bs, were examined for these discrete conditions. Under clear sky conditions, the clearness index, RSo/Ra, presented two periodicities. Spectral analysis was performed to investigate these periodicities. In addition, the Lomb–Scargle periodogram was used, as the data were unevenly distributed in time. Spectral analysis proved the existence of these two periodicities. Annual periodicity presented a 0.032 width, while the daily periodicity presented an amplitude of 0.184. The daily periodicity is caused from variation in the travel distance of sunlight in the atmosphere: in Amyndeo at noon (13:19), the distance is smaller, and therefore, the clearness index is higher by 18 %. The annual periodicity is caused mainly from the amount of precipitable water, which is more during the summer, as the rise of the temperature contributes to the rise of the absolute humidity. A sinusoidal equation with two harmonics was developed to calculate the clearness index estimated under clear sky conditions. Under overcast conditions, the clearness index, Rs/Ra, did not exhibit periodicities. The equation for intermediate percentage of cloudiness stemmed from the sinusoidal equation of the clearness index under clear sky conditions, the mean value of the clearness index under overcast conditions and the linear equation between clearness index and relative sunshine.

The use of the equation developed from the spectral analysis, estimates solar radiation with good results on hourly data, and the best results are obtained when using the equation to estimate daily solar radiation. The equations of the present study may be used for the calculation of solar radiation on an hourly and daily basis with adequate precision. These reliable hourly and daily solar radiation data can be utilized by many models that have been developed for agronomic and hydrological studies. To evaluate phenomena with a large time step, such as climate change, global dimming etc., large time series of specific meteorological parameters, with considerable accuracy, are required. Otherwise, the errors may lead to misleading results.

Equation (6) can be used for the calculation of the hourly Clearness Index under clear sky using hourly data, which is necessary for the calculation of the reference evapotranspiration by the methods FAO24 Penman and FAO56 Penman-Monteith. This method calculates the solar radiation under clear sky, RSo, more accurately than other methods, since the spectral analysis considers the cumulative effect of all individual periodic factors. Application of Eq. (6) shows that the maximum value of the clearness index during the day is at time 13:19 and during the year is on February 28th. The knowledge of the maximum value may be useful in the optimal installation of photovoltaic units. The considerable variation of the clearness index during the day probably makes uneconomic the utilization of solar radiation in the morning or afternoon hours from rotating photovoltaic units.