Structure Optimization of Stand-Alone Renewable Power Systems Based on Multi Object Function

This paper presents a methodology for the size optimization of a stand-alone hybrid PV/wind/diesel/battery system while considering the following factors: total annual cost (TAC), loss of power supply probability (LPSP), and the fuel cost of the diesel generator required by the user. A new optimization algorithm and an object function (including a penalty method) are also proposed; these assist with designing the best structure for a hybrid system satisfying the constraints. In hybrid energy system sources such as photovoltaic (PV), wind, diesel, and energy storage devices are connected as an electrical load supply. Because the power produced by PV and wind turbine sources is dependent on the variation of the resources (sun and wind) and the load demand fluctuates, such a hybrid system must be able to satisfy the load requirements at any time and store the excess energy for use in deficit conditions. Therefore, reliability and cost are the two main criteria when designing a stand-alone hybrid system. Moreover, the operation of a diesel generator is important to achieve greater reliability. In this paper, TAC, LPSP, and the fuel cost of the diesel generator are considered as the objective variables and a hybrid teaching–learning-based optimization algorithm is proposed and used to choose the best structure of a stand-alone hybrid PV/wind/diesel/battery system. Simulation results from MATLAB support the effectiveness of the proposed method and confirm that it is more efficient than conventional methods.


Introduction
The risk of the absence of an electrical network in remote areas leads organizations to explore alternative solutions such as stand-alone power systems.Hybrid renewable energy system (HRES) is becoming popular for stand-alone power systems in isolated sites due to the advances in renewable energy technologies.HRES is composed of one renewable and one conventional energy source or more than one renewable with or without conventional energy sources [1].Photovoltaic (PV) systems and wind turbines (WTs) are being employed worldwide to contribute to meeting electrical power demand.The problem with single renewable energy systems is unreliability due to their dependence on environmental conditions [2].To address this issue, renewable energy sources are combined (e.g., battery and diesel generator (DG)) to provide continuous electrical power and improve the overall reliability of the system.For the improved reliability of hybrid systems, the optimal design of the size of each component is one of the most important issues in stand-alone hybrid system.In recent years, optimal sizing methods for hybrid systems based on probabilistic, analytical, and heuristic methods have been studied [1][2][3][4][5][6][7][8][9][10][11][12][13][14].
In a significant amount of the literature related to the optimal size of hybrid system, the selection of system metrics and optimization methods is identified as an important consideration.System metrics are the performance indices of the reliability and/or feasibility of the system.This allows system designers to size the system components adequately [3].Yang et al. [4,5] developed and analyzed a hybrid solar-wind-battery optimized system model for minimizing the cost of the system (annualized capital cost (ACS)) with loss of power supply probability (LPSP) as a major constraint.Carroquino et al. [6] presented economically optimal renewable energy systems with the levelized cost of energy (LCE) as a constraint.The loss of load probability (LLP) concept was applied to optimize and validate HRESs [7].Belfkira et al. [8] employed a methodology for sizing optimization of an off-grid hybrid wind/PV/diesel energy system.This methodology uses a deterministic algorithm to determine the optimal number and type of units by minimizing the total cost of the system and guaranteeing the availability of the energy.
Heuristic algorithms, such as genetic algorithm (GA) [9,10], particle swarm optimization (PSO) [11], simulated annealing [12], harmony search [13], and hybrid optimization algorithms [14], are also gaining usage in the sizing problem for hybrid systems.Dufo-López, and Bernal-Agustín [15] used a triple multi-objective design of off-grid hybrid systems by simultaneously minimizing the total cost throughout the useful life of the installation, pollutant emissions (CO 2 ), and unmet load.For this approach, a multi-objective evolutionary algorithm (MOEA) and a GA were used to identify the most effective combination of hybrid system components and control strategies.In [16], a triple-multi-objective optimization method to allow designers to evaluate both economic and environmental aspects was attempted using a controlled elitist GA.The objective function combined life cycle cost (LCC) and LPSP metrics.
However, all these algorithms need a few more design parameters to improve the performance.The selection of the parameters influences the performance of the population based optimization algorithms.Crossover and mutation probabilities are two additional key parameters for GA, and PSO needs careful selection of the acceleration parameters and velocity ranges.To overcome this problem, teaching learning-based optimization (TLBO), which is a new population-based optimization, is proposed by Rao et al. [17], simulates the social interaction between the teacher and the students in a class.Moreover, it has fewer adjustable parameters and requires only two commonly used parameters, the population size and the number of generations or iterations.Because of its advantages, TLBO has been researched and applied in various optimization problems [18,19].The TLBO method is based on the teaching and learning process, and its inspiration is the influence a teacher has on the output of the students in the class.To improve the performance of TLBO, many different methods have been proposed and developed in recent years.In this paper, a clonal selection optimization method [20,21] that utilizes a simple procedure for optimization is employed to improve the performance of the TLBO.
This paper focuses on the structural optimization of stand-alone renewable power systems and employs a new optimization algorithm with a multi-objective function.The proposed method is based on the TLBO algorithm and clonal selection is used to optimize the hybrid system, which comprises a PV, a wind, a diesel generator, and a battery.The TLBO algorithm is used to search for a global "best solution" using the teacher and student phase.The best student is selected as the clone in the clonal-selection step.Clonal selection using the best solution obtained from the TLBO algorithm is performed in the next evaluation step to search for a better solution.The clones have the same value in the first step; then, mutation steps are performed for creating new solutions of the given problem.Therefore, clonal selection performs local search around the best solution selected by the TLBO algorithm.The best clone obtained from the clonal-selection step is chosen as the elite student for the next step of the TLBO algorithm.Thus, the proposed method is able to simultaneously perform exploration and exploitation to solve optimization problems.

