#### Abstract

Power grid becomes smarter nowadays along with technological development. The benefits of smart grid can be enhanced through the integration of renewable energy sources. In this paper, several studies have been made to reconfigure a conventional network into a smart grid. Amongst all the renewable sources, solar power takes the prominent position due to its availability in abundance. Proposed methodology presented in this paper is aimed at minimizing network power losses and at improving the voltage stability within the frame work of system operation and security constraints in a transmission system. Locations and capacities of DGs have a significant impact on the system losses in a transmission system. In this paper, combined nature inspired algorithms are presented for optimal location and sizing of DGs. This paper proposes a two-step optimization technique in order to integrate DG. In a first step, the best size of DG is determined through PSO metaheuristics and the results obtained through PSO is tested for reverse power flow by negative load approach to find possible bus locations. Then, optimal location is found by Loss Sensitivity Factor (LSF) and weak (WK) bus methods and the results are compared. In a second step, optimal sizing of DGs is determined by PSO, GSA, and hybrid PSOGSA algorithms. Apart from optimal sizing and siting of DGs, different scenarios with number of DGs (3, 4, and 5) and capacities of DGs ( alone, alone, and and both) are also analyzed and the results are analyzed in this paper. A detailed performance analysis is carried out on IEEE 30-bus system to demonstrate the effectiveness of the proposed methodology.

#### 1. Introduction

Today, the power grid is transforming and evolving into a faster-acting, potentially more controllable grid than in the past. This so-called smart grid will incorporate new digital and intelligent devices to replace the existing power network [1]. This grants an opportunity for new innovations and modernizations.

The massive penetration of distributed generation into electric grid is one of the salient features of smart grid. But the integration of DGs perturbs the power flow and voltage conditions of the network. So, voltage regulation is one of the major issues to be addressed [2].

The 16% of global final energy consumption comes from renewable sources during 2012, with 10% coming from traditional biomass, 3.4% coming from hydroelectricity, and the remaining 2.6% coming from new renewable sources like wind, solar power, and so forth [3].

Solar power takes the prominent position among all other sources due to its continuous availability and cost effectiveness. Solar energy is available in abundance [4]. But there are several challenges in adding renewable energy sources into the conventional grid [5]. The size and location of DGs are the crucial factors in the application of DG for loss minimization [6].

One of the key requirements for reliable electric power system operation is the balancing of reactive power supply and demand to maintain adequate system voltages. Lack of sufficient reactive power supplies can result in voltage instability. The peripheral method of balancing the reactive power and voltage of the system is to add capacitors, tap changing transformers, and FACTS devices at necessary nodes. On the other hand, these demands can be internally met with the help of inverters on solar panels [7]. The grid tied solar inverters act as a reactive power source to balance the reactive power of the system.

The optimal operation of a power system is required to precede the optimal planning of facilities like generating plants, reactive power compensation, and transmission networks. In order to handle the large scale optimal power flow problem, the problem is decomposed into real power () optimization problem and reactive power () optimization problem [8]. The -problem is to minimize the production cost under the assumption that system voltages are held constant and the -problem is to minimize the transmission loss under the assumption that real power generation is held constant. This paper addresses the reactive power dispatch problem for IEEE 30-bus system [8], since the objective is to minimize the transmission line losses.

The network reconfiguration is done to convert a conventional grid into smart grid. Multiple DG units with different capacities are integrated to the traditional grid. In [9], different cases are addressed with real and reactive power penetration of the solar plant.

In the integration of solar power, both the siting and sizing of solar Distributed Generators (DGs) have a significant impact on the system losses in a transmission network. This paper presents a novel multiobjective approach for calculating the DG optimum placement and sizing. In [10], optimization for sizing and placement of DGs is done by using PSO algorithm.

