Abstract
This paper presents a real-time simulation of a photovoltaic-based distribution static compensator (PV-DSTATCOM) using the Typhoon HIL 604 simulator, demonstrating its effectiveness in reactive power compensation, harmonic mitigation, and active power injection. The system seamlessly transitions between pure DSTATCOM mode, operating during night-time or when PV generation is zero, and PV-DSTATCOM mode, where it injects PV power while enhancing the power quality. A voltage source converter (VSC) regulated by an indirect current control strategy ensures improved power quality at the point of common coupling (PCC). Real-time simulation results under both balanced and unbalanced PCC voltage conditions validate the ability of the PV-DSTATCOM to mitigate power quality disturbances. Notably, the PV-DSTATCOM effectively reduces total harmonic distortion (THD), maintaining levels between 3.03%–5.58% under balanced PCC voltage and 3.95%–5.93% under unbalanced PCC voltage conditions, generally adhering to or remaining near the acceptable limit of IEEE-519 standards across varying solar irradiance levels and non-linear load conditions. Additionally, it maintains a near-unity power factor operation at PCC and stabilizes the DC-link voltage at 900 V (± 5%), ensuring reliable operation.
Similar content being viewed by others
Introduction
The rising integration of photovoltaic (PV) systems into power distribution networks presents significant challenges in maintaining grid stability and power quality1. While PV energy is a sustainable solution, its intermittent nature, combined with non-linear and unbalanced loads, causes harmonic distortions, reactive power imbalances, and voltage fluctuations at the point of common coupling (PCC)1,2,3,4. These issues contribute to increased power losses, equipment malfunctions, and potential non-compliance with regulatory standards5,6. In three-phase four-wire power distribution networks, unbalanced loading and harmonic currents further intensify these challenges, causing excessive heating of neutral conductor7,8,9,10,11. Effective mitigation strategies are a requisite to ensure reliable grid operation. A PV-based distribution static compensator (PV-DSTATCOM) presents a promising solution by facilitating seamless PV integration while enhancing power quality12. However, real-time performance of PV-DSTATCOM under practical grid conditions requires thorough evaluation. Factors such as balanced and unbalanced PCC voltages, fluctuating solar irradiance level, and sudden non-linear load variations can significantly impact its effectiveness13.
Background research
The integration of PV systems into power distribution networks has led to extensive research on power quality improvement techniques. A variety of solutions, such as distribution static compensators (DSTATCOMs), active power filters (APFs), and other custom power devices, have been widely investigated to mitigate issues like harmonic distortions, reactive power imbalances, and voltage fluctuations at the PCC14,15,16. Among these, voltage-source converter (VSC)-based DSTATCOMs have gained significant attention due to their ability to provide dynamic compensation under varying grid/PCC voltage conditions17,18,19,20,21. Table 1 presents an overview of PV grid-integrated systems, summarizing the key focus areas, and key findings of various studies.
The effectiveness of a DSTATCOM depends largely on the adopted control strategy, with direct and indirect current control methods being the two primary approaches18,28. In the direct current control strategy, both the load current and VSC current are sensed to determine the required compensating current. The controller actively forces the VSC to inject this compensating current so that the grid/source current remains sinusoidal and balanced. This method provides a fast dynamic response but has certain drawbacks, including variable switching frequency, increased power losses, and higher stress on power electronic switches9,30,31. Additionally, maintaining DC-link voltage stability under unbalanced and nonlinear load conditions can be challenging22,32,33. Conversely, the indirect current control strategy relies only on source/grid current sensing, eliminating the need for load and VSC current measurement. Instead of directly controlling the output current, the controller derives the required compensating reference indirectly by processing the grid current data. This approach improves DC-link voltage stability23,34, reduces THD, minimizes switching losses, and ensures effective compensation of power quality disturbances. Its computational efficiency and robust performance under dynamic load variations make it particularly well-suited for PV-DSTATCOM applications35,36.
Parallel to these developments, extensive research has been reported on grid-connected PV systems, with a strong focus on maximum power point tracking (MPPT), power injection, and grid synchronization40,41. While conventional PV systems using VSCs primarily focus on active power injection, recent advancements in PV-DSTATCOM technology enable VSCs to concurrently inject active power and enhance power quality through reactive power compensation and harmonic mitigation23,24. Unlike traditional systems, PV-DSTATCOMs can compensate for reactive power, mitigate harmonics, and stabilize PCC voltage, offering enhanced grid support beyond simple power generation25,37,38,42.
Several studies have explored PV-DSTATCOM operation under various grid conditions, demonstrating effective harmonic mitigation, reactive power compensation, and DC-link voltage regulation26. However, many existing studies are limited to steady-state analysis or simplified simulation models, with less emphasis on comprehensive real-time validation under practical conditions24,27,28.Various control strategies and MPPT methods for PV grid integration, along with their reported THD values and key findings, are summarized in Table 2.
Research gaps, objectives and contributions
Despite notable advancements in PV-DSTATCOM technology, much of the existing research remains focused on steady-state analysis and offline simulations, providing limited insights into real-time performance under practical grid conditions. Unbalanced PCC voltages, fluctuating solar irradiance, and sudden nonlinear load variations etc. present challenges that require further exploration in existing studies. While various harmonic mitigation strategies have been explored, further investigation is needed to comprehensively assess their ability to ensure consistent compliance with IEEE-519 standards across diverse operating scenarios. Addressing these research gaps is crucial for enhancing the reliability and effectiveness of the PV-DSTATCOM systems in power distribution networks.
This paper formulates following research objectives to bridge these research gaps:
-
Investigating the dynamic transition between pure DSTATCOM mode (operating during night-time or when PV generation is unavailable) and PV-DSTATCOM mode, where the system simultaneously performs harmonic mitigation, reactive power compensation, and active power injection under varying solar irradiance conditions.
-
Evaluating the impact of grid/PCC voltage unbalance on the effectiveness of harmonic suppression, reactive power compensation, and neutral current regulation in a three-phase four-wire power distribution network.
-
Analyzing the real-time response of PV-DSTATCOM to sudden nonlinear load variations and its ability to maintain power quality under both balanced and unbalanced PCC voltage conditions.
-
Assessing the ability of the system to maintain a stable DC-link voltage and balanced source/grid currents under varying solar irradiance levels, sudden non-linear load variations, and varying grid/PCC voltage conditions.
-
Conducting a comprehensive assessment of the effectiveness of the system in achieving consistent compliance with IEEE-519 harmonic standards across different operating scenarios, including variations in solar irradiance, sudden non-linear load variations, and varying grid/PCC voltage conditions.
To address the identified research gaps, this paper makes the following contributions:
-
Development of a high-fidelity real-time simulation model of PV-DSTATCOM system using Typhoon HIL 604, enabling precise evaluation of system performance under practical grid conditions, including both balanced and unbalanced PCC voltages.
-
Implementation of an indirect current control strategy that requires only source/grid current sensing, eliminating the need for load and/or VSC current measurements. This improves control efficiency while ensuring precise neutral current regulation and stable DC-link voltage.
-
Comprehensive real-time validation of PV-DSTATCOM system operation, demonstrating its ability to seamlessly transition between pure DSTATCOM mode (for reactive power support and harmonic mitigation) and PV-DSTATCOM mode (for simultaneous active power injection and power quality enhancement) under dynamic solar irradiance conditions.
-
Evaluation of the harmonic suppression under IEEE-519 standards, by analyzing the system’s ability to mitigate harmonics and maintain power quality under fluctuating load and grid conditions in a three-phase four-wire power distribution network.
Organisation of the paper
This paper is structured as follows: Section “Introduction” provides the background, research gap, objectives, and contributions. Section “System configuration” outlines the system configuration, component sizing, and parameter selection for the proposed PV-DSTATCOM. Section “Indirect current control strategy” details the indirect current control strategy. Section “Real-time simulation, results and discussions” presents real-time simulations evaluating PV-DSTATCOM performance under varying solar irradiance and load fluctuations, considering both balanced and unbalanced PCC voltages. Finally, Section “Conclusion” summarizes the conclusions and suggests directions for future research.
System configuration
The proposed PV-DSTATCOM system, as illustrated in Fig. 1, consists of a PV array, a boost converter, a split-capacitor DC link, and a two-level VSC. The VSC enables efficient PV power injection while dynamically regulating the reactive power to enhance power quality at the PCC. The MPPT algorithm optimally adjusts the duty cycle of the boost converter to ensure maximum power extraction from the PV array 38. By actively regulating the DC-link voltage and suppressing harmonics, the VSC facilitates seamless power transfer and improves overall power quality.
PV array, MPPT, and boost converter
The proposed 3.5 kW PV array operates under varying solar irradiance, requiring a MPPT algorithm for maximum energy extraction. Using perturb & observe (P&O) method, the MPPT algorithm dynamically adjusts the duty cycle of the boost converter, stepping up the PV voltage to match the DC-link voltage. This ensures that the PV array operates at its maximum power point (MPP) under changing solar irradiance conditions43.
The P&O-based MPPT controller perturbs the duty cycle, monitors the PV array power output, and adjusts it accordingly––if power increases, the duty cycle is incremented; if power decreases, it is decremented. This iterative process enables continuous tracking of the MPP, maximizing energy harvest. The boost converter efficiently steps up the PV voltage while maintaining optimal duty cycle control. To prevent instability, the MPPT algorithm is bounded by upper and lower duty cycle limits.
The real-time decision-making process of MPPT algorithm is illustrated in Fig. 2, demonstrating how the system adapts to fluctuating solar irradiance conditions, ensuring maximum power extraction. The detailed PV panel specifications and array sizing are provided in Table 3.
DC-link capacitor and PV power transfer
The split-capacitor DC link acts as an energy buffer between the PV system and the VSC while power transfer from the PV system to the PCC34. The DC-link voltage dynamics are governed by:
where symbols are listed in Table 4.
VSC and voltage dynamics at the PCC
The 7 kVA VSC serves as a dual-interface, enabling PV power injection and DSTATCOM operations for harmonic mitigation and reactive power compensation. It regulates the DC-link voltage \({(\text{V}}_{\text{DC}})\) at its reference value by dynamically adjusting the active power transferred by the VSC \({(\text{P}}_{\text{VSC}})\) to the PCC, ensuring it matches the power extracted from the PV array (\({\text{P}}_{\text{pv}})\) and maintaining power balance. For reliable operation under worst-case conditions, the reference DC-link voltage \({(V}_{DC}^{*}\)) must accommodate the highest peak voltage at the lowest modulation index. Considering a 415 V RMS (line-to-line) grid/PCC voltage and a typical sinusoidal PWM modulation index range of 0.85 to 1, the minimum required \({V}_{DC}^{*}\) is calculated to be 797.19 V. Therefore, a value of \({V}_{DC}^{*}=900\) V is selected in this paper to ensure proper operation.
Additionally, the VSC provides up to 6 kVAr of reactive power support to enhance power quality at the PCC. Operating under an indirect current control scheme23,44, the VSC effectively mitigates harmonics, compensates reactive power, and improves the power factor, ensuring stable grid interaction.The voltage dynamics at the PCC are governed by:
where symbols are listed in Table 4.
Indirect current control strategy
The indirect current control strategy offers an efficient and robust method for regulating the VSC in a PV-DSTATCOM system (see Fig. 1), ensuring precise PV power injection and enhanced power quality at the PCC24. Unlike direct current control, which derives reference currents from load currents and directly regulates VSC currents, the indirect approach calculates reference currents based on source/grid currents21,25. This method is termed “indirect” because it does not require direct measurement of VSC or load currents; rather, it controls the VSC using source/grid current behavior. By eliminating direct current sensing, the strategy simplifies system implementation, reduces hardware complexity, and enhances reliability under varying PV generation and nonlinear load conditions. Its primary goals are to regulate the DC-link voltage for efficient PV power transfer, mitigate harmonics, and compensate for reactive power to improve overall grid power quality23.
The control system consists of two key loops––an outer voltage control loop with a proportional-integral (PI) controller and an inner current control loop based on hysteresis. The outer loop stabilizes the DC-link voltage by balancing power exchange between the PV system and the grid. The error between the reference DC-link voltage \(\left( {V_{DC}^{*} } \right)\) and the actual DC-link voltage \(\left( {V_{DC} } \right)\) is processed by the PI controller to generate the reference d-axis source/grid current \(\left( {i_{dg}^{*} } \right)\)44 as follows:
where symbols are listed in Table 4.
The calculations for PI controller gains (\({K}_{pv}\) and \({K}_{iv}\)) are systematically presented in Table 3. These gains have been derived using the symmetric optimum approach for PI tuning, a well-established method ensuring a balance between dynamic response and system stability. The detailed explanation of this approach is provided in44,45.
By adjusting \({i}_{dg}^{*}\), the VSC ensures stable DC-link voltage despite fluctuations in solar irradiance and load demand, ensuring continuous PV power transfer to the PCC. To achieve unity power factor (UPF) at the PCC, the reference q-axis source/grid current (\({i}_{qg}^{*}\)) is set to zero, ensuring the VSC manages all reactive power compensation. The inner current control loop processes the error between the reference and actual three-phase grid currents using a hysteresis current controller, which generates the switching signals for the VSC. This ensures sinusoidal grid currents, effective harmonic mitigation, and reactive power compensation. By injecting compensating currents, the VSC preserves grid voltage quality, reduces THD, and prevents nonlinear loads from degrading system performance.
Real-time simulation, results and discussions
To comprehensively evaluate the performance of the proposed PV-DSTATCOM system, real-time simulations are conducted using the Typhoon HIL 604 simulator, as shown in Fig. 3. The system parameters, detailed in Table 3 are carefully selected to represent practical operational conditions.
A key aspect of the performance assessment is the evaluation of the MPPT capability of PV array under varying irradiance conditions. Figure 4 illustrates the dynamic response of the PV array to solar irradiance levels of 0 W/m2, 600 W/m2, 1000 W/m2, and 500 W/m2, showcasing the effectiveness of the MPPT algorithm in maximizing power extraction. At nonzero irradiance levels, the PV array voltage remains stable, while the current and power output adjust accordingly, with recorded power outputs of 2080 W, 3440 W, and 1750 W, respectively. Under zero irradiance (0 W/m2), the PV array voltage decreases significantly, leading to no power generation. The MPPT algorithm continually tracks the optimal operating point, ensuring maximum power extraction despite variations in irradiance. Furthermore, the simulation framework replicates a three-phase, four-wire distribution network, where the PV-DSTATCOM system employs a VSC with an indirect current control strategy. The VSC operates in two distinct modes to manage both active power injection and reactive power compensation:
-
Pure DSTATCOM Mode (under no PV generation): The VSC prioritizes reactive power compensation and harmonic mitigation without injecting active power into the grid.
-
PV-DSTATCOM Mode (under PV generation): The VSC injects active power into the grid while concurrently providing reactive power support and harmonic filtering.
To comprehensively assess system performance, three critical test cases are analyzed under both balanced and unbalanced PCC voltage conditions. These test cases evaluate the response of PV-DSTATCOM to variations in solar irradiance and sudden load changes, offering key insights into its adaptability under dynamic grid conditions. Additionally, each scenario examines the system’s effectiveness in enhancing power quality and ensuring compliance with IEEE standards (see Table 5).
Case 1: performance under varying solar irradiance with fixed nonlinear load
This case evaluates the operational performance of the PV-DSTATCOM system as the solar irradiance varies from 0 W/m2 (night-time, no solar power generation) to 600 W/m2 (moderate solar generation), while maintaining a fixed nonlinear load at the PCC. The objective is to assess the system’s ability to seamlessly transition between pure DSTATCOM mode (at zero irradiance) and PV-DSTATCOM mode (under PV generation), ensuring effective harmonic suppression, reactive power compensation, and DC link voltage regulation while injecting active power into the grid. The real-time waveforms of three-phase PCC voltages and load currents for both balanced and unbalanced PCC voltage conditions are presented in Fig. 5, demonstrating the system’s performance under these scenarios. The nonlinear load introduces harmonic distortions, with THD of load current measured at 13.51% under balanced PCC voltage, as depicted in Fig. 6a. Under unbalanced PCC voltage, the load current THD is slightly higher at 13.63%, as shown in Fig. 6b, due to asymmetry in supply voltages affecting harmonic propagation.
Real-time waveforms of three-phase PCC voltages and load currents under a fixed non-linear load—(a) balanced PCC voltage waveforms (CH1 to CH3: 200 V/div), (b) unbalanced PCC voltage waveforms (CH1 to CH3: 200 V/div), (c) load current waveforms under balanced PCC voltage conditions (CH1 to CH3: 1A/div), and (d) load current waveforms under unbalanced PCC voltage conditions (CH1 to CH3: 1 A/div).
Balanced PCC voltage condition
Under balanced PCC voltage condition, a steady voltage profile can be seen at the PCC despite the nonlinear nature of the load. The real-time system response under different irradiance levels (0–600 W/m2) is illustrated in Fig. 7a, c, and e for phases ‘a,’ ‘b,’ and ‘c’, respectively. These waveforms capture the transition from DSTATCOM operation (at 0 W/m2) to PV power injection mode (at 600 W/m2) while sustaining power quality. The source/grid current waveforms in Fig. 7a, c, and e confirm the absence of active power injection at 0 W/m2, where the VSC functions solely as a DSTATCOM, compensating for reactive power demand and mitigating harmonics. At this stage, the source/grid current is maintaining unity power factor at the PCC.
Real-time performance waveforms of the proposed PV-DSTATCOM under a fixed non-linear load with varying irradiance levels (0–600 W/m2)—(a), (c), (e) performance waveforms under balanced PCC voltage condition for Phase ‘a,’ Phase ‘b,’ and Phase ‘c,’ respectively; (b), (d), (f) performance waveforms under unbalanced PCC voltage condition for Phase ‘a,’ Phase ‘b,’ and Phase ‘c,’ respectively.CH1: Phase ‘a’ PCC voltage (400 V/div); CH2: source/grid current waveform of respective phase (5A/div); CH3: VSC current waveform of respective phase (5A/div); CH4: load current waveform of respective phase (5A/div).
As the irradiance increases to 600 W/m2, the VSC transitions into a dual-mode operation, simultaneously injecting active power into the grid while continuing to provide reactive power compensation and harmonic mitigation. The phase shift in the source/grid currents observed in Fig. 7 signifies active power transfer. Thus, the VSC effectively operates as a multifunctional device, addressing both power quality improvement and PV power injection into the PCC. The neutral current dynamics under balanced PCC voltage conditions, depicted in Fig. 8a, reveal that the source/grid neutral current remains near zero, which signifies effective load balancing and harmonic cancellation. However, nonzero neutral currents are observed in the VSC and load side, resulting from the inherent imbalance in nonlinear load current components. The DC-link voltage regulation is illustrated in Fig. 9a, where the DC-link voltage is maintained at approximately 900 V throughout the irradiance variations.
Real-time waveforms of neutral currents under varying irradiance levels (0–600 W/m2) with a fixed non-linear load—(a) neutral current waveforms under balanced PCC voltage condition; (b) neutral current waveforms under unbalanced PCC voltage condition. CH1: Phase ‘a’ PCC voltage (400 V/div); CH2: source/grid neutral current waveform (10A/div); CH3: VSC neutral current waveform (1A/div); CH4: load neutral current waveform (1A/div).
Real-time waveforms of three-phase source/grid currents and DC-link voltage under varying irradiance levels (0–600 W/m2) with a fixed non-linear load—(a) waveforms under balanced PCC voltage condition, and (b) waveforms under unbalanced PCC voltage condition. CH1 to CH3: source/grid current waveforms (5 A/div); CH4: DC-link voltage (200 V/div).
The grid current THD, which is a key indicator of power quality, remains within IEEE-519 harmonic standards at 600 W/m2, recorded at 4.08%, as shown in Fig. 10c. However, at 0 W/m2, where no active power injection occurs, the grid current THD slightly exceeds the IEEE-519 permissible limit, reaching 5.58%, as shown in Fig. 10a.
Harmonic spectra of source/grid current under a fixed non-linear load—(a) under balanced PCC voltage condition with PV power injection at an irradiance level of 0 W/m2, (b) under unbalanced PCC voltage condition with PV power injection at an irradiance level of 0 W/m2, (c) under balanced PCC voltage condition with PV power injection at an irradiance level of 600 W/m2, and (d) under unbalanced PCC voltage condition with PV power injection at an irradiance level of 600 W/m2.
Unbalanced PCC voltage condition
Under unbalanced PCC voltage conditions, voltage asymmetry introduces additional distortions that can impact power quality. The real-time system response under different irradiance levels (0–600 W/m2) is illustrated in Fig. 7b, d, and f for phases ‘a,’ ‘b,’ and ‘c’, respectively. These waveforms capture the transition from pure DSTATCOM operation (at 0 W/m2) to PV power injection mode (at 600 W/m2), while maintaining power quality and reactive power compensation. Despite the presence of PCC voltage unbalance, the real-time waveforms in Fig. 7b, d, and f confirm that the source/grid currents remain nearly balanced, demonstrating the effectiveness of the PV-DSTATCOM in preventing excessive current distortions. The VSC continues to provide harmonic mitigation and reactive power support, ensuring that source/grid current waveforms do not exhibit severe phase imbalances or waveform asymmetries.
The neutral current behavior, as depicted in Fig. 8b, highlights the ability of the VSC to regulate the source/grid neutral current, ensuring it remains near zero despite the presence of unbalanced PCC voltage and nonlinear load. This indicates that the VSC effectively counteracts unbalanced load currents, maintaining load balancing and harmonic cancellation, even under non-ideal grid conditions. The DC-link voltage, as shown in Fig. 9b, remains stable at 900 V, reinforcing the robustness of the indirect control strategy.
At 0 W/m2, when no active power injection occurs, the source/grid current THD slightly exceeds the IEEE-519 permissible limit, reaching 5.93%, as shown in Fig. 10b. This increase in distortion is attributed to the absence of active power support, which limits the ability of the VSC to improve the harmonic profile of the source/grid current. However, as the irradiance increases to 600 W/m2, the PV-DSTATCOM injects active power, enhancing the harmonic suppression capability. Consequently, the source/grid current THD improves significantly and remains within IEEE-519 standards, recorded at 3.95%, as depicted in Fig. 10d.
This analysis confirms that even under unbalanced PCC voltage conditions, the PV-DSTATCOM effectively maintains power quality, regulates neutral current, and stabilizes the DC-link voltage, ensuring compliance with IEEE harmonic limits while mitigating the impact of voltage asymmetry on the PCC.
Case 2: performance under high solar irradiance condition with fixed non-linear load
This case evaluates the performance of the PV-DSTATCOM under high solar irradiance condition, ranging from 600 W/m2 to 1000 W/m2. This scenario is critical in assessing the system’s capability to handle increased active power injection into the grid while maintaining power quality, and harmonic mitigation. The system’s response is examined under both balanced and unbalanced PCC voltage condition to ensure comprehensive performance validation.
Balanced PCC voltage condition
As depicted in Fig. 11a, c, and e, the load current remains constant due to its fixed nature, while increasing solar irradiance proportionally raises the VSC currents, consequently increasing the source/grid current. The neutral current regulation, illustrated in Fig. 12a, confirms that despite load imbalance, the source/grid-side neutral current remains near zero, demonstrating the system’s strong load-balancing capability. This indicates that the VSC efficiently compensates for load asymmetry and minimizes neutral current disturbances at the PCC. Furthermore, Fig. 13a shows that the DC-link voltage remains stable at 900 V and source/grid currents remain balanced, with the THD of the grid current maintained at approximately 4.96%, well within IEEE-519 standards (see Fig. 14a). This result highlights the ability of the PV-DSTATCOM to ensure high power quality preventing excessive harmonic distortion while injecting maximum available PV power into the grid.
Real-time performance waveforms of the proposed PV-DSTATCOM under a fixed non-linear load with varying irradiance levels (600–1000 W/m2)—(a), (c), (e) performance waveforms under balanced PCC voltage condition for Phase ‘a,’ Phase ‘b,’ and Phase ‘c,’ respectively; (b), (d), (f) performance waveforms under unbalanced PCC voltage condition for Phase ‘a,’ Phase ‘b,’ and Phase ‘c,’ respectively. CH1: Phase ‘a’ PCC voltage (400 V/div); CH2: source/grid current waveform of respective phase (5A/div); CH3: VSC current waveform of respective phase (5A/div); CH4: load current waveform of respective phase (5A/div).
Real-time waveforms of neutral currents under varying irradiance levels (600–1000 W/m2) with a fixed non-linear load—(a) neutral current waveforms under balanced PCC voltage condition; (b) neutral current waveforms under unbalanced PCC voltage condition. CH1: Phase ‘a’ PCC voltage (400 V/div); CH2: source/grid neutral current waveform (10A/div); CH3: VSC neutral current waveform (1A/div); CH4: load neutral current waveform (1A/div).
Real-time waveforms of three-phase source/grid currents and DC-link voltage under varying irradiance levels (600–1000 W/m2) with a fixed non-linear load—(a) waveforms under balanced PCC voltage condition, and (b) waveforms under unbalanced PCC voltage condition. CH1 to CH3: source/grid current waveforms (5 A/div); CH4: DC-link voltage (200 V/div).
Unbalanced PCC voltage condition
When operating under unbalanced PCC voltage condition, the system exhibits similar trends to those observed in the balanced case, as shown in Fig. 11b, d, and f. The VSC and source/grid currents continue to increase in response to higher solar irradiance, confirming the system’s ability to support active power transfer despite voltage unbalance. The neutral current behaviour, depicted in Fig. 12b, remains consistent with the balanced case, indicating that the grid-side neutral current is effectively suppressed, ensuring that load imbalances do not propagate to the grid.
Furthermore, Fig. 13b shows that the DC-link voltage remains stable at 900 V and source/grid currents remain balanced despite unbalanced PCC voltage. However, due to the voltage asymmetry at the PCC, the grid current THD slightly exceeds the IEEE-519 threshold, reaching 5.17%, as illustrated in Fig. 14b. This increase in distortion is attributed to the combined effects of nonlinear loads and PCC voltage unbalance. Despite this, the system maintains stable DC-link voltage and effective reactive power compensation, ensuring reliable operation under real-world grid condition.
Case 3: impact of sudden non-linear load variations at fixed solar irradiance
This case investigates the transient response of PV-DSTATCOM to a sudden increase in nonlinear load while maintaining a fixed solar irradiance of 700 W/m2. This test is crucial for assessing transient stability and power quality management under dynamic load condition. The performance of system is analyzed under both balanced and unbalanced PCC voltage condition.
Balanced PCC voltage condition
As depicted in Fig. 15a, the real-time waveforms of three-phase load currents demonstrate a sudden step increase in nonlinear load under balanced PCC voltage condition. This abrupt change leads to a shift in harmonic distortion levels, with the load current THD reducing from 13.51% to 9.40%, as shown in Fig. 16a and c. The THD reduction occurs because the increase in load results in a higher fundamental current component, thereby reducing the relative impact of harmonic distortions. Despite the sudden load variation, the VSC maintains stable compensation, effectively mitigating harmonics and regulating reactive power. This is validated by the source/grid phase currents illustrated in Fig. 17a, c, and e. Since PV generation remains constant, the source/grid current magnitude decreases due to the increased local load demand, as the system prioritizes supplying the local load before exporting excess power to the source/grid.
Harmonic spectra of load current under a sudden load change—(a) before the load change under balanced PCC voltage condition, (b) before the load change under unbalanced PCC voltage condition, (c) after the load change under balanced PCC voltage condition, and (d) after the load change under unbalanced PCC voltage condition.
Real-time performance waveforms of the proposed PV-DSTATCOM under a sudden load change at an irradiance level of 700 W/m2—(a), (c), (e) performance waveforms under balanced PCC voltage condition for Phase ‘a,’ Phase ‘b,’ and Phase ‘c,’ respectively; (b), (d), (f) performance waveforms under unbalanced PCC voltage condition for Phase ‘a,’ Phase ‘b,’ and Phase ‘c,’ respectively. CH1: Phase ‘a’ PCC voltage (400 V/div); CH2: source/grid current waveform of respective phase (5A/div); CH3: VSC current waveform of respective phase (10A/div); CH4: load current waveform of respective phase (2.5A/div).
Figure 18a illustrates that the VSC effectively suppresses the source/grid-side neutral current, maintaining it close to zero despite nonlinear load imbalance and sudden load variations. Additionally, as shown in Fig. 19a, the DC-link voltage remains stable at 900 V, demonstrating the robustness of the indirect current control strategy for the PV-DSTATCOM, even under sudden load change. Furthermore, the source/grid currents remain balanced, indicating the system’s capability to mitigate load-induced distortions. The harmonic spectra of the source/grid current before and after the load change are presented in Fig. 20a and c, respectively. It is evident that the source/grid current THD remains within IEEE-519 permissible limits, confirming the effectiveness of PV-DSTATCOM in maintaining high power quality under rapid load disturbances.
Real-time waveforms of neutral currents under a sudden load change at an irradiance level of 700 W/m2—(a) neutral current waveforms under balanced PCC voltage condition; (b) neutral current waveforms under unbalanced PCC voltage condition. CH1: Phase ‘a’ PCC voltage (400 V/div); CH2: source/grid neutral current waveform (10A/div); CH3: VSC neutral current waveform (1A/div); CH4: load neutral current waveform (1A/div).
Real-time waveforms of three-phase source/grid currents and DC-link voltage under a sudden load change at an irradiance level of 700 W/m2—(a) waveforms under balanced PCC voltage condition, and (b) waveforms under unbalanced PCC voltage condition. CH1 to CH3: source/grid current waveforms (2.5 A/div); CH4: DC-link voltage (200 V/div).
Harmonic spectra of source/grid current under a sudden load change at an irradiance level of 700 W/m2—(a) before the load change under balanced PCC voltage condition with PV power injection at an irradiance level of 700 W/m2, (b) before the load change under unbalanced PCC voltage condition with PV power injection at an irradiance level of 700 W/m2, (c) after the load change under balanced PCC voltage condition with PV power injection at an irradiance level of 700 W/m2, and (d) after the load change under unbalanced PCC voltage condition with PV power injection at an irradiance level of 700 W/m2.
Unbalanced PCC voltage condition
As depicted in Fig. 15b, the real-time waveforms of three-phase load currents exhibit a sudden step increase in nonlinear load under unbalanced PCC voltage condition. This transition leads to a reduction in load current THD from 13.63% to 9.36%, as illustrated in Fig. 16b and d, which follows the principle of increased fundamental current dominance. Despite the PCC voltage unbalance, the VSC effectively maintains compensation, ensuring stable source/grid phase currents, as shown in Fig. 17b, d, and f. Since the solar irradiance remains constant at 700 W/m2, the increased local load demand results in a reduction in source/grid current magnitude. This behavior confirms the system’s ability to dynamically adjust power allocation while maintaining grid support and power quality.
The neutral current dynamics, illustrated in Fig. 18b, indicate that the VSC efficiently suppresses the source/grid neutral current, maintaining it near zero despite the combined effects of nonlinear load imbalance and PCC voltage asymmetry. Additionally, the DC-link voltage remains stable at 900 V, as depicted in Fig. 19b, validating the robustness of the indirect current control strategy under unbalanced PCC voltage condition. Furthermore, the source/grid currents remain nearly balanced, highlighting the effectiveness of the VSC in mitigating the impacts of load unbalance, load disturbances, and PCC voltage asymmetry. The harmonic spectra of the source/grid current before and after the load change under unbalanced PCC voltage condition are presented in Fig. 20b and d, respectively. While the source/grid current THD remains within the acceptable IEEE-519 limits, it is slightly higher compared to the balanced PCC voltage scenario. This increase is primarily attributed to voltage asymmetry at the PCC, which induces additional harmonic distortions in the system.
Conclusion
This paper conducted a real-time evaluation of a PV-DSTATCOM system, demonstrating its effectiveness in MPPT, harmonic mitigation, reactive power compensation, and active power injection using the Typhoon HIL 604 simulator. The indirect current control strategy ensured precise DC-link voltage regulation at 900 V (± 5%) and accurate reference current generation, enhancing system stability and reliability. The MPPT algorithm optimized power extraction, maintaining stable PV operation under varying irradiance levels. The PV array generated 2080 W, 3440 W, and 1750 W at 600 W/m2, 1000 W/m2, and 500 W/m2, respectively, with power dropping to zero at 0 W/m2. Continuous MPP tracking improved energy conversion efficiency, ensuring reliable PV-grid integration.
The PV-DSTATCOM significantly enhanced power quality, reducing THD to 3.03%–5.58% under balanced PCC voltage and 3.95%–5.93% under unbalanced conditions, adhering to IEEE-519 standards. Additionally, the proposed system maintained near-unity power factor operation at the PCC and effectively minimized source/grid neutral current, contributing to enhanced grid stability and reduced power losses. Seamless mode transitions were achieved, with DSTATCOM mode mitigating harmonics and compensating reactive power during night-time, while PV-DSTATCOM mode injected active power while maintaining power quality under high solar availability. Overall, the PV-DSTATCOM system demonstrated a robust and efficient solution for grid-integrated PV applications, ensuring stable and reliable power quality improvement.
Future research could explore adaptive control strategies to further enhance harmonic suppression, reactive power compensation, and system resilience under dynamic grid disturbances, contributing to more stable and efficient renewable energy integration.
Data availability
The data can be requested from the corresponding author.
References
Fettah, K. et al. Optimal integration of photovoltaic sources and capacitor banks considering irradiance, temperature, and load changes in electric distribution system. Sci. Rep. 15(1), 2670 (2025).
Hashemzadeh, E., Aghamohammadi, M., Asadi, M., Moghaddam, J. Z. & Guerrero, J. M. Secondary control for a D-STATCOM dc-link voltage under capacitance degradation. IEEE Trans. Power Electron. 36(11), 13215–13224 (2021).
Dhaundiyal, A. & Atsu, D. The effect of thermo-fluid properties of air on the solar collector system. Alex. Eng. J. 61(4), 2825–2839 (2022).
Pandu, S. B. et al. Power quality enhancement in sensitive local distribution grid using interval type-II fuzzy logic controlled DSTATCOM. IEEE Access 9, 59888–59899 (2021).
Jayaraman, R., Tummapudi, S., Prakash, R. B. R. & Muni, T. V. Analysis of sliding mode controller based DSTATCOM for power quality improvement in distribution power system. Mater. Today Proc. 80, 3675–3681 (2023).
Jahnavi, B., Karanki, S. B. & Kar, P. K. Power quality improvement with D-STATCOM using combined PR and Comb filter-Controller. In 2021 1st International Conference on Power Electronics and Energy (ICPEE) 1–6 (IEEE, 2021).
Gupta, A. Power quality evaluation of photovoltaic grid interfaced cascaded H-bridge nine-level multilevel inverter systems using D-STATCOM and UPQC. Energy 238, 121707 (2022).
Chakrabarty, R. & Adda, R. DSTATCOM implementation using reduced switch single DC source cascaded H-bridge multilevel inverter. Electr. Power Syst. Res. 199, 107373 (2021).
Singh, B., Jayaprakash, P., Kothari, D. P., Chandra, A. & Al Haddad, K. Comprehensive study of DSTATCOM configurations. IEEE Trans. Ind. Inform. 10(2), 854–870 (2014).
Ballestín-Fuertes, J. et al. Four-legs D-STATCOM for current balancing in low-voltage distribution grids. IEEE Access 10, 779–788 (2021).
Chenchireddy, K. & Jegathesan, V. Three-leg voltage source converter-based D-STATCOM for power quality improvement in electrical vehicle charging station. In AI Enabled IoT for Electrification and Connected Transportation 235–250 (Springer, 2022).
Chakraborty, S., Mukhopadhyay, S. & Biswas, S. K. Coordination of D-STATCOM & SVC for dynamic VAR compensation and voltage stabilization of an AC grid interconnected to a DC microgrid. IEEE Trans. Ind. Appl. 58(1), 634–644 (2021).
Agrawal, H. P., Bansal, H. O., Kumar, R. & Sisodia, Y. S. HIL investigations on intelligently tuned PV integrated DSTATCOM to enhance power quality. Arab. J. Sci. Eng. 1–17 (2022).
Joshi, J. et al. Control strategy for current limitation and maximum capacity utilization of grid connected PV inverter under unbalanced grid conditions. Sci. Rep. 14(1), 10118 (2024).
Rajan, C. S. & Ebenezer, M. Fuzzy controlled D-STATCOM to improve the PCC voltage profile of a multi-microgrid interconnection scheme. In Control Applications in Modern Power Systems: Select Proceedings of EPREC 2021 219–232 (Springer, 2022).
Vanam, S. & Gurijala, S. Hybrid energy management system & power compensation of PV & wind integrated grid system with fuzzy based D-STATCOM. In 2022 international conference on electronic systems and intelligent computing (ICESIC) 206–212 (IEEE, 2022).
Sekhar, H. & Manikandan, V. Power quality enhancement using multi-level inverter with UPQC and robust back propagation neural network strategy. ECS Trans. 107(1), 5879 (2022).
Chawda, G. S., Shaik, A. G., Mahela, O. P. & Padmanaban, S. Performance improvement of weak grid-connected wind energy system using FLSRF-controlled DSTATCOM. IEEE Trans. Ind. Electron. 70(2), 1565–1575 (2022).
Chakraborty, S., Mukhopadhyay, S. & Biswas, S. K. Combined operation of D-STATCOM and low THD SVC in a distribution grid for dynamic VAr compensation and voltage stabilization. In 2020 IEEE International Conference on Power Electronics, Smart Grid and Renewable Energy (PESGRE2020) 1–6 (IEEE, 2020).
Taya, B. B., Ahammad, A. & Jahin, F. I. Total harmonic distortion mitigation and voltage control using distribution static synchronous compensator and hybrid active power filter. Int. J. Adv. Technol. Eng. Explor. 11(114), 624 (2024).
Popescu, M., Bitoleanu, A., Linca, M. & Suru, C. V. Improving power quality by a four-wire shunt active power filter: A case study. Energies 14(7), 1951 (2021).
Chen, J. H., Tan, K. H. & Lee, Y. D. Intelligent controlled DSTATCOM for power quality enhancement. Energies 15(11), 4017 (2022).
Joshi, M. K. & Patel, R. R. A simulation analysis of grid-connected DSTATCOM with PWM voltage control and hysteresis current control for power quality improvement. Power Electron. Drives 9, 220–237 (2024).
Kumar, N., Tripathi, S. M. & Govil, V. K. Virtual HIL simulation of grid-tied PV inverter with hysteresis current controller. In 2023 International Conference on Power, Instrumentation, Energy and Control (PIECON) 1–5 (IEEE, 2023).
Dash, A. et al. Performance evaluation of three-phase grid-tied SPV-DSTATCOM with DC-offset compensation under dynamic load condition. IEEE Access 9, 161395–161406 (2021).
Patel, N., Gupta, N. & Babu, B. C. Photovoltaic system operation as DSTATCOM for power quality improvement employing active current control. IET Gener. Transm. Distrib. 14(17), 3518–3529 (2020).
Nur-E-Alam, M. et al. Optimization of energy management in Malaysian microgrids using fuzzy logic-based EMS scheduling controller. Sci. Rep. 15(1), 995 (2025).
Adiche, S. et al. Advanced control strategy for AC microgrids: a hybrid ANN-based adaptive PI controller with droop control and virtual impedance technique. Sci. Rep. 14(1), 31057 (2024).
Ahmed, T. et al. Analysis of fractional order sliding mode control in a D-STATCOM integrated power distribution system. IEEE Access 9, 70337–70352 (2021).
Fernández, G. et al. Optimal D-STATCOM placement tool for low voltage grids. Energies 14(14), 4212 (2021).
Govil, V. K., Sahay, K. & Tripathi, S. M. A survey on DSTATCOM control and power quality improvement techniques. In 2022 1st International Conference on Sustainable Technology for Power and Energy Systems (STPES) 1–6 (IEEE, 2022).
Prashant, Siddiqui, A. S., Sarwar, M., Althobaiti, A. & Ghoneim, S. S. Optimal location and sizing of distributed generators in power system network with power quality enhancement using fuzzy logic controlled D-STATCOM. Sustainability 14(6), 3305 (2022).
Satyanarayana, P. V. V. et al. Combined DC-link fed parallel-VSI-based DSTATCOM for power quality improvement of a solar DG integrated system. Electronics 12(3), 505 (2023).
Tripathi, S. M., Tiwari, A. N. & Singh, D. Low-voltage ride-through enhancement with the ω and T controls of PMSG in a grid-integrated wind generation system. IET Gener. Transm. Distrib. 13(10), 1979–1988 (2019).
Hemalatha, R. & Ramasamy, M. Harmonics extraction scheme for power quality improvement using Chbmli-DSTATCOM module. Intell. Autom. Soft Comput. 35(2), 1505–1525 (2023).
Nandagopal, V., Damodhar, T. S., Vijayapriya, P. & Thamilmaran, A. Improving power quality by DSTATCOM based DQ theory with soft computing techniques. Intell. Autom. Soft Comput. 36(2), 1315–1329 (2023).
Roy, S., Debnath, A., Tariq, M., Behnamfar, M. & Sarwat, A. Characterizing current THD’s dependency on solar irradiance and supraharmonics profiling for a grid-tied photovoltaic power plant. Sustainability 15(2), 1214 (2023).
Hepziba, J. R. & Balaji, G. A modified hysteresis current controller with DFCEA for current harmonic mitigation using PV-SHAPF. J. Chin. Inst. Eng. 47(1), 63–80 (2024).
Modi, G. & Singh, B. Power quality improvement in solar energy conversion system integrated to weak AC grid. J. Inst. Eng. India Ser. B 105(6), 1511–1526 (2024).
Sah, P. & Singh, B. K. Power quality improvement using distribution static synchronous compensator. Comput. Electr. Eng. 106, 108599 (2023).
Çelik, D. & Ahmed, H. Enhanced control of superconducting magnetic energy storage integrated UPQC for power quality improvement in EV charging station. J. Energy Storage 62, 106843 (2023).
Rastogi, M., Ahmad, A. & Bhat, A. H. Performance investigation of two-level reduced-switch D-STATCOM in grid-tied solar-PV array with stepped P&O MPPT algorithm and modified SRF strategy. J. King Saud Univ. Eng. Sci. 35(6), 393–405 (2023).
Ray, P., Ray, P. K. & Marzband, M. Reduced sensor based control of PV-DSTATCOM with switch current limiting scheme. Energies 15(22), 8727 (2022).
Tripathi, S. M., Tiwari, A. N. & Singh, D. Optimum design of proportional-integral controllers in grid-integrated PMSG-based wind energy conversion system. Int. Trans. Electr. Energy Syst. 26(5), 1006–1031 (2016).
Mishra, A. K. et al. Performance assessment of VSC-based HVDC system in asynchronous grid interconnection: Offline and real-time validation of control design with symmetric optimum PI tuning. Heliyon 10(15), e35624 (2024).
Author information
Authors and Affiliations
Contributions
V.K.G. contributes to conceptualization, methodology development, and manuscript drafting. S.M.T. provides supervision, assists in real-time simulation, and contributes to critical revisions. K.S. contributes to supervision and manuscript revision.
Corresponding author
Ethics declarations
Competing interests
The authors declare no competing interests.
Additional information
Publisher’s note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License, which permits any non-commercial use, sharing, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if you modified the licensed material. You do not have permission under this licence to share adapted material derived from this article or parts of it. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by-nc-nd/4.0/.
About this article
Cite this article
Govil, V.K., Tripathi, S.M. & Sahay, K. Real-time assessment of PV-DSTATCOM for grid power quality enhancement using an indirect current control strategy. Sci Rep 15, 19516 (2025). https://doi.org/10.1038/s41598-025-01078-z
Received:
Accepted:
Published:
DOI: https://doi.org/10.1038/s41598-025-01078-z