System Configuration
A stand-alone hybrid PV/wind/diesel/battery system bank consists of a PV module, WT, DG, battery bank, and an inverter.A schematic diagram of a basic hybrid system is presented in Figure 1.In general, a wind turbine includes an AC-DC inverter and DC-DC converter that are connected to a dc-link.A PV system consists of a PV array and a boost converter.Maximum power point tracking (MPPT) of a PV system is performed by the boost converter.A battery bank has a DC-DC bidirectional converter for charging and discharging the battery.An inverter acts as an interface between the dc-link part and the point of common coupling (PCC).During the night, when PV power is not available, the DG and battery must regulate the frequency and voltage of the stand-alone power system.This facilitates charging the battery from the DG to maintain constant dc-link voltage when power is not available from the PV.A small LC filter is connected at the output of the inverter to eliminate high frequency harmonics generated because of PWM (pulse width modulation) switching.

System Configuration
A stand-alone hybrid PV/wind/diesel/battery system bank consists of a PV module, WT, DG, battery bank, and an inverter.A schematic diagram of a basic hybrid system is presented in Figure 1.In general, a wind turbine includes an AC-DC inverter and DC-DC converter that are connected to a dc-link.A PV system consists of a PV array and a boost converter.Maximum power point tracking (MPPT) of a PV system is performed by the boost converter.A battery bank has a DC-DC bidirectional converter for charging and discharging the battery.An inverter acts as an interface between the dc-link part and the point of common coupling (PCC).During the night, when PV power is not available, the DG and battery must regulate the frequency and voltage of the stand-alone power system.This facilitates charging the battery from the DG to maintain constant dc-link voltage when power is not available from the PV.A small LC filter is connected at the output of the inverter to eliminate high frequency harmonics generated because of PWM (pulse width modulation) switching.

Operation Strategies
The PV array and WT work together to satisfy the load demand.In such a system, the output power fluctuates because of weather conditions and, therefore, the combined operation of the PV, wind turbine, DG, and battery bank provides a more reliable and feasible solution to supply power to remote locations.The state of charge (SOC) of the battery is important in the control strategies of the hybrid system.When the power produced by the PV and WT is sufficient to supply the load power, the excess energy will be supplied to feed the battery until it is fully charged.If the battery is fully charged, the excess energy is consumed by dump load.When the load demand is high and the storage system energy is not sufficient to meet the load power, the diesel generator supplies the deficient power to meet the load requirements.This strategy can be explained by the following steps.
( ) ( ) where PRE is the total output power of hybrid system and PL is the demanded load power.

Operation Strategies
The PV array and WT work together to satisfy the load demand.In such a system, the output power fluctuates because of weather conditions and, therefore, the combined operation of the PV, wind turbine, DG, and battery bank provides a more reliable and feasible solution to supply power to remote locations.The state of charge (SOC) of the battery is important in the control strategies of the hybrid system.When the power produced by the PV and WT is sufficient to supply the load power, the excess energy will be supplied to feed the battery until it is fully charged.If the battery is fully charged, the excess energy is consumed by dump load.When the load demand is high and the storage system energy is not sufficient to meet the load power, the diesel generator supplies the deficient power to meet the load requirements.This strategy can be explained by the following steps.
where P RE is the total output power of hybrid system and P L is the demanded load power.
If ∆P ≥ 0 and SOC(t) ≤ SOC Max , the remaining power will be used to charge the battery bank until the battery bank is completely charged.
If ∆P ≥ 0 and SOC(t) > SOC Max , the excess power is consumed by dump load If ∆P < 0 and SOC Min ≤ SOC(t), the deficient power will be supplied by the battery bank until SOC Min = SOC(t).
If ∆P < 0 and SOC Min > SOC(t), the deficient power will be supplied by the diesel generator.

