This simulation shows how PV array can be connected to grid via an inverter. First maximum power that can be extracted from PV is calculated from P & O algorithm. From the value of this power with loss power compensated and grid voltage, reference current is calculated. This calculated reference current is compared with actual current supplied by inverter and gate signals are generated so as to make actual supplied current within the band of reference current.
To stabilize DC bus voltage, DC voltage bus is compared with reference DC bus voltage. Error is passed to PI controller. Output of PI controller corresponds to the power that should be drawn from grid to maintain constant DC bus voltage. Difference of PV power and this power is supplied to grid.
Niranjan Bhujel (2021). Grid Connected PV Inverter (https://www.mathworks.com/matlabcentral/fileexchange/66600-grid-connected-pv-inverter), 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!