Abstract
The electrical energy demand is steadily growing, and hence, the integration of photovoltaic system to the distribution networks is also dramatically increasing though it has a significant effect on the network’s power quality. The purpose of this paper is to analyze the impact of solar PV integration on the power quality of distribution networks. The study is conducted using ETAP software, taking one of the radial distribution networks available in Bahir Dar city during the peak of connected loads which has the least voltage profile. Furthermore, the optimal location of the PV in the network is done using particle swarm optimization. Accordingly, the appropriate location of the PV system is determined to be the farthest end bus (bus 34). Also, the impact in terms of voltage and current harmonic distortion on the distribution feeder network is comparatively discussed by comparing the distribution system parameters with different penetration levels of solar PV system. The simulation results obtained demonstrate that high harmonic distortion level is injected correspondingly as the penetration capacity of PV system increased which indicates that the solar PV system should be integrating only up to a maximum possible capacity the network can carry. The integration of the PV system beyond this maximum penetration level causes production of high harmonic distortion which adversely affects the system performance. At the maximum penetration level which allows the acceptable harmonic distortion limit, the total voltage harmonic distortion and current demand distortion are found to be 4.97% and 14.98%, respectively.
1. Introduction
Nowadays, the world’s power demand is rapidly increasing due to expansion of loads which in turn required clean, safe, and economic energy resources. The exploitation of fossil fuel sources leads to the integration of renewable energy sources such as wind energy and solar energy into the network to enhance power system performance [1, 2]. Photovoltaic (PV) generation is one of the widely applied forms of renewable power generation which converts the available free solar energy into usable electricity through the process of photovoltaic effect. The PV systems in power networks can be classified as standalone and grid connected based on their applications. Standalone PV systems are able to supply electric power for remote loads that do not have any source to power loads, whereas grid-connected applications can be used to provide energy for both local loads and exchange power with utility grid [3, 4]. In a grid-tied solar PV system, an inverter alters the DC current from the PV module into alternating current (AC). When the PV system is connected to the grid, it can transmit the extra energy to the grid after satisfying the existing demand. But when the demand is more than the generation, extra energy is obtained from the grid [5]. The grid-tied solar system is shown in Figure 1.

The required capacity of solar power injected to the grid is expressed by penetration level. The penetration level of the solar power is the ratio of an active total generated PV power to the total system power as presented in [7]
Harmonic distortion is the major undesirable effect that has to be taken into consideration during the operation of grid-connected PV systems. In the PV system, there is an inverter used for conversion of DC current to AC current that injects voltage harmonics and current harmonics to the system which results in power harmonics [8]. The harmonic impacts on the system include production of equipment overheating that leads to equipment failure, increased power loss, system malfunction, equipment protection and operation failure, process disturbance, and voltage fluctuation [1, 9].
2. Literature Review
Pawar and History [2] in 2019 proposed the harmonic analysis of high-penetration PV system on the distribution grid. The effect of high-penetration PV system in terms of total harmonic distortion (THD) is proposed and analyzed using MATLAB/SIMULINK software for the grid-connected PV system. From the simulation results conducted, the harmonic distortion level increases when high penetration level of PV system is integrated to the network.
Similarly, Farhoodnea et al. [4] in 2012 suggested power quality impact of grid-connected photovoltaic generation system in distribution network. They proposed a 1.8 MW grid-connected PV system in a radial 16 bus test system. The total harmonic distortion is determined to be 14.27% which is beyond the standard limit.
Also, Kumary et al. [8] proposed modeling and power quality analysis of a grid-connected solar PV system. They suggested on the effect of PV integration in terms of voltage and current harmonic distortion on a three-node residential network using MATLAB/SIMULINK software. The analysis is performed without PV integration, at maximum PV generation with minimum average load and at minimum PV generation with peak load, and the results obtained show that the harmonics of voltage and current are large for far-end node of the feeder compared to nodes near to the distribution transformer. But THD values of current and voltage harmonics are high in case of maximum solar PV generation.
Shafiullah [10] proposed the analysis of harmonics with renewable energy (RE) integration into the distribution network. It investigated the harmonic effect of large-scale renewable energy integration of the distribution network. In the study, 0%, 50%, and 100% PV penetration levels and hybrid with wind integration (50% and 100%) are considered. It is found that high harmonic distortion is generated with the increase in penetration level of RE into the network. For 100% PV integration and both 50% and 100% wind integrations, the current harmonic distortion level was beyond the standard limit but the voltage harmonic distortion was found within the threshold limit.
Sahoo and Kulkarni [9] proposed the impact of photovoltaic penetration on distribution systems. The impact of different penetration levels (10%, 20%, 30%, 40%, 50%, and 60%) of photovoltaic on the distribution system in terms of voltage harmonics is proposed and analyzed using CYME 7.1 software. The results found that, as the penetration level of PV system increases, the voltage harmonic distortion also increases. The maximum penetration level is determined to be 38.2% PV and the harmonics generated are within a standard limit of 5%.
All the previous related literatures reviewed mainly focused on the power quality analysis of grid-connected PV system which this paper also targets. However, this paper also includes the optimal size and location determination of the required PV system.
3. Resource Potential Assessment of Solar Energy
The feasibility study of solar PV resource potentials has a significant role for both network-connected PV system and PV standalone system [11]. Sunshine hour indicates the duration of sunshine on a specified location for a given period of time. It can be expressed as an average value for several years. The sunshine hour is taken to be 4-6 hours per day in most of the design [12]. The National Metrology Agency of Ethiopia Bahir Dar branch has registered the sunshine hour data of Bahir Dar city for ten consecutive years [6]. The solar radiation is then determined using the length of sunshine hour of the area. The Angstrom-Prescott estimation model is used to approximate the monthly average daily extraterrestrial solar radiation [6, 13]. where is the solar , is the latitude in degree, is the solar declination in degree, is the sunset hour angle in degree, is the day of the year from January 1 to December 31 taking January 1st as 1, is the monthly average of the maximum possible hours of sunshine, is the monthly average daily hours of sunshine, is the monthly average daily extraterrestrial solar radiation, is the monthly average daily global solar radiation, and and are empirical coefficients.
The solar radiation of Bahir Dar city is calculated accordingly and presented in Figure 2. As it can be noted in the figure, the solar radiation of Bahir Dar city is found in internationally accepted range (4-6 kWh/m2/day) which implies that this city has abundant solar energy and is feasible for solar PV installation [6].