Several metaheuristics algorithms were developed for solving the multiobjective reactive power optimization problem. Genetic Algorithm (GA) [11], Evolutionary Programming (EP) [12, 13], Bacterial Foraging Optimization (BFO) [14], Ant Colony Optimization (ACO) [15], Differential Evolution (DE) [16], and recently Gravitational Search Algorithm (GSA) [17] are some of the most common optimization algorithms. The paper [18] deals with the GA for optimum siting and sizing of DGs. Deshmukh et al. [19] have formulated VAR control problem that minimizes the combined reactive power injection by DGs.

Many literatures address the optimal siting and sizing of multiple DGs by any one of the algorithms or combinations of algorithms. Some papers have found the optimal location of DGs by weak (WK) bus placement method or Loss Sensitivity Factor (LSF) method. Some references analyze the impact of increasing the number of DGs. But, this research paper analyzes all the above-said aspects simultaneously.

In this paper, the problem of optimal DG location and sizing is divided into two steps. In the first step, optimal size of DG to be placed at each bus is found out by PSO metaheuristics with the assumption that all 30 buses have solar generation subjected to the inequality constraints of line limits, solar generation real power constraints, and DG size constraints. The results obtained through PSO are checked for reverse power flow by negative load approach. The buses which satisfy the negative loading conditions are the possible locations for DG placement. Again this search of optimal location is fine-tuned by weak (WK) bus placement method and Loss Sensitivity Factor (LSF) method and the results are analyzed. Then, in the second step, optimal sizing of DGs is done by three nature inspired algorithms, namely, Particle Swarm Optimization (PSO), Gravitational Search Algorithm (GSA), and hybrid PSOGSA subjected to many equality and inequality constraints. An augmented multiobjective function with real power loss, reactive power loss, and voltage deviation is used as a fitness function.

Apart from optimal allocation and sizing, this paper analyzes the work in two scenarios. In one aspect the effect of increasing the number of DGs is analyzed. In the second scenario, different capacities of DGs supplying real power alone, reactive power alone, and both real and reactive power are also discussed and compared.

Thus the concepts of smart grid, network reconfiguration, and integration of renewable and reactive power optimization with soft computing techniques are all discussed under a single tree. And several aspects are compared and analyzed in this paper.

#### 2. Problem Formulation for DG Sizing

The optimal size of DG to be placed at each bus is found out using PSO algorithm. The connection between the DG unit and a bus is modelled as negative load in load flow analysis.

First it is assumed that all 30 buses of the system have solar generation. The PSO algorithm is used to find out the size of DG that can be placed at each node. Choosing an objective function as in (1) and considering DG’s real power generation as the control variable, the optimal value of DG size is obtained.

As shown in Figure 1, the flowchart explains the overall concept of the paper. The first half inside the dotted box belongs to this part of the section. The PSO algorithm, being more efficient, gives the better results. This nature inspired swarm intelligence algorithm achieves the best size of solar DG to be placed in the system.

The optimal size of DG at each node is determined by PSO. For that, the following multiobjective function, which uses weighted sum of single objective functions, is to be minimized using PSO algorithm.

##### 2.1. Objective Function

The objective or fitness function of the ORPD problem tends to minimize the real power losses, reactive power losses, and voltage deviations subjected to the equality and inequality constraints:where is the real power loss, is the reactive power loss, and VD is the voltage deviation and weighing factor for is 0.35, for is 0.1, and for is 0.55 and sum of all three is maintained as 1. The value of weighing factor is based on the importance of the values in the objective function. Since voltage deviations are of greater concern, it is given higher value and then the real and reactive power losses, respectively. The individual variables, , and , are as follows.

*(i) Real Power Loss (**).* The total real power losses of the system are given in where is the total number of transmission lines in the system; is the conductance of the line ; and are the magnitudes of the sending end and receiving end voltages of the line; and are angles of the end voltages.

* (ii) Reactive Power Loss (**).* The total reactive power loss of the system is given bywhere is the total number of transmission lines in the system; is the susceptance of the line ; and are the magnitudes of the sending end and receiving end voltages of the line; and are angles of the end voltages.

