Parllel particle swarm optimization with simulink

조회 수: 3 (최근 30일)
Lukas Sohlbach
Lukas Sohlbach 2022년 11월 25일
댓글: Alvaro 2023년 1월 27일
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
Alvaro
Alvaro 2023년 1월 27일
How did you set up PSO? Did you build your custom version in Simulink or are you using particleswarm inside a MATLAB function block?

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Particle Swarm에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by