Next Article in Journal
Research on the Measurement Method of the Prompt Neutron Decay Constant Based on LHS-DMD-Rossi-Alpha
Previous Article in Journal
A Multi-Source Braking Force Control Method for Electric Vehicles Considering Energy Economy
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Harmonic Distortion Study of a Photovoltaic Generator in a Microgrid under Disturbances

by
Nestor F. Guerrero-Rodríguez
*,
Rafael Omar Batista-Jorge
,
Francisco A. Ramírez-Rivera
,
Julio Ferreira
,
Robert Mercado-Ravelo
and
Abraham Manilla
Engineering Sciences, Pontificia Universidad Católica Madre y Maestra PUCMM, Av. Abraham Lincoln Esq. Romulo Betancourt, Santo Domingo 2748, Dominican Republic
*
Author to whom correspondence should be addressed.
Energies 2024, 17(9), 2031; https://doi.org/10.3390/en17092031
Submission received: 26 March 2024 / Revised: 17 April 2024 / Accepted: 18 April 2024 / Published: 25 April 2024
(This article belongs to the Section A2: Solar Energy and Photovoltaic Systems)

Abstract

:
This paper describes research on the harmonic-distortion capacity of a single-stage photovoltaic (PV) 3.68 kWp generator in a microgrid configuration. An overview of various harmonic compensator methods used in PV generators is presented to evaluate their advantages and disadvantages. Proportional-resonant (PR) structures with harmonic compensators (HCs) are designed, modeled, and validated through real-time tests. The modeling of harmonic compensation structures for a photovoltaic inverter using MATLAB/SIMULINK R2022a is explained in detail. The harmonic compensation capacity of a PV generator inverter is studied under voltage harmonics, grid frequency variation, and voltage unbalance. The contributions of this work are, firstly a bibliographic analysis of various strategies currently used for harmonic compensation in grid-connected inverters and secondly, a detailed explanation of the modeling of harmonic compensation structures using MATLAB/SIMULINK. Finally, a demonstration of the improvement in energy quality that results from using harmonic compensation techniques in photovoltaic generators in microgrid configurations affected by grid disturbances is performed. The obtained results show that harmonic compensation strategies based on resonant filters are a good alternative for the reduction of harmonic voltage distortion in the presence of grid disturbances such as frequency variation and voltage unbalance.

1. Introduction

As part of compliance with the regulations governing good practices related to the use of energy in electrical systems, power quality is an aspect of great importance that is used when determining the characteristics of electrical energy. In recent decades, there has been increasing interest in the study and development of techniques aimed at improving power quality, motivated by the increasingly stringent quality requirements derived from new grid codes and standards [1]. It should be noted that non-compliance with power-quality regulations can result in a penalty and even force a generator to be disconnected from the utility grid.
As shown in [2], alterations in the sinusoidal voltage and current waveforms may occur in the production, transport, and distribution processes, as well as in energy use by certain types of loads. Therefore, they are unavoidable. However, only in recent years have they become a cause for concern. In the utility grid, among the different disturbances that can be found, one of the most predominant is harmonic distortion, which is mainly due to the existence of non-linear loads, which are defined by a pure non-sinusoidal demand current and, therefore, by a distorted wave [3,4,5]. This harmonic pollution can introduce current distortions in the utility grid [6].
Grid tie (grid-connected) inverters have played an extremely interesting role in the incorporation of renewable energy sources (RES) into the utility grid. Power electronics converters (PEC) and control interfaces are critical for the power conditioning required for the integration of RES-based distributed generation (DG). Nevertheless, important challenges are associated with the increasing number of PE interfaces in the electrical utility: stability under weak grid conditions, limited short-circuit current, and nonlinear dynamics [7,8]. The nonlinear nature of switching devices and their high-frequency operation are important contributors to the increased presence of harmonics in utility grids with high penetration of RES and PEC [9]; thus, the study of harmonic compensation techniques as auxiliary services of PEC interfaces is an important issue for enabling large-scale integration of RES and DG. Due to the above factors, various studies focused on the use of techniques to improve power quality in relation to current harmonic distortion have been presented in the scientific literature [10,11,12,13,14,15,16,17,18,19].
Microgrids are defined as a collection of DG and loads (critical and non-critical) with the capability for either islanded or grid-tied operation [20]. As discussed in [21], the presence of current harmonics may present important challenges in the operation of microgrid systems. These harmonics can affect internal PEC measurements, causing voltage distortion at the point of common coupling (PCC) and, in case of large harmonic presence, lead to the activation of the PEC’s internal protection. From this perspective, the study of auxiliary services related to harmonic compensation inside of microgrids is of importance.
As harmonics reduce electrical power quality, this paper will focus on the mitigation of harmonics in inverters used in PV generators in a microgrid configuration connected to the utility grid. The methodology will be based on the creation of a model in MATLAB/SIMULINK R2022a of a PV generator belonging to a microgrid affected by grid disturbances such as harmonic distortion, fundamental frequency variation and voltage unbalance. A study of the grid currents with and without a HC strategy will be conducted on the PV generator of the microgrid using MATLAB’s Fast Fourier Transform (FFT) analyzer [22]. The FFT represents a calculation algorithm that provides the content of the different pure sine waves that make up the deformed wave. A final validation of the HC structures is carried out through real-time simulations using an OP5707XG simulator from OPAL-RT [23]. As shown in [24], these types of validation are of relevance for the implementation of advanced control techniques focused on harmonics mitigation. Nevertheless, hardware constraints limit the number of harmonic compensation structures that can be implemented. Thus, it is of importance to test how this new generation of digital simulators may enable the simulation of more complex harmonic compensation structures.
The contributions of this research can be summarized in three main points: firstly, a bibliographic analysis of different strategies used for current harmonic compensation in grid-connected inverters; secondly, a detailed explanation of the modeling of a HC structure using MATLAB/SIMULINK; and finally, the real-time validation of a harmonic compensation structure up to the 17th harmonic, taking advantage of the new simulation capacities presented by the OP5707XG simulator from Opal RT. This approach allows the demonstration of the improvement in energy quality realized by using harmonic compensation techniques in inverters of photovoltaic generators connected to utility grid affected by harmonic pollution and other grid disturbances.
Different methodologies used for harmonic compensation and improved power quality in PV generators in microgrid configurations are discussed in Section 2. In Section 3, a case study of a microgrid is explained. The methodology used in this paper is shown in Section 4. To study the harmonic behavior of the case studies, various simulations using MATLAB/SIMULINK are described in Section 5. Several real-time tests performed using a digital simulator are described in Section 6. The discussion of the results obtained is shown in Section 7. Finally, some conclusions are presented in Section 8.

2. Review of Grid Tie Inverter Control Techniques for Harmonic Compensation