*(iii) Load Bus Voltage Deviation (VD).* Bus voltage magnitude is maintained within the allowable limit to ensure quality service. As shown in (4), voltage profile is improved by minimizing the deviation of the load bus voltage from the reference value (it is taken as 1.0 p.u.):where is the total number of buses in the system.

##### 2.2. Constraints

The minimization problem is subjected to the equality and inequality constraints as follows.

*(i) Equality Constraints*

* Load Flow Constraints.* The real and reactive power flow constraints are according to (5) and (6), respectively, as given below:where is the number of buses, and are the real and reactive power generation of generator, and are the real and reactive load of the generator, and are the mutual conductance and susceptance between bus and bus , and is the voltage angle difference between bus and bus .

*(ii) Inequality Constraints*

*Line Limits Constraints.* The line thermal flow limits are subjected towhere is the thermal limit of each line and is the number of lines in the system.

*Solar Generation Real Power Constraints. *Considerwhere is the real power supplied by DG and is the number of DGs.

*DG Size Constraint. *To obtain a reasonable and economic solution, the size of solar generators added at each node should be so small or so high with respect to total load value. As found in various literatures [20], only 30% of renewable energy penetration is allowable for effective performance of the system. And thus the solar generation at each bus is as follows: is the total load value and is the solar capacity.

Steps to find the optimal size of solar DG at each location using PSO are as follows:(1)Assume that all the 30 buses of the system have solar power generation.(2)The solar DG supplying real power alone is subjected to the inequality constraints, that is, 1% to 5% of total load at each node. DG unit is modelled as negative load in load flow analysis.(3)The PSO algorithm generates random values for the size of DGs and the algorithm runs with 50 populations and up to 500 iterations.(4)The algorithm gives out the optimal size of DG to be placed at each node. That also achieves the global optimal fitness values.(5)These values are taken for further processing of the results.

The solution obtained is carried out to the second part of the work.

#### 3. Problem Formulation for Optimal Siting and Sizing

The results obtained from the PSO are checked for negative load approach [10], since DG is added to load terminals. This is to ensure that the power flow studies do not end up with reverse power flow. That is, when each DG is added to the load terminal it supplies the immediate load of that particular bus and returns the remaining power demand to the conventional generators. In that case the following condition should be satisfied by DG at each bus:where is the real power demand at bus , is the real power generated by solar DG at bus , and is the number of solar generators.

When a particular bus satisfies the above condition, then it is suitable for DG placement. If not the corresponding location is not suitable for DG placement. Thus the number of candidate buses opt for DG placement is reduced providing easier solution to find the optimal location.

In [21], Celli et al. have formulated a multiobjective function for optimal sizing and siting with the best compromise between various costs. The effect of ordering DGs location is well addressed in [22] which proves that the order in which the DGs are placed has a significant impact on the system losses.

And the negative load approach determines the buses that are capable of DGs placement and the priority list determines the order of buses to which the DGs are placed among the possible candidate buses.

##### 3.1. Finding the Priority Location of DG

The two methods used for creating the priority list are (i) Loss Sensitivity Factor method and (ii) weak bus placement method.

*(i) Loss Sensitivity Factor (LSF) Method.* The Loss Sensitivity Factor method is the best method to find out the order of buses for DG placement [23, 24]. Loss sensitivity can be simply defined as “the ratio of change in total loss of the system when subjected to a small disturbance to the value of disturbance that causes the change.”

Among the selected candidate buses the order of DG allocation is found out by LSF which reduces the search space for allocation problem [25, 26]. The following equation defines the numerical evaluation of LSF:

NR power flow is run for system with DG and system without DG. Then the priority list is created and buses are placed according to the descending order of the LSF values. The bus with highest sensitivity is first selected for placing DG. The number of DGs to be placed depends on the total allowable penetration to the system [27, 28].

*(ii) Weak (WK) Bus Placement Method.* The weak bus placement is a simple but effective method of ordering buses for DG placement. According to this method NR power flow is performed for base case of the system and the voltage magnitude of each bus is noted down.