Wind Turbine System
When the wind speed exceeds the cut-in value, the wind turbine generator begins generating.If the wind speed exceeds the rated speed of the wind turbine, it generates constant output power.If the wind speed exceeds the cutout value, the wind turbine generator terminates to protect the generator.The expression for the output power of each wind turbine (p WT ) can be related to the wind speed with the following Equation [1].
where υ is the wind speed, p r is the rated power of the wind turbine, and υ cut−in , υ cut−out , and υ r are the cut-in, cutout, and rated speed of the wind turbine, respectively.If the number of wind turbines is N Wind , the overall power produced is P WT (t) = N Wind × p WT (t).

Photovoltaic System
A PV system consists of many cells connected in series and parallel to provide a desired output voltage.In general, a PV system exhibits a nonlinear current-voltage characteristic.The PV equations for modeling the characteristics have been developed.A verified model for a silicon solar PV panel is introduced in [22].The output power of each PV system (p PV ) at time t can be obtained from the solar radiation using the following equation: where I is the solar radiation, A denotes the PV area, and η PV is the overall efficiency of the PV panels and DC/DC converter.It is assumed that the PV panels have an MPPT system.If the number of PV systems is N PV , the overall power produced is P PV (t) = N PV × p PV (t).The effects of temperature on the PV panel are ignored.

Diesel Power System
The diesel generator set must be controlled to maintain the frequency and voltage of the system while the power system is running in stand-alone mode.A diesel generator set is comprised of a diesel combustion engine driving a synchronous electrical generator controlled to run at a constant speed to guarantee a constant electrical frequency.A diesel generator set is a source that can supply power demand up to a rated power at constant frequency and has a reliable and simple operation.As a backup power system, a diesel generator begins to function when the produced power is not sufficient and the storage system energy is at a low level.In this case, the diesel begins and satisfies the deficit power.The fuel consumption of the diesel generator, Cons D (l/h), depends on the output power and is defined by the following equation: where P D N is the rated power, P D is the output power of the diesel generator, and B D = 0.0845 (liter/kWh), and A D = 0.246 (liter/kWh) are the coefficients of the consumption curve [23].The hourly cost of the fuel consumption can be obtained by Equation (5).
where P f uel is the fuel price.

Battery Model
Owing to the highly unpredictable output power of renewable energy (PV and WT), storage systems, such as a battery bank, are employed to sustain the power balance of a hybrid system.When the total output of the PV panels and wind generators is greater than the load demand, the battery bank is in a charging process.The charge capacity of the battery bank at time t can be expressed as: where E Batt (t) and E Batt (t − 1) are the charge capacities of the battery bank at time t and t − 1, σ is the hourly self-discharge rate, η inv denotes the inverter efficiency, E Load is the load demand, and η Batt is the charge efficiency of the battery bank.When the total output of the PV panels and wind generators is less than the load demand, the battery bank is in a discharging state.If the discharge efficiency of the battery bank is assumed to be one, the charge quantity of the battery bank at time t can be expressed as [1]:

Annualized Capital Cost (ACS)
The total annualized capital cost (CTAC) forms a major portion of the ACS of each component (PV, WT, Battery, and DG) and consists of the annual capital (C acpt ), the annual maintenance cost (C amtn ), and annual replacement cost (C arep ).Table 1 shows the component parameters used in this paper.The annual replacement cost and the total annual cost of the fuel consumption of the diesel generator (C afuel ) is included for considering the effect of battery replacement cost and the diesel generator.Hence, the total C TAC can be defined by Equation (8) and can be used as an object function to design the optimal size of a hybrid system [4,5].
Maintenance costs occur during the project life, whereas capital cost occurs at the beginning of a project.To convert the initial capital cost to the annual capital cost, a capital recovery factor (CRF) defined by Equation ( 9) is used.
where i is the interest rate and n denotes the life span of the system.In a PV/wind/battery system, the lifetime of each battery is assumed to be five years.Using the single payment present worth factor, we have: where C Batt is the present worth of the battery and P Batt is the battery price.In a similar manner, the lifetime of a converter/inverter is assumed to be ten years.Using the single payment present worth factor, we have: where C Conv/Inv is the present worth of the converter/inverter components and P Conv/Inv is the converter/inverter price.For this system, the total annual capital and maintenance costs are obtained by Equations ( 12) and ( 13), respectively.
where N Wind is the number of wind turbines, C Wind is the unit cost of the wind turbines, N PV is the number of PV panels, C PV is the unit cost of the PV panels, N Batt is the number of batteries, C Diesel is the unit cost of the diesel generator, and N Conv/Inv is the number of converter/inverter systems.
where C PV amtn and C Wind amtn are the annual maintenance costs of the PV and wind turbines and C Diesel amtn is the hourly maintenance cost of the diesel generator.The maintenance costs of the battery and converter/inverter systems are neglected.