Below, some works from the scientific literature aimed at improving quality, in terms of harmonic mitigation, in microgrids and distributed generation systems are discussed. These works were selected by searching for keywords such as “harmonic compensation”, “microgrids”, and “distributed generation”. The journals where they were published and their impact were also taken into consideration.
In the review presented in [10], the authors comment on the versatility of operation offered by PEC-based microgrids (MG), which can be used in either an islanded or a grid-tie operation. This versatility creates an array of opportunities for providing auxiliary services to the electrical utility with the goal of improving power quality indicators. Typically, the control structure of microgrids has been separated into three hierarchical levels. The primary level oversees internal voltage/frequency regulation; the secondary level monitors and compensate for deviations in the primary-level control variables; and finally, the tertiary control level ensures correct energy management under grid-tie or grid-forming operation. Nevertheless, harmonic presence due to nonlinear loads, switching, and resonance is an important problem for the implementation of hierarchical control. As mentioned by the authors, numerous investigations have been carried out on harmonic compensation using the PEC of the MG systems. These studies have focused on one of the following objectives: harmonic mitigation at the common connection point (PCC), harmonic cancellation in local loads, and mitigation of line current harmonics. The first step in the harmonic compensation process is detection, wherein spectral-analysis methods like the discrete Fourier transform (DFT) and the sliding DFT (SDFT) have been applied. In the first compensation strategies, authors elaborated on primary-level compensation methods, among them modified droop control (MDC), adaptive virtual impedance (VIA), and proportional-resonance regulator (PR). Harmonic compensation at the secondary level can be separated in two principal approaches: centralized and distributed. In both, the main objective is the online monitoring of harmonic presence for each MG with the purpose of adjusting the harmonic compensation at the individual level. Finally, compensation at the tertiary level focuses on the optimization process, in which optimal set points are selected to minimize the harmonic presence of each MG. In their conclusion, the authors comment on the directions future research must take in order to develop inverter-based harmonic compensation, highlighting the importance of improved and more powerful control methods based on predictive control or artificial intelligence approaches. Additionally, it is important to note that the harmonic compensation structures reviewed by the authors were directed to the 11th harmonic and bellow, making a case for the evaluation of the design of higher-order harmonic compensation structures, as proposed by this work.
Classical proportional resonant methods for harmonic compensation are shown in [11]. The presented frequency-adaptive architecture can be tuned by using the information provided by the harmonic detection strategy. This detection procedure is carried out using a modified second-order generalized integrator (SOGI) together with a synchronous reference frame phase-locked loop (SRF-PLL). The authors study the bandwidth of the SOGI and the capacity of the SRF-PLL to compensate for harmonics outside its central frequency, adding an adaptive parameter for the detection of the harmonic with the higher amplitude without losing stability. The validation is done by means of harmonic injection-induced variation. In their results, the authors comment on the adaptability of the proposed strategy, which is capable of reducing the harmonic with the greatest amplitude and of adding more SRF-PLL stages for further harmonic compensation. Nevertheless, the considerations for the evaluation of the system account for only the 3rd and the 5th harmonics.
In [12], a strategy for harmonic compensation using grid-tie converters and considering capacity limitations is presented. The authors note that previous works do not consider constraints related to the capacity of the inverter; that is, the rated apparent power of the inverter should not exceed the active and the apparent power rating of the inverter during the harmonic compensation process. To achieve the above aim, the proposed control strategy calculates the maximum allowable current for harmonic compensation. The harmonics are detected using the d-q current reference frame, where the current waveforms are low-pass filtered and subtracted to determine the harmonic content. A regulation factor is calculated for the maximum allowable harmonic compensation current. Two harmonic compensation strategies are compared: quasi-proportional resonant (QPR) and vector resonant (VR) controller; both strategies provide better robustness compared to traditional proportional resonant (PR) control. These controllers are coupled with a traditional proportional-integral (PI) control for the internal DC loops in the d-q reference frame for the operation of the inverter. In their results, the authors show the harmonic suppression of the PI + QPR strategy under capacity limitation, validating their proposed strategy. A point is made concerning the inter-harmonic coupling, which affects the compensation strategy in both controllers. Nevertheless, the best results are obtained with the PI + VR strategy due to its better performance in harmonic tracking, with a reduction of THD from 7.69% to 3.78%. This paper concludes by noting the good performance of the proposed strategies and the need for future research regarding the inter-harmonic coupling effect to improve performance with regard to harmonic suppression. This inter-harmonic coupling effect recognized by the authors is an important motivator in studies of the design of higher-order HC structures like the one proposed in this work.
The development of resonant converters for harmonic compensation is also studied in [13]; the authors comment on the computational burden imposed by multiple resonant controllers (MRSCs) if compensation is required for various harmonic frequencies. Furthermore, there are stability issues related to RSC in cases of utility frequency deviation. Such issues require the adaptive online tuning of these types of controllers. The authors proposed a novel downsampling method to reduce the computational burden imposed by multiple MRSCs that uses a multi-rate resonant controller implementation. The developed methodology creates a multirate RSC combining the 6th, 12th, and 18th harmonics and uses power-hardware-in-the-loop (PHIL) simulations for validation. The results show that the computational burden is reduced by a factor of two with the proposed strategy and that the obtained THD is below 6% for each of the studied cases. The article concludes by recommending this type of strategy for the deployment of embedded inverter control systems and the reduction of total system costs. This work is a good reference regarding enhanced performance in higher-order HC compensation structures; in this paper, this type of strategy will be incremented to include the 3rd, 5th, 7th, 11th, 13th, 15th, and 17th harmonics, taking advantage of the increased hardware performance of the latest generation of digital simulators.
The deployment of advanced optimization techniques to improve the harmonic characteristics of PEC is presented in [14]. A modified grey wolf optimization algorithm (MGWO) is proposed to solve the nonlinear problematic of selective harmonic elimination pulse width modulation (SHE-PWM) and offers better harmonic suppression performance compared to other modulation strategies. The improved exploration and exploitation capabilities of the proposed MGWO algorithm offer advantages over other types of optimization strategies such as particle swarm optimization (PSO), traditional grey wolf optimization (GWO), or genetic algorithms (GA). The proposed MGWO introduces a chaotic variable to enhance the exploration and exploitation capabilities of traditional GWO. In the methodology, nonlinear switching equations that account for harmonics up to the 13th harmonic are presented. They are used with the purpose of solving the system of equations to reduce the presence of harmonics. Various tests are conducted under different modulation indices to validate the proposed strategy. The proposed MGWO could produce a THD of 5.54% with a modulation index of 0.6 and a THD of 6.03% with a modulation index of 1.1, offering a lower THD when compared to the GWO solution. Validations were conducted in simulated and physical environments; in their conclusions, the authors comment on the rapidity with which the MGWO was able to obtain the solutions required for the harmonic reduction strategies.
As several PEC interfaces may operate in parallel under MG islanded operation, the evaluation of harmonic suppression at the PCC is of interest. The authors of [15] studied the implementation of coordinated control strategies for harmonic compensation involving several DG agents. For this purpose, an adaptive virtual impedance controller (VIC) is used to compensate for THD at the PCC. The VIC is a modification of the classical droop controller, where a virtual impedance is applied to enhance reactive power sharing. This approach can be extended to provide harmonic compensation at the PCC, as demonstrated by the authors using a negative virtual impedance value. Additionally, the authors formulated a strategy for the regulation of PCC voltage and harmonic levels that involved dividing the virtual impedance into two components. A microgrid central controller (MGCC) manages the operation of each individual VIC and provides the necessary reference points to achieve the desired harmonic compensation level based on each measurement of the PCC harmonic distortion. Robustness against communication delays was tested for the centralized control system, and it was found that a communication delay of 10 ms can be tolerated. The results show a harmonic reduction with the proposed strategy, where the initial 7.55% THD was reduced to 2.76%. The simulation was conducted using four DG units, and a physical implementation of the system was constructed using three inverters. In the physical implementation, the initial harmonic presence was 6.20%, and after the activation of the VIC strategy, a reduction to 3.07% was obtained. In their conclusions, the authors comment on the viability of the proposed strategy, which is due to its simple implementation.
As can be seen from [15], the dependency on a centralized controller is an important limitation in the implementation of multiagent harmonic compensation strategies.
In [16], a distributed event-triggered approach for the multiagent compensation of harmonics by means of PEC is described. Stability conditions for the proposed control system were studied using Lyapunov formulations. In this approach, events are triggered by the deviation error from the desired total harmonic value. After this step, each internal harmonic compensation network of the agents is adjusted by the consensus rule proposed by the authors. The stability of the consensus criterium is tested, and experimental results are produced. The testing involves a nonlinear load producing 3.5% THD, which is reduced to levels below 1%. Various cases are studied, with changes in the information shared between each agent and maintenance of the correct harmonic compensation. The authors conclude by discussing the robustness of the proposed strategy and the possibility of discretizing event monitoring to reduce the communication burden.
Due to increasing use of hybrid AC/DC MG, the authors of [17] present a harmonic compensation strategy for the DC bus in a hybrid MG based on the use of GA. In the case of DC sub grids inside a MG, the even-numbered harmonics are presented. This paper focuses on mitigating the 2nd harmonic by means of introducing a compensation current that acts like a virtual impedance. The GA algorithm calculates the set point for this current, executing an online evaluation of its fitting function. Results from both simulated and physical implementations show a reduction in voltage ripple on the DC bus, from 16.2 V to less than 2.5 V in both scenarios. The presented conclusions comment on the viability of using the GA algorithm for online optimization; furthermore, the proposed methodology was validated by the obtained results.
In the research presented in [25], the authors use a harmonic compensation strategy based on the use of parallel resonant filters. Each resonant filter corresponds to the harmonic that will be compensated for within the control current loop used in the inverter of a grid-connected photovoltaic generator. This harmonic compensation strategy allows for frequency-adaptive harmonic compensation, since the frequency estimated by the synchronization algorithm is relayed to the harmonic compensation block. This ability of this harmonic compensation technique to adapt to frequency variations makes it attractive for use in settings in which photovoltaic generators are connected to a weak electrical grid susceptible to electrical disturbances. The biggest drawback of this technique is that a high PWM switching frequency is necessary to compensate for harmonics exceeding the 13th order.
The work presented in [26] introduces a new procedure aimed at optimally designing harmonic control and compensation strategies for three-phase inverters with grid support in AC microgrids. The strategy is based on a three-level cascade control developed in the stationary system ab, using PI and PR regulators. The authors note that the proposed strategy can reduce the THD and the individual harmonic distortion of the voltages in the microgrid. In the presence of nonlinear loads, the voltage THD could be decreased to 0.19%. The design of the optimized harmonic compensation strategy and the inverter controller utilized an optimization algorithm called H-HHOPSO. This optimization algorithm was developed through a hybridization between a particle swarm optimization algorithm and a Harris Hawks optimization algorithm. The validation of the proposed strategy was carried out using models created in MATLAB/SIMULINK. The design of the controller and the optimized HC strategy was divided into two stages. The purpose of the first stage was the calculation and selection of the parameters corresponding to the voltage and current control of the inverter through PR regulators and the harmonic compensation strategy. In the second stage, the coefficients of the droop control controllers, the secondary control level and the synchronization control were designed.
The proposed strategy was compared with other harmonic compensation techniques when non-linear loads were connected, and the THD of voltage in the microgrid was reduced from 5.23% to 4.18% when a traditional control based on a PI regulator was used. When the H-HHOPSO strategy presented by the authors was used, the voltage THD was reduced to 0.16%. It should be noted that other types of grid disturbances such as voltage unbalance and voltage flickers were not considered in the study. Furthermore, it should be noted that the evaluation of the proposed technique was validated through simulations.
Table 1 summarizes the harmonic compensation strategies described above, classifying them by the technique used to detect harmonics, the compensation method, the harmonic reduction, the limitations of the studies carried out, and finally, the validation method. As can be seen from the limitations of the reviewed works, the higher-order HC structure designed in this paper is significant because it enables the study of compensating a broader range of harmonics in the proposed MG real-time test case.

3. Proposed Study Case

3.1. PUCMM Microgrid Laboratory

A microgrid laboratory located at the PUCMM aims to provide a testing ground for the evaluation of control techniques related to resiliency enhancement by means of the implementation of microgrid architectures within the utility grid. This laboratory was designed with the objective of providing a real-time simulation environment for testing various control strategies for microgrid systems and their interconnection with the utility grid. The central equipment of this laboratory is a Real-Time Control Unit implemented using OPAL-RT hardware and RT-LAB software version v2023.2.1578, which provides real-time simulation capabilities on a nanosecond scale. Furthermore, the selected inverter modules can operate in PHIL, in Controller Hardware-in-the-Loop (CHIL), and as standalone converters with their own internal controllers (see Figure 1). The laboratory is equipped with a total of 3.68 KWp of solar photovoltaic modules and a 5 kWh lithium battery. The photovoltaic modules are described in Table 2, and the photovoltaic array is described in Table 3. All components are connected in a load center capable of grid-connected operations, supervised by a feeder protection relay system.

