Meteorological input parameters (monthly).

## Abstract

In developing countries, rural electrification in areas with limited or no access to grid connection is one of the most challenging issues for governments. These areas are partially integrated with the electrical grid. This poor electricity distribution is mainly due to geographical inaccessibility, rugged terrains, lack of electrical infrastructure, and high required economic investment for installing large grid-connected power lines over long distances to provide electricity for regions with a low population. On the other hand, rapid depletion of fossil fuel resources on a global scale and progressive increase of energy demand and fuel price are other motives to reduce the reliance on fossil fuels. Hybrid renewable energy system (HRES) can be a suitable option for such remote areas. The objective of this chapter is to develop a methodology for sizing hybrid power generation systems (solar-diesel), battery-backed in non-interconnected zones, which minimizes the total cost and maximizes the reliability of supply using particle swarm optimization (PSO). The proposed methodology assists the sizing and designing process of an HRES for an off-grid area minimizing the cost of energy (COE) and maximizing the reliability of the system. Economic incentives offered by the Colombian government are considered in the model.

### Keywords

- hybrid renewable energy system (HRES)
- stand-alone systems
- off-grid areas
- particle swarm optimization (PSO)
- photovoltaic energy
- power dispatch strategy

## 1. Introduction

Due to the technological and industrial worldwide progress and the growing industry and society need of power generation for the development and increment of life quality, it is of unquestionable importance to increase sustainable access to electrical energy. In developing countries, there are still many locations without power supply.

Power generation through fossil generators offers a continuous and reliable source of energy making it a very popular option for electrification in off-grid areas. This alternative presents an initial investment cost relatively low compared to other sources of power generation. However, fossil power generators are sized to meet peak demand and have a low performance when the load is quite below to its rated capacity. Additionally, operating and maintenance costs are high; the cost of energy (COE) is subject to changes according the national and international fuel markets. In addition, logistical challenges associated with fuel supply in remote areas can cause a significant increase in generation costs [1]. A solution for these disadvantages is the implementation of HRES which includes fossil and other energy sources. For warm and high-average daily radiation levels, photovoltaic solar energy with battery backup represents an attractive complementary source to diesel generation systems. This solution allows the reduction of generation costs and increased system reliability [2, 3].

Hybrid systems have shown lower generation costs and greater reliability than dependent systems of a single source of energy [1, 2, 3, 4, 5, 6]. Each element of the system has to be properly sized to achieve a techno-economic profitability. Therefore, the penetration of renewable energy sources in the energy market depends mainly on the applied sizing methodology to optimize its design [7].

The optimization of these systems could be complex, since many variables are naturally stochastic and linked to the selected location. Examples of these variables are temperature, solar resource, and load profile of the location [8]. Moreover, the optimization technique depends on the selected objective function, which can be oriented in seeking financial gain, increasing system reliability, and reducing the environmental impact [9].

Then, it is necessary to develop a methodology for optimizing the design of HRES that allows the integration of photovoltaic and diesel generation systems, with or without energy storage, allowing to reduce energy costs and maintaining a high reliability in energy supply in off-grid areas. The methodology requires a set of input information linked to the project site, as meteorological and load profile data, and also technical and economic information of the main equipment of the HRES. Then, an optimization process is necessary to determine the best combination of diesel power, PV power, and battery bank capacity. Economic and reliability parameters that support the solution obtained is expected to be presented with the solution.

In the last decade, several optimization techniques have been used to obtain an optimal solution of the sizing of HRES [7, 10, 11, 12, 13]. The results among different approaches may vary depending on the characteristics of the model which permits to simulate the behavior of different elements of the system and also the economic and reliability model used as base on the optimization process.

The main objective of this work is to develop an optimization methodology for sizing HRES in off-grid areas of developing countries. In contrast to other works, each step of the methodology is described in detail. Also, special condition will be considered on the development of the economic and reliable model to adjust it to the reality of Colombia, for example, the national and international physical distribution cost or the incentive proposed by the Act 1715 for electrification using non-conventional energy sources in Colombia.

## 2. Proposed methodology