Replacement Capital Cost
The annualized replacement cost of a hybrid system is the annualized value of all the replacement costs occurring throughout the component lifetime.In the hybrid system used in this paper, only the battery needs to be replaced periodically during the life span of the system [24].
where C Batt rep is the replacement cost of the battery, N Batt is the number of battery, B Li f e_S is the life span of battery, and SFF is the sinking fund factor.The equation for the sinking fund factor is

Loss of Power Supply Probability (LPSP)
There are a number of methods used to calculate the reliability of a hybrid system.The most popular option is the LPSP method.LPSP is the probability that an insufficient power supply results when the hybrid system (PV, wind power, and energy storage) is not able to satisfy the load demand.The design of a reliable stand-alone hybrid solar-wind system can be pursued using LPSP as the key design parameter.LPSP can be defined as the probability that an insufficient power supply results when the hybrid system cannot satisfy the load demand.The mathematical expression of LPSP can be expressed as follows [3]: where T is the number of hours.DE(t) and P load (t) represents the deficit energy and load demand at hour t, respectively.∆t is the considered period.An LPSP of zero means the load will always be satisfied and one means that the load will never be satisfied.

Genetic Algorithm
GAs are based on the concept of survival of the fittest that is observed in nature.In an optimization setting, a population of candidate population members is processed using selection, crossover, and mutation operators.In the selection step, certain individuals of the population are extracted that will generate the next generation.The crossover operator is applied to a pair of selected population members to create the next offspring, and the mutation operator is used as a slight modification of this offspring, or of the remaining members of the population [25].
The pseudo-code of the most commonly used GA is presented in the following: where t represents the iteration number, P(t) represents the population in generation t, and P'(t) represents the population after one time algorithm operation.

Particle Swarm Optimization
PSO is an approach to problems whose solutions can be represented as a point in an n-dimensional solution space.Kennedy et al. first proposed PSO in 1995 [24].This algorithm performs searching according to the pursuit of particles to the best individual in the solution space.The process is simple and easy to implement.PSO has simple parameters without complex adjustments; its implementation is presented in the following pseudo code: Choose the particle with the best fitness value of all the particles as the g Best For each particle Calculate particle velocity according Equation (a) Update particle position according Equation (b) End While maximum iterations or minimum error criteria is not attained w is inertia weight; c 1 , c 2 is the learning factor, or accelerated variable; rand () is a random number between (0,1).

Teaching Learning-Based Optimization
TLBO algorithm has been recently developed by Rao et al. [17], which is population based optimization method.This method is based on the mechanism of teaching and learning process.The method is inspired by the influence of a teacher on the output of students (learners) in the class.The output is considered in terms of grades/marks.Usually the teacher is supposed to be a highly learned person who shares knowledge with the students.Naturally the quality of teacher affects the outcome of students.Learning is accomplished using two ways for learner: (i) through teacher known as teacher phase; and (ii) interaction between learners known as learner phase.This algorithm is optimized by used different subjects (grades/marks) as tuning variables of an optimization problem.
An initial population is randomly generated, which resembles many evolutionary algorithms (EAs).An individual (X i ) within the population represents a single possible solution to a particular optimization problem.X i is a real-valued vector with D elements, where D is the dimension of the problem and is used to represent the number of subjects for which an individual, either student or teacher, enrolls and teaches within the TLBO context.Then, the algorithm attempts to improve certain individuals by changing these individuals during the Teacher and Learner Phases, where an individual is only replaced if the new solution is superior to the previous solution.The algorithm will repeat until it reaches the maximum number of generations [17].During the teacher phase, the teaching role is assigned to the best individual (X teacher ).The algorithm attempts to improve other individuals (X i ) by moving their positions towards the position of the X teacher by considering the current mean value of the individual (X mean ).This is constructed using the mean values for each parameter within the problem space (dimension) and represents the qualities of all of the students from the current generation.Equation (17) simulates how the improvement of a student may be influenced by the difference between the knowledge of the teacher and the qualities of the entire student.For stochastic purposes, two randomly generated parameters are applied within the equation: r ranges between zero and one, and T f is a teaching factor, which can be either one or two, emphasizing the importance of the student quality.
During the learner phase, student (X i ) attempts to improve the knowledge by peer learning from an arbitrary student X ii , where i is not equal to ii.In the case where X ii is superior to X i , X i is moved towards X ii as indicated in Equation (18).Otherwise, it is moved away from X ii as in Equation (19).If student X new performs better by following Equation ( 18) or ( 19), it will be accepted into the population.The algorithm will continue its iterations until reaching the maximum number of generations.

