Introduction

The quality of life and safeness of the present and future are strongly intertwined with the availability of energy sources and the environmental protection factors. There is no doubt that the available fossil energies would not disappear soon; nevertheless, the era of abundance and cheap energy will not last long; we will have to consider alternate sources of energy, and it is clear that renewable energy is linked to environmental issues [1, 2].

In order to use the enormous source of renewable energies, Algeria has created a green momentum by launching an ambitious program to develop renewable energies (RES) and promote energy efficiency. This program leans on a strategy focused on developing and expanding the use of inexhaustible resources, such as solar, biomass, geothermal, wind, and hydropower, energies in order to diversify energy sources and to prepare Algeria for tomorrow [3].

The strategic choice of this program is motivated by the huge potential of solar energy; this energy is the major focus of the program of which the concentrating solar thermal power (CSP) and photovoltaic systems (CPV) constitute an essential part. Solar should achieve more than 37 % of national electricity production by 2030 [4].

The knowledge of solar radiation data at any location is essential for the selection, design, and economic evaluation of concentrating solar power plants. The use of concentrating solar collectors which are used in solar thermal power plant and concentrated photovoltaic systems implies that these systems only work with the direct normal irradiance (DNI), which is irradiance normal to sun minus diffuse solar radiation from atmosphere, clouds, and ground [5]. In particular, the intensity and distribution of DNI are dominating factors for the design and performance of CSP and CPV plants.

The DNI data can be measured by pyrheliometers which are mounted on an instrument that tracks the sun or by rotating shadow band pyranometers [6]. The pyrheliometers and tracking systems have a high investment cost and require daily monitoring to ensure the accuracy of the data. Unfortunately, DNI ground-based measurements are rarely available at the location of interest because the reasons of high cost and maintenance problems especially for developing countries like Algeria. This lack of DNI data contrasts with the availability of global and diffuse horizontal irradiance data (GHI, DHI), which are easy to find or measure, cause the instrumentation used for collection of GHI and DHI data can be an order of magnitude less expensive, and are not as labor intensive [7].

Nowadays, several spatial databases provide DNI values developed by different approaches, various spatial and temporal coverages, and different time intervals and space resolutions, even for those exploiting satellite data [8]. These databases are available as a result of international and national projects, such as NASA-SSE [9] by the Atmospheric Science Data Center, which is an example of public domain data source, SoDa [10] by Mines ParisTech that offer free data to some extent only, and Meteonorm [11] by Meteotest as a commercial data source. These databases contain different kinds of solar data [12]:

  • Measured data, with different quality measuring and from different years.

  • Interpolating data, which come from grids of different densities in the input data and from different years.

  • Estimation data, that need to take into account the model features (years of data and images used in the development), the characteristics of images (resolution and geometry), and the time periods of the used data.

However, these databases show different values of various sources of uncertainties because they are using different kinds of input data and different procedures to calculate DNI data, in addition to the lack of continuity in the measured data that are limited to just a few number of ground stations [13].

Solanki and Sangani [14] developed a new method based on empirical relations and used elevation angle constant for a given location in the world for estimation of direct normal irradiance. WhilePérez-Higueras et al. [13] presented a simplified method for calculating direct normal irradiation that use only latitude and global horizontal irradiation as input data.

In this study, a simplified methodology for estimation of the hourly, monthly mean daily, and annual direct normal irradiance DNI data in the presence or absence of measured global and diffuse horizontal irradiances (GHI, DHI) is carried out first. In the second part, the data of the modeled DNI in addition to five solar databases available for Algeria: NASA-SSE [9], Solar-Med-Atlas [15], SoDa (HelioClim 1) [10], SolarGIS [16], and Meteonorm [11] are validating their uncertainties in comparison with the measured data of three ground stations in Algeria (Algiers, Ghardaia, and Tamanrasset). This contribution’s goal is to evaluate the accuracy of the hourly, monthly mean, and the annual sum of DNI in order to choose the best data for CSP and CPV application in Algeria.

Data and methodology

Measured data

In order to analyze the uncertainties of the modeled and spatial databases that estimate the values of DNI, the measured direct normal irradiance data were collected in just three Algerian ground meteorological stations (Algiers, Ghardaia, and Tamanrasset) with different climatic conditions (Fig. 1), because the reliable and continuous DNI measurements are scarce and rare. Although the study is focused only on DNI data, measured GHI and DHI data are required as inputs for the modeled DNI data. Table 1 summarizes the geographic locations for each station.

Fig. 1
figure 1

Location of the three ground stations considered on the map

Table 1 Geographic and climatic characteristics of the studied stations

