Memuat
Memuat
Want to go deeper?
Join one of our courses or ask us directly on WhatsApp.
Picked from the software, topic, and level of “Class PID & FOPID Metaheuristics #6: Robustness Test, Convergence Comparison, and Statistical Analysis”.
Other ways we can help with Python.
Learn with a mentor
Scheduled Simulation & Engineering courses with live guidance and a certificate.

Course/Training Ansys ~ Heat Transfer and Heat Flux Analysis
★ 5.0 (10)

Course/Training MATLAB — MATLAB App Design: The Ultimate Guide to MATLAB Apps
★ 5.0 (10)

Course/Training Ansys — Airflow Simulation of a Car Radiator with ANSYS
★ 5.0 (9)
Have it built for you
No time to learn Python? Our team can do the project for you.

Matlab Development Service — Complete Neural Signal Processing and Analysis Zero to Hero
★ 5.0 (59)

Ansys Maxwell Development Service
★ 5.0 (50)

Petrel Development Service
★ 5.0 (14)
Get notified about new Python classes
At most one email a week. Unfollow anytime with one click.
The full narration of this video. The current sentence is highlighted while the video plays; click any sentence to jump there.
Here is the final result, 10 trials for each combination of controller and algorithm, statistical Wilcoxon test, convergence curves, and robustness test when generator parameters change. 4P2OA significantly outperforms and is 3 times more robust to plan changes. Let's start. Hello, welcome to the final episode of the PID and fractional order PID optimization series. Metaheuristics are random, so one trial might just be a lucky case. Scientific journals require several trials and statistical tests. In addition, the actual plan changes due to age and load, so the controller must be robust. Today we will test both.
Create a file named robustness.py There are 4 cases, PID and FOPID, each with WOA and HHO. Each case is run 10 times with different SID. Then we record the final ITAI and its convergence curve. We print the mean, standard deviation, best, and worst values, then perform a Wilcoxon test to check if the differences are statistically significant. Run. PIDWOA is very consistent. Mean 0.0391 with a standard deviation of 0.0001. FOPID-WOA has a mean of 0.0180 and FOPID-HHO 0.0293. The P-Wilcoxon value of FOPID-WOA against PIDWOA is 0.00016 and against FOPID-HHO is 0.00088. Both are far below 0.05. So it is significant.
Next, the robustness test. We take the best PIDWOA and FOPID-WOA parameters from the previous JSON file, then change the exciter and generator time constant from 50 to 150 percent, and calculate ITAI under each condition without resetting the controller. Run. ITAI-PI increases from 0.039 to 0.1787 at 150 percent, with a range of 0.1397. ITAI-FOPI is at its worst only 0.0651, with a range of 0.0462, three times narrower. Let's look at the graphs. Boxplot shows the FOPID-WOA box much lower than PID, while FOPID-HHO is wider, indicating more inconsistency. The average convergence curve shows FOPID-WOA continuously decreasing until the last iteration. In the robustness test, the PI response changes drastically when the plant slows down, whereas the FOPI curve stabilizes and remains calm in a short time. This is the real advantage of FOPID. Two additional parameters provide flexibility to remain good even when the plant changes.
Done, and the series is also complete. We have built a complete research on controller tuning, DC motor function and AVR, Ziegler-Nichols, fractional order PID with ustaluk, objective function ETAI, whale optimization and Harris-Hawks from scratch, Optimization of PID and FOPID up to statistical analysis and robustness test. For further research try other algorithms such as Grey Wolf or Marine Predators multi-criteria objective function plan with time delay or implementation on microcontroller. Thank you for following this series. Currently working on a thesis dissertation or research in the field of control systems and optimization? Cerdas Inovasi Digital helps implement control systems from modeling DC motor and AVR generator PI tuning using Ziegler-Nichols fractional order PID up to meta-heuristic optimization such as whale optimization and Harris-Hawks as well as offering Python programming courses for electrical engineering. Want to master the entire series from alias functions up to statistical analysis and robustness test? All six episodes complete with PDF step-by-step guides and source code are available for premium tutorial subscribers. Subscribe starting at Rp69.000 per month save 28% with the 12-month package or one-time payment of Rp999.000 for lifetime access. Want just one class? Buy a single class with lifetime access. Subscribe now on the premium page at cerdasinovasidigital.com. Contact us via WhatsApp or visit cerdasinovasidigital.com. Thank you for watching, see you in the next episode.
Type a question or keyword; we find the part of this episode that explains it and jump the video there.
Notes are saved with the current video time and are only visible to you.
Stuck on a step? Ask here; the instructor and other learners can answer.
No questions yet.

Cerdas Inovasi Digital Team
Software developers, BIM & 3D engineers, and AI practitioners
We build software, BIM models, games and AI automations for clients every day, and turn that hands-on work into step-by-step classes: every step is shown on screen and comes with a PDF guide you can keep.
See our clients →