Clonal Selection Algorithm
The clonal selection algorithm (CSA) belongs to the field of artificial immune systems and is inspired by the clonal selection theory of acquired immunity that explains how B and T lymphocytes improve their response to antigens over time called affinity maturation.The clonal selection theory developed by Burnet was proposed to account for the behavior and capabilities of antibodies in the acquired immune system [20].Based on clonal selection concept, De Castro and Von Zuben presented the general clonal-selection algorithm, named CLONALG to solve complex problems such as learning and multimodal optimization [21].The CLONALG focuses on a systemic view of the immune system and does not take into account cell-cell interactions and is composed of the mechanisms: clonal selection, clonal expansion, and affinity maturation via somatic hyper-mutation and is used to describe the basic features of an immune response to an antigenic stimulus.
When a lymphocyte is selected and binds to an antigenic determinant, the cell proliferates making many thousands more copies of itself and differentiates into different cell types (plasma and memory cells).Plasma cells have a short lifespan and produce vast quantities of antibody molecules, whereas memory cells live for an extended period in the host anticipating future recognition of the same determinant.The important feature of the theory is that when a cell is selected and proliferates, it is subjected to small copying errors (changes to the genome called somatic hypermutation) that change the shape of the expressed receptors and subsequent determinant recognition capabilities of both the antibodies bound to the lymphocyte's cells surface, and the antibodies that plasma cells produce.
The main features of the CLONALG are the following four stages: 1) Initialization of antibodies; 2) Cloning and selection (proliferation and differentiation on the encounter of cells with antigens); 3) Maturation and diversification of antibody types by performing affinity maturation process through random genetic changes; 4) Removal of differentiated immune cells that possess low affinity.
In application of optimization problems, the general CLONALG model involves the selection of antibodies (candidate solutions) based on affinity either by matching against an antigen pattern or via evaluation of a pattern by a cost function.Selected antibodies are subjected to cloning proportional to affinity, and the hypermutation of clones inversely-proportional to clone affinity.The resultant clonal-set competes with the existent antibody population for membership in the next generation.
In addition, low-affinity population members are replaced by randomly generated antibodies.

The Proposed Hybrid Optimization
The proposed hybrid optimization algorithm consists of TLBO and clonal selection.The TLBO is used to select a global "best solution" using teacher and student phases.The best student is selected as the clone for the clonal-selection step.Clonal selection using the best solution from TLBO is executed in the next evaluating step to search for a superior solution.
The clones have the same value in the first step and then the mutation step is performed to create new solutions for the given problem.Therefore, the clonal selection executes local search around the best solution selected by TLBO.The best clone of the clonal-selection step is chosen as the elite student for the next step of TLBO. Figure 3 presents the flow chart of the proposed method and Implementation steps of the proposed method is summarized below: Step 1: Initialize the learners (i.e., the population) and design variables of the optimization problem (i.e., the number of subject) by random generation.
Step 2: Evaluate the initial learner and select the best learner (i.e., the best solution) as a teacher and assign learners in descending order.Step 3: Clonal selection (CS) step CS-step 3-1: Select clones from the assigned learners for clonal selection optimization; CS-step 3-2: Differentiation step (i.e., duplicate the best learners); CS-step 3-3: Mutation step (reproduce the clones by mutation); CS-step 3-4: Evaluate the clones and compare the performance of the teacher (the best learner) with the clones.If the best clone is better than the teacher, assign it as the teacher, otherwise the teacher in Step 2 is retained.
Step 4: Teacher Phase: Update each learner's knowledge with the help of the teacher's knowledge using Equation (15).Step 5: Learner Phase: Update the learners' knowledge by utilizing the knowledge of some other learner of the same class using Equation ( 16) or (17).(For optimization problems, new solutions are generated by Steps 4 and 5) Step 6: Repeat the procedure from Step 3 to 5 until the termination criterion is met.

The Proposed Hybrid Optimization
The proposed hybrid optimization algorithm consists of TLBO and clonal selection.The TLBO is used to select a global "best solution" using teacher and student phases.The best student is selected as the clone for the clonal-selection step.Clonal selection using the best solution from TLBO is executed in the next evaluating step to search for a superior solution.
The clones have the same value in the first step and then the mutation step is performed to create new solutions for the given problem.Therefore, the clonal selection executes local search around the best solution selected by TLBO.The best clone of the clonal-selection step is chosen as the elite student for the next step of TLBO. Figure 3 presents the flow chart of the proposed method and Implementation steps of the proposed method is summarized below: Step 1: Initialize the learners (i.e., the population) and design variables of the optimization problem (i.e., the number of subject) by random generation.
Step 2: Evaluate the initial learner and select the best learner (i.e., the best solution) as a teacher and assign learners in descending order.Step 3: Clonal selection (CS) step CS-step 3-1: Select clones from the assigned learners for clonal selection optimization; CS-step 3-2: Differentiation step (i.e., duplicate the best learners); CS-step 3-3: Mutation step (reproduce the clones by mutation); CS-step 3-4: Evaluate the clones and compare the performance of the teacher (the best learner) with the clones.If the best clone is better than the teacher, assign it as the teacher, otherwise the teacher in Step 2 is retained.
Step 4: Teacher Phase: Update each learner's knowledge with the help of the teacher's knowledge using Equation (15).Step 5: Learner Phase: Update the learners' knowledge by utilizing the knowledge of some other learner of the same class using Equation ( 16) or (17).
(For optimization problems, new solutions are generated by Steps 4 and 5) Step 6: Repeat the procedure from Step 3 to 5 until the termination criterion is met.

