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.
11 June 2025 in International journal of electrical and computer engineering systems
The present paper studies the current harmonic attenuation for four synchronization strategies commonly used in inverters for photovoltaic power generation. In a model of a 6kWp photovoltaic generator, the four synchronization strategies are implemented in the inverter controller. Real-time simulations are performed, for this purpose, the models of the photovoltaic generator and the utility grid were embedded in an OPAL-RT OP5707XG simulator. The distortion of the grid current for each synchronization strategy is analyzed using its corresponding frequency spectrum and a comparison is made with the IEEE Std. 519-2022 standard. The purpose of this test is to observe the effect of the synchronization strategy on the harmonic attenuation of the grid currents. The results show that one of the synchronization strategies evaluated in this work may be sufficient for the system to comply with the harmonic standard for photovoltaic generators without the use of harmonic compensation structures or active harmonic filters. The evaluation of the harmonic distortion behavior of photovoltaic generators as a function of the synchronization strategy used in the inverter controller is the principal work contribution.
Nonlinear loads in modern buildings are often represented using balanced or frequency-domain approximations that do not fully capture phase asymmetry and time-domain distortion observed under field operating conditions. This study aims to develop and validate a measurement-driven phase-resolved modeling framework for unbalanced three-phase nonlinear loads and to evaluate its usefulness for harmonic-mitigation assessment using shunt active power filters (SAPFs). In situ voltage and current waveforms were acquired in a university building using a Class S power-quality analyzer and embedded in MATLAB/Simulink as time-domain signals to preserve harmonic content, waveform shape, and phase-dependent behavior. Model accuracy was assessed using RMSE and range-normalized RMSE, yielding a mean RN_RMSE of 1.36% across representative loads, with simulated THDI deviations of approximately 1–3 percentage points relative to the measurements. The measured load signatures were then used to evaluate three SAPF configurations under representative load-specific operating conditions. The results show that mean THDI was reduced from 39.25% before compensation to 2.28% after compensation, with all the post-filter phase values remaining below 5%, consistent with IEEE Std 519-2022. The findings show that phase-resolved measurement-based load models provide a practical basis for harmonic assessment and SAPF-oriented mitigation studies in low-voltage building distribution systems with heterogeneous and unbalanced nonlinear loads.