The solar radiation data of Algiers were collected with the radiometric station called “Chems”, installed at the Center for the Renewable Energy Development of Bouzaréah, the station essentially consists of [17]:

  • Three EKO pyranometer and a pyrheliometer with a sun tracker for measuring global, diffuse, and direct normal radiations.

  • A data Logger “Micrologger CR 3000” with data acquisition system for reading measurements every 5 min since 2011 to the present day.

While, the measured solar radiation of Ghardaia was collected by the radiometric station installed at the Unit of Applied Research in Renewable Energy of Ghardaia. The station has two main parts:

  • A fixed part consisting of two EKO pyranometer for the measurements of global and diffuse horizontal solar radiations.

  • A second moving part with EKO pyrheliometer pointed at the sun disk for measuring direct normal irradiance.

In addition to a data logger and a CAMPBELL SCIENTIFIC CR10X data acquisition system was installed, for reading measurements every 5 min since 2004 to the present day.

For Tamanrasset station, the radiation measurements began in September 1994, as a part of collaboration between the National Meteorological Office (NMO) and the World Meteorological Organization (WMO). The station is included in a high accuracy network with CR23X Data logger with 3 min step, and by using two PSP pyranometers for the measurement of global and diffuse solar radiation and a NIP pyrheliometer for direct normal irradiance.

DNI satellite-derived databases

In general, satellite-derived databases are characterized by several criteria, e.g., [18, 19] input and output data, spatial and time resolution, period of time, methods for the computation, and the algorithm used for the simulation.