Now the priority list is created in ascending order of the bus voltages and the DG is first placed at the weakest bus of the system [29]. But the number of buses in which the DG is to be placed is a separate issue which will be discussed later.

##### 3.2. Mathematical Formulation of a Problem for Optimal Sizing

*(1) Objective Function.* The objective function of this problem is to find the optimal settings of reactive power control variables which minimize the real power losses, reactive power losses, and voltage deviation. Hence, the objective function is expressed as inwhere the representation of all the variables is already discussed in Section 2.

*(2) Constraints*

*(i) Equality Constraints*

*Load Flow Constraints.* The real and reactive power constraints are according to (13) and (14), respectively, as given below:where the representation of all the variables is already discussed in Section 2.

After addition of renewable energy source, the above equation becomeswhere and are the conventional real and reactive power generation, and are the total real and reactive power demand, and are the total system losses, and and are the real and reactive power generation of solar DG.

*(ii) Inequality Constraints*

*Generator Bus Voltage (**) Inequality Constraint.* Consider

*Load Bus Voltage (**) Inequality Constraint.* Consider

*Switchable Reactive Power Compensation (**) Inequality Constraint.* Consider

*Reactive Power Generation (**) Inequality Constraint.* Consider

*Transformer Tap Setting (**) Inequality Constraint.* Considerwhere , , , and are the numbers of generator buses, load buses, switchable reactive power sources, and tap settings.

*Solar Generators Real Power Constraints.* Considerwhere is the real power supplied by DG and is the number of DGs.

*Solar Generators Reactive Power Constraints.* Considerwhere is the reactive power supplied by DG and is the number of DGs.

#### 4. Proposed Work

Integrating the renewable source to grid or the conversion of the traditional grid into smart grid involves several essential steps. The placement of renewable sources, their size, and amount of penetration into the system are all to be considered. The smart grid possesses five most significant characteristics like being adaptive, predictive, integrated, interactive, optimized, and secured [30]. In this paper the grid achieves all the five perspectives by integrating solar energy, placement of solar energy, and performing reactive power optimization to maintain voltage profile and thus having secured and reliable power system.

Solar DG is found to be the best DG that adapts the grid among several renewable sources. And also this research includes the grid interactive solar inverters and their behavior when operated in a grid [31]. The grid tied solar inverters act as a reactive power source to balance the reactive power of the system [7]. In the [32], optimal siting and sizing of DGs are found by combined GA/PSO algorithms.

The proposed work consists of two scenarios: Scenario #1: number of DG placements. Scenario #2: DG supplying various capacities.

##### 4.1. Scenario #1: Number of DG Placements

This scenario discusses the number of DGs to be placed on the system and effect of increased number of DGs on the system [18].

The number of DGs to be placed depends on the load demand of the system and maximum allowable size of DG. The maximum allowable size of DG is up to 25 to 30% of the total load as found in various literatures [18, 20]. In this paper, the maximum numbers of DGs are taken as 5. So it is proposed to select 5 numbers of buses among 30-bus system. Then for each bus it is advisable to take maximum of 5% load in order to satisfy the total load of 25% amongst 5 buses. Also minimum numbers of DGs are chosen as 3. In this aspect, this paper does not include constant solar DG penetration of 25%. That means total 25% of load is not divided amongst 3 buses. Instead in each bus solar DG size of 1% to 5% load is maintained independent of number of DGs. So this work attains the fact that minimum of 15% load is satisfied by including 3 numbers of DGs and maximum of 25% load is met by including 5 numbers of DGs.

Therefore the number of DGs is selected as 3, 4, and 5, respectively. And they are placed on the top priority ordered by LSF and weak bus method. Now three nature inspired metaheuristics algorithms PSO [33], GSA [34, 35], and hybrid PSOGSA [36, 37] are used to optimize the solar sizing. In [38], economic dispatch problem in a microgrid is addressed with cost minimization.

