It first calculates instantaneous values load current and voltage and take product of them to calculate instantaneous power. Its average value is calculated which is active power . ploss is considered because inverter has certain loss and that power should be drawn to maintain constant capacitor voltage. Then, active component of current is calculated which is subtracted from instantaneous current to obtain reactive as well as harmonics component of current. It is fed to hysteresis band current controller which generates gate signal for inverter. Inverter injects compensating current. In this way, reactive power and harmonics is compensated.
Niranjan Bhujel (2023). Single phase STATCOM (https://www.mathworks.com/matlabcentral/fileexchange/61782-single-phase-statcom), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!