Introduction

In Saudi Arabia, electric grid is broadly spread for continuous and high power quality supply. However, there are many remote areas, which are not connected to the public utility grid. Generally, diesel generators units are one of the suitable options to supply energy to those areas due to their compact design, high specific power and low initial cost. Since fossil fuel price has been increasing in the last decade, the generation and maintenance cost have been also increased. Also, the operation and maintenance cost of diesel generators is highly affected by load demand profiles, where the maximum efficiency is accomplishes only when the diesel generator operate near its rated capacity. Furthermore, burning fossil fuel emits severe gases such as CO2 which is the main cause of greenhouse effect [1]. Hence, there is a need to diminish the dependency on fossil fuel to generate electricity. In recent times, the renewable systems such as PV and wind turbine are being extensively used to lessen fuel consumption for electricity generation. From a practical prospective neither a PV system only nor a wind system only can deliver an uninterrupted supply due to periodical deviations of these systems [2].

Depending on the availability of renewable resources and load profile, sometime two resources or more mixed together to form hybrid energy system (HES) [3]. This kind of HES mitigates single system variations and decreases the storage elements which in turn decrease overall system costs [4]. However, the optimal sizing of hybrid systems is more complicated compared with single energy sources due to the nonlinear behavior of the system resources and high number of factors that have to be deliberated for the optimal sizing [5]. Moreover, the mutual dependent between the optimal sizing and the energy management strategy of the HES, makes the optimal sizing of such systems complicated. Therefore, optimal sizing approach is crucial step to exploit the renewable energy systems efficiently and economically [6]. The optimum sizing approach uses the cost of energy (COE) as cost function to be minimized. It necessitates the evaluation of the long-term performance of the HES to achieve the best compromise between power system reliability and investment cost [7].

Numerous researches have been conducted in the field of optimization of HES, such as iterative, graphical, linear programming, probabilistic, metaheuristics methods and others. The main goal of each method is to find the optimum values of the system parameters for a given configuration. Thus, Yang et al. [8] introduced an optimum sizing model based on iterative optimization method called HSWSO to optimize HES that consists of PV/wind/battery. This model is comprised of three main models: components model such as PV array, wind turbine and battery bank; the reliability model based on loss of power supply probability (LPSP) technique; and the economic model based on COE. The system with the lowest LCE is considered as the cost-effective optimum configuration. Diaf et al. [9] utilized iterative optimization technique to conduct techno-economic optimization of HES that consists of PV/wind turbine with/without uninterruptible power supply (UPS) to supply an assumed load to be installed at three selected locations in Corsica Island in France. The main objective of these studies is to optimize the dimensions of HES components which guarantee the lowest LCE, while the second objective is to compare the performance of PV/wind turbine/UPS and PV/wind turbine/without UPS. According to the author’s results, the type of the system configuration have an effect on the LCE and on the battery state of charge (SOC) profile, mainly at low windy sites. Similarly, Kaabeche et al. [10] introduced an optimization model based on iterative optimization technique of PV/wind hybrid system which is planned to supply residential household located in Algeria. The optimization process is conducted based on LPSP and the relativity excess power generated for power system reliability, while the economical part is done based levelised COE, total annualized cost and break-even distance. The optimized decision parameters are the number of PV arrays, number of wind turbine at different autonomy day of the battery capacity. Ferrari et al. [11] utilized GA to optimally size hybrid PV/wind turbine/diesel energy system proposed to supply remote mountain chalet in Italian Alps. The GA optimized the proposed configuration by minimizing LPSP and annualized cost of system using three different load profiles. The impact of component characteristics on the optimal HES is also investigated. A techno-economic valuation of a hybrid PV/battery/diesel system for an isolated Malaysian community is introduced by Ismail et al. [12]. The PV/battery/diesel HES was found to be the most visible choice. The two other options examined exhibit higher values for COE. In [13], the optimal HES is not accomplished only via choosing the configuration with the lowest COE but also by selecting an appropriate renewable energy fraction that supply the load with zero LPSP. Additionally, nine hybrid systems were explored and weighed against their economical, technical and environmental performance. For each scenario, the HES were optimized to achieve a maximum output power at a low COE.