*(i) Basic Concepts of PSO [33]. *PSO has been developed through simulation of simplified social models. The features of the method are as follows:(i)Based on swarms like fish schooling and a flock of birds.(ii)Simple and less time consuming.(iii)Solving nonlinear optimization problems with continuous variables.

The convergence is provided by the acceleration term in (23).

The modified velocity of each agent can be calculated using the current velocity and the distances from and are as shown below:where is the velocity of agent at th iteration, is the modified velocity of agent, represent functions that generate independent random numbers which are uniformly distributed between 0 and 1, is the current position of agent at th iteration, is the of agent , is the of the group, is the inertia weight factor used to control the impact of the previous history of velocities on the current velocity , and and are the acceleration factors named cognitive and social parameters determine the influence of and in determining the new solutions.

And the updated position can be calculated from the following equation: where is the number of swarms and represents the iteration.

*(ii) Basic Concepts of GSA [34, 35]. *GSA is a novel heuristic optimization method which has been proposed by Rashedi et al. in 2009 [35]. The basic physical theory from which GSA is inspired is from Newton’s theory. The GSA could be considered as an isolated system of masses. It is like a small artificial world of masses obeying the Newtonian laws of gravitation and motion.

The convergence is reached indirectly by the acceleration term in (25). The acceleration of any mass is equal to the force acted on the system divided by mass of inertia.

The velocity and position of the agents for next iteration are calculated using the following equations:where is the updated velocity of the particle at th position, is the previous velocity, is the acceleration of the particle at , and is the position of the particle.

*(iii) Basic Concepts of Hybrid PSOGSA [36, 37].* Two algorithms can be hybridized in high level or low level with relay or coevolutionary method as homogeneous or heterogeneous. In this paper, low level coevolutionary heterogeneous hybrid method is used. The hybrid is low level because of the combination of the functionality of both algorithms. It is coevolutionary because this algorithm does not use both algorithms one after another. In other words, they run in parallel. It is heterogeneous because there are two different algorithms that are involved to produce final results. The main idea is to integrate the ability of exploitation in PSO with the ability of exploration in GSA to synthesize both algorithms’ strength.

The main objective is to combine the social thinking ability of PSO () with the local search capability of GSA, hence achieving a new formula for hybrid PSOGSA for velocity updating aswhere is the velocity of agent at iteration , is a weighting factor, is a weighting function, is a random number between 0 and 1, is the acceleration of agent at iteration , and is the best solution so far. Position update is done by the following formula:

##### 4.2. Scenario #2: DG Supplying Various Capacities

This paper deals with solar power and grid tied solar inverters in which both real power and reactive power of solar energy are considered. And this scenario deals with 4 types of cases [9, 18, 39].

The four different cases as shown below are separately analyzed with respect to LSF and WK method in order to find out the location of solar power and they are also analyzed with respect to number of DGs using different optimization algorithms to find out the sizing of solar power and the results are discussed in the next section:(i)Type 1: system without DG (initial case).(ii)Type 2: DG supplying real power alone ().(iii)Type 3: DG supplying reactive power alone ().(iv)Type 4: DG supplying both real and reactive power.

All the four types are tested with above-mentioned three algorithms and results are evaluated.

#### 5. Results and Discussions

In this section of the paper, the entire work is explained in a precise manner. The standard IEEE 30-bus system [8] as in Figure 2 [37] is used as a test system and the results are evaluated. The test system consists of 30 buses of which 6 generating buses are present including slack bus and remaining 24 are load buses. 41 lines, 4 tap changing transformers, and 9 shunt capacitors are present in this test case. MATPOWER open source power system software is used to run NR power flow. The initial real power loss of the system is 5.8316 MW and initial voltage deviation is 0.9819.