4. Optimal Location and Sizing of PV System
Particle swarm optimization (PSO) is one of the best newly formulated optimization techniques with many attractive features, namely, less number of iteration and execution time to reach the solution [14]. So, in this paper, PSO is applied to determine the optimal location and size of the required solar PV.
4.1. Particle Swarm Optimization
The optimization technique is used to find the best solution for any given circumstances. PSO is a robust stochastic optimization technique based on the movement and intelligence of swarms. It is a population-based search algorithm and is initialized with a population of random solutions, called particles. In a particle swarm optimization algorithm, each member is called “particle,” and each particle flies around in the multidimensional search space with a velocity, which is constantly updated by the particle’s own experience and the experience of the particle’s neighbors or the experience of the whole swarm [15]. Two variants of the PSO algorithm are developed, namely, PSO with a local neighborhood and PSO with a global neighborhood. According to the global neighborhood, each particle moves towards its best previous position and towards the best particle in the whole swarm, called global best model and uses a star social network topology. On the other hand, according to the local variant so-called local best, each particle moves towards its best previous position and it reflects a ring social topology.
The particle swarm optimization algorithm shares the basic concepts with the genetic algorithm, in that both of them start by initializing a population of random solutions. However, the PSO system contains a randomized velocity in each potential solution. Each particle initializes first with a random position and random velocity and then keeps track of its coordinates in hyperspace in order to associate with other particles that will combine to achieve the best solution (fitness). This value is called best and must be stored. The pbest is not the only best possible value for the system; there is another best value called gbest. This is the global version of the particle swarm optimizer that keeps track of the overall best value and its position, obtained so far by any of the particles in the same population [16].
Each of the particles tries to update its position based on the following information as it is also graphically shown in Figure 3 [6, 17]: (i)The particle current positions ()(ii)The particle current velocity ()(iii)The distance between the current position and personal best ()(iv)The distance between the current position and global best ()

where is the inertia weight and and are random numbers uniformly distributed in the range of 0 to 1.
The new velocity equation contains three main components. These are (i)the inertia term component: (ii)the cognitive component: (iii)the social component:
This new velocity vector translates the previous position of the particles to a new position in the search space. This procedure is repeated until the maximum iteration is reached as shown in Figure 4.

5. Modeling and Load Flow Analysis of Radial Distribution Network
A radial configuration network so-called BATA feeder which consists of a total number of 34 buses is selected as a case study for this research work [6]. Bus 1 is the reference bus whereas twenty-nine nodes are connected to loads with the help of stepdown distribution transformer and the remaining four are common coupling nodes as depicted in Figure 5. The total length of overhead distribution line of this feeder is 19 km. The overhead distribution lines are stranded conductor of type AAC-25, AAC-50, and AAC-95, and these overhead stranded conductors are used to distribute 15 kV from Bahir Dar substation II to the distribution transformers [6]. All buses have a voltage level of 15 kV, total active power is 1.86 MW, and total reactive power is 1.25 MVAr [6].