The Object Function of Proposed Hybrid Optimization Algorithm
The design of the object function and the selection of constraints for a population-based optimization algorithm are the most important factors when determining the optimum size or optimal configuration of a hybrid system that employs a diesel generator with respect to the LPSP, total annual capital, and maintenance cost.In this paper, Equation ( 20) is used to attain the best compromise between both power reliability and cost.
where actp C is the total annualized capital cost; P_value1 and P_value2 are the penalty functions calculated by LPSP and the annual fuel cost consumed by a diesel generator, respectively; SV1 and SV2 denote the maximum values of P_values estimated by the maximum available number of the decision variables; DV1 and DV2 denote the percentages of LPSP and the annual fuel cost desired by the designers, respectively.SV1 of P_value1 is calculated using the total annual capital cost ( TAC C ) of the maximum available number of the decision variables and SV2 is determined by the designer.In this paper, we use the minimum optimization concept.Thus, the structure with the lowest object value is the best structure.If SV2 is set to a large value, the object values with the added SV2 value are not selected in the next generation.The decision variables included in the optimization process are the PV number

The Object Function of Proposed Hybrid Optimization Algorithm
The design of the object function and the selection of constraints for a population-based optimization algorithm are the most important factors when determining the optimum size or optimal configuration of a hybrid system that employs a diesel generator with respect to the LPSP, total annual capital, and maintenance cost.In this paper, Equation ( 20) is used to attain the best compromise between both power reliability and cost.
where C actp is the total annualized capital cost; P_value1 and P_value2 are the penalty functions calculated by LPSP and the annual fuel cost consumed by a diesel generator, respectively; SV1 and SV2 denote the maximum values of P_values estimated by the maximum available number of the decision variables; DV1 and DV2 denote the percentages of LPSP and the annual fuel cost desired by the designers, respectively.SV1 of P_value1 is calculated using the total annual capital cost (C TAC ) of the maximum available number of the decision variables and SV2 is determined by the designer.In this paper, we use the minimum optimization concept.Thus, the structure with the lowest object value is the best structure.If SV2 is set to a large value, the object values with the added SV2 value are not selected in the next generation.The decision variables included in the optimization process are the PV number N PV , wind turbine number N WT , battery number N bat , and diesel generator number N DG .For the hybrid system, the following constraints should be satisfied: where N max WT , N max PV , N max bat , and N max DG are the maximum available number of wind turbines, PV panels, batteries, and diesel generators, respectively.In addition, the charge quantity of the battery bank should satisfy the constraint in the following equation.
where E min Batt and E max Batt are the minimum and the maximum charge quantities of the battery bank, respectively.E t Batt is the charge quantity of battery bank at time t.In general, E max Batt is set to the value of nominal capacity (S Batt ), and the minimum charge quantity of the battery bank (E min Batt ) is obtained from the maximum depth of discharge (DOD).