3.2. Photovoltaic Single-Stage Grid-Connected Generator

With the objective of evaluating the importance of using harmonic compensation strategies in grid-connected inverters of PV generators, the PV generator shown in Figure 1 is described below.
Figure 2 is a diagram of the 3.68 kWp photovoltaic generator at the microgrid laboratory depicted in Figure 1. The photovoltaic generator has been divided into two subsystems. The top section shows the power subsystem, which is made up of photovoltaic modules whose function is to transform energy from the sun into electrical energy [27]. The PV modules are model DUO XL-G9.3 from QCELL, each with a power of 460 Watts [28]. Parameters of the PV modules used in this case are shown in Table 2. The capacitor link with the DC bus is also shown. The voltage source inverter (VSI) has the function of converting the electrical energy from photovoltaic panels into alternating current (AC) energy. An LC filter is responsible for mitigating ripples produced by switching in the inverter. A transformer located between the PV generator and the utility grid provides galvanic isolation.
The control subsystem of the PV generator can be seen at the bottom of Figure 2. It incorporates a maximum power point tracker (MPPT) algorithm whose purpose is to obtain the greatest amount of power from the photovoltaic modules under the available solar irradiance. A cascade control approach is used in the inverter, where an external loop is controlled by a PI regulator that manages the power flow. An internal control loop regulates the power factor (PF) of the generator.
To determine the frequency and the phase angle of the utility grid, a block labeled as the synchronization algorithm is used. In this work, a Multiple Second-Order Generalized Integrator-Frequency Locked Loop (MSOGI-FLL) synchronization algorithm is used due to its ability to maintain accuracy when disturbances occur [29].
As shown in Figure 2, the DC component of the VSI can be established, as shown in Equation (1):
i p = i c l i n k + i D C i D C = S u . i u + S v . i v + S w . i w i c l i n k = C l i n k   d v D C d t P P V = i p v p
where i p is the output PV current, v p is the output PV voltage, P P V is the power available as a function of the cell temperature and a specific irradiance, v D C is the voltage on the DC bus, i c l i n k is the current through the link capacitor C l i n k , and i D C is the current sent to the VSI (being dependent of the states of the power-poles S u ,   S v ,   S w and the line currents i u ,   i v , i w ).
It is assumed that the voltages of the filter capacitors correspond to the grid voltage values. If the instantaneous values of the variables of the three-phase utility grid are expressed as vectors, generic space vectors can be obtained and the dynamics of the ac side can be expressed as follows [30]:
u u A C = R i + L d i d t = u R + u L
where u is the inverter voltage space vector, i is the inverter line current space vector, uAC is the utility grid voltage space vector, and L is the line inductance and its cupper resistance R.
Based on the Akagi theory of instantaneous active power ( p ) and instantaneous reactive power ( q ) [31], the power flow the between the PV generator and the utility grid is expressed as follows:
p = v a c α i α + v a c β i β
q = v a c β i α v a c α i β
where v a c α , v a c β , i α , and i β are the αβ components of three-phase voltages and currents, respectively.
The utility-grid voltage (see Figure 2) with a harmonic can be expressed as a sum of voltages with frequencies that are multiples of the fundamental frequency (in this study, 60 Hz). Equation (5) shows a mathematical expression representing the three-phase voltages of the fundamental frequency plus the distortion of the 5th-, 7th-, 11th-, 13th-, and 17th-order harmonics.
U g r t = U 1 r cos ω t + θ U 1 r + U h 5 r cos 5 ω t + θ U h 5 r + U h 7 r cos 7 ω t + θ U h 7 r + U h 11 r cos ( 11 ω t + θ U h 11 r ) + U h 13 r cos ( 13 ω t + θ U h 13 r ) + U h 17 r cos ( 17 ω t + θ U h 17 r ) U g s ( t ) = U 1 s cos ( ω t + θ U 1 s ) + U h 5 s cos 5 ω t + θ U h 5 s + U h 7 s cos ( 7 ω t + θ U h 7 s ) + U h 11 s cos ( 11 ω t + θ U h 11 s ) + U h 13 s cos ( 13 ω t + θ U h 13 s ) + U h 17 s cos ( 17 ω t + θ U h 17 s ) U g t ( t ) = U 1 t cos ( ω t + θ U 1 t ) + U h 5 t cos 5 ω t + θ U h 5 t + U h 7 t cos ( 7 ω t + θ U h 7 t ) + U h 11 t cos ( 11 ω t + θ U h 11 t ) + U h 13 t cos ( 13 ω t + θ U h 13 t ) + U h 17 t cos ( 17 ω t + θ U h 17 t )
where h is the harmonic order, ω is the angular fundamental frequency, U is the voltage magnitude, θ is the voltage phase angle of the fundamental frequency, and θ U h is the voltage phase angle of the harmonic h .

3.3. Photovoltaic Array

Various works have established a mathematical model for the PV module [32,33], based mainly on equivalent circuit models. The methodology and equations used to obtain the equivalent circuit parameters are detailed in [34,35]. From the data sheet of a Q.PEAK DUO XL-G9.3 460 kW monocrystalline PV module produced by QCELLS [28], the parameters of the PV modules used in this work are obtained (see Table 2).
The maximum power of the PV model used for this work is 3.68 kW, with parameters at standard test conditions (STC) listed in Table 3.
The upper part of Figure 3a shows the voltage and current curves of the PV array for several temperatures. The bottom part of Figure 3a shows the power and voltage values for different temperatures. Note that for a temperature of 25 degrees Celsius and an irradiance of 1 kW/m2 (STC), the power of the photovoltaic array is 3.68 kW. The upper part of Figure 3b shows different values of voltages and currents for various irradiance conditions. Analysis of these data resulted in the various PV power curves shown at the bottom of Figure 3b.

4. Methodology

4.1. Cascade Control

The inverter control strategy is based on cascade control. Two control loops are detailed below.

4.1.1. DC Voltage Control Loop

According to Figure 2, in the external control loop, the DC bus voltage is compared with the reference DC voltage coming from the MPPT block using a PI regulator [36,37,38]. The aim of this setup is to maintain a constant DC voltage at the input of the inverter and guarantee the flow of power from the PV generator to the utility grid. At the output of the PI regulator, which handles the DC voltage control, the reference for the d component of the three-phase currents of the VSI (i*d) is generated (see Figure 2). For the calculation of the proportional and integral constants ( K P and K I ), the methodology presented in [39] is used.

4.1.2. Inverter Current Control Loop

Because the harmonic compensation method based on resonant filters is used, proportional-resonant (PR) regulators [40] are used in the internal control loop of the inverter. PR regulators are replacing the PI regulators in the internal current loops of photovoltaic inverters. If PI regulators are compared to PR regulators, the advantage of the PR tends to be infinite at the frequency for which they have been designed, in this case, 376.99 rad/s. If the inverse Park transform is applied to the component references Id and Iq shown in Figure 2, the reference currents i*α, i*β are obtained. Then, by applying the Clarke transformation to the line currents, the iα, iβ components are obtained. These quantities are then compared with the reference components i*α, i*β [41]. The error obtained from this comparison is sent to two PR regulators in a stationary reference frame, and the outputs are the inverter voltage references, which are then inputted into a space vector modulation (SVM) [42] block. The SVM block determines the state of the inverter power poles (see the bottom part of Figure 2).
The two types of PR regulators shown in [9] are the ideal PR and the so-called non-ideal PR. The non-ideal PR has the advantage of being more stable than the ideal PR. The above result is achieved by adding a term called cut-off frequency ω c to the ideal PR regulator.
Given these advantages, the non-ideal PR is used in this article. In Equation (6), the transfer function of the non-ideal PR is shown. The proportional gain K P is determined in a manner similar to that used with PI regulators, while the integral gain K I is set at a relatively high value but one that maintains stability limits [43]. The cut-off frequency ω c is adjusted based on empirical observations [43]. The parameters used to determine the constant K P , the selected K I constant ω c , and the fundamental resonance angular frequency ω 0 are shown in Table 4 and Table 5.
G P R ( s ) = K P + 2 K I ω c s s 2 + 2 ω c s + ω 0 2

4.2. Harmonic Compensation Method