The proposed work is divided into two steps. In the first step, optimal size of DG at each node is found by PSO algorithm assuming that all the 30 buses have solar generation. And then results obtained through PSO are checked for reverse power flow by negative load approach to find the possible bus locations for DG placement. Then, the search for optimal location of DGs is fine-tuned by two methods, namely, weak (WK) voltage bus placement and Loss Sensitivity Factor (LSF) method. In order to emphasize point on the effect of increasing the number of solar generators, this paper analyses and compares the result with numbers 3, 4, and 5 of DGs which are placed using priority location found from WK and LSF methods. Further the capacities of solar DGs are also analyzed with DG supplying alone (real power alone), alone (reactive power alone), and both and (both real and reactive power). Thus several aspects like size of DGs, number of DGs, location of DGs, order of DG placement, and capacities of DGs are all discussed under one roof in this paper.

##### 5.1. Optimal Size of DG Using PSO

The PSO algorithm is used to find out the size of DG to be placed on the system. At each bus solar DG penetration is allowed and size of solar power is taken as a control variable. The size is limited between 2.834 MW and 11.336 MW which is 1% to 5% of total load.

Table 1 illustrates the optimal size of the solar DG at each bus to be included satisfying the multiobjective function of minimizing the real power losses, reactive power losses, and voltage deviations.

Then the size of the DG is tested for negative load approach. That is, NR power flow is run after placing DG at each bus. In the literature listed in [40] Kansal et al.’s work is limited to reverse power flow and they have not included negative load approach. But this paper provides best results and does not have reverse power flow.

The buses that withstand negative load effect are 2, 4, 5, 7, 8, 12, 15, 19, 21, 24, and 30. Among these buses the best location and the best combination for DG placement are selected as in Tables 1 and 2.

##### 5.2. Priority List Creation

The priority list is created to order the DG placement (shown in Table 2). It is done by two methods (1) Loss Sensitivity Factor (LSF) method and (2) weak (WK) bus placement method:(1)The LSF method of placement is used because of the sensitivity towards loss. Since this paper aims for loss minimization with voltage enhancement, LSF method of finding DG location is most appropriate. The buses are placed in decreasing order of loss sensitivity; that is, the highly sensitive bus is first given with DG siting. Thus the order of buses is obtained as in Table 2.(2)The weak (WK) bus voltage method is the simplest and easy method for bus placement. The buses with weak voltage profile are provided with the DG. This is in order to improve the voltage profile of the system and to obtain minimum voltage deviations. The ordering is done as in Table 2.

The bus number in which solar DG can be fit is highlighted, that is, the DGs which sustain negative load approach. Therefore those buses are provided with DG in the order of LSF or WK method. Now the LSF method brings out the priority order as 30, 24, 19, 21, 15, 12, 7, 5, 4, 8, and 2, whereas by WK method the priority order is 30, 24, 21, 19, 15, 12, 7, 5, 8, 4, and 2.

##### 5.3. Location and Sizing

After finding out the order and location of buses the number of DGs and type of DG are to be found. The cases may be 3 DGs, 4 DGs, and 5 DGs based on number of placements. Here the size of DG is same and is subjected to the same limits. And type of DGs concept is provided in this paper to answer the following question: “What purpose is DG placement meant for?” According to this concept four cases are dealt with “no DG, alone, alone, and both and combined.” All these cases are tested with both LSF and WK bus ordering.

###### 5.3.1. Control Variables and Its Ranges

Consider the following:(1)Real power supplied by DG , 2.834 to 11.336 MW.(2)Reactive power supplied by DG , 1.262 to 6.31 MVAR.(3)Voltage magnitude of PV buses, 0.9 to 1.1 p.u.(4)Tap settings, 0.9 to 1.1 p.u.(5)Shunt capacitors, 0 to 10 MVAR.

Allowed total solar power generation is from 5% to 25% of the total load of the system. For an IEEE 30-bus system, the total real power demand is 283.4 MW and reactive power is 126.2 MW. Therefore each DG is subjected to 1% to 5% of total demand and maximum of 5 DGs are considered to satisfy 5% to 25% of total demand.