Simulation and Results
The developed methodology was applied to the design of a stand-alone hybrid PV/wind/diesel/battery system.The year 2015 is chosen as the typical meteorological year at Jeju Island in South Korea [26].The maximum recorded hourly mean irradiance was approximately 1050 W/m 2 and occurred in May.The maximum wind speed was 17.2 m/s, whereas the minimum wind speed was 0.14 m/s.The average speed was 4.2 m/s.Real load data of commercial buildings were used in this simulation.In the load data set [27], the peak load was 62 kW and the average annual electricity consumption was 33.4 kW.The system was modeled and implemented in MATLAB software.Figure 4 shows the annual load profile and the solar radiation and wind speed for the simulation is illustrated in Figures 5 and 6, respectively.Table 2 indicates the simulation parameters of the proposed method, PSO, and GA.To demonstrate the effectiveness of the proposed method, we present a comparative performance against other population-based optimization algorithms and use the same initial population for all algorithms used in this simulation.Moreover, we executed the simulation 10 times for reliable results.Table 3 shows the results of the object function with the total annual cost and penalty function s.The range of P_value1 is set as 0%-5%, and P_value2 is set to 100,000 (USD).If both P_value1 and P_value2 are satisfied, the object values are equal to the total annual cost of the hybrid system.This implies that the optimization algorithms that use this object function can select a structure with a lower cost than other algorithms and simultaneously satisfy the penalties.The results shown in Table 3 are the mean and the best structure selected by each algorithm.In the case of the LPSP constraint = 0%, all algorithms shows the same LPSP value (0%).In the other cases, the proposed method shows the better total cost, although several LPSP values obtained with GA and PSO are better than those obtained with the proposed method.Figure 7 shows the total output power by the algorithms for a year.Figure 8 shows the total output power by the algorithms for a week with the peak load (LPSP constraint = 0%).From Figure 8, it can be seen that all algorithms are able to satisfy the load demand with their output power.From the standpoint of the power loss, the result of PSO is better than that of the other algorithms for this week.In another case (LPSP constraint < 4%), the proposed algorithm is better than the other algorithms as shown in Figure 9. Figure 10 shows the output power of the hybrid system, battery, and diesel generator (LPSP constraint = 0%) for each algorithm.From Figure 10, it can be seen that the discharge of the battery is zero.From this result, we were able to confirm that the use of the object function including the replacement cost factor of the battery is effective in optimizing a hybrid renewable system on the basis of the annual total cost.
Energies 2016, 9, 649 14 of 19 Table 3 shows the results of the object function with the total annual cost and penalty function s.The range of P_value1 is set as 0%-5%, and P_value2 is set to 100,000 (USD).If both P_value1 and P_value2 are satisfied, the object values are equal to the total annual cost of the hybrid system.This implies that the optimization algorithms that use this object function can select a structure with a lower cost than other algorithms and simultaneously satisfy the penalties.The results shown in Table 3 are the mean and the best structure selected by each algorithm.In the case of the LPSP constraint = 0%, all algorithms shows the same LPSP value (0%).In the other cases, the proposed method shows the better total cost, although several LPSP values obtained with GA and PSO are better than those obtained with the proposed method.Figure 7 shows the total output power by the algorithms for a year.Figure 8 shows the total output power by the algorithms for a week with the peak load (LPSP constraint = 0%).From Figure 8, it can be seen that all algorithms are able to satisfy the load demand with their output power.From the standpoint of the power loss, the result of PSO is better than that of the other algorithms for this week.In another case (LPSP constraint < 4%), the proposed algorithm is better than the other algorithms as shown in Figure 9. Figure 10 shows the output power of the hybrid system, battery, and diesel generator (LPSP constraint = 0%) for each algorithm.From Figure 10, it can be seen that the discharge of the battery is zero.From this result, we were able to confirm that the use of the object function including the replacement cost factor of the battery is effective in optimizing a hybrid renewable system on the basis of the annual total cost.Table 3 shows the results of the object function with the total annual cost and penalty function s.The range of P_value1 is set as 0%-5%, and P_value2 is set to 100,000 (USD).If both P_value1 and P_value2 are satisfied, the object values are equal to the total annual cost of the hybrid system.This implies that the optimization algorithms that use this object function can select a structure with a lower cost than other algorithms and simultaneously satisfy the penalties.The results shown in Table 3 are the mean and the best structure selected by each algorithm.In the case of the LPSP constraint = 0%, all algorithms shows the same LPSP value (0%).In the other cases, the proposed method shows the better total cost, although several LPSP values obtained with GA and PSO are better than those obtained with the proposed method.Figure 7 shows the total output power by the algorithms for a year.Figure 8 shows the total output power by the algorithms for a week with the peak load (LPSP constraint = 0%).From Figure 8, it can be seen that all algorithms are able to satisfy the load demand with their output power.From the standpoint of the power loss, the result of PSO is better than that of the other algorithms for this week.In another case (LPSP constraint < 4%), the proposed algorithm is better than the other algorithms as shown in Figure 9. Figure 10 shows the output power of the hybrid system, battery, and diesel generator (LPSP constraint = 0%) for each algorithm.From Figure 10, it can be seen that the discharge of the battery is zero.From this result, we were able to confirm that the use of the object function including the replacement cost factor of the battery is effective in optimizing a hybrid renewable system on the basis of the annual total cost.Figure 11 shows the output power of hybrid system, batter and diesel generator (LPSP constraint < 4%).When the LPSP constraint < 4%, the cases of different LPSP values selected by each algorithm are shown in Figure 8.Here, the LPSP vales of GA, PSO, and TLBO-CS are 1.86%, 2.57%, and 2.24%, respectively.Although the LPSP value of the proposed algorithm is worse than that of   Figure 11 shows the output power of hybrid system, batter and diesel generator (LPSP constraint < 4%).When the LPSP constraint < 4%, the cases of different LPSP values selected by each algorithm are shown in Figure 8.Here, the LPSP vales of GA, PSO, and TLBO-CS are 1.86%, 2.57%, and 2.24%, respectively.Although the LPSP value of the proposed algorithm is worse than that of Figure 11 shows the output power of hybrid system, batter and diesel generator (LPSP constraint < 4%).When the LPSP constraint < 4%, the cases of different LPSP values selected by each algorithm are shown in Figure 8.Here, the LPSP vales of GA, PSO, and TLBO-CS are 1.86%, 2.57%, and 2.24%, respectively.Although the LPSP value of the proposed algorithm is worse than that of GA (1.86%), this value satisfies the condition of LPSP constraint < 4% and the proposed algorithm has the lowest total cost.Therefore, when the LPSP constraint < 4%, the best structure has parameters N wind = 22, N pv = 215, N batt = 1, and N DG = 8 that are selected by the proposed algorithm, which satisfies the constraints and has a lower total annual cost (object values) than the other algorithms.From Table 3, and Figures 10 and 11, we know that the best structure obtained by TLBO-CS is the better than that obtained by GA and PSO.
GA (1.86%), this value satisfies the condition of LPSP constraint < 4% and the proposed algorithm has the lowest total cost.Therefore, when the LPSP constraint < 4%, the best structure has parameters Nwind = 22, Npv = 215, Nbatt = 1, and NDG = 8 that are selected by the proposed algorithm, which satisfies the constraints and has a lower total annual cost (object values) than the other algorithms.From Table 3, and Figures 10 and 11, we know that the best structure obtained by TLBO-CS is the better than that obtained by GA and PSO.

