Economical Evaluation and Optimal Energy Management of a Stand-Alone Hybrid Energy System Handling in Genetic Algorithm Strategies

Hybrid renewable energy systems are a promising technology for clean and sustainable development. In this paper, an intelligent algorithm, based on a genetic algorithm (GA), was developed and used to optimize the energy management and design of wind/PV/tidal/ storage battery model for a stand-alone hybrid system located in Brittany, France. This proposed optimization focuses on the economic analysis to reduce the total cost of hybrid system model. It suggests supplying the load demand under different climate condition during a 25-years interval, for different possible cases and solutions respecting many constraints. The proposed GA-based optimization approach achieved results clear highlight its practicality and applicability to any hybrid power system model, including optimal energy management, cost constraint, and high reliability.


Introduction
The expansion in energy demand coupled with the rising concerns of global warming and the continuous progress in the field of renewable energies, has yield to open a new opportunity for applications of renewable clean energies; and the hybrid generation systems have been indexed as a solution to face the rising gap between supply and demand, particulary for stand-alone system [1,2].Today, intense research and development activities are carried out and are available in the literature [3].Research activities on hybrid renewable energy systems are spread since many years and evolve by steps.Significant research work were carried out to minimize the cost of energy through the optimization of design, operation and control of the hybrid renewable energy systems [4][5][6][7][8][9].In different research papers [10][11][12][13][14][15][16], it has been justified that hybrid renewable energy systems in stand-alone applications are cheaply feasible, certainly in isolated sites and is as well strategic in the near future.Optimal sizing and design are still the corner stone of research activities, and different sides and restrictions must be taken into consideration, such as reliability, flexibility, efficiency, economic cost, availability of energy sources and elements generation components, the SOC of the battery and the location of electrical loads from electric grid etc. Various researches have been conducting to achieve the optimal economic and design for hybrid systems, which have one or more of the electrical components source such as the (solar module, wind turbine, tidal turbine, diesel generator, energy storage systems etc.).Wherever, different approaches have been used to build up the hybrid systems in order to meet various goals and to get the optimized system.For this purpose a lot of optimal algorithms; such as cascade analysis (ESCA), particle swarm optimization technique (PSO), fuzzy algorithms, genetic algorithm, artificial neural network (ANN), etc, are available in the literature [17][18][19][20][21][22], but each study is performed in its own context under different conditions and assumptions.
This paper suggests supplying load demand in a stand-alone system in Brittany, France, under various climate conditions, and concentrates on economical cost design and optimal energy management of a hybrid renewable energy system (Wind/Tidal/PV and Energy Storage).The optimal economical design is performed reducing the total net present cost (TNPC), investment costs, reduced current values of all costs during the period of life 25 years and minimizing the total cost of energy.The genetic algorithm (GA) was improved by demonstrating their effectiveness and adaptivity for exploring global optimal solutions in order to meet many constraints such as enhance the environment, boost system reliability, maintain battery life, increase the efficiency and minimize pollution.
This paper is organized as follows.Section 2 describes the mathematical model of each component of the hybrid generation system.The management strategy and operation approach are presented in Section 3. Section 4 is dedicated to constraints and objective function description.The Genetic Algorithm optimization is depicted in Section 5.The simulation results are presented in Section 6 to illustrate the performance of proposed method, and in the last section the conclusion is presented.

Models of the Hybrid System Components
The proposed model of a stand-alone hybrid renewable system is illustrated in Figure 1.It includes photovoltaic panels, wind turbines, tidal turbines, storage system, inverters, controllers and other devices to satisfy an electrical load 16 MWh/day peak 2 MW is described below.The suggested approach is using GA as artificial intelligence methods, GA is developed to get the optimization based on energy management and the cost analysis.

Wind Turbine Model
The hourly average power production of wind generators could be calculated using the wind movement speed at the peak of the standard hub; wind speed is obtained from the historical data, (Figure 2) the daily wind speed throughout one year in the area under study [23,24].Selecting the practical model for wind turbine is very necessary.The generated power depending on the type and rated power of the wind turbine.Which can be expressed by: where P w is the output power of wind turbine, η w is the efficiency of wind turbine which supposed to be about 85% in this paper, R is the length of the blades of wind turbine, ρ is the density of air, v is the speed of our wind and C p is the power coefficient of wind turbine.The power produced by the wind turbine can be calculated from any wind speed at any time according to the following equation: In this paper, the wind turbine type proposed is ENERCON E − 70, with a rated power capacity of 2300 Kw, some parameters of the ENERCON E − 70 wind turbine are listed in Table 1 [25][26][27].

