1. Introduction
Global warming and the increase of greenhouse gases caused by fossil-fuel-based energy generation have resulted in worldwide concern about future energy supply [
1]. These inconveniences have become an opportunity for the use of renewable energy such as solar, wind, tidal, geothermal, and biomass, among others. In 2018, approximately 15% of the total energy consumed worldwide was of renewable origin, and it is estimated that by 2050 this percentage may reach 28% [
2]. In terms of electrical energy generated, renewable sources generated 28% of the total worldwide energy in 2018, and it is estimated that they could produce 49% by 2050 [
2], reducing fossil fuel dependence and mitigating the effects caused by climate change. However, one drawback of renewable sources is their unpredictable nature and intermittency. To overcome this drawback, an attractive solution is to combine two or more energy sources in a hybrid system and include energy storage [
3]. For example, photovoltaic power generation can be used during the day and wind power generation (which usually generates more energy) can be used at night, so the two sources of energy complement each other [
4,
5]. Furthermore, the different energy sources can be managed as a microgrid, which can solve reliability problems and provide an environmentally friendly solution [
6]. In addition, increasing renewable energies can cause problems for quality; therefore, it is necessary to have a flexible and intelligent electrical network. One of the fundamental aspects to increase the electrical grid’s flexibility is the use of storage systems that allow compensation for the variability of renewable energy sources. Conversely, electricity grids are designed considering energy sources that do not present variability, which happens with renewables, so electricity grids must have enough back-up capacity. Storage capacity is essential, thus making it possible to increase renewable generation while avoiding the possible problems that could be caused by its variability [
3].
Hybrid microgrids are a new solution in remote areas that are difficult to access or that do not have access to conventional power grids [
7]. In hybrid microgrids based on renewable energy, one of the main elements that support the energy supply due to the variable intermittency such as radiation or wind, as mentioned above, is storage technologies, and batteries in particular are the most suitable and convenient.
Batteries are the most widely used storage devices in hybrid systems due to the maturity of technologies such as lead–acid and the emergence of technologies such as lithium-based batteries. The latter represents an attractive option due to their high energy density, longer life, and better environmental sustainability [
8]. In addition, lithium batteries have seen a price reduction between 8–16% annually [
9].
Batteries represent a high cost within a hybrid microgrid, and their performance and duration mainly depend on the microgrid’s operation. Battery life estimation is crucial since it influences the replacement costs and, therefore, the total system cost [
10]. The batteries’ optimal operation within a hybrid microgrid is influenced by factors such as technology, the amount of charge and discharge cycles, the current, and the operating temperature, among others [
11,
12]. Parameters related to aging by degradation and corrosion have been represented by authors, such as the model by Schiffer et al. [
13] that used weighted cycles and applied to lead–acid batteries.
Based on this model, a comparison of lead–acid battery life prediction models was presented by Dufo-López et al. [
14]. For battery life prediction, models based on equivalent cycles or “Rainflow” cycle counting models have traditionally been used [
15]. As for lithium batteries, there are models (e.g., Wang et al. [
16]) that include parameters such as the cycled charge (Ah) over time, charge and discharge currents, and temperature, applicable to LiFePO4/graphite (LFP) batteries. Other models for the same type of lithium batteries, such as that of Groot et al. [
17], study their degradation when subjected to asymmetric charge cycles and at different temperatures. Conversely, Saxena et al. [
18] considered an aging model based on state of charge (SOC) for lithium cobalt oxide LiCoO2/graphite batteries.
When batteries work in real conditions, the way they degrade and age differs from laboratory tests, so that the lifespan may be shorter than expected, as demonstrated in [
19] for lead–acid batteries. When optimizing isolated hybrid systems, it is essential to consider battery aging and degradation models to estimate parameters such as net present cost (NPC) and levelized cost of energy (LCOE) [
19]. In [
20], the authors presented an optimization of microgrid-insulated diesel-solar-wind power charge states of lead–acid batteries. Other studies have compared aging models for lead–acid and lithium batteries used in isolated photovoltaic systems [
21,
22].
The optimization of isolated hybrid systems mainly depends on predicting battery life, since an erroneous or overly optimistic prediction can lead to a poor estimate of the system costs. The importance of these considerations has been highlighted in recent publications [
23,
24]. However, it is necessary to consider these factors in systems where the actual and climatic conditions of operation differ considerably from the datasheet and the expected life of the battery according to laboratory tests.
This article presents the optimization of an isolated hybrid microgrid considering different lead–acid and lithium battery technologies and models. The system integrates solar modules, a battery, a wind turbine, a diesel generator, an inverter, and a charge controller. In addition, this system is optimized considering different battery models and technologies. In the second section, the different battery aging models are presented. In the third section, the microgrid under consideration is shown, and the results are presented in the fourth section. Finally, the conclusions and future work are presented.
2. Materials and Methods
Battery aging models represent essential aspects such as anodic corrosion, active mass degradation, loss of adhesion to the grid, formation of lead sulfate in the active mass, loss of water, and electrolyte stratification [
25]. Conversely, the models used for lithium batteries analyze capacity and power losses, impedance increase, and the effects caused by temperature [
26]. The different lead–acid and lithium battery models considered in this study are described below.
2.1. Simplified Model of Equivalent Ah Cycles
This model is used by optimization programs such as HOMER [
27]. In this model, battery life is supposed to be reached at the end of a finite number of charge and discharge cycles, and the number of cycles is usually shown in the battery datasheet. The IEC 60896-11: 2002 [
28] establishes the number of cycles. However, this model does not consider the battery’s operating status (e.g., SOC, temperature, acid stratification in the case of lead–acid batteries, current, and the amount of time the battery has not reached full charge). The number of complete cycles (
Zn) is calculated by Equation (1):
where
(A) is the absolute value of the discharge current.
is the nominal capacity of the battery (Ah).
If (when the number of cycles performed from the beginning of life until time t (h) is the same as the IEC number of cycles provided by the manufacturer), then the end of the battery life is reached.
2.2. Cycle Counting or Rainflow Model
The cycle-counting model, also known as “Rainflow,” is based on the Dowing algorithm [
29]. This model is based on the
Zi cycle count, corresponding to each Depth of Discharge (DOD) range (%), which is divided into m intervals for 1 year (an average year or the whole life). For each interval, there are several cycles until failure (
CFi). The battery life is calculated by Equation (2):
This model takes into consideration the depth of discharge of the cycles; however, it does not take into account the batteries’ operating conditions, such as acid stratification, current, and temperature.
2.3. Schiffer et al.’s (2007) Model
The Schiffer model is a weighted charge model (Ah) proposed by Schiffer et al. [
13] specifically for lead–acid batteries. The actual cycled charge in Ah is multiplied continuously by a weight factor that fully represents the battery’s actual operating conditions, considering the SOC (e.g., temperature, acid stratification, current, and the time it takes without reaching full charge) during the battery lifetime. The end of the battery’s lifetime is reached when its remaining capacity corresponds to 80% of the nominal capacity. Users can adapt this model to different battery types using the lifetime and flotation datasheet. Complex calculations to calculate the final loss of battery capacity due to continuous corrosion and degradation are made using Equation (3):
where
Ccorr is loss of corrosion capacity,
Cdeg is degradation capacity losses, and
Cd(0) is initial normalized battery capacity.
This model allows us to model the charge controller and configure the protections against overloads and other parameters.
2.4. Wang et al.’s (2011) Model
Wang et al.’s (2011) model provides a life cycle model for LiFePO4/graphite lithium–ferrophosphate batteries considering parameters such as accelerated charge/discharge tests under different temperature conditions and discharges depths [
30]. At low charge rates, the results indicate that the loss of capacity is significantly affected by time and temperature, whereas the effect is less important in the depth of discharge. This model underestimates the loss of capacity at 60 °C and overestimates it at 45 °C. The authors obtained a percentage of capacity loss given by Equation (4):
where
T is the absolute temperature in kelvins and
Ah is the amount of charge (Ah) involved in the charging process since the start of battery operation.
This equation is valid for charge rates equivalent to C/2; that is, 2-h full charge and discharge times. Charging rates are evaluated from this value up to 10C; that is, the battery will be fully charged in one-tenth of an hour. In our paper, we use this equation during the average year or the whole life.
2.5. Groot et al.’s (2015) Model
Groot et al. [
17] obtained an empirical equation for lithium batteries of 2.3 Ah. It is shown that the life cycle of LiFePO4/graphite lithium–ferrophosphate batteries not only depends on the rates of charge and discharge (current), temperature, and depth of discharge, but is also affected by the pauses between charge and discharge times and those dependencies are highly nonlinear. To model the above, they proposed an empirical relationship given by Equation (5):
where
QEOL is the charge that the battery can deliver in its lifetime (kAh),
I is the charge rate,
T is the temperature in °C, and
a,
b,
C,
d,
e, and
f are adjustment constants. In our paper, we use this equation during the average year or the whole life.
2.6. Saxena et al.’s (2016) Model
Saxena et al.’s (2016) model [
18] quantifies the life cycle for lithium oxide cobalt LiCoO2/graphite batteries subjected to charge states between 0–60%. It develops a model that estimates the batteries’ loss of capacity and the influence of the SOC and the rate of charge. Percentage of capacity loss is modeled by Equation (6):
where SOC
mean is the average SOC (30–50%), ΔSOC is variation of the SOC (100–60%),
EFC is equivalent full cycles, and
K1,
K2,
K3 = 3.25, 3.25, and 2.25, respectively. In our paper, we use this equation during the average year or the whole life.
2.7. Aging by Calendar Model
This model considers two options for determining age, the first proposed by Petit et al. [
30], which takes into account the loss of battery capacity due to two factors: current and temperature. Equation (7) describes this model:
where
Bcyc is an exponential factor in
Ah1−Zcyc, which depends on the current,
Eacyc is the activation energy expressed in J mol
−1,
γ is a coefficient to determine the acceleration in aging due to the current J mol
−1 A
−1, |
I| (A) is the absolute value of the current,
R is the gas constant (8.314 J·mol
−1·K
−1),
T is the absolute temperature (K), and
Zcyc is a constant with a value close to 0.5.
Swierczynski et al. [
31] presented the other model that considers the storage temperature, the number of cycles, and depth described using Equation (8):
where
tm is the storage time in months,
T is the temperature in °C, and SOC
st is the SOC at which the battery is stored (%).
The iHOGA (improved hybrid optimization by genetic algorithms) [
15] software version 2.5 allows selecting any of the two models. The value of the current is limited in such a way that when the current is below C
times, the nominal capacity of the batteries’ (0.2 by default) calendar aging model is used, and when it is higher, a cyclic aging model is used. In our paper, we use these equations during the average year or the whole life.
2.8. Economic Calculations
iHOGA software performs the simulation of different combinations of components (photovoltaic (PV) generator, wind turbine/s, battery bank, diesel generator, etc.) during a whole year, in hourly steps, except for the cases where the Schiffer et al. [
13] model for the battery is selected. In these cases, the simulation is also performed in hourly steps during the number of years of the battery lifetime (a priori it is not known, but it becomes known when the battery’s remaining capacity has dropped to 80%).
For each combination of components and control strategies of the system, NPC and LCOE must be calculated so that the genetic algorithm [
32] used by iHOGA can calculate the fitness of each combination and finally, after several generations, achieve the optimal system (the optimal combination of components and control strategy).
The NPC (€) of a combination of components
i and control strategy
k (NPC
i,k) is obtained considering the acquisition cost of all the components, the installation and replacement costs of the components, the operating and maintenance (O&M) cost, and the fuel cost during the system lifetime,
Lifesystem (years). All the cash flows are converted to the initial moment of the system (hour 0, year 1), considering inflation and interest rates [
23]:
where
j is the different components,
ty is one year of the system lifetime,
Costj is the acquisition cost of component
j, NPC
repj is the sum of the replacement costs of component
j during the system lifetime minus the residual cost of component
j at the end of the system lifetime,
CostO&Mj is the annual O&M cost of component
j,
Infgeneral is the general annual expected inflation,
I is the annual interest rate,
Costfuel is the annual cost of the fuel used by the diesel generator,
Inffuel is the annual expected diesel fuel inflation, and
CostINST is the installation cost.
The LCOE (€/kWh) of a combination of components
i and control strategy
k (LCOE
i,k) is calculated as follows:
where
Eload (kWh/yr) is the annual expected load of the system.
2.9. Case Study
The microgrid considered for this study is located in the community of Nazareth (Department of La Guajira, Colombia), and its coordinates are latitude 12° 20′ 52.14″ N, longitude −71°16′8.80″ W. This place belongs to Colombia’s non-interconnected area (the Spanish acronym ZNI is used for these areas); however, it is located in a geographical place with a high potential for solar and wind resources, where proposals for microgrids have been made [
33,
34]. In addition, this area is characterized by not having 100% energy supply coverage.
Figure 1 shows the microgrid.
The load profile is obtained according to the Energy Solutions data for the non-interconnected areas of Colombia IPSE (the government branch that plans and promotes these energy systems) [
36], with an average temperature of 27 °C [
37].
Table 1 shows the irradiation and wind data of the system installation site obtained from [
38]. It can be seen that variation in irradiation and wind throughout the year is not very high. This situation is typical at latitudes close to the equator [
39,
40]. This small variability in wind and photovoltaic resources throughout the year allows for better use of renewable sources than at other latitudes [
6]. The average daily electricity consumption is 30 kWh/day. The consumption is for households and street lighting. As it is an isolated microgrid, not interconnected with an electricity system, consumers of the microgrid cannot participate in the Colombian electricity market as self-consumers. The high number of areas not connected to the electricity grid is one of the most significant obstacles for renewable energy sources to participate in the Colombian electricity market [
41].
Figure 2 and
Figure 3 show the wind speed and solar radiation values for 1 year at the simulated microgrid’s location.
Figure 4 shows the load profile during a typical day.
The voltages in the microgrid are 48/220 V (CD/AC), the wind turbine power is 600 W, the inverter charger is 500 VA/48 V/70 A, the charge controller is PWM/48V/40A, and the diesel generator power is 1.6 kW. The other system data are summarized in
Table 2 and
Table 3.
The system’s lifetime is considered the same as a PV generator’s expected lifetime (the most common PV lifetime considered by researchers all around the world is 25 years). The economic data used to calculate the NPC of the actual system are shown in
Table 4, obtaining the results of
Section 3.1.
In this work, electricity supply optimization has been carried out for this case, considering various possibilities for the PV generator size, as well as for the wind turbine, diesel generator, and lead–acid batteries. In addition, various lithium battery sizes have been considered.
Optimization means also looking for the optimal control strategy between the two preselected options by the iHOGA software [
42]. The two global strategies are as follow:
Demand monitoring: Based on systems that include batteries and either diesel or gasoline generators, when the energy from renewable sources is not enough to meet the demand, the batteries will provide the rest of the energy. If the batteries cannot cover all of the demand, then the generator will work to meet the rest of the demand.
Cyclic charging: If the generator is required to provide power, then it will only work at its nominal power not only to meet the demand but also to charge the batteries only during that hour. This strategy may have a variation called a cyclic strategy up to the setpoint, which means that the diesel generator will continue to operate at its nominal power until the battery bank reaches a specific value of SOC charge status, which is at 95% by default.
5. Conclusions
The most relevant conclusions of this work are as follows:
Optimal dimensioning and management of the elements that make up a microgrid give rise to significant energy and economic benefits.
Classic models for estimating battery life provide results that are too optimistic, so it is advisable to use models that are more realistic.
The effect of temperature in the estimation of battery life can be significant, so models that consider this parameter should be used.
Lithium-ion batteries are suitable as storage systems in a microgrid since they give rise to a lower cost throughout the life of the installation due to a longer lifespan than lead–acid batteries and a lower maintenance cost.
These conclusions allow us to state that it is necessary optimize the designs of microgrids not connected to the electricity grid since the economic benefits can be significant. An adequate design will allow for better use of renewable generation, and even take advantage of the surplus energy that can be used in electric vehicles, or in the case of islands, for water desalination. Furthermore, it is necessary to be open-minded and use other storage technologies, in addition to lead–acid batteries, since a lower initial cost does not imply that the total cost, throughout the life of the installation, will be low. Therefore, the use of other generation technologies, such as lithium-ion batteries, should be considered in the design, although their initial cost may be higher.