Conclusions
This paper presented a methodology for the size optimization of a stand-alone hybrid PV/wind/diesel/battery bank to minimize the TAC and LPSP by using a hybrid TLBO algorithm; this algorithm adopts a new object function that includes penalty functions.The penalty functions were considered for minimizing the total annual cost; these functions satisfy the fuel cost and LPSP required by the user.The results of penalty function 1, when considering LPSP, showed that the best structure selected by TLBO-CS has Nwind = 22, Npv = 215, Nbatt = 1, and NDG = 8; this structure satisfies the constraints (LPSP constraint <4%) and has lower total annual cost (object values) than the others.The simulation results confirmed that the proposed method demonstrated superior performance compared to the conventional optimization algorithms and is suitable for any condition, such as solar irradiance and wind speed fluctuation.

Conclusions
This paper presented a methodology for the size optimization of a stand-alone hybrid PV/wind/diesel/battery bank to minimize the TAC and LPSP by using a hybrid TLBO algorithm; this algorithm adopts a new object function that includes penalty functions.The penalty functions were considered for minimizing the total annual cost; these functions satisfy the fuel cost and LPSP required by the user.The results of penalty function 1, when considering LPSP, showed that the best structure selected by TLBO-CS has N wind = 22, N pv = 215, N batt = 1, and N DG = 8; this structure satisfies the constraints (LPSP constraint < 4%) and has lower total annual cost (object values) than the others.The simulation results confirmed that the proposed method demonstrated superior performance compared to the conventional optimization algorithms and is suitable for any condition, such as solar irradiance and wind speed fluctuation.

Figure 3 .
Figure 3. Flow chart of the proposed method.

Figure 3 .
Figure 3. Flow chart of the proposed method.

Figure 7 .
Figure 7.The total output power by the algorithms for a year.

Figure 8 .
Figure 8.The total output power by the algorithms for a week with the peak load (LPSP constraint = 0%).

Figure 7 .
Figure 7.The total output power by the algorithms for a year.

Figure 7 .
Figure 7.The total output power by the algorithms for a year.

Figure 8 .
Figure 8.The total output power by the algorithms for a week with the peak load (LPSP constraint = 0%).

Figure 8 .
Figure 8.The total output power by the algorithms for a week with the peak load (LPSP constraint = 0%).

Figure 9 .Figure 10 .
Figure 9.The total output power by the algorithms for a week with the peak load (LPSP constraint < 4%).

Figure 9 .
Figure 9.The total output power by the algorithms for a week with the peak load (LPSP constraint < 4%).

Figure 9 .Figure 10 .
Figure 9.The total output power by the algorithms for a week with the peak load (LPSP constraint < 4%).
each particle Initialize particle END Do For each particle Calculate fitness value If the fitness value is better than the best fitness value (p Best ) in history, set current value as the new p Best End

Table 2 .
Parameters for the proposed method, PSO, and GA.

Table 3 .
The results of object function according to the constraint of P_value1 (P_value2 = 100,000 (USD)).