PV Array Model
The optimization in designing a hybrid power generation systems in terms of solar cells is based upon reducing their numbers.The output of PV panels has to contain the impact of geographic location, for example, solar radiation, the season of the year, ambient temperature, the tiled surfaces, etc.The hourly solar radiation in the location under study shown in Figure 3.The output power of photovoltaic system is determined by Equation (3) [28][29][30].
where G t is the global radiation incident on the titled plane (W/m 2 ), NPV is the number of PV modules, η PV is the efficiency of each PV module, A m is the area of a singular PV module used in m 2 .Characteristics of the PV module, such as the lifetime of PV module, the rated power, total cost and efficiency are shown in Table 2.

Tidal Turbine Model
The advantages of tidal current energy are not impacted by much of climate condition such as rainfall, blowing wind, clouds, radiation, but is affected by tides, its location on the ground, water's temperature and density.The strength of the tidal current changes, according to the distance of the moon about the sun and earth.The amplitude of the tide-generating pressure is about (32%) sun and (68%) moon caused by their corresponding distance and masses of the earth [31].In this work, the hourly tidal current speed at the location under study is used for generating power is illustrated by Figure 4.The power generated by the tidal turbine (P tid ) can be estimated by the following Equation [32][33][34]: where N tid is the number of current turbines, A is the cross sectional area of the tidal turbine, ρ t is the density of sea water, V expresses the tidal current velocity, C p is the turbine power coefficient and it is considered to be in the range of (0.35-0.5) [35], η tid is the efficiency of the tidal turbine and it is determined according to the tidal turbine characteristics.For the proposed system, the pitch is fixed, therefore the power coefficient predicate only on λ, the highest power coefficient is considered 0.44, that accords to the optimal tip speed ratio λ opt , its value here is 7.59, this value is considered as for recognizing (MPPT) under the current rated tidal velocities.In this paper, a tidal turbine with rated capacity 500 kW is considered and its life time is proposed to be 25 years.The characteristics and parameters of the tidal turbine are described in Table 3 [36].Tidal current speed en (m/s)

Storage System and Converter Models
Storage systems are used to support the hybrid power system and increase its reliability, through storing the excess production of energy by the hybrid system, then provide energy to the electric load during the period of disability.There are many types of energy storage systems, like batteries, super-capacitors, fuel cells, flywheel energy storage and compressed air energy storage.For the proposed architecture, the battery storage system is considered to sustain the hybrid power generation system.The lifetime of the battery is much affected by charge and discharge factor, so it is important to maintain the state of charge (SOC) of the battery between the highest and the lowest allowed value.To calculate SOC of the battery at any time (t), the SOC at (t − 1), the charging and discharging time and the current should be calculated in advance.The state of charge of the battery at any time (t) can be calculated using the following Equation [37]: where Ćbat is the nominal capacity of the battery given in (Ah), η bat is the battery charging and discharging efficiency.The storage battery capacity in all cases is subject to the following constraints: The battery SOC can be estimated as the balance between the generated power and the absorbed power in each hour.In addition, there are more restrictions as the last value of the SOC at the end of the year should be higher than its initial value, this contributes to raising the reliability of this hybrid system and assure its charge to this hybrid system work in the next year.The energy generated by hybrid renewable system E GA (t) at any time t can be expressed as: where E PV , E w , E tid are the energy generated by PV modules, wind turbine, tidal turbine respectively.The battery bank must satisfy the load demand when the energy generated by the hybrid system is unable to compensate for the electrical load.Moreover, the energy is stored in the battery bank once the feeding from the hybrid system surpasses the electrical load.At any time, the state of charge of batteries SOC(t) is related to the past state of charge SOC(t − 1), the energy production and consumption case of the hybrid system during the interval from (t − 1) to t.In this study, the storage battery bank lifetime is assumed to be 10 years, the maximum charge is 85% and the depth of discharge is 20%.The proposed model has a nominal voltage of 100 volts and an energy rating of 50 (kWh).The other parameters of the battery bank are described in Table 4.The converter used for DC-AC conversion has the foloowing characteristics; lifetime 15 years, the efficiency is considered 90%, the initial capital cost and replacement cost is being considered 310$ for converter size of 2 kW, the operating and maintenance cost is 50 ($/Unit-year) [38].

Electrical Load Model
In this paper, the data for the load consumption was taken from the French electricity transmission network manager (RTE) website [39].Archival load demand consumption data from the 1996 is available to the public through this site.For this issue, hourly data taken from 2014 in metropolitan France (excepted Corsica) were scaled and used to achieve a 2 MW peak load for the purposes of representing a typical load size for a wind/PV/tidal/battery system.Adjusting and scalling the data down is illustrative of a typical load as the hourly trends are maintained.For this purpose, the scaled annual average daily load is 16 MWh/day.

