Hi !
I will give you a "manual" method for tuning.
1. Set a step reference at the input of IQ controller and 0 at the
input of ID controller.
2. Use the same values Kp, Ki for both controllers (IQ and ID).
3. Set the Ki to 0 and the Kp to very small value. With these values
the system answer must be 0 or near to 0.
4. Increase the Kp value until the answer represent 80% from
reference.
5. Increase slowly the Ki value until the system answer reach the
reference.
Daniel