Parllel particle swarm optimization with simulink
7 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hello,
I have set up a particle swarm optimization to optimise the parameters of a Simulink model. In my cost function I call the simulation with the sim command, read constants and input data from the workspace and used the result of the simulation to calculate an error. This error should be minimised by the PSO. Unfortunately, the optimisation on my PC is very time-consuming, which is why I would like to speed it up by parallelising it (first locally then on a cluster). My question is whether it is at all possible to parallelise the alogrithm with a simullink model in the cost function and if so, how I have to prepare/set up the model, since simply loading data from the workspace no longer works. Thank you very much in advance!
Best
Lukas
1 commentaire
Alvaro
le 27 Jan 2023
How did you set up PSO? Did you build your custom version in Simulink or are you using particleswarm inside a MATLAB function block?
Réponses (0)
Voir également
Catégories
En savoir plus sur Particle Swarm dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!