Power Management and Operation Strategy
To generate the energy of the electrical load with a hybrid renewable energy source, suitable power management is required.if power generation from renewable sources P GH , and load power demand P load , within this study power management is considered to three cases as here: (1) If P GH ≡ P load , the hybrid renewable sources supplies the load power demand.
(2) If P GH P load , the surplus power will be used to charge the battery bank, but if battery bank is completely charged the surplus power will dump or will inject into the electric grid in the case of its proximity.
(3) If P GH ≺ P load , the battery bank will produce the remaining power to feed the electrical load.

Objective Function and Constraints
Designing a hybrid renewable energy systems must meet different goals and reach objectives, however, some of these goals are very complex because of the non-linearity in the performance of some components of the whole system, and the high number of variables.In this paper, we consider the optimal energy management and sizing of a hybrid renewable energy system based on selecting the optimal number of energy source devices, the cost price of the equipment and services maintenance and replacement.We implement the minimum total cost (TNPC) of the system as an objective function, which is present values of all the components costs that it gets over its lifetime minus the present value of all the income that it earns during its lifetime, this function consists of the capital cost, the replacement cost, the operational and maintenance cost (OMC), fixed cost and the revenues include salvage value (SV), the TNPC can be calculated as follows [40][41][42]: The CRF it applied to calculate the current value of a series of equal annual cash flows, we can be calculate with the C ann,tot as below: where i is the annual real interest rate which considered 0.06, and Y proj is the project lifetime years.The reliability of hybrid power system is proposed to satisfy the electrical load by 100%, with the following constraints: • The electrical load is satisfying by the power generated.

•
The SOC of the battery remains between the maximum and minimum acceptable values.

•
The number of the renewable energy components are staying between suggestion values.

Genetic Algorithm Optimization
The Genetic algorithm (GA) is an heuristic search optimization strategy, built on the basis of the evolutionary ideas of natural picking and genetics such as the crossover and the mutation.The genetic algorithm is generally used to solve the nonlinear optimization problems by taking advantage of random searches with many possible solutions at the same time, not an individual point and uses the genetic algorithm operators instead of deterministic ones.It does not need other extra knowledge, but only the fitness functions or the objective function, the GA is able to solve the optimal global solution that is very complex to approach with other technical methods in multidimensional search areas [43].In this paper, a GA was performed to search for the optimal configurations of PV modules, wind turbines, tidal turbines, battery bank, and converters that minimize the total cost represented by TNPC of the system, when taking in consideration all constraints.The flowchart of the applied GA algorithm optimization is shown in Figure 5.The first step in this approach, is to create a set of initial generations (chromosomes), which create randomly from the ranges of proposed solutions, each chromosome is controlled and configured in order to be as an ideal solution for the hybrid renewable power system.Selection of optimal chromosome in genetic algorithms based on variables of the optimization problem being solved.The chromosome is a collection of one vector of variables and each gene represent the parameters of one component of the hybrid system and must be best number depend on the fitness function that is evaluated for each chromosome.After that, all chromosomes fulfilling the limitation and constraints will be selected and arranged according to its fitness values from the best to the worst, while others chromosomes that are not meeting the limitations are ignored.Then, the three GA procedures; selection, crossover and mutation, are applied to all chromosomes.Generations are evaluated in each iteration and sorted according to their preferences, keeping the best chromosomes, and make sure they were investigating the restrictions.

Repeat winner of chromosomes
The optimal solution Sor t the chromosomes

The generating completed
Re applying tools GA for high precision results In this paper, at the initial generation, a hundred random chromosomes were created according to the permitted ranges for each component, the crossover operation is performed by dividing the chromosomes evenly into two groups of parents.It will be noted that applying crossover operation between parents in every time is random and based on the probability of crossover P c , before performing the crossover operation a random crossover point is selected on both parents' chromosome strings (hybrid components).The data beyond that point in either chromosome string is exchanged between the two parent chromosomes.Newly generated chromosomes represent the new children.In the mutation operation also depends on the probability of mutation P m .Various methods can be applied to get the mutation, such as Boundary method, Flip Bit method, Gaussian method, Uniform and non-uniform method.In this paper, the Uniform mutation operation method has been implemented.Where the operator changes the value of the selected gene to an uniform random value chosen between the defined lower and upper bounds for that gene.It is important to mention here that to reach better result, 1000 generations were created, in each generation, 100 chromosomes were generated, the proportion rate of crossover operation is about 80% of the total crossover operation for each iteration, while, the probability proportion of mutation operation is 20% of the total mutation operation.