5.1. Base Case Load Profile
The base case load and line profiles of BATA feeder are shown in Table 1 [6].
5.2. Backward/Forward Sweep Load Analysis
Forward/backward sweep-based power flow algorithm technique is used for feeders having radial network topology. The forward sweep calculates the node voltage from the sending end to the far end of the feeder and laterals, and the backward sweep is primarily calculating the branch current and/or power summation from the far end to the sending end of the feeder and laterals. In some algorithms, the backward sweeps can also computed node voltages [15].
5.2.1. Algorithm for Forward/Backward Sweep Load Flow
The forward/backward algorithm is developed based on two derived matrices, the bus-injection to branch-current matrix and the branch-current to bus-voltage matrix, and equivalent current injections. For distribution networks, the equivalent current injection-based model is more practical. For the bus, the complex load is expressed by
Step 1 (backward sweep). For each iteration , branch currents are aggregated from loads to origin. But before finding the branch current, we need to find the current injected at each bus and the bus-injection to branch-current (BIBC) which relates the bus-injected current to the branch current.
The current injection at the th iteration of the th bus is
where and are the bus voltage and equivalent current injection of the th bus at the th iteration, respectively.
and are the real and imaginary parts of the equivalent current injection of bus at the th iteration, respectively.
5.3. Problem Formulation
By using the single line diagram of radial distribution system shown in Figure 6, a more simplified recursive equation is developed between nodes and .

Active and reactive power between nodes and before PV system integration can be given as follows:
The power loss through the line connecting buses and can be computed as
The total power losses of the system can be determined by adding up the losses of all the line sections of the feeder under study, which can be given as
For solar PV integrated distribution network as shown in Figure 7, the power loss reduction equations derived above can be modified as

5.3.1. Operating Limits of PV System Integration
For the installation of PV system integration with the distribution feeder, the systems need to meet certain limiting values. They are listed as follows.
Voltage constraint: according to the IEEE standard, the limit of voltage magnitudes should be maintained between 0.95 pu and 1.05 pu ().
Harmonic constraint: the operational range of total and individual harmonic distortion constraints is limited by the maximum limitation based on IEEE standard.
The objective function can be formulated as shown below:
where , , and are the inertia weights.
In the above equation, the voltage deviation is incorporated as a maximization problem which means it becomes near to zero when each bus voltage magnitude is very close to unity [18].
The solar PV system integrated with the distribution network is also modeled using ETAP software as shown in Figure 8.

6. Harmonic Distortion Analysis of Distribution System
In this paper, a fully graphical power system assessment tool called ETAP software is used for harmonic analysis of the distribution system in order to study the harmonic impact of different levels of solar PV system integration into the distribution system.
6.1. Voltage and Current Harmonic Distortions
The harmonics are generated when power supplies, variable frequency devices, or other electronic devices are integrated into the system. Harmonics are an integral multiple of the fundamental frequency mainly produced from electronic devices and nonlinear loads. Production of a high level of harmonic distortion in the network can impact electrical devices including transformers, capacitors, motor, or generator heating, operation of equipment, and other problems which will adversely affect the network performance. Therefore, it is required to reduce the level of harmonics in the system to have a secure and reliable system [2].
Total harmonic distortion is the ratio of the RMS value of total harmonic component of the output voltage and its RMS of the fundamental component. It is a measure of closeness in a shape between the output voltage waveform and its fundamental component. An inverter is used to convert a DC input source to requiring AC output. The quality of the output of the signal can be expressed in total harmonic distortion. The produced harmonic in the system distorts the fundamental waveform. A way of representing signal harmonics with respect to the fundamental waveform is defined as total harmonic distortion. The harmonics produced can be either even or odd. Even and odd harmonics are also related to the number of pulses or paths of conduction. Odd harmonics are produced in the signal when the negative half cycle is similar with positive half cycle but in the negative direction and vice versa for even harmonics [19].
The general equation for the harmonic number is given in
where is the harmonics number, is any integer, and is the number of pulses in the circuit.
For a system having full wave inverter, the number of pulses is two so only odd harmonics will exist in full wave rectifiers.
The power quality of the system is frequently measured by the harmonic content of voltage waveform which is the individual harmonic distortion (IHD) and the total harmonic distortion (THD). The individual harmonic distortion of harmonic order is defined the percentage of voltage at order with respect to the fundamental voltage signal.
Total harmonic distortion is the ratio of the RMS value of all the harmonic components of the signal to the fundamental signal. The individual harmonic distortion for voltage signals can be expressed as follows [20]:
Total harmonic distortion for voltage is calculated by the formula given in equation (4)
From the above THD equation, we can have
where is the rms value of voltage at order, is the rms value of voltage, and is the rms value of the voltage at fundamental.
The recommended voltage harmonic distortion limits at point of common coupling (PCC) is shown in Table 2 [21].
The recommended current harmonic distortion limits at point of common coupling are presented in Table 3 [21].
At the PCC under normal load operating conditions, the total demand distortion of current can be calculated as [22]
The relationship between total harmonic distortion of current and total demand distortion of current is expressed as
7. Simulation Results and Discussion
In this paper, harmonic load flow analysis is applied on the selected distribution feeder of Bahir Dar city to determine the level of current and voltage harmonic distortion. The impact of integrating solar PV system into the distribution system in terms of harmonic distortion is analyzed for different penetration levels of the PV system. The total active and reactive powers for the selected radial distribution feeder are 1.86 MW and 1.25 MVAr, respectively. The simulation of the system is carried out with different scenarios (base case, 10% PV integration, 20% PV integration, 30% PV integration, 40% PV integration, 50% PV integration, 60% PV integration, 70% PV integration, 80% PV integration, 90% PV integration, and 100% PV integration).
The voltage profile of the existing network before PV integration is shown in Table 4.
The branch power losses and the total active and reactive power losses of the existing network are presented in Table 5. From the load flow analysis, the total active and reactive power losses are found to be 179.17 kW and 111.80 kVAr, respectively.
The optimal size of the PV system is determined to be 744 kV using PSO which corresponds to 40% PV penetration level. The improved voltage profile after optimization is shown in Figure 9.