In this research, two hybrid system with battery banks as energy storage system to supply a typical load demand in an isolated area in Saudi Arabia is investigated under different diesel price. An optimization model based on genetic algorithm is used to determine the optimum HES. Four parameters were included in the proposed technique; PV array power, wind turbine rated power, number of battery banks, and diesel generator rated power. To use this model, an hourly data bank of the solar radiation, wind speed and load demand for the desired site must be available. The technical specifications and costs of the system equipment are also needed. The proposed model shows all the possible configurations (renewable energy sources capacity, number of battery banks, diesel generator rated power, operational hours, fuel consumption, renewable energy fraction, etc.) that fulfills the load demand requirements. The proposed technique has been applied to assess the technical and economic conditions of transitioning isolated area in Saudi Arabia to HES based systems. While PV system is often considered as too expensive and not competitive enough with conventional systems, this research demonstrates that the COE could decrease by 45% when using HES.

Case study

The purpose of this paper is to explore the techno-economic feasibility of two stand-alone HES in remote area in Saudi Arabia. Isolated villages near Arar in Saudi Arabia which are not linked to the public grid were selected. These villages having reasonable solar radiation and wind speed and having information on the public living necessities. In these settlements, the load requirements are satisfied using diesel power stations [14, 15]. These stations are operated either by Saudi Electricity Company (SEC) or by private contractors.

Hybrid energy systems configurations

The proposed HES that were applied to supply the load requirements of the villages under study compose of the following techniques:

  • Photovoltaic, battery banks and diesel generator (PV/battery/DG).

  • Wind turbine, battery banks and diesel generator (WT/battery/DG).

These systems were then investigated, assessed and compared against their performance through this study. The assessment of the diesel price effects on optimal renewable energy fraction is crucial to this study. Figures 1, 2 show the PV–diesel–battery and WT-diesel-battery hybrid energy systems.

Fig. 1
figure 1

Structure of the PV–diesel–battery HES

Fig. 2
figure 2

Structure of the wind–diesel–battery HES

During the system operational different cases were distinguished, as shown in Fig. 3:

Fig. 3
figure 3

Flowchart of LPSP calculation

  • If load demand (\(E_{L} \left( t \right)\)) is less than the power produced from renewable resources (\(P_{WT} \left( t \right)\) or \(P_{\text{PV}} \left( t \right)\)), then excess power will be used to charge the battery via converter and charge controller. If battery banks capacity (\(C_{\text{Batt}}\)) reaches it maximum level (\({\text{SOC}}_{ \hbox{max} }\)), then excess power will be dissipated.

  • If the power produced from renewable resources is higher than load demand (\(E_{L} \left( t \right)\)), the shortage will be delivered by battery if state of charge of battery banks (\({\text{SOC}}\left( {\text{t}} \right)\)) is higher than minimum value (\({\text{SOC}}_{ \hbox{min} }\)).

  • If the total energy generated from renewable energy resources is less than the load demand and \({\text{SOC}}\left( {\text{t}} \right)\) of battery banks is equal to \({\text{SOC}}_{ \hbox{min} }\), diesel generator (DG) will be run to supply the load as follows:

  • If the shortage is less than the minimum working point of the DG (\(P_{\text{DGmin}}\)), then DG will be run at \(P_{\text{DGmin}}\) and excess will be dissipated.

  • While if the shortage is higher than \(P_{\text{DGmin}}\) and less than DG rated power (\(P_{\text{DGrated}}\)), the shortage will be delivered by DG. Else, if the shortage is higher than \(P_{\text{DGrated}}\), DG will be run at the rated power and the lacking energy will delivered by battery banks if stored level is enough.

  • The LPSP can be calculated using [6]

  • $${\text{LPSP}} = \frac{{\mathop \sum \nolimits_{t = 0}^{T} {\text{ Power Failure Time }}\left( {\text{PFT}} \right)}}{T}.$$
    (1)
  • The PFT is defined as the time that the load is not fulfilled when the generated power is inadequate and SOC of battery banks is equal to \({\text{SOC}}_{ \hbox{min} }\).