End
The proposed Genetic algorithm approach has been developed by adding new technology dealing with some of the genes within the winner chromosomes to get better and accurate results in a short time.The carried out strategy is able to continuously modulate the chromosomes, where, over next generations, the population develops towards the best solution.All the genetic algorithm advantages have been harnessed and developed to get the optimization of the solution and giving elasticity in the selection of system components.The economic problem was represented by minimizing the (TNPC) of a hybrid renewable energy system, considering many of conditions and constraint to ensure high reliability to satisfy the load demand.

Simulation Results and Discussion
The economic problem to minimize the (TNPC) of the hybrid system is solved in this work, by using the genetic algorithm, with respect of many constraints for optimal power management.Initially, all data and variables related to the system are inserted, solar energy, tidal energy, wind energy, battery sizes, all price details such as the total cost, maintenance and operating costs, the project life, the temperature, the coordinates of the location, the type and size of wind and tidal turbines available, proximity of the national grid, depth of charge of the battery and etc.One of the important things when applying genetic algorithm to solve the problem of optimization is the representation of the objective function and all restrictions in each chromosome to get to the best solution.The genetic algorithm design in order to get more accurate solutions and with the minimum time as the characteristics consists of 100 individual chromosomes and the maximum number of generations is 1000, the GA presents many and a variety of possible solutions of the problem, but the selection of the final optimum solution is delegated to the system's designer depending on its requirements and other variables like the availability of energy sources, the location and so on.Table 5 indicates optimal results of different components (the most recommended chromosomes), that are included in the renewable hybrid system, where the optimal result for designing an optimal hybrid power generation system, is achieved by using two wind turbines with battery and inverter, and where the lowest TNPC is (3,488,089$) and COE is 0.0942 $/kWh.Figures 6 and 7 illustrate the energy management balance in the suggested hybrid renewable energy system for scenario 1 and scenario 2 respectively.Scenario 1 represents the overall economic solution of the optimal hybrid power generation system, scenario 2 represents the optimal hybrid system that contains all possible components with minimum cost.It can be observed that electrical load is satisfied perfectly by the hybrid renewable system in the optimal composition.For a full day, no load rejected was found.Moreover, the battery discharges during the course of any shortage in the energy sources.Figure 8 shows the variation of the SOC of the battery bank in one day.In order to ensure access to the best results in a short time, the program was developed using a new method dealing with the genes of the winner chromosomes, it is the enhanced method.The convergence of the two GA methods (classic and enhanced method) for the best results of this hybrid power generation system is shown in Figure 9.The comparison between final results for different components of the hybrid power generation system for the same location, shows that the hybrid system with wind turbine and the battery is very economical compared with another hybrid system, because of the high percentage of wind average in this region.Simultaneously, it illustrates the high cost of the hybrid system that depends on the solar cells and battery due to low temperatures and solar radiation in this region, these results depend on location, solar radiation, the strength of the storm-wind, tidal power, and for an other site other variables or constraints are taken into consideration.

Conclusions
This paper has presented a global solution of an economic configuration problem for any stand-alone hybrid energy system with optimal energy management, taking into consideration real data such as solar radiation, wind speed, tidal speed, location, load profile, and other introduced constraints to simulate reality.A stand-alone hybrid renewable energy system consisting in PV panels/wind turbine/tidal turbine/battery bank with other components was proposed to satisfy an electrical load of 16 MWh/day with 2 MW peak, while the lifetime of the project was intended to be 25 years.Genetic algorithm advantages have been considered and harnessed in order to achieve the optimal solution, while giving flexibility in the hybrid system components selection.The economic problem was represented by minimizing the hybrid renewable energy system TNPC and considering additional conditions and constraints to ensure high reliability in satisfying the electrical load.The proposed GA-based approach was applied and evaluated for different scenarios to fulfill the load demand.The obtained results clearly demonstrate that the optimal economic solution for the area under study is a wind turbines/batteries hybrid renewable system.These results corroborate the fact that deploying a hybrid power generation system in a location where there are substantial renewable resources leads to better electricity generating opportunities.Furthermore, it has been shown that optimal solutions are very sensitive to some variables such as weather data, load data, and restrictions on the location under study.Meanwhile, it has been clearly shown that the enhanced genetic algorithm ability to achieve optimal solutions and solve complex and nonlinear issues within the objective function.

Figure 2 .
Figure 2. Daily wind speed of one year.

Figure 4 .
Figure 4. Hourly tidal speed current of one year.

Figure 5 .
Figure 5. Flowchart of optimization using genetic algorithms.

Figure 7 .
Figure 7. Variation in load, hybrid power and battery energy under the optimal hybrid system in a day Scenario 2.

Figure 8 .
Figure 8. Battery SOC variation in a day.

Table 1 .
Characteristics of the wind turbine.
) Figure 3. Hourly solar radiation in one year.

Table 5 .
Optimal results using the GA.