The system is nonlinear and there is no transfer function. I modeled the system in MATLAB simulink. The problem is how can I tune PI/PID parameters by GA or Firefly Algorithim in Simulink?
Mr. Luis has provided a superb solution which you can try.
I think the following information also might help you:
You can always formulate the transfer function from your simulink model. You just need to provide a test input signal to your process and see what is the output of it. The same kind of task has been presented in the following paper which you may have a look at:
I will be glad if it helps you.
With best wishes dear,
Bhaskar
Article Design and analysis of piezoelectric actuator for micro gripper