I am working on a project for three phase STATCOM. There are 3 PI controllers used. I need to find the values of kp and ki of these controllers. So how can I actually find the values? If I need to find the transfer fucntion, then how to model my block? Can anyone help?