In this methodology, the grid can be formed either from the diesel unit or from a master inverter. The diesel generation is only required when the energy produced by the photovoltaic source and the energy backup in the battery bank is lower than the demanded load. The following items summarize the key characteristics of the dispatch strategy used in this work to model PV-diesel with battery storage systems: (1) the system is considered DC-coupled (Figure 1) and (2) the load following strategy is adopted [1]. The diesel generators are only used to supply the load when there is insufficient power from the PV source and the battery bank. Only the minimum DG unit required operates in every time step; (3) all DG units must operate over the minimum load ratio (

The proposed methodology is composed of the following steps: (1) a dispatch strategy algorithm, (2) calculation of economic indicators, (3) calculation of reliability indicators, (4) calculation of fiscal incentives, and (5) a PSO optimization process given an objective function which optimizes the number of components of the installation and a calculation of economic and reliability indicators for the best solution. The following subsections detail the steps of the methodology. Figure 2 shows the schematic of the proposed methodology and the optimization process.

### 2.1 Dispatch strategy algorithm

Figure 3 shows the dispatch strategy flowchart used on the diesel-PV-battery model for a year which algorithm is described in detail below.

1. Obtain or generate inputs of the system: load profile (

2. Introduce the following technical information of each element of the system and initialize variables.

2.1. According to the available location and its restrictions, introduce the following technical information:

2.2. Initialize the following variables: *SOC*) is initialized considering that the battery is full charged),

3. Calculate the battery model which expresses the equations in the function of the energy each hour:

(1) The maximum amount of energy that the battery bank can be discharged in one time step (

(2) The maximum amount of energy that the battery can be charged in one time step (

4. Calculate the hourly generated energy of the PV system (

5. Calculate the difference between PV energy generated and the energy demanded by the load (

6. If

6.1. If *SOC* of the battery is updated:

Go to step 10.

6.2. Else, the battery bank is fully charged; SOC is updated. There is excess of energy that cannot be used supplying the load or charging the battery, so energy wasted (

Go to step 10.

7. If

7.1. If

Go to step 10.

7.2. Otherwise, diesel generation is required. Go to step 8.

8. Diesel generation is necessary. Photovoltaic energy is used to charge the battery bank, and the diesel generation is used to supply the load. The energy stored in the battery bank and energy generated by the diesel unit is used to supply the load at night.

8.1. **Case 1:**

Go to step 10.

8.2. **Case 2:**

8.2.1. **Case 2.1:**

Go to step 9.

8.2.1.1. **Case 2.1.1:**

Go to **step** 9.

8.2.1.2. **Case 2.1.2:**

Go to **step** 9.

8.2.2. **Case 2.2:**

8.2.2.1. **Case 2.2.1:**

8.3. **Case 3:** (

8.3.1. **Case 3.1:** (

8.3.1.1. **Case 3.1.1:** (**generation** and the energy provided by the battery bank are not sufficient to supply the load; the energy not supplied is accounted.

8.3.2. **Case 3.2:** (

9. The fuel consumption

10. Increase the time step (

After run the previous algorithm; economic and reliability indicators should be calculated using the following procedure:

### 2.2 Economic indicators

An economic analysis is required to determine the optimum cost and benefit ratio of HRES. These systems generally require high capital investment, even though they have low operation and maintenance (O&M) costs and less fuel costs in comparison with systems relaying only on fossil fuels. In this study, the annualized cost of the system (ACS) and the cost of energy (COE) are considered as the economic criteria to evaluate the feasibility of this hybridized system configuration.

The annualized cost of the system (ACS) is the sum of the annualized capital cost (

where

The real interest rate is used to convert between one-time costs and annualized costs. By defining the real discount rate, the inflation rate effect is factored out of the economic analysis. All costs, therefore, become real costs, which are in defined in terms of constant dollars. The real interest rate is calculated by

where

The capital cost for each component is described as follows:

where

The replacement cost is calculated for each element. The replacement cost of the photovoltaic system is assumed null, as the photovoltaic modules have a life cycle superior to the lifetime of the project and it is assumed in this model that the charge controllers and inverters do not need replacement during the lifetime of the project. The replacement cost of the battery system and the DG unit can be calculated as

where

where

The fixed mount PV systems do not have moving parts, so operating and maintenance costs consist of regular cleaning and monitoring of performance, the annual operation, and maintenance cost can be estimated as a percentage of the PV system total investment

In a similar way, the annual operation and maintenance cost for the battery system can be calculated as percentage of the total investment cost of the battery system. This cost can vary according to the technology of the battery bank. For example, the cost of operation and maintenance for vented lead-acid batteries is higher than maintenance-free sealed lead-acid batteries or Li-ion batteries. The percentage of the total investment cost,

The operation and maintenance cost for the diesel system components is divided in two values: a fixed cost, expressed as a percentage of the diesel initial investment,

The cost of energy (COE) can be defined as the average cost per kWh of useful electrical energy produced by the system [21]. It can be obtained as the ratio between the annualized cost of the system and the effective load served in 1 year. The economic model assumes that the yearly effective load served is constant over the lifetime of the project. COE can be calculated as follows:

### 2.3 Reliability indicators

The dependency on nature and unpredictability of solar resources has a great impact on energy production which leads to unreliable power supply during cloudy days. A system is reliable if it can supply the required power to the electrical load within a specific time period.

The loss of power supply probability (LPSP) is the most widely used method to evaluate the reliability in hybrid system, therefore is selected, in this work, as reliability criteria. The LPSP be calculated as the ratio of power supply deficit to the electric load demand during a certain period of time (normally a year). A ratio equal to zero means all load demand, during the period of time, is served by system (53). LPSP is given by

A method that takes into account the weight of reliability in the economic model includes a component of the cost of electricity interruptions or cost of load (

The cost of electricity lost for non-interconnected zone can vary with respect the reference cost and could be difficult to estimate, as depends on the willingness of users to pay for a more robust system. The cost of electricity not supply (

### 2.4 Fiscal incentives

Under the Colombian Renewable Energy Law, new clean energy projects will receive up to 50% tax credits, but they can only be applied during the first 5 years. In this work, when the fiscal incentives are considered, it is assumed that the company will receive the 50% of the tax credit equally distributed over the first 5 years of the project. In general, investment tax credits can be calculated as

In a similar way, it is assumed that the effect of depreciation is equally distributed each year, and the useful life for accelerated depreciation purposes is 5 years; then

Assuming an effective corporate tax income rate of 33% and under the previous consideration, the tax reduction factor

where

Fiscal incentives granted by the Colombian Act 1715 only apply to not conventional energy source installation and its components. In this way, the incentive tax factor only applies to the capital cost of photovoltaic and battery components:

### 2.5 Objective function: optimization process

The objective of this work is sizing hybrid power generation systems (solar-diesel) battery-backed, in non-interconnected zones, which minimizes the total cost of the solution and maximize the reliability of supply. To minimize the total cost of the system, the following objective function is used:

This work aims to develop an optimization model for sizing an energy system to supply the energy demand on an off-grid location. The optimization of these systems could be complex, since many variables are naturally stochastic depending mostly on the characteristic of the solar resource and the load profile of the selected location. The objective is to minimize the total cost of the solution and maximize the reliability of the supply.

As a result of the optimization problems, the following information are obtained: (1) amount of photovoltaic modules and therefore the total photovoltaic power in kWp, (2) amount of diesel generation units and the total diesel energy power in kWp, (3) amount of battery cell required and total capacity of the energy storage system in kWh, (4) energy flow in the system showing the different states of the system according to the dispatch strategy described in this work, (5) discriminated cost of each technology in terms of initial capital required and O&M cost, (6) annualized cost of energy of the best solution, and (7) amount and cost of energy not supplied and LPSP.

## 3. Case study

“Santa Cruz del Islote” in Bolivar, Colombia, was used as a location for the case study. This rural community is selected to evaluate the optimization model developed in this work.

### 3.1 Meteorological inputs and load profile

The monthly global irradiance over the horizontal and over the plane of the array was calculated using a MATLAB routine developed in this work and then compared with results obtained from Solargis. Table 1 shows the results obtained. The difference can be accounted to the simplicity of the transposition model used in our MATLAB routine; nevertheless the results are good enough for the purpose of this work.

Global horizontal irradiation [kWh/m^{2}] Solargis | Global horizontal irradiation [kWh/m^{2}] calculated | Dev [%] | Global tilted irradiation [kWh/m^{2}] Solargis | Global tilted irradiation [kWh/m^{2}] calculated | Dev [%] | |
---|---|---|---|---|---|---|

Jan | 183.6 | 182.0 | −0.88% | 201.9 | 198.6 | −1.65% |

Feb | 175.6 | 174.2 | −0.81% | 186.9 | 184.3 | −1.41% |

Mar | 194.3 | 193.0 | −0.68% | 198.5 | 196.2 | −1.14% |

Apr | 177.2 | 176.1 | −0.65% | 175 | 172.9 | −1.17% |

May | 166.4 | 165.2 | −0.70% | 160.1 | 158.8 | −0.83% |

Jun | 161.9 | 160.8 | −0.71% | 153.6 | 152.6 | −0.65% |

Jul | 173.2 | 172.0 | −0.69% | 165.3 | 163.9 | −0.84% |

Aug | 171.7 | 170.6 | −0.65% | 167.8 | 166.1 | −1.03% |

Sep | 160.9 | 159.8 | −0.70% | 162 | 160.1 | −1.17% |

Oct | 155.8 | 154.4 | −0.91% | 162.4 | 159.5 | −1.79% |

Nov | 149.1 | 147.7 | −0.96% | 160.5 | 157.1 | −2.13% |

Dec | 161.2 | 159.7 | −0.93% | 177.8 | 174.1 | −2.09% |

Year | 2030.9 | 2015.3 | −0.77% | 2071.8 | 2044.1 | −1.34% |

The load profile data was obtained from the National Monitoring Center (CNM) of the IPSE [22]. Table 2 shows the input data used to generate the daily load profile curve. Figure 4 shows the daily load profile for a week generated by a MATLAB routine developed in this work.

Hour | Power [%] | Uncertainty factor [%] | Hour | Power [%] | Uncertainty factor [%] |
---|---|---|---|---|---|

0 | 7.78 | 10 | 12 | 0.96 | 10 |

1 | 7.68 | 10 | 13 | 2.88 | 10 |

2 | 7.40 | 10 | 14 | 5.67 | 10 |

3 | 7.20 | 10 | 15 | 5.86 | 10 |

4 | 6.34 | 10 | 16 | 3.75 | 10 |

5 | 1.15 | 10 | 17 | 1.54 | 10 |

6 | 0.00 | 0 | 18 | 0.96 | 10 |

7 | 0.00 | 0 | 19 | 6.24 | 10 |

8 | 0.00 | 0 | 20 | 8.65 | 10 |

9 | 0.00 | 0 | 21 | 8.65 | 10 |

10 | 0.00 | 0 | 22 | 8.65 | 10 |

11 | 0.38 | 10 | 23 | 8.26 | 10 |

Yearly average daily energy demand [kWh], | 520.5 |

### 3.2 Technical inputs

This subsection describes the technical inputs required by the photovoltaic, diesel, and battery model employed in the optimization model developed in this work.

#### 3.2.1 Photovoltaic module technical data

A monocrystalline PV module of 300 Wp, reference JKM300M-60, from the company JINKO SOLAR, is used. Table 3 shows the technical characteristics of the PV module selected. The cost per Wp installed presented in Table 3 includes other costs not related to the price of the PV modules as the cost of charge controller, the PV inverters, and the mounting structure. Also this price includes indirect cost associated to the PV installation as engineering study costs, logistic costs, and certification costs. The cost per Wp presented is taken as reference and is provided by experts consulted in companies of energy sector.

Symbol | Description | Value |
---|---|---|

Maximum power [Wp] | 300 | |

Maximum power voltage [V] | 32.6 | |

Maximum power current [A] | 9.21 | |

Open-circuit voltage [V] | 40.1 | |

Short-circuit current [A] | 9.72 | |

Module efficiency (%) | 18.33 | |

Power temperature coefficient [%/°C] | −0.39 | |

V_{oc} temperature coefficient [%/°C] | −0.29 | |

I_{sc} temperature coefficient [%/°C] | 0.05 | |

NOCT [°C] | 45 | |

Cost per Wp installed [USD/Wp] | 2 | |

Fixed OM factor as ratio of the PV CC | 0.01 | |

Photovoltaic derating factor | 0.85 | |

Inverter efficiency | 0.9 |

#### 3.2.2 Diesel genset technical data

The input data required by the diesel generation model is presented in Table 4. This information is collected from expert opinions on companies in the energy sector. This information must be validated each time the optimization model is used since it can vary depending on the studied case.

Diesel input data | ||
---|---|---|

Symbol | Description | Value |

Maximum number of DG unit | 5 | |

Minimum load ratio allowed | 0.3 | |

Lifecycle [years] | 10 | |

Fixed OM value as percentage of the diesel initial investment [%] | 0.1 | |

Fuel cost [USD/l] | 0.8 |

Table 5 shows a database of diesel generation units with the cost per kW and the fuel curve parameters. This table was built using information supplied by the Colombian Regulation Commission of Energy and Gas (CREG—Comisión de Regulación de Energía y Gas) in [23]. The cost per kW presented in Table 5 includes the direct and indirect costs related to the installation of a Diesel plant in non-interconnected zones.

DG power [kW] | Cost per kW installed [USD/kW] | Derate factors of the initial capital cost invested [%] | 1/2 load 1 hour in liters | Full-load 1 hour in liters | f_{0} [L/kWh] | f_{1} [L/kWh] |
---|---|---|---|---|---|---|

10 | 2724.09 | 31.83 | 1.4 | 2.6 | 0.020 | 0.240 |

20 | 1697.26 | 32.43 | 3.4 | 6.05 | 0.037 | 0.265 |

25 | 1540.12 | 31.63 | 3.6 | 6.4 | 0.032 | 0.224 |

30 | 1934.44 | 23.00 | 6.8 | 10.96 | 0.088 | 0.277 |

40 | 1654.09 | 23.71 | 8.69 | 15.12 | 0.056 | 0.321 |

50 | 1434.92 | 25.12 | 9.825 | 16.63 | 0.060 | 0.272 |

60 | 1343.75 | 25.26 | 10.96 | 18.14 | 0.063 | 0.239 |

70 | 1788.83 | 18.13 | 11.43 | 19.77 | 0.044 | 0.238 |

80 | 1686.08 | 18.56 | 11.9 | 21.4 | 0.030 | 0.237 |

100 | 1723.40 | 17.24 | 12.85 | 23.06 | 0.026 | 0.204 |

125 | 1587.11 | 17.92 | 18.9 | 34.4 | 0.027 | 0.248 |

150 | 1572.63 | 17.55 | 22.3 | 41.2 | 0.022 | 0.252 |

200 | 1373.73 | 19.32 | 29.11 | 54.43 | 0.019 | 0.253 |

#### 3.2.3 Battery bank technical data

In this chapter book, vented lead-acid battery banks only are considered. This kind of battery cells are often selected for large energy storage banks due the low cost, low maintenance, and high cycle stability. Table 6 shows the input data required by the battery bank. The battery bank charge and discharge efficiency and the self-discharge ratio is taken from [24]. The maximum depth of discharge is set in 0.5 since the battery bank can accomplish 3000 cycles during its life service according the datasheet. Other values as maintenance cost,

Battery bank input data | ||
---|---|---|

Symbol | Description | Value |

Battery voltage [V] | 2 | |

DC system voltage [V] | 48 | |

Capacity rate [h] | 5 | |

Charge efficiency | 0.9 | |

Discharge efficiency | 1 | |

Self-discharge rate | 0.000083 | |

Lifecycle [years] | 10 | |

Factor of the initial capital cost invested for the battery bank | 0.7 | |

Fixed OM factor as ratio of the battery bank initial investment | 0.02 | |

Maximum depth of discharge | 0.5 |

The main characteristics and price of the battery cells of the reference used in this work are presented in Table 7. The information was obtained from inquiries to local companies.

Battery cell capacity [Ah] at C10 | Battery cell capacity [kWh] at C10 | Battery cell voltage [V] | # of cycles at 50% DOD | Price per unit [USD] (€) | Price per kWh [USD/kWh] (€) |
---|---|---|---|---|---|

280 | 0.56 | 2 | 3000 | 114.00 | 203.57 |

350 | 0.7 | 2 | 3000 | 135.00 | 192.86 |

420 | 0.84 | 2 | 3000 | 153.00 | 182.14 |

520 | 1.04 | 2 | 3000 | 161.00 | 154.81 |

620 | 1.24 | 2 | 3000 | 186.00 | 150.00 |

730 | 1.46 | 2 | 3000 | 210.00 | 143.84 |

910 | 1.82 | 2 | 3000 | 234.00 | 128.57 |

1070 | 2.14 | 2 | 3000 | 303.00 | 141.59 |

1220 | 2.44 | 2 | 3000 | 330.00 | 135.25 |

1370 | 2.74 | 2 | 3000 | 361.00 | 131.75 |

1520 | 3.04 | 2 | 3000 | 389.00 | 127.96 |

1670 | 3.34 | 2 | 3000 | 426.00 | 127.54 |

1820 | 3.64 | 2 | 3000 | 460.00 | 126.37 |

2170 | 4.34 | 2 | 3000 | 538.00 | 123.96 |

2540 | 5.08 | 2 | 3000 | 664.00 | 130.71 |

2900 | 5.8 | 2 | 3000 | 744.00 | 128.28 |

3250 | 6.5 | 2 | 3000 | 834.00 | 128.31 |

3610 | 7.22 | 2 | 3000 | 906.00 | 125.48 |

3980 | 7.96 | 2 | 3000 | 981.00 | 123.24 |

4340 | 8.68 | 2 | 3000 | 1056.00 | 121.66 |

4700 | 9.4 | 2 | 3000 | 1097.00 | 116.70 |

#### 3.2.4 System inputs

The system input parameters are shown in Table 8. The cost of energy lost is assumed in 0.2 USD/kWh. This value depends on the necessities and characteristics of the users of the select location. The interest rate considered in this work is 8.08% taken in [25].

System inputs parameters | ||
---|---|---|

Symbol | Description | Value |

Time of the project [years] | 20 | |

Real interest rate [%] | 8.08 | |

Cost of energy loss [USD/kWh] | 0.2 | |

Fiscal incentive factor | 0.9038 |

Fiscal incentive factor is calculated applying an effective corporate tax income rate of 33%. The resulting incentive factor is 0.938.

The parameters for the PSO algorithm and the boundaries for each decision variable are shown in Table 9.

PSO input parameters | ||
---|---|---|

Symbol | Description | Value |

Lower bound number of PV modules | 0 | |

Lower bound nominal power of diesel | 0 | |

Lower bound number of battery cell in parallel | 0 | |

Lower bound nominal capacity of battery cell [kWh] | 0 | |

Upper bound number of PV modules | 20,000 | |

Upper bound nominal power of diesel unit in [kW] | 200 | |

Upper bound number of battery cell in parallel | 10 | |

Upper bound nominal capacity of battery cell [kWh] | 9.40 | |

Maximum number of iterations | 50 | |

Population size | 200 | |

Inertia coefficient | 1 | |

Inertia coefficient max | 0.9 | |

Inertia coefficient min | 0.5 | |

Personal acceleration coefficient | 2.5 | |

Social acceleration coefficient | 1.5 |

## 4. Results of the case study

Table 10 summarized the obtained results after applying the proposed sizing methodology. The best cost achieved was 0.2090 USD/kWh being the lowest obtained. The optimization results deliver no only the design (number of components) but also economic and reliability indicators.

Component | Design | Unit | Indicator | Value | Unit |
---|---|---|---|---|---|

13 | Units | 7800.00 | USD | ||

3.9 | [kWp] | 48257.99 | USD | ||

25 | [kW] | 3864.00 | USD | ||

2 | Units | 78.00 | USD/year | ||

50 | [kW] | 4825.80 | USD/year | ||

1 | Units | 26884.74 | USD/year | ||

24 | Units | 31710.54 | USD/year | ||

24 | Units | 77.28 | USD/year | ||

1.04 | [kWh] | 7019.48 | USD | ||

24.96 | [kWh] | 1243.60 | USD | ||

38406.77 | [l] | ||||

38737.05 | USD/year | ||||

1.25 | % | ||||

0.26 | USD/kWh | ||||

475.03 | USD/year | ||||

0.00 | % | ||||

0.21 | USD/kWh |

## 5. Conclusions

In this work, an optimization methodology was developed and described in detail to help sizing HRSE integrated by photovoltaic and diesel generation with energy storage.

The main features of the sizing methodology developed were as follows: (a) it allows the simulation of hybrid renewable systems and the evaluation of its economic and reliability integrated by diesel and photovoltaic generation with energy storage, (b) the dispatch strategy developed prioritize the use of renewable energy among other energy sources, and (c) fiscal incentives granted by the Act 1715 of 2014 in Colombia were considered on the calculation of the cost of energy using the fiscal incentive factor.

The reliability of the system was included in the objective function of the PSO algorithm through the annual cost of the energy not supplied. Also a fiscal incentive factor was used to include the financial benefits granted by the Act 1715 of 2014 in Colombia to non-conventional renewable source of energy. The results were obtained after simulating the energy flow of the system for 1 year with 1-hour resolution.

Dispatch strategy was described in detail, prioritizing the use of renewable resource over diesel generation to supply the load. Also diesel generation cannot be used to charge the battery bank. This condition was based on the fact that, in off-grid areas, the complications associated to supply the fuel and the maintenance of DG units are commonly underestimated.

It is expected that this work will help the process of designing HRES in non-interconnected areas, thus contributing to the development of these locations and improving the life quality of the population living on these places.

## Acknowledgments

The authors gratefully acknowledge the financial support provided by the Colombia Scientific Program within the framework called “Ecosistema Científico” (Contract No. FP44842-218-2018).