File Exchange

image thumbnail

Grid Connected PV Inverter

version (35.5 KB) by Niranjan Bhujel
This simulation shows integration of PV array to grid.


Updated 23 Mar 2018

View Version History

View License

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.

Cite As

Niranjan Bhujel (2021). Grid Connected PV Inverter (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (17)

Harin Mohan

Anubhav Sinha

Why dont u use Lms algorithm

Pourya Zamani

mahbub Rashid


Benhurr J

Hi, how do you run this simulation for max power of 10KW, i changed the number of solar modules, but i keep getting algebraic loop error. Could you help for 10KW

Devesh Godhwani

Rico Buysse

Hello, is is possible to send me the Matlab code of this program. It will be really appreciated.

Pranesh J R

Hi, can you tell me what control algorithim you used for the inverter? Is it current controlled mode or voltage controled mode?

vikas pandey

Amor Chowdhury

Sujith Katikala

med chikh

Est ce que tu peux m'envoyer ce model sous le matlab 2016 , par ce que j'arrive pas a l'ouvrire et merci .

Siti Zafarah


For Latest Simulation Projects,Please Contact

Nafis Subhani

Very good job

Mohamed Ghebbache

Est ce que tu peux m'envoyer ce model sous le matlab 2014 , par ce que j'arrive pas a l'ouvrire et merci .


MATLAB Release Compatibility
Created with R2015b
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!