PI controller tuning : Mathematica vs. Simulink