Harmonics produced by non-linear loads are common disturbances in the utility. They are defined by a pure non-sinusoidal demand current and, therefore, a distorted wave [3,4,5]. This harmonic pollution can influence the quality of currents in the utility grid [6]. Due to its simplicity of design and implementation, the harmonic compensation strategy used in this work relies on resonant filters and is discussed in [25,40]. In future work, other harmonic compensation methods will be evaluated.
If multiple generalized integrators (GI) are placed in the PR regulator shown in Equation (6) in a cascade, each GI can be turned to a specific frequency corresponding to the angular frequency of the harmonic targeted for compensation. The transfer function of the HC structure is shown in Equation (7), where h corresponds to the order of the harmonic that will be compensated. K I h and ω c h can be set similarly, as in the non-ideal PR regulator [44], as follows:
G h s = h = 5,7 , 11,13,17 2 K I h ω c h s s 2 + 2 ω c h s + ( h ω 0 ) 2
The PR regulator (6) and the HC structure (7) can be seen in Figure 4 for the 5th, 7th, 11th, 13th, and 17th harmonics. Figure 4 shows how the angular frequency ω of the utility grid voltages is fed back to the PR regulator and the HC structure, allowing for frequency-adaptive control. This structure requires the use of a synchronization method capable of estimating the frequency and the phase angle of the voltages of the three-phase utility grid in the presence of disturbances. One challenge worth mentioning involves tuning this parallel configuration of PR regulators within the HC structure. For this purpose, a frequency-based design for the stability margins of the regulators will be described in the next section. This design uses the MATLAB/SIMULINK control toolbox functions.
The result of the discretization process of (7) using the Tustin method [45] is shown in Equation (8), as follows:
G h ( z ) = Y ( z ) X ( z ) = K i h T s ω c h ( 1 z 2 ) 1 2 z 1 + z 2 + ω c h T s ( 1 z 2 ) + h ω T s 2 2 1 + 2 z 1 + z 2
Operating the inverse Z transform and assuming zero initial conditions, the following expression will be obtained [45]:
y n = K 1 y n 1 K 2 y n 2 + K 3 x n K 3 x n 2
where
K 1 = 2 1 h ω T s 2 2 1 + T s ω c h + h ω T s 2 2 ,   K 2 = 1 T s ω c h + h ω T s 2 2 1 + T s ω c h + h ω T s 2 2   and   K 3 = K i h T s ω c h 1 + T s ω c h + h ω T s 2 2
Equation (9) shows that K1, K2, and K3 depend on the sampling period Ts, the cutoff frequency ω c h , and the integral gain K i h of the specific angular frequency of the utility grid and its harmonics ( h ω ) [45].

5. MATLAB/SIMULINK Simulations

In this section, a MATLAB/SIMULINK model of a 3.68 kWp single-stage PV generator in a microgrid schema is presented. The power subsystem includes a PELab-6PH-SiC-8A-2LC25-4.7uF-16CH-INT Dual 3-phase Voltage Source Inverter 8 A Leg, 800 V DC-Link Max from Taraz Technologies. This system uses semiconductors [46] and is configured to operate at a PWM switching frequency of 35 kHz. It includes six 2.5 mH inductors and two EMC filters, each with a capacity of 4.7 uF. The parameters for this inverter are detailed in this work, as can be seen in Table 4, which outlines the parameters of the power subsystem.
To guarantee accurate detection of the phase angle of the grid voltages, as well as precise estimation of the grid frequency to be relayed to the control subsystem, an MSOGI-FLL is used as a synchronization algorithm [29]. In various works, this algorithm has been implemented due to its effectiveness in handling disturbances in the three-phase utility grid [25,45,47]. In Table 5, the parameters of the control subsystem are summarized.
Table 4. Parameters of the power subsystem.
Table 4. Parameters of the power subsystem.
ParametersValue
Link capacitor (Clink)15,000 μF
Switching frequency (fsw)35 kHz
Line inductance (L)2.5 mH
AC system (ugrst)120 V(rms) phase-to-neutral
Frequency: 60 Hz and 65 Hz
Transformer resistance (RT)0.0231 Ω
Transformer inductance (LT)2400 µH
Table 5. Parameters of the control subsystem.
Table 5. Parameters of the control subsystem.
ParametersValue
Proportional constant of the PR regulator (KPαβ)0.15
Integral constant of the PR regulator (KIαβ)10
Resonant angular frequency of the PR regulator (ωo′)377/408.408 rad/s
Cut-off frequency of the PR regulator (ωc)1 rad/s
Proportional constant of the DC voltage regulator (KPVDC)0.2813
Integral constant of the DC voltage regulator (KIVDC)8.81
Phase margin of the inner current loop (PMI)83°
Phase margin of the outer voltage loop (PMV)63.5°
Sample time of the power subsystem (TS)1.0417 μs
Sample time of the control subsystem (Treg)33.3 μs
Time constant ( τ ) L / R
Full-scale range of the ADC (FSR)1
Gain of the current transducer GTI1
Inverter gain (KINV) 2 3 v D C
The dynamics of the current control loop can be evaluated using a Bode plot. Using the parameters given in Table 4 and Table 5, the open-loop Bode diagram shown in Figure 5 was created for the fundamental grid frequency and for the 5th, 7th, 11th, 13th, and 17th harmonics. There is a phase margin of 83 degrees for a frequency of 60 Hz and for a frequency increase of 5 Hz (65 Hz). The above finding suggests that the internal current control will remain stable during variations in the grid frequency. This characteristic is useful in a microgrid affected by harmonic pollution and simultaneous frequency variations.
To investigate the harmonic compensation method selected for this work, a SIMULINK model of a microgrid has been developed, taking as reference some of the elements shown in Figure 1. The SIMULINK model shown in Figure 6 includes a comprehensive 11 kWp grid-connected photovoltaic (PV) system comprising three PV generators, each rated at 3.68 kW, and real weather station data. Additionally, the system includes a resistive programmable load, one power-management subsystem, and a variety of different measurement scopes throughout the system. The color of each block represents the group to which it belongs: yellow represents weather data, red represents power systems, blue represents control subsystems, purple represents grid loads, and white represents measurement points. In the section below, a detailed explanation of each block is provided.
The weather station data block includes an extensive 6-month real-world database that stores irradiance and temperature measurements taken from a Vantage Pro 2 integrated sensor suite, then outputs the information for a preselected day found in that time frame. Afterward, weather data is directly supplied to a PV array SIMULINK block featuring an array of eight series-connected 460 W Q.PEAK DUO XL-G9.3 solar panels.
The MPPT or non-MPPT algorithm controls the quantity of power produced by the PV array by providing a reference voltage point to the decoupled axis control block for the inverter to follow. It works in two operational modes based on the implemented algorithm: either it extracts the maximum available power thought a MPPT algorithm or it limits power by a constant or flexible power factor (FP) provided from the reference power port. Systems employing what are typically known as flexible power point tracker (FPPT) algorithms allow for more complete synergy with the electrical grid. They actively control the total generated power to match that expressly required by the power at a given moment. Aside from the reference voltage out port, this block also features an output port for a maximum power tracker (MPT) algorithm that calculates the maximum available power of the PV generator.
Decoupled axis control, as the names implies, contains a decoupled axis control strategy for the inverter. In this strategy, real and reactive power are extracted from the time-domain components of the three-phase electrical grid system and operated independently of one another to obtain the target specified by the MPPT or FPPT algorithm.
The DC/AC converter (VSI) encompasses all the power elements of a single-stage PV generator. It includes a PELab-6PH three-phase voltage source inverter, one DC-link 1500 uF capacitor, an LC filter, and a 208Δ/208Y three-phase transformer.
The PV array power management subsystem focuses on appropriate independent power distribution among all the PV generators. Based on the absolute error formula, this block proportionally divides the required grid power among all three generators, such that, regardless of the maximum available power of each PV plant, the load is always fairly distributed across all generators.
The programmable load consists of five constant time-triggered three-phase resistive loads in a Y connection, which can be instructed to connect or disconnect from the power grid at any given moment.
Figure 7 shows a three-phase inverter model corresponding to one of the photovoltaic generators of the microgrid depicted in Figure 6. This model was developed using parameters corresponding to the technical specifications of a PELab-6PH-SiC-8A-2LC25-4.7uF-16CH-INT Dual 3-phase VSI 8 A Leg, 800 V DC-Link Max from Taraz Technologies [46]. The PWM switching frequency is set at 35 kHz (FPWM = 35 kHz).
A MATLAB/SIMULINK model of the LC inverter-filter assembly with inductance and capacitance values of 2.5 mH and 4.7 uF, respectively, is shown in Figure 8.
Figure 9 shows the implementation in MATLAB/SIMULINK of the control used in the PV inverter. At the top, in yellow, is the block with the MSOGI-FLL algorithm. The PI regulator of the external voltage loop is shown in green. In red, the PR regulators for the internal loop are shown.
Figure 10 shows the implementation in MATLAB/SIMULINK of the HC structure corresponding to Equation (7). Note at the top, in red, the proportional constant K P of the PR regulator. Placed in cascade are the resonant filters corresponding to the fundamental frequency and each of the harmonics to be compensated for. The fundamental frequency is sent to each of the resonant filters with the purpose of achieving control capable of adapting to variations in the grid frequency.

Simulation Results

The upper part of Figure 11a shows the evolution over time of the voltages of the utility grid. No harmonics have been introduced into the grid voltages to evaluate the grid currents of the PV generator, which has a power of 3.68 kW. The bottom part of Figure 11a shows the evolution over time of the grid currents from the simulation when no voltage harmonics are introduced. The grid currents exhibit a low amount of harmonics distortion, leading to a total harmonic distortion (THD) of 1.14% at phase 1 (see Figure 11b). The Fast Fourier Transform (FFT) analysis tool from MATLAB/SIMULINK [22] was used to determine the THD of the acurrent (THDI).
In the simulation shown below, a 15% harmonic contamination of the 5th, 7th, 11th, 13th, and 17th harmonics in the grid voltages is applied to the grid voltages (see upper part of Figure 12a), resulting in a TDH of voltage (THDV) of 33.54%, as can be observed in Figure 12b. Note that the bottom part of Figure 12a shows the distortion in the grid currents caused by the effect of voltage harmonics, leading to a current THD of 7.27% at phase 1, as can be seen in Figure 12c. In this scenario, no harmonic compensation strategy is used in the control of the inverter, leading to non-compliance with the harmonic distortion limits established by the IEEE Std. 519-2022 standard [1].
In the upper part of Figure 13a, the grid voltages are illustrated with a THDV of 33.55%. In the bottom part of Figure 13a, the grid currents are shown with a low amount of harmonic distortion, obtaining a THDI of 1.69% (see Figure 13b). The above results indicate the importance of using harmonic compensation strategies to improve the quality of electrical energy in microgrids.
In the simulations shown below, a THDV of 33.54% is applied. In addition, a frequency step from 60 Hz to 65 Hz is applied to evaluate the harmonic behavior of the PV generator under conditions of both harmonic distortion and variations in the grid frequency.
Figure 14 shows the distorted grid voltages during a frequency step from 60 Hz to 65 Hz. As shown in the bottom part of Figure 14a, before the frequency step, the grid currents had a low amount of harmonic distortion due to the use of a harmonic compensation strategy. However, following the frequency shift, the grid currents become distorted, reaching a THDI of 7.77%, as can be observed in Figure 14b. In Figure 15, the grid conditions of Figure 14 have been replicated; however, harmonic compensation technique with frequency adaptation of Equation (9) has been used, resulting in a THDI of 3.10% at phase 1. The above observations suggest that in microgrids with frequency variations, employing a frequency-adaptive HC strategy is advisable.
In the fourth and final scenario, the ability of the PV generator to compensate for harmonics under various grid disturbances is tested by adding harmonic distortion (THDV = 33.54%), frequency variation (step from 60 Hz to 65 Hz), and voltage unbalance ( U g r , U g s , U g t = 169.8 V, 127.14 V, and 84.9 V, respectively). Figure 16 shows the three-phase utility grid affected by the three types of disturbances: voltage unbalance, frequency variation, and harmonic pollution (see top of Figure 16a). Despite the presence of the grid disturbances, the use of an adaptive-frequency HC strategy resulted in a THDI of 1.26% at phase 1 (see Figure 16b). Due to the voltage unbalance, an increase in the grid currents can be noted.

