I understand that when inverter change DC voltage(ex:PV voltage) to AC voltage, we need to condition the frequency and voltage to be the same level as the grid.
We can use PWM for this. I study this from Matlab, so my question will be based on the PWM block.
It seems the input for PWM generator is V refference that is obtained rom entering V and I from Grid and also the DC Voltage into VSC control like in the picture.
So I am wondering what is the theory behind this logic?