Hi, i am trying to apply a controller for VSI to control PQ so that the grid voltage can be maintained at the same as the pulse load is connected to the grid. At the same time the DC link voltage is maintained at 400V. However, the controller seems doesnt work at all. I feel like there is a problem witth my controller block but i cant tell where is the problem. So is there anything wrong with my controller? Attached the MATLAB file.