Harmonic Effects Due to the High Penetration of Photovoltaic Generation into a Distribution System

: The growth in global electricity demand has expanded the search for new energy resources. Renewable sources such as photovoltaic (PV) systems have proven to be major alternatives. PV generators connected to distribution grids have exhibited signiﬁcant growth in the last decade, so it is essential to analyse the impacts resulting from this increase. This work investigated the inﬂuence of high PV system penetration in distribution grids in terms of harmonic levels. In particular, this study addressed the distortions in voltage and current waveforms in the presence and absence of PV generators connected to a distribution grid. Additionally, the total harmonic content and the individual harmonic frequencies of voltage and current were analysed. This study was performed with an IEEE 37 bus distribution system and the Open Distribution System Simulator software (OpenDSS). The results show that the voltage limits of some phases far away from a substation can exceed the limits. Furthermore, the total harmonic distortion (THD) and individual harmonic distortion (IHD) levels for voltage and current were signiﬁcantly high for harmonics of the 3rd, 5th, and 7th orders, where current levels violate the standard levels.


Introduction
Global energy demand is constantly growing. Consequently, the search for new energy alternatives is ever-present. The exhaustion of nonrenewable energy resources and environmental preservation necessitates an increasing need for the development of renewable energy system technologies such as solar power. New advances in energy technology and the integration of renewable energy sources into distribution systems have contributed to a substantial improvement in the global generation of electricity in terms of quality and reliability. The use of renewable energy contributes to the reduction of greenhouse gas (GHG) emissions and to the minimisation of environmental impacts. Renewable energy sources help reduce the need for large energy generation systems and extensive transmission lines. Solar power systems or photovoltaic (PV) systems are frequently connected to distribution grids, and their use is increasing worldwide.
In [1], the National Association of Clean Air Agencies (NACAA), analysed and identified that photovoltaic generation causes fewer environmental impacts than energy from fossil fuels. Additionally, PV systems contribute to the reduction of greenhouse gas emissions. The use of PV systems can reduce power grid shortages, improve the voltage levels in consumer units, and decrease peak demand loads. However, the impacts of deploying PV systems on a large scale without planning can create power losses [1][2][3][4][5]. These losses are related to problems related to power quality, including harmonic distortions and unbalanced voltage and current [6,7].
In [7], the authors analysed the influences of power quality in a distribution grid due to the connection of PV systems. An analysis of the recorded data was performed regarding the harmonic content of the PV current; a computational model was developed to simulate various expansion scenarios and "more realistic" distribution network conditions.
In [22,23], the authors presented methods and showed results on the improvement of harmonic voltage and current distortion in an electrical distribution system. According to the authors, the integration of photovoltaic generators generated harmonic distortions that affect electrical equipment and the power quality of the distribution grid.
In scientific literature [6,24,25], PV systems showed that the harmonic distortion of the current has an inverse relation to the solar incidence so that the injection of harmonics is higher when the system operates at low power.
The harmonic frequencies from inverters, along with other harmonics produced by nonlinear loads, have become a major concern for distribution systems. Similar studies have been reported in [6,24,26], where the use of energy quality monitoring has become important to identify the different sources that can cause the appearance and presence of harmonic disturbances. Furthermore, it has been estimated that approximately 25% of the total electrical power system disturbances derive from harmonics, causing significant power losses in the electric power industry.
The results presented in [27] indicated that the total harmonic distortion (THD) in voltage at the same common coupling point where photovoltaic generation is connected tends to be identical to the THD in transformers employed in the generation connection. In [28,29], the THD current varied according to the power provided, and it decreased when there was an increase in irradiance. As noted in [24,30], as the power offered by the photovoltaic system grew when compared to the power consumed by local loads, the power flow from the power grid to local loads decreased, raising the current THD values measured. The harmonics produced by photovoltaic systems are related to the concentration of harmonics requested by nonlinear loads, which depend on inverter loading [31].
The work developed in [32] emphasised harmonic current distortions caused by the high insertion of inverters in the distribution grid, showing that inverters can generate more relevant harmonic injections due to changes in solar radiation. Additionally, the work concluded that the harmonic injection produced by photovoltaic inverters spreads through a distribution system and can severely compromise its operation.
According to [33], the strong performance of PV systems in a distribution grid can lead to power variations at the coupling point and may exceed the limits defined by the standard; this can occur when the systems are subject to low irradiance.
In [34], an experimental analysis identified voltage waveform distortions in power grids due to the connection of PV systems using field measurements and simulations. The distortion characteristics of voltage waveforms that occur under different operating conditions were investigated. In addition to PV systems, the installed power would approach or even exceed the observed load from the point of common coupling (PCC), which could cause a significant occurrence of harmonics in the network.
In [35,36], the authors considered the feasibility and importance of using simulation tools for studying the integration of photovoltaic system networks and the dimensioning of DGs to improve voltage and current profiles and reduce THDs.
OpenDSS is open-source software widely used in distribution power grid simulations. According to the software user's manual [37], the tool aims not only to perform load flow studies but also to analyse the distributed generation connected to the distribution grid. Its scope also includes probabilistic planning studies, solar photovoltaic and wind generator The literature review has shown that to date, numerous studies related to the insertion of photovoltaic systems in distribution grids demonstrate the effects resulting from this process. However, there is a research gap regarding the high penetration of photovoltaic generation into distribution systems as they relate to the effects of harmonics and harmonic distortions, which we aimed to fill in this study. More importantly, a comparative analysis between the absence and presence of high photovoltaic system penetration was performed to evaluate the effects that harmonics may cause under this extreme situation. In other words, this study aimed to elucidate the effects produced by harmonics through the high penetration of photovoltaic systems in a distribution grid.
The main contributions of this article can be listed as follows: (a) careful analysis and evaluation of the influence and individual levels of harmonics on the behaviour of underground distribution systems, proposing that the high penetration of photovoltaic generators in these systems has a significant relationship with a higher incidence of odd harmonics of 3rd, 5th, and 7th orders through the 4.8 kV underground cable distribution system (IEEE 37 Bus) to perform studies of THD levels on voltage and current; (b) proof that the effects of THD on voltage values do not produce significant impacts, even if current THD exceeds standards; (c) verification that the increase in harmonic level in the electric power system represents one of numerous factors that can influence the stability of a distribution grid, which is important for influencing research studies in this field; and (d) codification of the consequences of high photovoltaic system penetration on networks due to the generation of harmonics and, more specifically, an analysis of the implications on previous standards established within appropriate operational voltage limits and current limits.
The paper is structured as follows: Section 2 presents the systematic literature review methodology used; Section 3 describes the simulation setup and procedure, provides the results of the analysis of the paper, and discusses the results of the research. Finally, the last section offers conclusions and proposes future trends.

Materials and Methods
The increase in the level of harmonics in electrical power systems represents one of the numerous factors that can affect the operation of a distribution grid that supplies industrial, commercial, and residential services, which is important to leverage research studies in this field.
To obtain the results and answers to the questions presented in this work, descriptive research methods were used, quantitatively and bibliographically aimed at analysing the studies related to harmonics and power flow due to the high penetration of photovoltaic systems through a simulation in the proposed study system. In this context, the theme of this paper is inserted, which addresses theoretical studies and data collection activities obtained by simulation, enabling the calculation and analysis of the results of the effects produced by the high penetration of photovoltaic systems in an IEEE system 37 distribution bus.
The IEEE 37 bus Test Feeder is a standard distribution model developed by the IEEE Power & Energy Society, located in CA, USA, with a nominal voltage of 4.8 kV and a nominal capacity of 837 kW, it has a complexity of loads and lines identical to that of a small town. For more information, such as cable length and impedances, visit [38].
The simulation was performed on the OpenDSS platform, which is used to estimate power distribution system losses and the level of harmonic distortions due to the high penetration of PV systems in the grid.
Two different scenarios were idealized to assess the impacts of the high penetration of photovoltaic generation in the distribution system. The first scenario was a simulation of the circuit without the addition of photovoltaic generation. The second was the simulation with the insertion of eight photovoltaic systems, consisting of one 2-MW system and When allocating the photovoltaic systems from the standpoint of an independent producer, considering the restrictions imposed by the concessionaire on the generation units to be connected to its system, it can be assumed by default that the units can be inserted into any node in the system. These nodes were chosen because they have no loads, and because the power flows passing through these nodes are almost zero, there are no significant losses to the system on its lines.
Under each scenario, the voltage variation, flux density, power circuit losses, and voltage and current harmonics were analysed with their respective percentages of total harmonic distortion (THD) and individual harmonic distortion (IHD). Table 1 shows the generation capacity of the PV systems added to the distribution system. Figure 1 shows the locations of the PV systems in IEEE 37.  The OpenDSS uses a PVSystem Element Model to simulate photovoltaic generation, which consists of a generator and photovoltaic inverter that have selected characteristics of the inverter typically convenient to perform impact studies in distribution systems [39]. The model considers the efficiency curve, maximum power point tracking (MPPT), and cut-in/cut-out as a function of DC voltage and reactive power control.
PV System Element: Figure 2 shows a block diagram of the PV system model available in the OpenDSS (PV system), which combines the characteristics of a PV system and an inverter into its structure, assuming that the inverter can quickly find the maximum power point tracking (MPPT). The same model is capable of injecting active power (Pout) into the grid connection node. This is a function of irradiation, temperature, inverter efficiency, and rated power at the maximum power point (Pmpp), which is set to a selected temperature, usually 25 • C, and irradiation of 1 kW/m 2 . The power provided by the PV to the system is given by Equation (1).
where P (t) = Pmpp(1kW/m 2 ) × irrad(t) × irradBase × Pmpp(T (t)) and • P(t): output power of the PV array at a specific time, t • Pmpp(1 kW/m 2 ): rated power at the maximum power point and a selected temperature • irrad(t): per unit irradiation value at t • irradBase: base irradiation value for shape multipliers • Pmpp(T (t)): Pmpp correction factor as a function of the temperature at t • eff (P (t)): inverter efficiency for a given P (t) Harmonic Analysis: The OpenDSS harmonics model, Mode = Harmonics, operates in the frequency domain and presents parameters for modelling nonlinear loads on the electrical grid. The loads are transformed into Norton equivalents, that is, the loads and other energy conversion elements are converted into current sources according to the schematic shown in Figure 3.  The study of harmonics in the OpenDSS comprises the resolution of network Equation (2) for each harmonic, where the system admittance matrix is constructed from representations of each component in the system.
where Im-the vector of source currents Ym-nodal admittance matrix Vm-the vector of bus voltages m-harmonic order For the modelling of harmonic components, it is necessary to create a new harmonic spectrum using the following line sequence of code based on Figure 4: where the term "new spectrum" is the name chosen for the study of newly created harmonics. Additionally, as a reminder, the~symbol is used to indicate continuity in the line of the code. A description of each command used is shown.

•
New Spectrum-defines the specific name for the analysis • NumHarm-specifies the number of harmonics in the spectrum • Harmonic-specifies the harmonics of interest • %mag-percentage magnitude relative to fundamental value • Angle-angle of harmonic components The harmonic spectrum used in this work is typical of residences, being used in all loads for a quantity of 7 harmonics, from the fundamental frequency to the 13th order, presenting only the odd components, each with its specific magnitude and angle. This standard spectrum is based on [40].

Case Study 1-System without Photovoltaic Generation
The first scenario consisted of simulating the IEEE 37 system without the insertion of any type of photovoltaic generation. In the simulations, the temporal model of the loads was modified, which was chosen as Snapshot mode. This is the DEFAULT MODE that uses the power flow solution at the present load level, where the control mode is set to "static" and all control devices run following their time delays, starting primarily with the shorter ones.
A voltage monitor was placed on the L22 line of the circuit, which connected node 713, as shown in Figure 1. This line was chosen for voltage analysis because it is a line in which no photovoltaic generator would be inserted and because it was located in an intermediate position of the circuit. Therefore, all the energy flows would pass through this line and would be directed to the L22 meter. This monitor would remain present in all simulations of this work so that it was possible to observe the voltage changes and perform comparisons with other scenarios. Figure 5 shows the power flow of the IEEE 37 circuit, and its feeder was connected to node 799 (see Figure 1). The distribution of power flow along the feeder can be seen through the thickness of the lines, in which the thickest lines have the highest concentration of power. It can be observed that the power intensity was higher near the conventional generation of the substation, highlighted by the flow density near node 799 (thick green line), and that this power intensity was directed to the heavier loads of the circuit.  Table 2 presents the radial flow summary of the feeder (main source), located at node 799 of the IEEE 37 circuit, in terms of power without the presence of photovoltaic systems.  by colours: phase A black, phase B red, and phase C blue. It was noted that the phase voltages were within the range determined in pu (0.93 to 1.05) established by the American National Standards Institute (ANSI) [26]. Therefore, the appropriate voltage limit was not exceeded (0.95 ≤ v ≤ 1.05 pu), according to Table 3.  The loss density of this system is shown in Figure 7. The thickness of the line relates to the system losses.  A thicker line indicates more losses, and a thin line indicates the opposite. It is possible to note that the losses were directly associated with the position of the generator and the distance travelled by the power to reach the loads.
The total losses were 152.3 kW, approximately 6.25% of the active load of the system (according to Table 4  In Table 4, the direction of the power flow is indicated by the positive or negative signal considering the extreme of each line: for example, considering the end of the L1 line (node 701) for line L2 (node 702), there was 10.8134 kvar, that is, if the result was positive, then it arrived from line L1 to line L2. The same occurred with the value −0.0198301 kvar from the end of line L2 (node 702) to line L9 (node 705); if the result was negative, then it effectively arrived from line L9 to line L2. Figure 8 graphically emphasises the losses caused in the IEEE 37 system without the insertion of photovoltaic systems.

Case Study 2-System with Photovoltaic Generation
This scenario showed the simulation with a 2-MW PV system connected to node 737 of the IEEE 37 circuit and seven 350-kW PV systems connected to nodes 712, 718, 720, 729, 730, 731, and 740.
These nodes were chosen to connect the PV systems once the independent producer complied with the restriction rules imposed by the concessionaire (for example, a maximum rated power). In this case, it could be assumed by default that the units could be inserted into any node in the system.
The graphs in Figure 9 present the installed solar systems taking into consideration the irradiance curves on the photovoltaic panel for 24 h, the temperature that the photovoltaic panel reached during the day, nominal power as a function of temperature, and solar panel efficiency.
The simulation with eight photovoltaic systems inserted in the IEEE 37 bus distribution system was done in Snapshot mode. Therefore, the respective spectra were assigned to the photovoltaic elements of the system. These included a property for energy conversion elements (PCElements, such as loads, capacitors, photovoltaic systems, storage, etc.) and not for power supply elements (PDElements, such as lines, transformers, etc.) [37]. The simulation was carried out in the harmonic mode of the OpenDSS, with spectra being assigned to each PV system according to the structure shown in Figure 4. The spectra used by the OpenDSS present a quantity of seven harmonics, from the fundamental frequency to the 13th order. Only the odd components were used, with their specific magnitudes and angles as follows. In the OpenDSS, the monitors were placed on nodes 712, 718, 720, 729, 730, 731, 737, and 740 to observe system losses and harmonic levels, evaluating individual (THDi) and total harmonic distortions (THDv). These measured values allowed us to identify if the levels were outside the standard harmonic spectrum range considered by the IEEE519 standard [41]. For more details on how the OpenDSS measures and computes the harmonics, see [37].
These measured values allowed us to identify whether the levels had changed outside the range considered by the established standard. Figure 10 shows the power flow of the circuit with the photovoltaic systems inserted in the IEEE 37 bus distribution system. One can note that it was more balanced than the circuit in Figure 5, according to the thickness of the lines. In this scenario, the circuit did not need all the energy from the main feeder. This occurred because the photovoltaic generators installed in the system guaranteed the supply of the necessary energy for the loads near them on both sides of the circuit.
If we take into account that the PV power was inserted into a system with 2588.5 kW, the PV penetration was 172%. The capacity of the PV power plants (2 MW and 7 × 350 kW) represented 63% of overall power generation.
It should be noted that the power flow from the photovoltaic power plants was slightly thicker than from the power plant at node 799. This occurred because the photovoltaic generation was larger than the conventional energy generation of the system. According to Table 5, the total power delivered by the solar panels was 4224.2 kW, while the feeder provided approximately 1574.9 kW to the system. Photovoltaic generation was equivalent to 72.8% of the total active power delivered to the system.  The circuit power factor in the absence of photovoltaic generation was 0.85. The power factor for the scenario with the insertion of photovoltaic systems was 0.70 for conventional generation. The impacts of the reduction on the power factor were significant because of the introduction of PV systems; there was a decrease in the demand for active energy and variations in the reactive energy demand of the load. This is because there was an increase in losses and the reactive power of the system, as can be observed in line L29 (node737), which indicates losses that go beyond 7 kvar (Table 6).  The main generation of the system began to deliver a larger amount of reactive power after the insertion of the photovoltaic energy systems, going from 1572.6 kvar to 1581 kvar. This was related to the fact that photovoltaic systems, when introduced in the distribution system, cause a surplus of reactive power, due to a smaller amount of active energy needed from the primary source, causing a decrease in the power factor of the system.
A low power factor shows that the energy was being misused and could bring risks in terms of energy losses and reduction in the use of the capacity of the transformers. One of the basic measures to correct the low power factor would be to install a capacitor bank when necessary. Figure 11 shows an advantage due to the insertion of photovoltaic generation in this system; energy distribution in this scenario was carried out in a more uniform and balanced way, coming from both sides of the system, which influenced the power demand factor for the concessionaire regarding the system. By comparing the loss density of the IEEE 37 circuit with the absence of photovoltaic systems and the presence of eight photovoltaic systems inserted in the distribution system, Figures 7 and 11 show that the results of the total losses presented under the two scenarios were 6.25% (Table 4) for the circuit without the photovoltaic systems and 6.54% (Table 6) for the circuit with the photovoltaic system, resulting in a small increase of 0.29% in losses. In this situation, losses were also better distributed by the system, and lines that previously did not compute losses, or had small values, began to register higher densities, which could be observed in line L6 connected between nodes (703 and 730), line L28 (733 and 734), and line L29 (734 and 737), which previously had insignificant active power losses and then showed losses of 16.41 kW, 10.17 kW, and 13.79 kW, according to Table 6. The losses reached a total of 162.7 kW of active power, 56.7 kW in the transformers that were connected to the circuits with the photovoltaic generation, and 364.9 kvar of reactive loss in the elements, and the value of losses without photovoltaic generation was 389.8 kvar. Despite the increase in losses concerning reactive power, there was also an increase of approximately 6.39% in the total losses of active power on the lines and transformers of the system (162.7 kW) when compared to the circuit without the presence of photovoltaic systems (152.3 kW). However, it is possible to observe in Tables 4 and 6 that the active power losses of the lines specifically increased, while they decreased for the substation transformer. This reduction of active power loss specifically for the conventional generator of the substation occurred because the feeder was poorly required, and the power distribution was more homogeneous in the circuit as a function of the photovoltaic generation, thus causing a reduction of the energy demand to be released to the system by the transformer at the substation. The system's active power losses reached only 2.043% of the total active system load. Figure 12 highlights the losses caused in the IEEE 37 system with the insertion of photovoltaic systems, according to Table 6.
A unique aspect arising from the introduction of photovoltaic systems in electrical networks is the system voltage, which undergoes alteration. Figure 6 shows the voltage profile of the system without the presence of photovoltaic generation systems, while Figure 13 shows that of the system with the insertion of photovoltaic generation systems.
The voltage monitor placed on line L22 registered higher voltages than those previously detected when there was no photovoltaic generation, which is perceived due to increased black and blue colour curves, revealing the influence that the insertion of photovoltaic generation may have on the circuit. Figure 13 shows the voltage profile in pu as a function of the distance of the feeder through the meter (energy meter), installed on the first line L1, where the x-axis shows the magnitude of the voltages per unit, while the y-axis shows the distance of the substation from each node and line in kilometres.
The voltage profile model when photovoltaic systems were inserted showed that the voltage levels of phases A and C were slightly higher than the values presented when photovoltaic systems were not present in the electrical distribution system.

Analysis of Harmonic Voltages (IHDV and THDV)
The synthesis of the values of individual voltage distortions obtained with the simulation and monitoring for the frequency spectra corresponding to the harmonics of the 3rd, 5th, 7th, 9th, 11th, and 13th orders resulting from the insertion of the PV systems is shown in Figure 14.
photovoltaic systems were not present in the electrical distribution system.

Analysis of Harmonic Voltages (IHDV and THDV)
The synthesis of the values of individual voltage distortions obtained with the simulation and monitoring for the frequency spectra corresponding to the harmonics of the 3rd, 5th, 7th, 9th, 11th, and 13th orders resulting from the insertion of the PV systems is shown in Figure 14.  The values of the total harmonic voltage distortions calculated by Equation (3) in phases A, B, and C related to nodes 712, 718, 720, 729, 730, 731, 737, and 740 are represented in Figure 15.

·100%
(3) Figure 15. Total THDv spectrum per phase in IEEE 37 bus PV systems. Table 7 shows that the IEEE 519 harmonic voltage limited the overall harmonic distortion of the voltage supplied by the utility.  For the analysis of voltage distortions at the eight insertion points of photovoltaic systems, ANSI resolution C84.1-2006 in [40] established that the effective voltage values can range from 0.93 pu (2576 V) to 1.05 pu (2908 V).
According to Figures 14 and 15, ANSI C84.1-2006 (Table 3) and IEEE 519: 2014 (Table 7), the voltage level, IHDv, and THDv levels met the standards for points 712, 718, 720, 729, 730, and 731, but points 737 and 740 were increased due to the injection of PV energy, violating the standard limits in [40] in phases A and C, with variations in values that can be considered negligible concerning the standard value of 1.05 pu. Figure 16 shows the nominal voltage values in each phase obtained at the connection points. Concerning the measurements of voltage distortions at measuring point 737 to the detriment of the resolution of the ANSI at C84.1-2006, the voltage values ranged from 1.07 pu (phase A), 1.0 pu (phase B), to 1.06 pu (phase C). In this particular case, a small margin of difference was observed in phases A and C, approximately the range considered suitable to be 0.93 pu (2576 V) to 1.05 pu (2908 V), which was outside this range.
The harmonic measurements of the nominal voltage for the distortion were within limits established by the standard. The total harmonic distortion was 1.05% for phase A, 1.02% for phase B, and 1.18% for phase C. The highest amplitude of IHDv in the three phases was the 3rd phase, and the harmonics with the highest harmonic voltage distortion values were the 3rd, 5th, and 7th phases. The 5th and 7th percentiles reached values of 0.71%, and 0.51%, and 3rd percentiles reached 0.77%. The maximum allowed value was 3%.
Based on the evaluation performed, measurement point 737 complied with the standards and resolutions of the harmonics in [41], but concerning the voltage limits in [40], a small extrapolation in phases A and C was observed.
By analysing voltage distortions at measurement point 740, the values of the voltages found at the measurement point under analysis varied between 1.07 pu (phase A), 1.01 pu (phase B), and 1.06 pu (phase C). In this particular case, a small difference in phases A and C may be observed, approximately the range considered adequate in [40], which is 0.93 pu (2576 kV) to 1.05 pu (2908 kV).
In the voltage harmonics, the distortion was within limits established by the standard. The total harmonic distortion was 1.05% for phase A, 1.02% for phase B, and 1.19% for phase C, and the limit stipulated by the legislation was 5%. The harmonic of greater amplitude in the three phases was the 3rd. Generally, the harmonics that presented greater values of harmonic voltage distortion were the 3rd, 5th, and 7th harmonics, where the 3rd harmonic reached a maximum value of 0.79%, the 5th harmonic reached a maximum value of 0.71%, and the 7th harmonic reached 0.52% when the maximum allowed value was 3%.
Based on the evaluation performed, measurement point 740 complied with the standards and resolutions of the harmonics in [41]. Nevertheless, with the voltage limits, a small extrapolation in phases A and C was observed. Figure 17 shows the values recorded for photovoltaic systems located at points 712, 718, 720, 729, 730, 731, 737, and 740 for individual current distortions in the three phases (A, B, and C) obtained over the monitoring time in the shape of the frequency spectrum.  Table 8 shows the IEEE 519 harmonic current limits. The harmonic current limits specify the maximum amount of harmonic current that the customer can inject into the utility system. According to Table 8 and Figures 17 and 18, nodes 712, 718,720, 731, and 737 violated the international standard IEEE 519:2014. Nodes 729, 730, and 740 remained within the standard.

Analysis of Harmonic Currents (IHDI and THDI)
The analysis of the current distortions at the PV-712 measurement point, considering that the relationship between the harmonic components of the current in relation to its fundamental element of the measured signal, allowed individual harmonics of the currents to reach a maximum of 4% for the odd harmonics of the 3rd to the 9th orders and 2% for the odd harmonics from 11th to 15th orders. According to IEEE519-2014 [41], it was observed that the 3rd harmonic relative to phase C exceeded this limit, reaching 4.62%. The other harmonic components were within the recommended range.
The THDi at the 712 measurement point reached its maximum value of 6.50% in phase C, while the recommended limit was 5%. Therefore, it is necessary to monitor the operation of PV-712 to prevent this 3rd order harmonic in phase C from causing future problems for the system range.
Analysing the individual harmonic distortion of current and THDi in PV-718, it was verified that the 3rd order harmonic of current continued to be predominant about the others. This harmonic has a value of 6.07% at stage A, exceeding the stipulated 4% ceiling and influencing THDi's level at stage A to reach 8.3%, which was above the allowed limit value of 5%. The other harmonic components are within the recommended range.
According to the results of the simulations performed in PV-720, the levels of individual harmonic current distortion presented values above the limit value of 4% in phase B for harmonics of the 3rd, 5th and 9th orders, which reached 15.77%, 9.78%, and 6.94%, respectively.
The value found for the harmonic 11 • exceeded the limit value of 2%, reaching 4.58% in phase B, not being within the parameters established by the standards, procedures, and recommendations in force. The other phases A and C were within the recommended range.
The THDi recorded at this measurement point was 20.68% in phase B, and the recommended limit was 5%. Therefore, this was a very high percentage that did not obey the established limitation and would be influenced negatively in the system. It was also possible to observe that the other phases A and C presented the levels within the established standards and recommendations in force. The high THDi value in phase B referring to node 720 was related to the lower magnitude of the fundamental current in this phase. This issue caused a higher percentage of active power loss to the other lines, as one can see in Table 6 (Line 8) and the graph in Figure 12.
Analysing the individual harmonic distortion of current in PV-731, as shown in Figure  17, and THDi, in Figure 18, it was verified that the harmonics of the 3rd, 5th, and 7th orders remained predominant in relation to the others with values, respectively equal to 5.04% and 2.70% in stage B and 2.11% in stage A, but the percentage corresponding to the 3rd harmonic in phase B was above the maximum limit of 4%, which indicated a value violation for the system.
The highest percentage of THDi occurred in phase B at 6.25%, staying the same out of the limit range of 5%. The remaining phases A and C remained within the permitted and recommended limits.
In PV-737, individual harmonic distortion showed a higher percentage in phase C for most harmonic orders except for the 11th; the harmonics of the 3rd and 5th orders presented values of 9.56% and 4.53%, being above the allowed and recommended limit value of 4%, as shown in Figure 17.
The THDi level presented a percentage above 5% for phase C, whose value of 11.61% was higher than expected, as shown in Figure 19. Phases A and B were balanced and complied with the acceptable limit of 5%, thus not impacting THDi. The compared values shown in Figure 19 display a decrease in terms of percentage values for THDv values with the presence of photovoltaic systems. It is possible to infer that the installation of photovoltaic systems did not negatively impact the transgression of THDv values because THDv values did not violate the limits of IEEE 519 after insertion of the photovoltaic systems.
The comparative level of THDi in Figure 20 exceeded the limit of 5% established by IEEE 519 in phase B when PVs were present, and the value of THDi in phase A almost doubled its value from that established without the presence of photovoltaic systems but remained within the standards. The use of transformers with the delta-star (Dy) connection can be used to reduce the distortions caused by the 3rd harmonic. It is an option to ensure the quality energy to end consumers.

Conclusions
This paper analysed the harmonic levels produced by the high penetration of PV systems in distribution networks using the OpenDSS, which is widely used by most concessionaires for the detection of harmonic sources.
A detailed analysis of the effects of harmonics due to the high penetration of photovoltaic generation into a distribution network provided useful information to identify the main effects resulting from the harmonic insertion process into a distribution system. The results obtained in the simulations demonstrate that under specific conditions, the voltage profile in phases A and C was higher in scenario 2 than in scenario 1 but remained within the acceptable range (0.96 to 1.05) in pu. The demand for reactive power was substantially increased in the main generation system due to the insertion of photovoltaic systems because photovoltaic systems are not able to provide reactive power to the system network, resulting in a decrease in the overall system power factor. Losses were better distributed with the presence of photovoltaic systems than without them.
According to the study, the presence of total and individual harmonic distortions is a major factor influencing the characteristics of a distribution system. The highest values of voltage distortion and harmonic current were observed in the 3rd, 5th, and 7th harmonics, not violating in extreme proportions the standard voltage limits at the connection points. However, it has been shown that in regard to current distortions, individual or total results reported in this article lead to noncompliance with the established standards and provide strong evidence indicating that they are more harmful and may cause future problems for distribution due to the high penetration of photovoltaic generation. To mitigate the effects of IHD and THD voltage and current, filters must be used in the inverters related to nodes 712, 718, 720, 731, and 737. The results The use of transformers with the delta-star (Dy) connection can be used to reduce the distortions caused by the 3rd harmonic. It is an option to ensure the quality energy to end consumers.

Conclusions
This paper analysed the harmonic levels produced by the high penetration of PV systems in distribution networks using the OpenDSS, which is widely used by most concessionaires for the detection of harmonic sources.
A detailed analysis of the effects of harmonics due to the high penetration of photovoltaic generation into a distribution network provided useful information to identify the main effects resulting from the harmonic insertion process into a distribution system. The results obtained in the simulations demonstrate that under specific conditions, the voltage profile in phases A and C was higher in scenario 2 than in scenario 1 but remained within the acceptable range (0.96 to 1.05) in pu. The demand for reactive power was substantially increased in the main generation system due to the insertion of photovoltaic systems because photovoltaic systems are not able to provide reactive power to the system network, resulting in a decrease in the overall system power factor. Losses were better distributed with the presence of photovoltaic systems than without them.
According to the study, the presence of total and individual harmonic distortions is a major factor influencing the characteristics of a distribution system. The highest values of voltage distortion and harmonic current were observed in the 3rd, 5th, and 7th harmonics, not violating in extreme proportions the standard voltage limits at the connection points. However, it has been shown that in regard to current distortions, individual or total results reported in this article lead to noncompliance with the established standards and provide strong evidence indicating that they are more harmful and may cause future problems for distribution due to the high penetration of photovoltaic generation. To mitigate the effects of IHD and THD voltage and current, filters must be used in the inverters related to nodes 712, 718, 720, 731, and 737. The results reported in this article also provide strong evidence indicating that the advantage stemming from the high insertion of photovoltaic generation in distribution systems is performed in a more uniform and balanced manner on both sides of the system concerning energy demand. In addition, it has been shown that the insertion of high photovoltaic generation in distribution systems increases the amount of current passing through the stretches, thus requiring less substation transformer effort to load the distribution network, creating a high energy production level that results in a high surplus injected into the network and, as a consequence, increased losses. Therefore, this further confirms our initial hypothesis, where the effects of harmonics due to the high penetration of photovoltaic generation in the distribution system act as agents impacting systemic functionality based on the differences described in scenario 1 when compared to scenario 2. The high penetration of photovoltaic systems consequently shows a decrease in the voltage THDv and an increase in the current THDi.