【源码】光伏并网逆变器仿真

在这里插入图片描述

该仿真表明了光伏阵列如何通过逆变器与电网相连。

This simulation shows how PV array can be connected to grid via an inverter.

根据P&O算法计算出可从PV中提取的第一个最大功率值。

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.

误差传递到PI控制器。

Error is passed to PI controller.

PI控制器的输出对应于从电网中获取的功率,以维持恒定的直流母线电压。

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.

完整源码下载地址:

http://page2.dfpan.com/fs/clcj3221e291d6bb145/

更多精彩文章请关注微信号:在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/weixin_42825609/article/details/88594721