Right now, I'm facing a problem that my grid current is leading grid voltage around 90 deg. I also came up with a solution of connecting phase shifter in control part. If thats d solution, how should I design the same in matlab, or is there any other control?