Four types of system cases are evaluated:(1)No DG: In this case there is no renewable penetration and NR load flow is run with the basic case with conventional generators. Here the values of fitness function are evaluated for the base case using GSA, PSO, and hybrid PSOGSA algorithms. And the results are tabulated in Table 4.(2)Three DGs placed: In this case totally three DGs are placed in the system. By LSF method, DG location is prioritized at bus numbers 30, 24, and 19. By WK method, it is found to be at 30, 24, and 21. This brings out reduced loss results than no DG case.(3)Four DGs placed: In this case 4 DGs are placed at location of bus numbers 30, 24, 19, and 21 under LSF and 30, 24, 21, and 19 under WK. This case exhibits more reduced losses than previous case.(4)Five DGs placed (as shown in Figure 3): Under LSF, DG location is found to be at bus numbers 30, 24, 19, 21, and 15 and under WK it is at 30, 24, 21, 19, and 15. Five-DG case brings out the most wondering results as in Table 3.

It is to be noted that there is only slight variation in the order of placement by both methods, but the results obtained have shown ridiculous performance. The DG supplying various capacities concept is discussed next:(1) alone: This system consists of multiple DGs supplying real power alone located under LSF and WK bus methods. The system with multiple DGs supplying alone is optimized using 3 algorithms and the results are tabulated in Table 4.(2) alone: This scheme consists of multiple DGs supplying reactive power alone located under LSF and WK bus method is solved under all three algorithms. That is, the DG is placed as a reactive power compensating device. This is a worst case with high power loss incurred compared to other cases. Also it is not economical to include DG just for providing reactive power alone. So this case will be the worst case among all and the results are tabulated in the Appendix.(3)Both and : Under this scheme, multiple DGs are placed satisfying LSF and WK methods meant for providing both real and reactive power. This case is analyzed with 3, 4, and 5 DGs using 3 algorithms. This provides a trustworthy way of DG installation. Here the real and reactive power needs of the system are compensated at the same time. The inverters of the solar DG act as reactive power sources. This condition suits the main objective of the paper and it aims to compensate both the powers of the system. Even though it has slightly higher fitness values than alone case this condition is best, considering its effectiveness, and will provide a new approach to renewable energy integration.

In order to reduce the length of paper, all the results are tabulated in Appendix except the best case (5-DG LSF). For 5-DG LSF case the results are tabulated in Table 3 using 3 algorithms. It is found that the 5-DG placement gives the most optimal loss under LSF order of placement with hybrid PSOGSA algorithm with DG supplying alone. Anyway DGs supplying both and type are also equally effective.

##### 5.4. Selection of Best Algorithm with Increased Solar Power Generation

To explain the results in an easy and quick way 3D plots are drawn (Figures 4(a)–4(r)). The graphs shown in Figures 4(a)–4(r) describe the values of real power loss (), reactive power loss (), and voltage deviations (VD) for 3, 4, and 5 DGs’ placements under all 3 algorithms. The results bring out a conclusion that 5 DGs’ case is best compared to 3 and 4 DGs’ placements. And this gives us a hope that increased level of solar penetration increases the system stability thereby reducing losses. And this case is further improved when it is solved by hybrid PSOGSA algorithm.

**(a)**Weak bus placement alone

**(b)**Weak bus placement alone

**(c)**Weak bus placement both and

**(d)**Weak bus placement alone

**(e)**Weak bus placement alone

**(f)**Weak bus placement both and

**(g)**Weak bus placement alone

**(h)**Weak bus placement alone

**(i)**Weak bus placement both and

**(j)**LSF placement alone

**(k)**LSF placement alone

**(l)**LSF placement both and

**(m)**LSF placement alone

**(n)**LSF placement alone

**(o)**LSF placement both and

**(p)**LSF placement alone

**(q)**LSF placement alone

**(r)**LSF placement both and##### 5.5. Selection of Best Approach with DG Type