Hybrid energy system modeling

Photovoltaic system

The mathematical model for calculation the output power of PV system is consisted of two parts: solar radiation conversion model and photovoltaic module power model.

Solar radiation conversion module

The PV module can be positioned at any tilted angle and at any orientation. Since most stations only record solar irradiance on a horizontal plane, an estimation of the global solar irradiance incident on tilted PV system is necessary.

In general, the global solar irradiance on any tilted plan \(G_{{G,{\text{tilted}}}}\) can be calculated using

$$G_{{G , {\text{tilted}}}} = G_{\text{dir,tilted}} + G_{\text{diff,tilted}} + G_{\text{ref,tilted}} ,$$
(2)

where \(G_{\text{dir,tilted}} ,G_{\text{diff,tilted}}\) and \(G_{\text{ref,tilted}}\) are the hourly direct, diffuse and reflected radiation on tilted plan. The tilted diffused solar radiation can be calculated using the model proposed by Daif [11].

Photovoltaic model

The PV output power can be approximated using the solar irradiance incident on tilted PV, the ambient temperature and the manufacturer information for the PV module [16]:

$$P_{\text{PV}} = P_{R} f_{\text{PV}} \left( {\frac{{\overline{{G_{T} }} }}{{\overline{{G_{{T,{\text{STC}}}} }} }}} \right)\left[ {1 + \alpha_{P} \left( {T_{c} - T_{{c,\,\,{\text{STC}}}} } \right)} \right],$$
(3)

where \(P_{R}\) is the PV module nominal power; \(\overline{{G_{{T,\,{\text{STC}}}} }}\) and \(T_{{c,{\text{STC}}}}\) are the incident irradiance and PV temperature under standard test conditions (STC), respectively; \(\overline{{G_{T} }}\) and \(T_{c}\) are the incident irradiance and the temperature of the tilted PV array, respectively; \(\alpha_{P}\) and \(f_{\text{PV}}\) are the temperature coefficient of power and the PV derating factor, respectively. The temperature of the PV module can be calculated using [16]

$$T_{c} = \frac{{T_{a} + \left( {{\text{NOCT}} - T_{{a,{\text{NOCT}}}} } \right)\left( {\frac{{\overline{{G_{T} }} }}{{G_{{T,{\text{NOCT}}}} }}} \right)\left[ {1 - \frac{{\eta_{mp} }}{0.9}} \right]}}{{1 + \left( {{\text{NOCT}} - T_{{a,{\text{NOCT}}}} } \right)\left( {\frac{{G_{T} }}{{G_{{T,{\text{NOCT}}}} }}} \right)\left( {\frac{{\alpha_{P } \eta_{mp,STC} }}{0.9}} \right)}},$$
(4)

where \(T_{a}\) the PV module ambient temperature; NOCT is the nominal operating cell temperature; \(T_{{a,{\text{NOCT}}}}\) is the PV module ambient temperature at the NOCT conditions; \(G_{{T,{\text{NOCT}}}}\) is the solar irradiance under NOCT conditions; \(\eta_{{{\text{mp}},{\text{STC}}}}\) is the maximum power point efficiency under STC; \(\eta_{\text{mp}}\) is the maximum power point efficiency.

The \(\eta_{\text{mp}}\) is given according to the following equation [16]:

$$\eta_{\text{mp}} = \eta_{{{\text{mp}},{\text{STC}}}} \left( {1 - \alpha_{P} T_{{c,{\text{STC}}}} } \right).$$
(5)

Consequently, when the solar irradiance on the tilted photovoltaic module and the ambient temperature are identified, the hourly output power of the photovoltaic system can be calculated using Eq. 3.

Wind system