The databases used in this study described above have been the next:

  • NASA-SSE (Surface Meteorology and Solar Energy): it combines the results from GEWEX/SRB3 and ISCCP projects with NCAR reanalysis products (1983–2005), and provides monthly and annual (global, diffuse horizontal, and direct normal irradiations values). Its web page is (http://eosweb.larc.nasa.gov/sse/) in a version that is more applicable to renewable energy technology with the data accuracy and its methodology.

  • Solar-Med-Atlas (Solar Atlas for the Mediterranean): it has high-resolution (1 km), and long-term coverage of at least 20 years of data (1991–2010). The free access to the data includes historical annual and monthly averages of the global horizontal and direct normal irradiance data for the southern and eastern Mediterranean regions. The current database can be accessed at http://www.solar-med-atlas.com.

  • HelioClim1 (SoDa): these data are modeled from Meteosat imagery covering Europe, Africa, the Mediterranean Basin, the Atlantic Ocean, and part of the Indian Ocean, with 20-km spatial resolution and a period of record (1985–2005). The databases of HelioClim1 can be accessed through the SoDa service in the page http://www.soda-is.com/eng/index.html.

  • SolarGIS: it is a geographic information system (GIS) that uses a new model for high-performance calculation of global and direct irradiances for the regions covered by Meteosat MSG (Europe, Africa, and the Middle East) for a period (2004–2010). Its web page is solargis.info/.

  • Meteonorm: it is a global database that is developed by interpolation of the observed data of 7,756 ground stations (1981–2000) with the support of satellite images (2003–2005) of MSG and four other geostationary satellites. Its web page is http://www.meteonorm.com.

DNI estimation procedure

The procedure that calculates DNI values in the presence or absence of measured global and diffuse horizontal irradiances is presented in Fig. 2, using the following steps:

Fig. 2
figure 2

Chart of the proposed methodology

  1. I.

    Estimation of solar declination and sunrise hour angles [20]

    δ = 23.45 sin ( J + 284 ) 360 365
    (1)
    ω s = a r c cos [ - tan ( φ ) tan ( δ ) ]
    (2)
  2. II.

    Estimation of monthly mean daily extraterrestrial irradiance H0, and maximum possible sunshine duration S0 can be calculated from the following equations [20]:

    H 0 = 24 × 3600 × I sc π d r cos ( φ ) cos ( δ ) sin ( ω s ) + π ω s 180 sin ( φ ) sin ( δ )
    (3)
    d r = 1 + 0.333 cos 360 365 J
    (4)
    S 0 = 2 ω s 15 ,
    (5)

    where dr is the relative earth–sun distance, δ is the solar declination, ωs is the sunrise hour angle, φ is the latitude, and J is the number of days in the year that is taken from Table 1.6.1 [20].

  3. III.

    Estimation of monthly mean daily global irradiance on horizontal surface HG [21]

    H G = 0.57089 + 0.01028 S S 0 - 0.00005 S S 0 2 × H 0 .
    (6)
  4. IV.

    Estimation of monthly mean daily diffuse irradiance on horizontal surface HD [22]

    H D = 0.337 - 0.068 H G H 0 + 0.025 H G H 0 2 - 0.002 H G H 0 3 × H G .
    (7)
  5. V.

    Estimation of monthly mean hourly global solar irradiance on a horizontal surface [23]

    I G = r t × H G
    (8)
    r t = π 24 ( a + b × cos ω ) cos ω - cos ω s sin ω s - ( π ω s / 180 ) cos ω s
    (9)
    With: a = 0.4090 - 0.5016 sin ( ω s + 1.047 )
    (10)
    b = 0.6609 + 0.4767 sin ( ω s + 1.047 ) .
    (11)
  6. VI.

    Estimation of monthly mean hourly diffuse solar irradiance on a horizontal surface [24]

    I D = r d × H D
    (12)
    r d = π 24 cos ω - cos ω s sin ω s - ( π ω s / 180 ) cos ω s .
    (13)
  7. VII.

    Estimation of monthly mean hourly direct solar irradiance on a horizontal surface

    I BH = I G - I D .
    (14)
  8. VIII.

    Estimation of monthly mean hourly direct normal irradiance

    I BN = I BH sin δ × sin φ + cos δ × cos φ × cos ω .
    (15)
  9. IX.

    Estimation of monthly mean daily direct normal irradiance

    H BN = i = 1 24 I BN ( i ) × Δ t ,
    (16)

    where i is the time step, with Δt = 1 h.

  10. X.

    Estimation of monthly direct normal irradiance

    H ¯ BN = J ( k ) × H BN ( k ) ,
    (17)

    where J is the number of day for the k month.

  11. XI.

    Estimation of annual direct normal irradiance

    H ¯ ¯ BN = k = 1 12 H ¯ BN ( k ) .
    (18)

Comparison technique

The prime purpose of this work is assessment of the proposed methodology for estimating the direct normal irradiance over three main Algerian ground stations (Algiers, Ghardaia, and Tamanrasset). For this, the validation of the obtained results by this methodology, in addition to that obtained by five spatial databases is carried out using nine statistical parameters: Mean Percent Error (MPE), Mean Absolute Percent Error (MAPE), Mean Bias Error (MBE), Mean Absolute Bias Error (MABE), Root Mean Square Error (RMSE), coefficient of determination (R2), t statistic method (tsta), and the Nash–Sutcliffe equation (NSE) for the validation of monthly values, and the percentage error (e %) for the validation of annual values. These performance indices are calculated using the following equations:

MPE = 1 n i = 1 n Y i , m - Y i , c Y i , m 100
(19)
MAPE = 1 n i = 1 n Y i , m - Y i , c Y i , m 100
(20)
MBE = 1 n i = 1 n Y i , m - Y i , c
(21)
MABE = 1 n i = 1 n | Y i , m - Y i , c |
(22)
RMSE = 1 n i = 1 n ( Y i , m - Y i , c ) 2
(23)
R 2 = i = 1 n ( Y i , m - Y i , c ) 2 i = 1 n ( Y i , m - Y ¯ i , m ) 2
(24)
t sta = ( n - 1 ) MBE 2 RMSE 2 - MBE 2
(25)
NSE = 1 - i = 1 n ( Y i , m - Y i , c ) 2 i = 1 n ( Y i , m - Y ¯ i , m ) 2
(26)
e ( % ) = Y c - Y m Y m × 100 ,
(27)

where Y i , m , Y i , c , Y ¯ i , m andn are the measured values, calculated values, the average of the measured values, and the number of observations, respectively.

In this study, the results are compared on the basis of the nine above-mentioned statistical error tests, and the accuracy of the estimated data of the databases is determined using these tests. For better data modeling, the ideal values of statistical tests such as MPE, MAPE, MBE, MABE, RMSE, tsta, NSE, and e(%) should be closer to zero, but R2 should approach 1 as closely as possible [25].

Results and discussion

The methodology has been applied to estimate the monthly mean daily and annual values of the direct normal irradiance DNI for three main Algerian locations: Algiers, Ghardaia, and Tamanrasset; these stations have been selected because ground-based measurements of DNI are available and thus, the validation of the calculated values and those of spatial databases with measured ones can be made.

While the model 1 presents the calculated DNI data of the methodology in the presence of measured data of global and diffuse solar irradiance, the 2nd model shows the calculated data in the presence of measured global solar radiation and the absence of measured data of diffuse solar radiation. Moreover, the 3rd and the last one calculate DNI in the absence of both global and diffuse measured data.

Tables 2, 3, and 4 show the resulting values of annual DNI and its percentage errors for Algiers, Ghardaia, and Tamanrasset, respectively, while Tables 5, 6, and 7 show the validation results of monthly mean daily DNI with the statistical parameters.

Table 2 Obtained annual DNI values of Algiers station (kWh/m2)
Table 3 Obtained annual DNI values of Ghardaia station (kWh/m2)
Table 4 Obtained annual DNI values of Tamanrasset station (kWh/m2)
Table 5 Statistical error analyses of obtainedmonthly mean daily values for Algiers station
Table 6 Statistical error analyses of obtained monthly mean daily values for Ghardaia station
Table 7 Statistical error analyses of obtained monthly mean daily values for Tamanrasset station

Algiers

As presented in Table 2, and for the results of the used methodology, it is reasonable that the annual DNI calculated for Algiers using the first model is the most accurate value (1,621 kWh/m2) with a percentage error of 0.043 %, and the worst one is that obtained by the second model (1,871 kWh/m2) that implies a percentage error of 15.494 %. While, the five spatial databases gave errors between 3.272 % (SolarGIS) and 30.247 % (NASA). Furthermore, as shown in Fig. 3 and Table 5, for the monthly mean daily values, the first model presents the highest coefficient of determination in the evaluation of the monthly mean daily DNI solar radiation as 0.977, and gives the lowest values of the MPE, MAPE, MBE, MABE, RMSE, NSE, and tsta as 2.290, 6.439, 0.173, 0.322, 0.461, 0.893, and 1.347, respectively. While the worst results are derived by the SolarGIS database as R2 = 0.257, MPE = 48.167, MAPE = 51.347, MBE = 1.485, MABE = 1.697, RMSE = 1.922, NSE = −0.865, and tsta = 4.036 (Table 5).

Fig. 3
figure 3

Obtained monthly mean daily values by the proposed methodology for Algiers station

Ghardaia

As shown in Table 3, the annual DNI calculated for Ghardaia using the first model of the methodology is the most accurate value (2,409 kWh/m2) with a percentage error of −0.406 %, and the worst one is that obtained by the third model (2,083 kWh/m2) that implies a percentage error of −13.863 %. While, the spatial databases gave errors between −0.563 % (NASA-SSE) and 16.389 % (Meteonorm). Furthermore, as shown in Fig. 4 and Table 6, for the monthly mean daily values, the second model presents the highest coefficient of determination in the evaluation of the monthly mean daily DNI solar radiation as 0.952, while the first model gives the lowest values of the MPE, MAPE, MBE, MABE, RMSE, NSE, and tsta as 0.153, 4.805, −0.036, 0.341, 0.491, 0.748, and 0.243, respectively. While the worst results is derived by the NASA database as R2 = 0.051, MPE = 0.339, MAPE = 24.039, MBE = −0.059, MABE = 1.534, RMSE = 1.835, NSE = −2.517, and tsta = 0.107.

Fig. 4
figure 4

Obtained monthly mean daily values by the proposed methodology for Ghardaiastation

Tamanrasset

As presented in Table 4, it is reasonable that the different spatial databases used in this study gave good results for the monthly and annual DNI values because Tamanrasset’s ground station is included in these databases as a station for interpolation.

Using the first model gives the most accurate value (2,665 kWh/m2) with a percentage error of 0.261 %, and the worst value is that obtained by the third model (2,098 kWh/m2) that implies a percentage error of −21.079 %. While, the five spatial databases gave errors between −1.029 % (SoDa) and −8.665 % (SolarGIS). While, the monthly mean daily values, and as shown in Fig. 5 and Table 7, the first model presents the highest coefficient of determination in the evaluation of the monthly mean daily DNI solar radiation as 0.846, and gives the lowest values of the MPE, MAPE, MBE, MABE, RMSE, NSE, and tsta as 1.061, 4.986, 0.006, 0.379, 0.586, 0.741, and 0.033, respectively. While the worst results is derived by the third model as R2 = 0.046, MPE = −13.192, MAPE = 15.022, MBE = −1.100, MABE = 1.210, RMSE = 1.574, NSE = −0.867, and tsta = 3.241.

Fig. 5
figure 5

Obtained monthly mean daily values by the proposed methodology for Tamanrassetstation

In conclusion, the monthly mean daily and annual DNI values produced by the first model of the proposed methodology are excellent according to the measured ones. Indeed, in case of availability of measured values of global and diffuse horizontal irradiance, it is recommended to use this model to estimate DNI. Furthermore, the results of the two other models are comparable to those of the spatial databases, thus, it can be used to compute DNI for the three Algerian stations.

Conclusion

In the present study, we have proposed a methodology for estimating the hourly, monthly mean daily, and annual direct normal irradiance DNI in the presence or the absence of measured global and diffuse horizontal irradiances. When applying the proposed method for calculation of DNI for three Algerian ground stations (Algiers, Ghardaia, and Tamanrasset), we obtained better performances than those of the five spatial databases’ data, especially for monthly values of DNI. The methodology seems to give a very appropriate way for the management and exploitation of DNI resources for the design and analysis of CPV and CSP systems; it is easy to be implemented and uses simple equations. Future actions will include the application of the methodology to other worldwide locations using empirical equations with new correlation coefficients for estimating direct normal irradiance.