So far it is found that 5-DG placement under hybrid is the best result. The best DG placement approach and best DG type are discussed in this section. Therefore the fitness function value of 5-DG placement under alone, alone, and both and is plotted with LSF and WK bus method. The results are illustrated in Figures 5(a)–5(c).

**(a)**Comparison of , , and in PSO under LSF and weak bus method

**(b)**Comparison of , , and in GSA under LSF and weak bus method

**(c)**Comparison of 5 DGs supplying , , and in hybrid PSOGSA under LSF and weak bus methodFrom the graphs obtained, it is obvious that the alone case is best under LSF placement method. That is, if a solar DG is placed in the system with constant power factor and is supplying real power alone this yields best results.

But this would not be a wanted result because the aim is to make the solar DG integration for reactive power demand. Therefore DG supplying both and type yields better results than the initial case. Therefore the best solar DG placement is with alone and better placement is with both and and the worst placement is with alone. But one interesting point to note is that the LSF (green, blue, and yellow lines in Figure 5) turns out to be the best ordering in all three algorithms. Since the fitness function is to minimize the total loss, the LSF method gives the best order compared to WK bus method.

The entire research consists of huge number of data calculations and various comparisons to prove the originality and efficiency of the work done. To reduce length, only important and best results among the achieved results are tabulated and highlighted. The comparison of no DG with 5-DGs case under three nature inspired algorithms is shown in Figure 6. All the no DG cases have high fitness value and all 5-DGs cases have minimum fitness value. Also the results show that hybrid PSOGSA possesses a better capability to escape from local optimums with faster convergence than the standard PSO and GSA. Table 4 shows the comparison of no DG case with 5 DGs placed case under LSF ordering for solar DG supplying alone and DG supplying both and type. Also the values of all the control variables are listed in Table 4.

#### 6. Conclusion

The research carried out in this paper is worthwhile and includes several important points to be noted. Basically optimal siting and sizing of solar DG in IEEE 30-bus system are the main concept but there are several parallel researches which are carried out to enrich the results.

Initially PSO algorithm is used to find out the optimal size of DG and the size of DG is tested for negative load impact (to avoid reverse power flow). Now the candidate bus for placing DGs is narrowed. Further the order of DG placement is done under LSF and WK bus method of ordering. Then the work with number of DGs’ placement is elaborated with 3, 4, and 5 DGs’ placements. And DG supplying various capacities is also discussed with alone, alone, and both and cases. All the results are evaluated using 3 different algorithms (PSO, GSA, and hybrid PSOGSA). Below are the final conclusions that are visibly found from the research:(1)PSO gives the best result for optimal DG sizing in a very short span of time.(2)Negative load approach check prevents reverse power flow condition throughout the process.(3)LSF ordering serves best compared to WK bus method, ensuring that the total losses are minimized.(4)5 DGs’ placement case is the best, proving that increased level of DG penetration decreases the total power losses in the system and maintains flatter voltage profile.(5)DG supplying real power alone is the best suitable case for the system denoting that when DG is under unity power factor environment, it gives best results.(6)DGs supplying both real and reactive power also give better results and pave way for a new technology of “grid interactive solar power for real and reactive power source.” Here there is no need for maintaining the power factor at unity and any change in voltage or reactive power of the system can be gently met with multiple DGs which will provide more stability to the system.(7)Algorithm-wise the hybrid PSOGSA performs in a super way by combining the advantages of both PSO and GSA.

Thus the best optimal values of fitness function, real power losses, reactive power losses, voltage deviations, and control variables are obtained from hybrid PSOGSA algorithm solving 5 DGs’ case placed in LSF order with DGs supplying real power alone.

Thus the conventional system is reconfigured by optimally integrating the solar DG at globally best locations with globally best size. This makes the grid work smarter which comes under smart grid environment. Future works involve further improvisation that allows increased solar penetration by different ways to achieve better results.

#### Appendix

#### Conflict of Interests

The authors declare that there is no conflict of interests regarding the publication of this paper.