6. Real-Time Tests

With the aim of carrying out tests that closely mimic real photovoltaic systems, several real-time simulations were carried out using an OP5707XG real-time simulator from OPAL-RT [23].

Real-Time Digital Simulation Setup

Figure 17 shows a photo of the setup for carrying out the tests in real time. An OP5707XG real-time simulator is shown in the center, a server is used as a host PC, and finally, an oscilloscope is used to capture voltage and current waveforms.
To perform real-time digital simulations, certain changes in the MATLAB/SIMULINK model configuration are needed. As seen in Figure 18, adjustments include changes from solver to tasking and sample time options, as well as the establishment of a fixed-step size of 1/(4fsw) in the model settings option for proper system deployment [48]. These changes ensure the model runs synchronously with actual time, thus providing accurate per-clock results when complied by RT-Lab. RT-Lab serves as a bridge application between the MATLAB/SIMULNK model and the real-time platform from Opal-RT Technologies. RT-Lab is also used to configure various execution parameters of the target platform, as detailed in [49,50].
In addition to a custom model settings configuration, a custom model layout is needed. For this layout, the previously designed model must be moved inside a subsystem called a master subsystem. The name of this subsystem always begins with ‘SM’, as seen in Figure 19 [51,52]. For the case study, the master subsystem was named SM_CONTROL_PLANT, and it contains both the plant and the controller for the real-time simulation. Also, a specialized communication block is used to connect the digital signals from the model that will run in real time. These signals, termed ‘Group1A_CHx_AOUT’, facilitate the interaction between the CPU and the FPGA, using the latter’s analog outputs for measurements. Because the maximum range of the output ports of the FPGA is limited to ±10, all measured variables require special scaling before they can be transmitted to the output ports, as per Equation (10) [49].
A o u t = d i g i t a l   v a l u e C h a n e l   r a n g e   p k p k d i g i t a l   m e a s u r e m e n t   r a n g e   p k p k   ·   O v e r s h o o t i n g   % + o f f s e t
The voltage and current measurements are obtained after scaling in Equations (11) and (12), respectively.
A o u t = d i g i t a l   v a l u e 20 V V r m s p k p k   l i n e   v o l t a g e   ·   102 %
A o u t = d i g i t a l   v a l u e 20 V M a x i m u m   p o w e r   c u r r e n t   ·   487.7 %
Figure 19 depicts a diagram of the test system and the interconnections between each component. As seen, the OP5707XG features a Virtex 7 FAPG (VC707) with the capacity for up to eight modules, seven of which are enabled, and one analog output module (Aout) to which a Siglent SDS1204X-E oscilloscope is connected to carry out the case study. Note that for this study, the model will execute only in the CPU and not in the FPGA, the latter being used only to relay the digital signals. Aside from the target real-time platform, a host PowerEdge R230 server computer was used to compile the project file and communicate with the platform, running MATLAB version R2022a and RT-LAB v2023.2.1.578.
The scenarios shown in the simulations in MATLAB/SIMULINK are replicated in the following tests. Figure 20a shows the grid voltages affected by harmonic distortion at 15% for the 5th, 7th, 11th, 13th, and 17th harmonics. As a result of the harmonic distortion of the grid voltages, distorted grid currents are observed in Figure 20b. In this scenario, no harmonic compensation structure was used in the inverter of the photovoltaic generator. Figure 20c shows the grid voltage and current at phase 1, which shows the effect that voltage harmonics have on the grid currents of the photovoltaic inverter. Note that a gain was applied to align the visualization of the grid current with the grid voltage. A difference in the behavior of the grid currents is seen when the resonant HC structure is used. Figure 20d shows the grid currents that result when HC structures are used. It can be observed that there is a significant reduction in the harmonic pollution of grid currents. Figure 20e shows the distorted grid voltage and the current without harmonics at phase 1 when HC is used.
In the tests shown below, a frequency step of 5 Hz is applied to the grid frequency. Figure 21a shows a screenshot from the oscilloscope of the grid voltages affected by harmonic pollution. In addition, a frequency increase of 5 Hz has been applied. Figure 21b shows the grid voltage and the grid current when the frequency-adaptive harmonic compensation structure is used. A grid current with minimal harmonic distortion can be observed due to the use of the adaptative HC structure.
Next, harmonic distortions of 15% for the 5th, 7th, 11th, 13th, and 17th harmonics are introduced into the grid voltages. A frequency step of 5 Hz is applied to the grid frequency, and an unbalance is introduced in the grid voltages. Figure 22a shows the unbalanced grid voltages affected by harmonic distortion. Figure 22b shows the grid currents obtained using the HC structure; in that figure, currents without harmonic distortion can be seen. In addition to harmonic distortion and voltage unbalances, a 5 Hz increase in the grid frequency is shown in Figure 22c. Grid currents without harmonic distortion can be observed in Figure 22d. The above results show the importance of using harmonic compensation structures in microgrids affected by different types of disturbances to ensure compliance with power quality standards.

7. Discussion

A summary of the THDI obtained under the different scenarios and using harmonic compensation technique configurations with resonant filters is shown. In the first scenario, the THDI of phase 1 of the grid current was measured when there were no disturbances in the utility grid. Only PR regulators were used to control the inverter currents, resulting in a THD of 1.14% on the grid current at phase 1. In the second scenario, a 15% harmonic pollution was applied to the 5th, 7th, 11th, 13th, and 17th harmonics in the three-phase voltages of the utility grid were applied, leading to a TDH of voltage (THDV) of 33.54%. First, the current harmonic distortion was determined at phase 1 when only PR regulators were employed for control; second, the THD was determined when the resonant compensation strategy was used, resulting in THDI = 7.27% and THDI = 1.69%, respectively.
A THDV of 33.54% in the utility voltages combined with a variation in the grid frequency constitute the third scenario used in the study of the harmonics of the PV generator. In the first simulation for this scenario, the harmonic compensation strategy was used without frequency feedback from the mains, resulting in a THDI of 7.77%, a value fails to comply with international standards on harmonic distortion [1]. In the second simulation of this scenario, the grid frequency estimated by the synchronization algorithm was incorporated into the PR + HC strategy, resulting in a THDI of 3.10% in phase 1.
In the fourth scenario, the three-phase utility grid is affected by three types of disturbances: voltage unbalance, frequency variation, and harmonic pollution. As can be seen in Table 6, despite the presence of grid disturbances, the use of a harmonic compensation strategy resulted in a THDI of 1.26% at phase 1, ensuring compliance with the established harmonic limits.
The results obtained in the real-time simulations mirror those obtained during the MATLAB/SIMULINK model simulations. The importance of using the digital simulator is that the tests are carried out in an environment that more closely resembles a real photovoltaic generator.

8. Conclusions

In this paper, a review of several methods used to compensate for harmonics in photovoltaic systems was carried out with the objective of showing the advantages that these methods offer in relation to improving power quality and complying with international standards on harmonic distortion. A MATLAB/SIMULINK model of an electrical microgrid was developed. A harmonic compensation strategy based on resonant filters was modeled. Model development involved explaining in detail each of the blocks necessary for its implementation in MATLAB/SIMULINK. The intention of carrying out and explaining this modeling is to serve as a guide to implementing this harmonic compensation strategy within a photovoltaic generator model. The behavior, in terms of harmonics, of a photovoltaic generator with a peak power of 3.68 kW within the microgrid was studied under different utility-grid conditions. Real-time simulations facilitated the debugging and validation of control algorithms, which later may be implemented on inverter controllers for real photovoltaic generators. Several tests with different scenarios were carried out using a real-time simulator.
The results of the harmonic compensation strategy demonstrated that it is a good alternative when the utility grid is affected by different types of disturbances.
In future work, new methods to compensate for harmonics in photovoltaic generators will be evaluated and designed, as well as implemented in physical photovoltaic generators.

Author Contributions

Conceptualization, N.F.G.-R., J.F. and R.O.B.-J.; methodology, N.F.G.-R., R.M.-R. and J.F.; software, A.M. and F.A.R.-R.; validation, A.M. and J.F.; formal analysis, N.F.G.-R., R.O.B.-J. and J.F.; investigation, N.F.G.-R.; resources, N.F.G.-R. and R.M.-R.; writing—original draft preparation, N.F.G.-R.; writing—review and editing, N.F.G.-R. and R.O.B.-J.; supervision, N.F.G.-R.; funding acquisition, N.F.G.-R. and J.F. All authors have read and agreed to the published version of the manuscript.

