# What is an efficient way to do PID tuning in a model with long computing time?

11 views (last 30 days)

Show older comments

I'm modeling PID control of a variable frequency drive (VFD) on a centrifugal pump system in Simulink/Simscape. As I want the system to properly be controlled, I need to tune the PID parameters. More specifically, I solely focus on PI parameters. An inital open-loop simulation of solely the VFD with a step function shows the behaviour of the system. See picture below.

However, when applying the VFD to the hydraulic model, the computing time drastically increases. To be explicit, computing one second of simulation time takes about 500 seconds real time. Therefore, tuning the closed-loop PI parameters takes an immense amount of time.

I am not alllowed to use the automated PID tuner, and am therefore limited to manual tuning. What would be a good way to handle the PI tuning here?

##### 14 Comments

Mathieu NOE
on 15 Jun 2023

I am confused

I didn't noticed that your second image

is simply a zoom on the tiny overshoot at the end of the step response of the motor plot

so at the end I am completely lost in what data we see and are talking about (VFD alone / VFD + pump ? open loop , closed loop ? )

### Accepted Answer

Dr Narayanaswamy P R Iyer
on 14 Jun 2023

### More Answers (1)

Mohamad Nazir
on 13 Jun 2023

### Communities

More Answers in the Power Electronics Control

### See Also

### Categories

### Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!