As shown in Figure 9, the voltage profile of all buses is improved to the accepted limit of operation after 744 kW PV is connected at the end bus. At the maximum penetration level (48%), not only the voltage profile of the system is improved but also the power losses are substantially reduced as shown in Figure 10.

The optimal location of solar PV system is determined at bus 34 using PSO. So bus 34 is taken as a point of common coupling (PCC). As shown in Table 6, as the amount of power injected by the solar PV system into the selected distribution feeder increases, the total harmonic distortion correspondingly increases in each bus. Integrating large size solar PV system into the distribution network can generate high harmonic level and disturbs the system operation. The capacity of solar PV system integrated into the distribution system should be until the level of harmonic generation that does not violate the acceptable limit of operation. The voltage total harmonic distortion at the point of common coupling with different penetration level scenarios is shown in Figure 11.

The recommended total voltage distortion limit at point of common coupling is shown in Table 2. The bus voltage for this case study is 15 kV. So the maximum acceptable total bus voltage harmonic distortion for this case at PCC is 5%.
The base case total voltage harmonic distortion for the selected distribution feeder at PCC is found to be 0.75%. As shown in Figure 11, case 1, case 2, case 3, and case 4 are within the limit of IEEE standard. But the other cases are exceeding the standard limit. As the level of solar PV power injected to the system increases, the total voltage harmonic distortion also increases. The maximum possible penetration level of solar PV power to the distribution feeder is determined to be 48% and the voltage total harmonic distortion at this point is found to be 4.97% which is in the acceptable range of operation.
The current total harmonic distortion of the selected feeder at PCC for each case is shown in Table 7. The total demand distortion is calculated using total harmonic distortion as expressed in equation (17) above. A three-phase fault is created at PCC for determining short-circuit current in each case.
The current total harmonic and demand distortions of the distribution network are shown in Figures 12 and 13, respectively.


The total current harmonic distortion of the network with different penetration levels of solar PV system at point of common coupling is shown in Figure 12, and using these results, the total current demand distortion is determined.
The recommended maximum total current demand distortion limit at point of common coupling is shown in Table 2. The maximum possible current demand distortion for this case at PCC is 15%.
The base case total current demand distortion for the selected distribution feeder at PCC is found to be 0.04%. As shown in Figure 13, case 1, case 2, case 3, and case 4 are within the limit of IEEE standard. But the other cases are exceeding the standard limit. As the level of solar PV power injected to the system increases, the total current demand distortion also increases. The maximum possible penetration level of solar PV power to the distribution feeder is found to be 48% and its total current demand distortion is 14.98% which is within the limit of the threshold value.
8. Conclusion
In this paper, 34 buses of Bahir Dar distribution feeder are taken into consideration to study the power quality of solar PV system connected with the distribution system in terms of harmonic distortion. The harmonic load flow analysis is deployed to determine the level of voltage and current harmonic distortion using ETAP software. The optimal location of the solar PV system is determined to be bus 34 by using PSO. The different penetration levels of solar PV system integration into the feeder are considered to demonstrate the level of harmonic distortion.
The solar PV system should be integrated into the distribution network only up to the maximum possible capacity that the network can carry. The maximum penetration level is determined to be 48% by considering the total voltage harmonic distortion and current demand distortion. The integration of the PV system above the maximum penetration level adversely affects the system performance. At 48%, which is the maximum penetration level, the total voltage harmonic distortion and current demand distortion are found to be 4.97% and 14.98%, respectively. Generally, the integration of nonoptimal solar PV system into the distribution network causes power quality problems.
Data Availability
Data can be accessed via author request.
Conflicts of Interest
The authors declare that they have no conflicts of interest.