Three Phase Shunt Active Power Filter using pq theory

This simulation contains MATLAB modelling of three phase shunt active power filter using pq theory


Updated Sat, 19 Aug 2017 14:52:44 +0000

View License

It solves the problem of harmonic current in power system. It also compensate reactive power and balances load on three phase(if load is unbalanced). It uses Clarke transformation to calculate value of p0,p and q, filters out constant part of p and thus finding the compensating part of p0,p and q. Then, it calculates compensating current by inverse-Clarke transformation. The compensating current is injected to the network via three phase inverter using hysteresis band current control(HBCC) method. In this way, harmonic and reactive compnent of load is supplied by this shunt active power filter.Also, compensating p0 means balancing load on three phase.

Cite As

Niranjan Bhujel (2023). Three Phase Shunt Active Power Filter using pq theory (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2016b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes

Exported to run on older version.

Exported for previous version (R2013a or latest).

Some bug fixed.



Made more informative.

Problem on PI controller has been fixed.

Problems of unbalanced load fixed.

Change in description.

Preview image is added.