Funding

This paper was funded by MESCyT (Ministry of Higher Education Science and Technology) in the Dominican Republic through Fondocyt, under the projects Design of control strategies to improve energy quality in grid-connected photovoltaic generators (2020-2021-3C3-072) and, Development of new methodologies for harmonic mitigation in grid-connected electrical power systems (2020-2021-3A9-068).

Data Availability Statement

Data are contained within the article.

Acknowledgments

The authors would like to thank the Ministry of Higher Education, Science and Technology for promoting the development of research in the Dominican Republic.. The authors thank the researchers who were part of the PEER 9-410 project sponsored by USAID and the NSA for the support given.

Conflicts of Interest

The authors declare no conflict of interest.

Appendix A. Selection of the Current Control Parameters

To obtain the parameters to be used in the internal control loop of the PV inverter, according to [43], the KP constant of the PR regulator was determined in the same way as the PI regulators. In this paper, the methodology shown in [38,39] was used to determine the value of KP to be used in the control system. By solving Equation (A1) and using the values in Table 4 and Table 5, the KP and KI constants of a PI controller can be obtained. Only the KP constant is used because the KI constant will be selected following the recommendations of [43,44].
{       K I i K P i =   ω c I tan   [ 90   +   P M I   +   tan 1   ( ω c I L R )   ]       K P i   =   F S R K I N V   R G T I 1   +   ( ω c I L R ) 1   +   ( 1 ω c I   K i I K p I ) 2 2
For the selection of KI and ω c , a methodology based on frequency response is used, as shown below. In PR regulators, the steady-state error will be a function of the KI constant, which is set to a value that is relatively high but ensures the stability of the system [43]. Figure A1 shows a Bode plot of an ideal PR using the parameters from Table 4 and Table 5, where different values of KI constant are used. Note an infinite gain around the resonance frequency. To ensure a good transient response with minimal steady-state error, the term ω c is added to the transfer function of the ideal PR regulator, leading to the transfer function of the non-ideal PR shown in Section 4 of this paper [43]. Figure A2 shows several Bode diagrams of the non-ideal PR, using the previously calculated constant KP, a constant KI = 10, and ω c = 1 rad/s, 2 rad/s, 5 rad/s, 10 rad/s, 15 rad/s, 20 rad/s, and 25 rad/s. As can be seen in Figure A2, with all values of ω c , a finite gain is obtained. With ω c = 1 rad/s, a higher frequency selectivity is shown, along with a higher harmonic attenuation. Therefore, ω c = 1 rad/s was selected for use in this work.
Figure A1. Bode diagram of an ideal PR regulator with various values of KI.
Figure A1. Bode diagram of an ideal PR regulator with various values of KI.
Energies 17 02031 g0a1
Figure A2. Bode diagram of a non-ideal PR regulator using various values of ω c .
Figure A2. Bode diagram of a non-ideal PR regulator using various values of ω c .
Energies 17 02031 g0a2

References

  1. IEEE 519-2022; IEEE Standard for Harmonic Control in Electric Power Systems. Institute of Electrical and Electronics Engineers: Piscataway, NJ, USA, 2022.
  2. UNESA. Guía Sobre la Calidad de la Onda en las Redes Eléctricas; UNESA: Surabaya, Indonesia, 1996. [Google Scholar]
  3. Prabhu, M.H.; Sundararaju, K. Power quality improvement of solar power plants in grid connected system using novel Resilient Direct Unbalanced Control (RDUC) technique. Microprocess. Microsys. 2020, 75, 103016. [Google Scholar] [CrossRef]
  4. Kazemi-Robati, E.; Sepasian, M.S. Passive harmonic filter planning considering daily load variations and distribution system reconfiguration. Electr. Power Syst. Res. 2019, 166, 125–135. [Google Scholar] [CrossRef]
  5. Zhang, M.; Huang, L.; Yao, W.; Lu, Z. Circulating harmonic current elimination of a CPS-PWM-based modular multilevel converter with a plug-in repetitive controller. IEEE Trans. Power Electron. 2014, 29, 2083–2097. [Google Scholar] [CrossRef]
  6. Guerrero-Rodríguez, N.; Lucas, L.H.-D.; de Pablo-Gómez, S.; Rey-Boué, A.B. Performance study of a synchronization algorithm for a 3-phase photovoltaic grid-connected system under harmonic distortions and unbalances. Electr. Power Syst. Res. 2014, 116, 252–265. [Google Scholar] [CrossRef]
  7. Niu, Y.; Yang, T.; Yang, F.; Feng, X.; Zhang, P.; Li, W. Harmonic analysis in distributed power system based on IoT and dynamic compressed sensing. Energy Rep. 2022, 8, 2363–2375. [Google Scholar] [CrossRef]
  8. Tse, C.K.; Huang, M.; Zhang, X.; Liu, D.; Li, X.L. Circuits and Systems Issues in Power Electronics Penetrated Power Grid. IEEE Open J. Circuits Syst. 2020, 1, 140–156. [Google Scholar] [CrossRef]
  9. Meegahapola, L.; Sguarezi, A.; Bryant, J.S.; Gu, M.; Conde, D.E.R.; Cunha, R.B. Power system stability with power-electronic converter interfaced renewable power generation: Present issues and future trends. Energies 2020, 13, 3441. [Google Scholar] [CrossRef]
  10. Adineh, B.; Keypour, R.; Davari, P.; Blaabjerg, F. Review of Harmonic Mitigation Methods in Microgrid: From a Hierarchical Control Perspective. IEEE J. Emerg. Sel. Top. Power Electron. 2021, 9, 3044–3060. [Google Scholar] [CrossRef]
  11. Xavier, L.S.; Cupertino, A.F.; de Resende, J.T.; Mendes, V.F.; Pereira, H.A. Adaptive current control strategy for harmonic compensation in single-phase solar inverters. Electr. Power Syst. Res. 2017, 142, 84–95. [Google Scholar] [CrossRef]
  12. Wu, X.; Lou, J.; Sun, K.; Sun, Y.; Shan, P.; Li, Q. Research on Harmonic Compensation Control Strategy Considering Capacity Limitation of PV Grid-connected Inverter. In Proceedings of the 2023 8th Asia Conference on Power and Electrical Engineering (ACPEE), Tianjin, China, 14–16 April 2023; pp. 1437–1442. [Google Scholar] [CrossRef]
  13. Xie, C.; Zhao, X.; Li, K.; Zou, J.; Guerrero, J.M. Multirate Resonant Controllers for Grid-Connected Inverters with Harmonic Compensation Function. IEEE Trans. Ind. Electron. 2019, 66, 8981–8991. [Google Scholar] [CrossRef]
  14. Routray, A.; Singh, R.K.; Mahanty, R. Harmonic Reduction in Hybrid Cascaded Multilevel Inverter Using Modified Grey Wolf Optimization. IEEE Trans. Ind. Appl. 2020, 56, 1827–1838. [Google Scholar] [CrossRef]
  15. Hoang, T.V.; Lee, H.-H. Virtual Impedance Control Scheme to Compensate for Voltage Harmonics with Accurate Harmonic Power Sharing in Islanded Microgrids. IEEE J. Emerg. Sel. Top. Power Electron. 2021, 9, 1682–1695. [Google Scholar] [CrossRef]
  16. Lu, J.; Liu, X.; Savaghebi, M.; Hou, X.; Wang, P. Distributed Event-Triggered Control for Harmonic Voltage Compensation in Islanded AC Microgrids. IEEE Trans. Smart Grid 2022, 13, 4190–4201. [Google Scholar] [CrossRef]
  17. Valsamas, F.; Voglitsis, D.; Papanikolaou, N.P. Genetic Algorithm on 2nd Voltage Harmonic Mitigation in Hybrid Microgrids. IEEE Access 2022, 10, 68521–68533. [Google Scholar] [CrossRef]
  18. Hasan, K.; Othman, M.M.; Meraj, S.T.; Rahman, N.F.A.; Noor, S.Z.M.; Musirin, I.; Abidin, I.Z. Online harmonic extraction and synchronization algorithm based control for unified power quality conditioner for microgrid systems. Energy Rep. 2022, 8, 962–971. [Google Scholar] [CrossRef]
  19. Ahmed, M.; Masood, N.-A.; Aziz, T. An approach of incorporating harmonic mitigation units in an industrial distribution network with renewable penetration. Energy Rep. 2021, 7, 6273–6291. [Google Scholar] [CrossRef]
  20. Mannini, R.; Eynard, J.; Grieu, S. A Survey of Recent Advances in the Smart Management of Microgrids and Networked Microgrids. Energies 2022, 15, 7009. [Google Scholar] [CrossRef]
  21. Safamehr, H.; Izadi, I.; Ghaisari, J. Robust Voltage Control for Harmonic Suppression in Islanded Microgrids Using Compensated Disturbance Observer. IEEE Trans. Power Deliv. 2023, 38, 1208–1218. [Google Scholar] [CrossRef]
  22. MathWorks. MATLAB/SIMULINK. 2020. Available online: https://www.mathworks.com/products/matlab.html (accessed on 2 February 2024).
  23. OPAL-RT. POWER HARDWARE-IN-THE-LOOP. 2021. Available online: https://www.opal-rt.com/power-hardware-in-the-loop/ (accessed on 2 March 2024).
  24. Srita, S.; Somkun, S.; Kaewchum, T.; Rakwichian, W.; Zacharias, P.; Kamnarn, U.; Thongpron, J.; Amorndechaphon, D.; Phattanasak, M. Modeling, Simulation and Development of Grid-Connected Voltage Source Converter with Selective Harmonic Mitigation: HiL and Experimental Validations. Energies 2022, 15, 2535. [Google Scholar] [CrossRef]
  25. Rey-Boué, A.B.; Guerrero-Rodríguez, N.; Stöckl, J.; Strasser, T.I. Frequency-adaptive control of a three-phase single-stage grid-connected photovoltaic system under grid voltage sags. Int. J. Electr. Power Energy Syst. 2021, 125, 106416. [Google Scholar] [CrossRef]
  26. Ebrahim, M.A.; Aziz, B.A.; Nashed, M.N.; Osman, F. Optimal design of controllers and harmonic compensators for three-level cascaded control in stationary reference frame for grid-supporting inverters-based AC microgrid. Energy Rep. 2022, 8, 860–877. [Google Scholar] [CrossRef]
  27. Abdel-Basset, M.; Mohamed, R.; Sharawi, M.; Abdel-Fatah, L.; Abouhawwash, M.; Sallam, K. A comparative study of optimization algorithms for parameter estimation of PV solar cells and modules: Analysis and case studies. Energy Rep. 2022, 8, 13047–13065. [Google Scholar] [CrossRef]
  28. QCELLS Solar Panels. 2024. Available online: https://Us.Qcells.Com/Complete-Energy-Solutions/Solar-Panel/ (accessed on 5 March 2024).
  29. Rodríguez, P.; Luna, A.; Candela, I.; Mujal, R.; Teodorescu, R.; Blaabjerg, F. Multiresonant Frequency-Locked Loop for Grid Synchronization of Power Converters Under Distorted Grid Conditions. IEEE Trans. Ind. Electron. 2011, 58, 127–138. [Google Scholar] [CrossRef]
  30. Guerrero-Rodríguez, N.; Rey-Boué, A.B.; Lucas, L.C.H.-D.; Martinez-Rodrigo, F. Control and Synchronization Algorithms for a Grid-Connected Photovoltaic System under Harmonics distortions. Renew. Energy 2015, 80, 380–395. [Google Scholar] [CrossRef]
  31. Akagi, H.; Watanabe, E.H.; Aredes, M. Instantaneous Power Theory and Applications to Power Conditioning; John Wiley & Sons, Inc.: Hoboken, NJ, USA, 2017. [Google Scholar] [CrossRef]
  32. Madeti, S.R.; Singh, S.N. Modeling of PV system based on experimental data for fault detection using kNN method. Sol. Energy 2018, 173, 139–151. [Google Scholar] [CrossRef]
  33. Al-Shetwi, A.Q.; Sujod, M.Z.; Blaabjerg, F. Low voltage ride-through capability control for single-stage inverter-based grid-connected photovoltaic power plant. Sol. Energy 2018, 159, 665–681. [Google Scholar] [CrossRef]
  34. Al-Shetwi, A.Q. Design and Economic Evaluation of Electrification of Small Villages in Rural Area in Yemen Using Stand-Alone PV System. Int. J. Renew. Energy Res. 2016, 6, 289–298. [Google Scholar] [CrossRef]
  35. Villalva, M.G.; Gazoli, J.R.; Filho, E.R. Comprehensive Approach to Modeling and Simulation of Photovoltaic Arrays. IEEE Trans. Power Electron. 2009, 24, 1198–1208. [Google Scholar] [CrossRef]
  36. Deželak, K.; Bracinik, P.; Sredenšek, K.; Seme, S. Proportional-Integral Controllers Performance of a Grid-Connected Solar PV System with Particle Swarm Optimization and Ziegler–Nichols Tuning Method. Energies 2021, 14, 2516. [Google Scholar] [CrossRef]
  37. Selvaraj, J.; Rahim, N.; Krismadinata, C. Digital PI current control for grid connected PV inverter. In Proceedings of the 2008 3rd IEEE Conference on Industrial Electronics and Applications, Singapore, 3–5 June 2008; pp. 742–746. [Google Scholar] [CrossRef]
  38. Rey-Boué, A.B.; García-Valverde, R.; Ruz-Vila, F.d.A.; Torrelo-Ponce, J.M. An integrative approach to the design methodology for 3-phase power conditioners in Photovoltaic Grid-Connected systems. Energy Convers. Manag. 2012, 56, 80–95. [Google Scholar] [CrossRef]
  39. Buso, S.; Mattavelli, P. Digital Control in Power Electronics. Synth. Lect. Power Electron. 2006, 1, 27–28. [Google Scholar] [CrossRef]
  40. Islam, S.U.; Zeb, K.; Din, W.U.; Khan, I.; Ishfaq, M.; Busarello, T.D.C.; Kim, H.J. Design of a Proportional Resonant Controller with Resonant Harmonic Compensator and Fault Ride Trough Strategies for a Grid-Connected Photovoltaic System. Electronics 2018, 7, 451. [Google Scholar] [CrossRef]
  41. Teodorescu, M.L.P.R.R. Grid Converters for Photovoltaic and Wind Power Systems; John Wiley & Sons, Ltd.: Oxford, UK, 2011. [Google Scholar]
  42. Dongdong, L.; Zhengyan, T.; Cikai, Y.; Kumar, S.S. Design and Implementation of Space Vector Modulated Three Phase Voltage Source Inverter. In Proceedings of the 2019 IEEE International Conference on Sustainable Energy Technologies and Systems (ICSETS), Bhubaneswar, India, 26 February–1 March 2019; pp. 331–335. [Google Scholar] [CrossRef]
  43. Teodorescu, R.; Blaabjerg, F.; Liserre, M.; Loh, P.C. Proportional-resonant controllers and filters for grid-connected voltage-source converters. IET Proc. Electr. Power Appl. 2006, 153, 750–762. [Google Scholar] [CrossRef]
  44. Blaabjerg, F.; Teodorescu, R.; Liserre, M.; Timbus, A.V. Overview of control and grid synchronization for distributed power generation systems. IEEE Trans. Ind. Electron. 2006, 53, 1398–1409. [Google Scholar] [CrossRef]
  45. Guerrero-Rodríguez, N.; Rey-Boué, A.B. Adaptive-frequency Resonant Harmonic-Compensator structure for a 3-phase grid-connected photovoltaic system. Energy Convers. Manag. 2014, 87, 328–337. [Google Scholar] [CrossRef]
  46. TARAZ TECHNOLOGIES, PELab-6PH The Power Electronics Rapid Development System, (2022). Available online: https://www.taraztechnologies.com/es/pelab-the-power-electronics-rapid-development-system-is-released/ (accessed on 1 March 2024).
  47. Guerrero-Rodríguez, N.F.; Rey-Boué, A.B. Modelling, simulation and experimental verification for renewable agents connected to a distorted utility grid using a Real-Time Digital Simulation Platform. Energy Convers. Manag. 2014, 84, 108–121. [Google Scholar] [CrossRef]
  48. OPAL-RT. Simulation Parameters—OPAL-RT. 2024. Available online: https://www.opal-rt.com/opal_tutorial/simulation-parameters/ (accessed on 1 March 2024).
  49. OPAL-RT. Inputs & Outputs—OPAL-RT. 2024. Available online: https://www.opal-rt.com/de/opal_tutorial/inputs-outputs/ (accessed on 2 March 2024).
  50. OPAL-RT. Using Your Integration Model with IOs—RT-LAB Documentation—OPAL-RT. 2024. Available online: https://opal-rt.atlassian.net/wiki/spaces/prd/pages/143591673/using+your+integration+model+with+ios (accessed on 1 March 2024).
  51. OPAL-RT. Subsystems—OPAL-RT. 2024. Available online: https://www.opal-rt.com/opal_tutorial/subsystems/ (accessed on 1 March 2024).
  52. de Jong, E.; de Graff, R.; Vassen, P.; Crolla, P.; Roscoe, A.; Lefuss, F.; Lauss, G.; Kotsampopoulos, P.; Gafaro, F. European White Book on Real-Time Power Hardware-in-the-Loop Testing; DERlab e.V.: Kassel, Germany, 2012. [Google Scholar]
Figure 1. Schematic diagram of the PUCMM microgrid laboratory.
Figure 1. Schematic diagram of the PUCMM microgrid laboratory.
Energies 17 02031 g001
Figure 2. Diagram of the single-state grid-connected PV generator.
Figure 2. Diagram of the single-state grid-connected PV generator.
Energies 17 02031 g002
Figure 3. (a) Current−Voltage (I−V) and Power−Voltage (P−V) curves for different temperatures. (b) Current−Voltage (I−V) and Power−Voltage (P−V) curves for different irradiances.
Figure 3. (a) Current−Voltage (I−V) and Power−Voltage (P−V) curves for different temperatures. (b) Current−Voltage (I−V) and Power−Voltage (P−V) curves for different irradiances.
Energies 17 02031 g003
Figure 4. Diagram of a PR + HC structure for the 5th, 7th, 11th, 13th, and 17th harmonics.
Figure 4. Diagram of a PR + HC structure for the 5th, 7th, 11th, 13th, and 17th harmonics.
Energies 17 02031 g004
Figure 5. Open-loop Bode diagram corresponding to the resonant HC structure + plant.
Figure 5. Open-loop Bode diagram corresponding to the resonant HC structure + plant.
Energies 17 02031 g005
Figure 6. Implementation in MATLAB/SIMULINK of the microgrid to be used to study the harmonic distortion of photovoltaic generators.
Figure 6. Implementation in MATLAB/SIMULINK of the microgrid to be used to study the harmonic distortion of photovoltaic generators.
Energies 17 02031 g006
Figure 7. Implementation in MATLAB/SIMULINK of the PV inverter.
Figure 7. Implementation in MATLAB/SIMULINK of the PV inverter.
Energies 17 02031 g007
Figure 8. The implementation of the three-phase inverter and the LC filter in MATLAB/SIMULINK.
Figure 8. The implementation of the three-phase inverter and the LC filter in MATLAB/SIMULINK.
Energies 17 02031 g008
Figure 9. MATLAB/SIMULINK implementation of the control subsystem of the 3.68 kW PV generator.
Figure 9. MATLAB/SIMULINK implementation of the control subsystem of the 3.68 kW PV generator.
Energies 17 02031 g009
Figure 10. MATLAB/SIMULINK implementation of a frequency-adaptive PR + HC.
Figure 10. MATLAB/SIMULINK implementation of a frequency-adaptive PR + HC.
Energies 17 02031 g010
Figure 11. (a) Grid voltages and currents without harmonic pollution. (b) Frequency spectrum and THDI at phase 1 when no HC is used.
Figure 11. (a) Grid voltages and currents without harmonic pollution. (b) Frequency spectrum and THDI at phase 1 when no HC is used.
Energies 17 02031 g011aEnergies 17 02031 g011b
Figure 12. (a) Grid voltages and currents with harmonic pollution (THDV = 33.54%). (b) Frequency spectrum and THDV at phase 1. (c) Frequency spectrum and THDI at phase 1.
Figure 12. (a) Grid voltages and currents with harmonic pollution (THDV = 33.54%). (b) Frequency spectrum and THDV at phase 1. (c) Frequency spectrum and THDI at phase 1.
Energies 17 02031 g012aEnergies 17 02031 g012b
Figure 13. (a) Grid voltages and currents with harmonic pollution (THDV = 33.54%). (b) Frequency spectrum and THDI at phase 1 using a PR + HC strategy.
Figure 13. (a) Grid voltages and currents with harmonic pollution (THDV = 33.54%). (b) Frequency spectrum and THDI at phase 1 using a PR + HC strategy.
Energies 17 02031 g013aEnergies 17 02031 g013b
Figure 14. (a) Grid voltages and currents with harmonic pollution (THDV = 33.54%) and frequency variation. (b) Frequency spectrum and THDI at phase 1 using a PR + HC strategy.
Figure 14. (a) Grid voltages and currents with harmonic pollution (THDV = 33.54%) and frequency variation. (b) Frequency spectrum and THDI at phase 1 using a PR + HC strategy.
Energies 17 02031 g014
Figure 15. (a) Grid voltages and currents with harmonic pollution (THDV = 33.54%) and frequency variation. (b) Frequency spectrum and THDI at phase 1 using a frequency-adaptive PR + HC strategy.
Figure 15. (a) Grid voltages and currents with harmonic pollution (THDV = 33.54%) and frequency variation. (b) Frequency spectrum and THDI at phase 1 using a frequency-adaptive PR + HC strategy.
Energies 17 02031 g015aEnergies 17 02031 g015b
Figure 16. (a) Grid voltages and currents with harmonic pollution (THDV = 33.54%), frequency variation (60 Hz to 65 Hz), and voltage unbalance (169.8 V, 127.14 V, and 84.9 V, respectively). (b) Frequency spectrum and THDI at phase 1 using a frequency-adaptive PR + HC strategy.
Figure 16. (a) Grid voltages and currents with harmonic pollution (THDV = 33.54%), frequency variation (60 Hz to 65 Hz), and voltage unbalance (169.8 V, 127.14 V, and 84.9 V, respectively). (b) Frequency spectrum and THDI at phase 1 using a frequency-adaptive PR + HC strategy.
Energies 17 02031 g016
Figure 17. Photo of the configuration for carrying out simulations in Real-time.
Figure 17. Photo of the configuration for carrying out simulations in Real-time.
Energies 17 02031 g017
Figure 18. MATLAB/SIMULINK model settings for RTDS.
Figure 18. MATLAB/SIMULINK model settings for RTDS.
Energies 17 02031 g018
Figure 19. RTDS setup.
Figure 19. RTDS setup.
Energies 17 02031 g019
Figure 20. (a) Grid voltages affected by harmonic distortion. (b) Grid currents when HC structures are not used. (c) Grid voltage and current at phase 1 when HC structures are not used. (d) Grid currents resulting when HC structures are used. (e) Grid voltage and current at phase 1 using HC structures.
Figure 20. (a) Grid voltages affected by harmonic distortion. (b) Grid currents when HC structures are not used. (c) Grid voltage and current at phase 1 when HC structures are not used. (d) Grid currents resulting when HC structures are used. (e) Grid voltage and current at phase 1 using HC structures.
Energies 17 02031 g020aEnergies 17 02031 g020bEnergies 17 02031 g020c
Figure 21. (a) Grid voltages affected by harmonic distortion and frequency variation. (b) Grid voltage and current at phase 1 using frequency-adaptive HC structures.
Figure 21. (a) Grid voltages affected by harmonic distortion and frequency variation. (b) Grid voltage and current at phase 1 using frequency-adaptive HC structures.
Energies 17 02031 g021aEnergies 17 02031 g021b
Figure 22. (a) Unbalanced grid voltages affected by harmonic distortion. (b) Grid currents that result when HC structures are used. (c) Grid voltages affected by harmonic distortion, unbalances, and frequency variation. (d) Grid currents that result when frequency-adaptive HC structures are used.
Figure 22. (a) Unbalanced grid voltages affected by harmonic distortion. (b) Grid currents that result when HC structures are used. (c) Grid voltages affected by harmonic distortion, unbalances, and frequency variation. (d) Grid currents that result when frequency-adaptive HC structures are used.
Energies 17 02031 g022aEnergies 17 02031 g022b
Table 1. Summary of the harmonic compensation methods addressed in the review.
Table 1. Summary of the harmonic compensation methods addressed in the review.
ReferenceHarmonic Detection MethodCompensation MethodHarmonic Reduction LevelObservationsValidation Method
[11]SRF-PLLAdaptive PR control25%Only one harmonic is compensatedNumerical simulation and experimental setup
[12]FFTPI + VR49%Interharmonics couplingNumerical simulations
[13]FFTMRSC108%Lower performance with reduced sampling frequencyNumerical simulations and PHIL
[14]FFTMGWO with current compensation55%Only tested for compensation up to the 13th harmonicNumerical simulations and experimental setup
[15]FFTCentralized multiagent VIC50%Reduced performance under communication channel delaysNumerical simulations and experimental setup
[16]Low Pass Filtering in DQ FrameDistributed event-triggered33%Study limited to only three DG agentsNumerical simulations and PHIL
[17]FFTGA for the calculation of compensation current93%Mitigation strategy focuses only on the 2nd harmonicNumerical simulations and experimental setup
[25]MSOGI-FLLAdaptive PR control-Only the 5th and 7th harmonics were compensated during the testsNumerical simulations and CHIL
[26]-PR+ optimized HC0.16%No experiments were performed.Different grid disturbances were not included when the proposed methodology was validated.Numerical simulations
Table 2. Parameters of a Q. PEAK DUO XL-G9.3 460 kW photovoltaic module.
Table 2. Parameters of a Q. PEAK DUO XL-G9.3 460 kW photovoltaic module.
ParametersValue
Maximum power460 W
Maximum power voltage44.89 V
Maximum power current10.25 A
Open-circuit voltage53.25 V
Short-circuit current10.70 A
Cell numbers per module156
Temperature coefficient of short-circuit current0.04%/deg. °C
Temperature coefficient of open-circuit voltage−0.27%/deg. °C
Table 3. Parameters of the 3.68 kWp array.
Table 3. Parameters of the 3.68 kWp array.
ParametersValue
Number of strings1
Number of series modules8
Maximum power current10.25 A
Maximum power voltage359.12 V
DC output power3.68 kW
Open-circuit voltage426 V
Short-circuit current10.7 A
Table 6. Summary of THDI at phase 1 under different scenarios.
Table 6. Summary of THDI at phase 1 under different scenarios.
SceneryPR Regulator
THDI
PR + HC
THDI
PR + Adaptive-Freq. HC
THDI
THDI Limit
No grid disturbances.1.14%--<5.0%
Harmonic pollution in grid voltages.7.27%1.69%.-<5.0%
Harmonic pollution + grid frequency variation.-7.77%.3.10<5.0%
Harmonic pollution + grid frequency variation + voltage unbalance.--1.26<5.0%
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Guerrero-Rodríguez, N.F.; Batista-Jorge, R.O.; Ramírez-Rivera, F.A.; Ferreira, J.; Mercado-Ravelo, R.; Manilla, A. Harmonic Distortion Study of a Photovoltaic Generator in a Microgrid under Disturbances. Energies 2024, 17, 2031. https://doi.org/10.3390/en17092031

AMA Style

Guerrero-Rodríguez NF, Batista-Jorge RO, Ramírez-Rivera FA, Ferreira J, Mercado-Ravelo R, Manilla A. Harmonic Distortion Study of a Photovoltaic Generator in a Microgrid under Disturbances. Energies. 2024; 17(9):2031. https://doi.org/10.3390/en17092031

Chicago/Turabian Style

Guerrero-Rodríguez, Nestor F., Rafael Omar Batista-Jorge, Francisco A. Ramírez-Rivera, Julio Ferreira, Robert Mercado-Ravelo, and Abraham Manilla. 2024. "Harmonic Distortion Study of a Photovoltaic Generator in a Microgrid under Disturbances" Energies 17, no. 9: 2031. https://doi.org/10.3390/en17092031

APA Style

Guerrero-Rodríguez, N. F., Batista-Jorge, R. O., Ramírez-Rivera, F. A., Ferreira, J., Mercado-Ravelo, R., & Manilla, A. (2024). Harmonic Distortion Study of a Photovoltaic Generator in a Microgrid under Disturbances. Energies, 17(9), 2031. https://doi.org/10.3390/en17092031

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop