1. Introduction
The development of renewable energy sources allows for reducing the utilization of fossil fuels and limiting CO
2 emissions. Unfortunately, the development of renewable energy sources is connected to many technical issues, which arise in all fields of electrical power engineering, e.g., protection relay coordination, voltage control complexity, power quality issues unwanted islanding, and many more [
1]. At the same time, however, there is significant growth in technology that allows for compensating technical issues. Among many improvements, one can mention better observability of network, better coordination of devices, development of new monitoring technologies, and control algorithms [
2]. This paper focuses on problems connected to power quality issues, which can be divided into a few categories [
3,
4]:
- -
Level of voltage;
- -
Slow and fast voltage changes, rapid voltage changes;
- -
Asymmetry of voltage;
- -
Voltage distortions.
Each category requires a detailed explanation. For the sake of simplicity, one can say that the level of voltage is the most common issue. The voltage level is easy to observe using even the simplest meters and has a direct impact on devices, e.g., inverters switch off above the voltage threshold. Voltage changes have an important impact on the operation of devices, since voltage changes result in varying currents drawn by devices and therefore varying outputs, e.g., light emission [
5]. Voltage asymmetry is connected to higher energy losses and faster aging, which have a particularly large impact on three-phase motors [
6].
Voltage distortions are categorized into subgroups depending on the frequency range of the distortion harmonics up to 2 kHz and supraharmonics in the range of 2 kHz to 150 kHz [
7]. Harmonics are calculated using Fourier transformation in sine or cosine form (1, 2) [
8]. Harmonics are classified into groups and subgroups, as marked in yellow in
Figure 1 [
9]. Harmonics groups exhibit a wide frequency spectrum, while harmonics subgroups include only ±5 Hz (±1 bar in
Figure 1). Interharmonic groups and subgroups include frequencies between harmonics. Interharmonic groups exhibit a wider frequency band ±5 Hz compared with interharmonic subgroups.
where
is the harmonic phase angle.
Typically, the literature presents selected power quality problems separately; however, nowadays, in networks, one may expect more and more interactions between power quality parameters because of the high variation of voltage, which is the result of the integration of renewable energy sources and storages as high power loads, like charging stations. Variations in voltage have a great impact on reactive power flow and capacitive and reactive power (3, 4), which in turn has an impact on the impedance characteristics of the power system and harmonics resonance frequencies. The goal of this paper is to present the interactions between voltage, VAR, and harmonics changes, as well as potential issues and risks connected with harmonics. The simulation results show that voltage changes shift the harmonic resonance band and resulting harmonic flow, the modification of reactive power obtained by capacitor tap change has an impact on the resonance band, whereas harmonic mitigation under resonance conditions is based on reactive power change, which has an impact on voltage level. Further, it is worth underlining that all the modifications have an impact on the loading level.
where
is the reactor/capacitor power,
is the inductance, and
C is the capacitance.
Current and voltage distortion may be connected to a great number of issues—additional energy losses, extensive heating and thermal aging, risk of sudden failure particularly in the context of resonances, maloperation of control or protection algorithms, malfunction of consumer loads, specific heating of cable terminal, and others [
7,
10]. The high spectrum of negative consequences of voltage distortions requires monitoring, analysis, and proper utilization of mitigation methods. The monitoring is carried out using smart meters and power quality meters. Smart meters, the main task of which is to calculate power consumption and generation, typically allow for the monitoring of basic parameters, like asymmetry or THD (5), which express general harmonic distortions [
11]. Power quality meters are much more advanced devices. PQ meters allow for observing the harmonic spectrum up to 40 or 50, and the harmonics angle, with additional indicators like TDD (6) and supraharmonics. TDD is total demand distortion, where harmonics are normalized to the maximum current. TDD allows us to observe when the harmonics have the greatest impact on the power system. As a result of the presented features, smart meters can be considered a simple PQ indicator, whereas PQ analyzers allow for gathering data for detailed analysis. PQ analyzers are both fixed and portable. Regulations require installing fixed PQ meters at the point of renewable energy source coupling, which ensures that all relevant data are available.
where Uh is the content of the harmonic row and Uh1 is the content of the first (fundamental 50 Hz) harmonic.
where
Id is the maximum peak demand load current and
Ih is the content of the harmonic row.
Based on the situation and results of analysis, one can utilize mitigation methods, among which one can mention probably the most popular passive and active filters, proper arrangement of devices, and minimization of harmonic emissions by the optimization of the hardware and control algorithms e.g., use of the variable switching frequency of inverters [
12].
The modification of the inverter control algorithm is typically beyond the possibilities of network engineers due to the lack of access to configuration software, high complexity, and an enormous amount of different inverter topologies [
13]. Power electronic engineers typically have limited knowledge about power systems, which consist of hundreds or thousands of elements; therefore, the improvement of inverters is generally focused on the general THD level, not on specific harmonics. More advanced inverters may be equipped with adaptive mitigation algorithms; however, such algorithms are often still at the research stage [
14,
15,
16]. As a result of the presented problems, typical harmonic mitigation methods require special considerations at the design stage or extra devices afterward, which increase costs. The mitigation methods proposed in this paper can be introduced in a relatively simple way without additional costs; however, the effective operation can be observed only for resonance band mitigation. The solution may be important in case of hostile actions where the structure of the power system may be outside the design specifications and a dangerous resonance band could occur. The risk of resonances is also increasing under normal operating conditions due to the increasing number of devices and their characteristic harmonics, e.g., energy storages being charged from PV panels. A detailed description of conventional harmonic mitigation methods including advanced STATCOM devices can be found in [
17,
18,
19].
This paper presents requirements connected to harmonics limits and results of power quality measurement taken in a 110 kV and MV network. Examples of sudden changes in harmonics and resulting THD are presented. Factors affecting harmonic distortion are explained, and general recommendations are provided. The next paragraph presents simulation case studies. Simulations present the impact of distribution system extension on harmonic distortions. Additionally, the impact of volt/VAR control on harmonic amplitude is provided. The next paragraph presents proposed passive and active harmonic mitigation methods—utilization of transformer phase shift to reduce harmonics or analysis of the energy source’s harmonics spectrum to avoid the resonance band. Finally, the concept of reactive power regulation in order to reduce harmonic distortion under resonance conditions is provided and a comparison of different harmonic mitigation methods is performed. The summary contains the most important findings and outlines further research.
3. Harmonic Analysis—Simulations
The purpose of the simulation was to draw attention to changes in the power system during system regulation or development. Attention is paid to the resonance band and its sensitivity to power system development and volt/VAR regulation. Simulations were performed using a modified test model available in the PowerFactory software 2024 SP4—wind farm of 20 kV [
47]. The network topology and basic parameters are presented in
Figure 7 (parameters in the
Appendix A). First, the impact of the voltage level is analyzed. As can be seen in
Figure 8, the analyzed model is susceptible to voltage change.
In the case of a nominal voltage—20 kV—the resonance is observed for the 28th harmonic, whereas a reduction in voltage to 18 kV (10%) shifts the resonance to the 31st harmonic. A voltage increase to 22 kV (10%) shifts the resonance to the 26th harmonic. The shift may trigger the resonance of harmonics, which are negligible under normal operating conditions. The resulting voltage harmonics are presented in
Figure 9. The harmonics are the result of wind farm inverters with default settings connected to the network, as defined by the impedance characteristics presented in
Figure 8. It can be seen that when a harmonic, e.g., 24, is in the resonance band (22 kV), the distortions are increased.
Further, the impact on the capacitor bank is analyzed and presented in
Figure 10. As can be seen in the analyzed case, the resonance band is not shifted, but is dampened with the increase in capacitor power. One has to underline that it is also possible that the resonance band will be shifted depending on the power system’s conditions.
The next stage of the simulation is to indicate the impact of network expansion accompanying the connection of a photovoltaic power plant on the impedance characteristics of the power grid—
Figure 11. The initial value of the network impedance is marked in blue. The addition of a power cable representing the new PV source power output system is marked with the following colors:
Orange—cable with a cross-section of 70 mm2 and a length of 1 km;
Gray—cable with a cross-section of 95 mm2 and a length of 1.5 km;
Yellow—cable with a cross-section of 120 mm2 and a length of 2.5 km.
It was found that the addition of further cable lines led to a further shift in the resonance band toward lower harmonic orders, which in practice means that the risk of exceeding the permissible harmonic values in extensive networks with a large share of cable lines or networks operating with only one supply transformer (two in the normal mode) is greater. Theoretically, to minimize the shift in the resonance band toward lower harmonics, it is worth considering the use of overhead lines with lower capacitance, but this is rather unlikely, since cable lines are characterized by higher reliability, which is often a superior feature.
In the next stage, the impact of power plant transformers and the exemplary low-pass filter installed in 750 kW inverters is analyzed [
48]. The filter consists of series-connected inductances with L1 = 170 mH, L2 = 80 mH, C = 466 μF, R = 0.1Ω (
Figure 12). The gray color shows the impedance characteristics of the network expanded with a 1.5 km 95 mm
2 cable line. The orange color shows the network expanded with two 1.6 MVA transformers. The impact of transformers in the analyzed case is negligible, as evidenced by the overlapping characteristics. The impact of transformer capacity is also verified, but no significant impact on the results in the analyzed network is found [
49]. The impact of four inverter filters is shown in blue (covered by yellow). Adding filters leads to a clear shift in the resonance band toward higher harmonics, which is usually beneficial, but at the same time, a deterioration in the conditions in the lower harmonics is observed (small resonance band around the eighth harmonic).
The presented simulation shows that the resonance band may be significantly shifted when regulation activities within normal operating limits are performed. The modification of the power system due to the new power plant installation may also have a noticeable impact on impedance characteristics.
4. Harmonic Mitigation—Alternative Methods
There are different mitigation measures against harmonics—passive and active filters or sophisticated control algorithms; however, traditionally, three winding transformers are used as a basic harmonic mitigation measure. The mitigation methods need to be considered at the design stage or afterward, but additional devices are required e.g., filters, which increase the cost [
50].
To minimize the risk of exceeding harmonic values, it is worth considering the selection of inverters that generate harmonics that do not coincide with the resonance band. An example is shown in
Figure 13. As can be seen, the large variety of characteristics allows the selection of devices that do not exceed the permissible values. However, it should be emphasized that, regardless of the amplitudes of individual voltage harmonics, the relative value of THDu harmonics cannot be exceeded.
The simulation software allows for the analysis of the phase shifts of harmonics—however, for the phase correct option, the data required for such simulations are difficult to obtain as only harmonics amplitudes are reported by manufacturers.
The harmonics amplitude can be reduced if the harmonics sources are in antiphase. In the case of the most common fifth and seventh harmonics, the antiphase occurs when the same loads are supplied with a 30° phase shift, which is obtained by a properly designed three-winding transformer and proper load distribution [
52].
Measurements allowed us to notice that the new generation of PV inverters generates a stable harmonics spectrum, not only in the context of harmonics amplitude, but also harmonics phase, which is the basis for the utilization of phase shift transformers for harmonics mitigation. Measurements (
Figure 14 and
Figure 15) show that twin-type PV sources located nearby generate almost the same harmonics, including angles that allow for the utilization of different transformers’ phase shifts to minimize harmonic distortion.
PV plants typically deliver the power using two winding transformers with the same phase shift. Two winding transformers with different phase shifts are rare but available on the market [
53].
A change in reactive power causes a phase shift of the generated current and therefore a shift in the harmonics [
54]. The effect of reactive power generation requires on-site verification; nevertheless, assuming that the harmonics shift ideally with the fundamental component of current, one may conclude that it is possible to cancel chosen harmonics by shifting the reactive power. To cancel the harmonic completely, one must create a signal in the opposite phase to the existing signal, which is obtained by a signal shift equal to half of the harmonic period (7). If the number of inverters taking part in harmonics cancellation is an odd number e.g., 3, then one needs to ensure phase shift equal to one-third of the harmonic period (8)
The methodology of using reactive power to mitigate harmonics under resonance conditions is presented in
Figure 16. The initiation phase requires on-site measurement, which confirms the proper operation of the presented algorithm for given inverters. After successful verification, the algorithm continuously extracts information about harmonics to detect potential resonance bands. If resonance is detected, the harmonics limit of the harmonics under resonance is violated, the inverter generates resonating harmonics, and the next action is performed. The algorithm assesses the required phase shift (7) or (8) depending on the configuration; further, the phase angle is calculated (or measured) and the required reactive power is calculated based on the sum of the measured angle and required angle change according to (9). Finally, the reactive power change is added to the measured reactive power to obtain a new operating point and the power is changed according to the ramp function, so the best compensation point can be chosen. One needs to note that the detailed phase shift is impossible to calculate because harmonics may consist of different-frequency signals, not just the ideal frequency. Further, it may be required to set an active power threshold above which regulation can be activated because of unstable operation in low harmonics ranges.
Calculation of the Q adjustment range is performed in order to avoid unnecessary changes in reactive power and their impact on voltage level. One should also consider that inverters need to change the reactive power according to the Q(U) characteristic (
Figure 17), which could result in a change in harmonics flow. The typical V2 and V3 setting is ~±5% Vn. That of V1 and V2 is typically ~±8% Vn. The proposed algorithm can shift the reactive power within the calculated band to compensate for the potential negative effects. It is believed that the risk of the unwanted resonances is higher in generation stations, since typically the same inverters are used, whereas in distribution substations, the negative effect is often reduced by interactions between many different types of devices.
A general diagram of controlled objects is presented in
Figure 18. The voltage and current transformer provide signals to the PQ analyzer installed on-site. The PQ analyzer sends signals to the controller, which run the algorithm presented in
Figure 16. The presented diagram does not consider PQ measurement on the low-voltage side of the power plant, because the whole operating range should be verified at the commissioning stage. In case one has any doubts, additional PQ measurements are recommended.
To ensure the proper operation of the proposed algorithm, one needs to consider the measuring errors. In order to ensure acceptable measurement errors, one needs to utilize high-accuracy equipment. In particular, one needs to utilize:
- -
An A-class power quality analyzer, which is characterized by measurement uncertainty equal to 0.1% of the declared input voltage;
- -
A high-accuracy instrument transformer, e.g., 0.2 class (0.2 amplitude error) [
55].
One needs to make sure that the measurement range of the PQ analyzer and its current sensors are adapted to the current flowing at the secondary side of current transformer. Both current clamps or a Rogowski coil could be used. One needs to be aware that the instrument transformer can introduce additional measurement errors. The Rogowski coils can be installed directly on the cable lines and therefore the current transformer and its measurement errors are eliminated. Despite the amplitude measurement errors, one needs to consider the frequency characteristics of the instrument transformers. According to [
56], inductive transformers are suitable for measurements of 50th-order harmonics, but only in 10 kV networks. In case of 20 kV networks, only harmonics up to the 20th order are measured within an acceptable error range. Taking into account numerous designs of instrument transformers, it is recommended to contact manufacturers or analyze the technical specifications in order to validate the harmonics measurement accuracy.
The power plant controller is required by distribution system operators and needs to fulfill global requirements e.g., the NCRFG grid code, and local requirements. There are different communication standards available e.g., DNP3.0, 61400-25, 61850-7, and 61850-5, which allow for receiving commands from the power system operator. The above-mentioned modifications of reactive power and ramping are state-of-the-art functionalities of controllers and inverters. The controller sets parameters according to the grid code requirements e.g., above-mentioned Q(U) characteristic, so the modifications to the reactive power under the U regulation band may be blocked. One needs to underline that the settings could be modified only with the consent of the distribution network operator.
Ongoing efforts connected to the optimization of inverters and other electronic devices allow for reducing the risk of harmonic-related issues. Typically, in order to reduce the harmonics content, passive or active filters are used. A general comparison of harmonics mitigation methods is presented in
Table 3. Passive filters may be susceptible to overloads and may be ineffective in case of power system structure modification. Active filters are effective for different configurations of power systems and any harmonics order. Additionally, despite harmonic filtering and reactive power correction, active filters are able to perform phase-balancing. Active filters are rather expensive; therefore, they are typically used in case of low-power applications. In case of high-power applications, hybrid filters, which are a combination of passive and active filters, are used [
57]. Filters are often used in industrial networks; however, the filters are relatively rarely used in distribution system networks. In case of harmonics issues in a distribution system, the harmonic source is often transferred to an individual power transformer in order to minimize the negative impact on the surrounding area. In case of railway substations, the three winding phase-shifting transformers and filters e.g., gamma filters, and 12 pulse converters are typically used in order to minimize harmonics pollution [
58]. Furthermore, in cases of high-power distortion sources, the series reactor is used. Different filter types can be adapted to the situation in the network [
59].
The proposed solution could reduce the resonance effect and reduce the risk of resulting failures. If problems are detected, it is recommended to install conventional filters. It is also possible to simultaneously use an active filter and the proposed solution if the filter power is not sufficient. Further research is planned in order to validate the proposed solutions.
One needs to be aware that the proposed alternative harmonic mitigation methods are not perfect.
- -
Different transformers’ phase shifts may be used only in the case of twin PV designs, and it may be difficult to find transformers with different phase shifts in the market;
- -
The harmonic spectrum of energy sources is one of many parameters e.g., short circuit power, cost, warranty, etc.; therefore, it may not always be possible to find an optimal harmonic spectrum for the location. Moreover, it is often difficult to obtain the harmonic spectrum for analysis;
- -
Active changing the reactive power to mitigate harmonics is effective in case of high-frequency harmonics; however, in the case of low-frequency resonances, the method requires high reactive power, which could have an impact on voltage level or energy losses. The effectiveness of the proposed method may be different depending on the inverter type; therefore, a special test may be required to confirm that the solution is effective, e.g., the harmonic angle changes as a function of the generated power.
Future research is connected to the testing of the proposed method. Both laboratory and on-site tests are recommended at the initial stage. The laboratory tests allow for observing the exact impact of reactive power change on harmonics amplitudes and harmonic angles. The differences between theoretical and real values may be a result of apparent power change as a result of reactive power change (negligible for higher-order harmonics) and nonlinear dependency of harmonics as a function of the apparent power. Furthermore, additional errors are expected at the low power level. Typically, the current distortions is strong at low power levels, e.g., 10–20% THD for powers below 10% of the nominal value. Taking into account the great number of inverters available on the market, it is recommended to start the tests using the most popular inverters. Alternatively, it is possible to choose inverters that are installed in locations where harmonics resonances are detected. In that case, however, it is possible to run on-site tests and verify the harmonic mitigation methods under real conditions. The on-site tests should be preceded by developing a simulation model, which indicate the impedance characteristics of the network in order to observe the resonance points. This analysis is needed to verify if the mitigation of one harmonic resonance band would not cause a violation of another harmonic band, since, in some cases, a few resonance bands may be observed. Another solution to observe resonance bands is to observe harmonics histograms. If there is no harmonic resonance band, the harmonics amplitudes decrease with the increase in harmonics rows. In the case of resonance bands, one can observe peaks on the histogram. One must underline that the voltage harmonics peaks may be observed only for specific hours.
After the effectiveness of the proposed method is confirmed, however, the mitigation strength is too low, and one can use another inverter within the network. In order to avoid erroneous results of harmonics compensation, inverter regulation should be performed in a coordinated manner. One needs to develop the regulation plan and adapt time delays between inverters as a function of the harmonics row e.g., inverter A starts the regulation first in case of a specific harmonics violation and inverter B starts the regulation after the inverter A regulation cycle is finished. For different harmonics rows, inverter B starts the regulation first, and inverter A follows. The advanced coordination schemes could be performed by advanced systems, e.g., artificial intelligence.