The output power of wind turbine depends on three main parameters; the wind turbine rated power (\(P_{r}\)), cut-in speed (\(V_{c}\)), rated speed (\(V_{r}\)), and cutoff speed (\(V_{f}\)) [17, 18]. Figure 4 shows typical wind turbine characteristics based on a quadratic model. The wind turbine output power \(P_{WT} \left( V \right)\) can be calculated using [17]

Fig. 4
figure 4

Wind turbine output power characteristics

$$P_{{{\text{WT}}}} \left( V \right) = P_{r} \times \left\{ {\begin{array}{*{20}c} 0 & {V\left\langle {V_{c} \,or\,V} \right\rangle V_{f} } \\ {\frac{{V^{2} - V_{c}^{2} }}{{V_{r}^{2} - V_{c}^{2} }}} & {V_{c} \le V \le V_{f} } \\ 1 & {V_{r} \le V \le V_{f} } \\ \end{array} } \right.$$
(6)

Since the wind speed are commonly recorded at standard altitude (10 m or 20 m); thus, it is necessary to do some approximation from measured wind speeds.

The wind profile power law is one of the most common approaches and can be defined by

$$V_{\text{hub}} = V_{\text{data}} \left( {\frac{{Z_{\text{hub}} }}{{Z_{\text{data}} }}} \right)^{\alpha } ,$$
(7)

where \(V_{\text{hub}}\)  is the wind speed at the hub height  \(Z_{\text{hub}}\), and  \(V_{\text{data}}\)  is the measured wind speed at the measured height  \(Z_{\text{data}}\) and \(\alpha\) is power low exponent. In this paper, the wind speed is recorded at 30 m AGL by KACST and it is extrapolated to 60 m AGL using \(\alpha = 1/7\).

Diesel generator model

Diesel generator (DG) is necessary to meet the load requirements once the total power produced from renewable resources and storage system is not sufficient to supply the load requirements. The fuel consumption and the annual fuel cost can be calculated by the following equation [19]:

$$C_{DG} = C_{F} \mathop \sum \limits_{t = 1}^{8760} F\left( t \right),$$
(8)

where \(F\left( t \right)\) is the DG fuel consumption per hour and it can be found using

$$F\left( t \right) = A \times P_{\text{DG}} \left( t \right) + B \times P_{R} ,$$
(9)

where \(P_{R}\) and \(P_{DG} \left( t \right)\) are the rated power and generated power of the DG, respectively, \(C_{F}\) is the diesel price per liter and A and B are the fuel curve constant [19].

It can be seen from the above equation that the fuel consumption of the DG depends on the rated power and generated power. Consequently, DG should not work below its minimum setting. Usually, the manufacturers give a recommendation about the generator minimum setting; therefore, the operation of DG has to be in the range between the rated power and minimum value [20] and mathematically it can be expressed as follows:

$$P_{{{\text{DG}},{ \hbox{min} }}} \le P_{\text{DG}} \left( t \right) \le P_{{DG,{ \hbox{max} }}} .$$
(10)

Battery bank model

Storage system is crucial part in any renewable energy system. since renewable resources output power are not regularly available due to the meteorological environments. Therefore, storage system is used to supply the deficient energy. The state of charge (SOC) of battery bank depends on the total power generated from renewable resources and can be calculated using [21]:

  • Charging mode

    $$\begin{aligned} &{\text{SOC}}\,(t) = {\text{SOC}}\,(t - 1)\,(1 - \sigma ) \\&\quad+ \left( {E_{\text{GA}} (t) - \frac{{E_{L} (t)}}{{\eta_{\text{inv}} }}} \right)\,\eta_{\text{battery}} :E_{\text{GA}} > \frac{{E_{L} (t)}}{{\eta_{\text{inv}} }}. \end{aligned}$$
    (11)
  • Discharging mode

    $$\begin{aligned}& {\text{SOC}}\,(t) = {\text{SOC}}\,(t - 1)\,(1 - \sigma ) \\&\quad+ \left( {E_{\text{GA}} (t) - \frac{{E_{L} (t)}}{{\eta_{\text{inv}} }}} \right)\,\eta_{\text{battery}} :E_{\text{GA}} < \frac{{E_{L} (t)}}{{\eta_{\text{inv}} }}, \end{aligned}$$
    (12)

Where \(E_{\text{GA}} \left( t \right)\), \(E_{L} \left( t \right)\), \(\eta_{\text{inv}}\), \(\sigma\) and \(\eta_{\text{battery}}\) and are the total generated power, total load demand, inverter efficiency, self-discharging factor and charge efficiency of battery bank, respectively. The value of \({\text{SOC}}\left( t \right)\) could not be less than a minimum permissible energy point which must be remain in battery bank (\({\text{SOC}}_{ \hbox{min} }\)). In addition, while charging operation, the value of \({\text{SOC}}\left( t \right)\) could not be higher than a maximum permissible energy point (\({\text{SOC}}_{ \hbox{max} }\)). Mathematically it can be expressed as follows [22]:

$${\text{SOC}}_{ \hbox{min} } \le {\text{SOC}}\left( t \right) \le {\text{SOC}}_{ \hbox{max} } .$$
(13)

The maximum state of charge, \({\text{SOC}}_{ \hbox{max} }\) equal the nominal capacity of battery bank,\(C_{\text{Batt}}\) and the minimum state of charge, \({\text{SOC}}_{ \hbox{min} }\), is depends on the battery bank depth of discharge, DOD: \({\text{SOC}}_{ \hbox{min} } \, = \,\left( { 1- {\text{DOD}}} \right)\)\(C_{\text{Batt}}\).

Renewable energy fraction model

The renewable energy fraction (REF) is the amount of energy produced form renewable resources that goes to supply the load and it can be expressed using [16]

$${\text{REF}} = \left( {1 - \frac{{E_{{L,{\text{DG}}}} }}{{E_{{L,\,{\text{served}}}} }}} \right) \times 100,$$
(14)

where \(E_{{L,{\text{DG}}}}\) is the amount of load demand supplied by the DG. Pure renewable system equivalent to REF of 100%, whereas pure DG equivalent to REF of 0% and the remaining values between these boundaries correspond to HES.

Economic model

The COE concept is used as a benchmark of the hybrid system cost investigation in this paper. The COE is defining as the average cost per kWh of useful energy generated by the HES and can be expressed as [16]

$${\text{COE}} = \frac{{{\text{Annualized system cost }}\left( {\text{ASC}} \right)}}{{{\text{Load served}}\;(E_{{L,{\text{served}}}} )}}.$$
(15)

The ASC is calculated by adding the annualized capital cost \(C_{\text{acap}}\), annualized replacement cost \(C_{\text{arep}}\) and annualized maintenance cost \(C_{\text{amain}}\):

$${\text{ASC}} = C_{\text{acap}} + C_{\text{arep}} + C_{\text{amain}} .$$
(16)

The annualized capital cost is expressed using the following equation:

$$C_{\text{acap}} = C_{\text{cap}} {\text{CRF}}\left( {i,Y_{\text{proj}} } \right),$$
(17)

where CRF is the capital recovery factor, \(C_{\text{cap}}\) is the total capital cost; \(Y_{\text{proj}}\) is project lifetime.

The \(C_{\text{cap}}\) can be expressed using

$$C_{\text{cap}} = C_{\text{renwable}} + C_{\text{Batt}} + C_{\text{DG}} ,$$
(18)

where \(C_{\text{renewable}}\), \(C_{\text{Batt}}\) and \(C_{\text{DG}}\) are the capital cost of the renewable component, battery bank and DG.

The capital recovery factor is expressed using

$${\text{CRF}}\,\left( {i,Y_{\text{proj}} } \right) = \frac{{i\left( {1 + i} \right)^{{Y_{\text{proj}} }} }}{{\left( {1 + i} \right)^{{Y_{\text{proj}} }} - 1}}.$$
(19)

The annualized replacement cost can be calculated using

$$C_{\text{arep}} = C_{\text{rep}} \,SSF\,\left( {i,Y_{\text{rep}} } \right),$$
(20)

where \(C_{\text{rep}}\) is the capital replacement cost, SSF is the sink fund factor, \(Y_{rep}\) is the lifetime of the component.

The sinking fund factor is calculated using

$${\text{SSF}}\left( {i,Y_{\text{proj}} } \right) = \frac{i}{{\left( {1 + i} \right)^{{Y_{\text{rep}} }} - 1}}.$$
(21)

Technical information of each component is essential to correctly investigate the performance of each of the nominated HES. Additionally, the cost of each components of the chosen HES was also necessary to evaluate the economic performance and, consequently, the COE of each HES. The technical information of the battery bank, photovoltaic module, and the wind turbine speed characteristics are listed in Tables 1, 2 and 3, respectively. The cost information of the system components is listed in Table 4. The hourly data of load demand, wind speed and solar irradiation during 1 year is plotted in Figs. 5 and 6.

Table 1 Battery specifications
Table 2 Photovoltaic module specifications
Table 3 Wind turbine speed characteristics
Table 4 Capital cost and lifetime of the system components [23,24,25]
Fig. 5
figure 5

Load demand for the village under study

Fig. 6
figure 6

Hourly data of wind speed and solar irradiance

Computer model

The final step of this study is to develop an optimization model based on the aforementioned collected data to find the optimum PV array capacity/WT rated power and number of battery banks. The desired REF and LPSP values must also specified. The maximum rated power of DG is nominated to meet the peak load demand. The flow chart of the proposed model is presented in Fig. 7. The battery bank is permitted to discharge up to its minimum state of charge (SOCmin). PV arrays power, WT rated power, diesel generator rated power and the number of battery banks randomly chosen becomes the chromosomes of GA. The proposed model validates if the chosen chromosomes fulfilled the technical constraints (LPSP and REF). If the chosen chromosome has a lower COE than the previous COE achieved from the previous generation, this chromosome is chosen to be the optimal solution in the current generation. The optimal chromosome will be altered by enhanced solutions created in following genetic algorithm generations. Therefore, as to generate the next population, once the selection process is accomplished, the optimal chromosome will then be susceptible to the crossover and mutation operations. This steps is repeated until the termination condition has been achieved and each new generation subjects to the desired LPSP and REF:

Fig. 7
figure 7

Proposed optimization model

$${\text{LPSP}} \le {\text{LPSP}}_{\text{set}} {\text{and REF}} \le {\text{REF}}_{\text{set}} .$$
(20)

Results and discussion

GA code-based Matlab program has been created to discover the optimum design of the two HES under study. The GA parameters comprise of 100 populations, and 300 maximum generations. The crossover and mutation rates are taken to be 0.7 and 0.25, respectively. Each chromosome contains three genes represents PV capacity/WT rated power, diesel generator rated power and number of battery banks. This study explores a proper combination of wind turbine, PV array, diesel generator and the battery banks to match the load requirements as shown in Table 5.

Table 5 Operational hours of DG, REF, surplus energy, annual fuel consumption, COE under different cases

To perform the simulation, different cases are considered as follows:

  • Optimal HES consists of PV array, battery and DG (PV/diesel/battery).

  • Optimal HES consists of wind turbine, battery and DG (wind/diesel/battery).

  • Optimal HES consists of PV array and DG (PV/diesel).

  • Diesel generator system (diesel only).

In each case study, the optimal sizing is performed and compared on the basis of key indicators, i.e., LPSP, COE and REF, to achieve an economical and optimal autonomous HES. It can be seen that PV/diesel/battery system has lowest COE (0.063135 $/kWh) value as compared to the other optimal systems under subsidized diesel price (0.13 $/L). The PV/diesel/battery system has comparatively lowest COE due to the elimination of the storage bank, while as wind/diesel/battery system has the highest COE as well as replacement cost due to the larger storage bank size. The fuel saving using HES systems based on 0.13 $/Liter as compared to the diesel only system is approximately 60%, whereas, the percentage decrease in carbon emissions of the optimum HES is about 43% as compared to the diesel only system.

Figures 8 and 9 manifest the variation of the REF and the COE of wind/battery/diesel and PV/battery/diesel hybrid systems for zero LPSP as a function of the diesel price. It can be observed that the optimum REF increases as the diesel price increases, for a given wind speed and solar radiation. As shown in this figure, with increasing the diesel price, the role of the DG in energy generation becomes less and decreases by 20–55%.

Fig. 8
figure 8

Impact of diesel price on renewable penetration ratio and COE

Fig. 9
figure 9

Impact of diesel price on system component size for LPSP 0% (a) PV/battery/diesel (b) wind/battery/diesel

To determine the effect of increasing diesel prices on the COE of the best system configurations, the minimum COE curves of the system configurations meeting the LPSPs of 0% are shown in Fig. 8. With the elimination of diesel price subsidies (assuming a diesel price 0.1–0.5 $/L) the PV/battery/diesel system with DG rated power between 300 and 200 kW, PV array power between 280 and 650 kW with battery banks between 0 and 2200 kWh is more cost-effective than the other systems. It can be also noticed that the storage requirements of PV/battery/diesel system is much higher than that of wind/battery/diesel system due to the fact that proposed location has more fluctuating solar radiation as compared to wind speed, as shown in Fig. 9.

The effect of renewable resources variation on the optimal HES is presented in graphical form in Fig. 10. The most significant importance of this figure is that it can be used in the assortment of HES at other locations in Northern part of Saudi Arabia. The location covered by each HES is strongly dependent on the renewable resources variation and diesel price. It can be observed from Fig. 10 that the hybrid systems is the most economically choice even if the solar radiation decreases to half. Figure 10 also shows that irrespective of the wind speed, PV/battery/diesel system is the optimal choice if the wind speed is less than about 6.75 m/s. At solar radiation and wind speed less than 1500 W/m2, 5.6 m/s, respectively, diesel only system is cost effective.

Fig. 10
figure 10

Optimal HES for PV array cost of 1000 $/kW, wind turbine cost of 1300$/kW and diesel price of 0.13$/L (a) PV/battery/diesel (b) wind/battery/diesel

The effects of PV and WT cost on the optimal HES are shown in Fig. 11. It can be observed that the PV/battery/diesel system is the most viable choice when PV array cost is less than 1600 $/kW. It can further be observed from Fig. 11 that optimal renewable penetration ratio increases as the renewable cost decreases, for a given diesel price. Furthermore, for a given diesel price, the wind/battery/diesel system is the viable choice when WT cost is higher than 1600 $/kW.

Fig. 11
figure 11

Impact of system components cost on optimal system type for diesel price of 0.13 $/L and LPSP of 0%

Conclusion

In this study, the techno-economic prospective of transitioning the isolated area in Saudi Arabia is evaluated. The optimal sizing methodology of PV/battery/diesel, PV/Diesel and wind/battery/diesel hybrid energy conversion systems to supply the load demand of rural area has been proposed under different fuel cost scenarios. The optimization approach takes into account the effects of fuel cost on optimal renewable penetration ratio, component size and COE. The technical model is modeled based on LPSP and renewable penetration ratio whereas economic model is developed based on COE. Results first showed that, the PV systems are the most economical option to supply the load requirements. The elimination of fuel cost subsidies decreases the role of diesel generator in energy production by about 20–55%. In detail, it was found that if Saudi Arabia eliminates the fuel cost subsidies, the COE of the DG only system increases by more than 41.3% as compared to the HES based on diesel prices of 0.5 $/Liter. It found also that the storage system has a significant effect on the COE figures and the presence of batteries to the HES diminishes the diesel generator requirements and hence decreases the fuel consumption.