フィルターのクリア

Info

この質問は閉じられています。 編集または回答するには再度開いてください。

How to synchronize between the MATLAB Model and Embedded MATLAB Block use for optimization algorithm coding

1 回表示 (過去 30 日間)
chittaranjan pradhan
chittaranjan pradhan 2014 年 5 月 3 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
I have a MATLAB Microgrid power system frequency control model run for 5-sec. where the sampling time is 20e-6 sec. In that model, I sense sense the frequency deviation and implementing PSO-optimization algorithm to reduce the frequency deviation to tune the PID-controller parameters.
I speed of PSO-optimazation depends on the number of particles and iteration. When frequency deviation happens in the model, the optimization algorithm takes sometime to search the optimization value. The model sampling time may different from the search time of optimization algorithm. If both MATLAb-model sampling time and search time of optimization algorithm sampling time are different, then we can't get the optimization value when frequency deviation happens in the MATLAB-model due to optimization algorithm takes some time to search the optimization value. Please, tell me thathow can we make synchronize between the MATLAB model and optimization algorithm at same time. I am waiting for your valuable comments..

回答 (0 件)

この質問は閉じられています。

Community Treasure Hunt

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

Start Hunting!

Translated by