Parllel particle swarm optimization with simulink
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentar
Alvaro
am 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?
Antworten (0)
Siehe auch
Kategorien
Mehr zu Particle Swarm finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!