Hi!
I'm creating a grid connected inverter. The DC source will later be changed to a PV with buck boost but as of now, I'm testing it with a DC source to tune the PR controllers. The Current PR controller was taken from the PSIM sample of PLL (z-domain) and I copied it for the voltage PR controller. However, following the equation of the PR contorller kp+(kr*s)/(s^2+w^2), is it a similar implementation as well for the voltage loop?
