I'm looking to tune a PR controller with 10 independent gain terms using Sisotool, i.e. Kp,Kr1,Kr2…etc.
I need to do this symbolically since the transfer function will multiply these gains by other values and to extract the actual optimised values for Kp,Kr would be very difficult.
So I'd like to be able to feed Sisotool the transfer function with the symbolic terms for the gains and tune those, then write these gains back to the workspace after finishing?
Is this possible?
I've been looking at the realp function for setting a variable name that can be called in a transfer function but I don't know if this will work. Any suggestions?
Best Answer