フィルターのクリア

Unable to perform assignment because the size of the left side is 1-by-2 and the size of the right side is 1-by-3. Error in pso_process_svc (line 31)

6 ビュー (過去 30 日間)
I am running a simulation on the location and sizing of svc on ieee 57 using pso algorithm.
It keeps displaying this error'
'Unable to perform assignment because the size of the left side is 1-by-2 and the size of the right side is 1-by-3.
Error in pso_process_svc (line 31)
data_initial_pso_pop(indexloop,:) = DGsize_first_para;
Error in TOP_PSO (line 74)
[finalres,FINAL_SVC_LOCATION_SIZE,prop_best_datapso]=pso_process_svc(nbus,int_pop_size,...
please I need help in debugging this problem

採用された回答

Voss
Voss 2024 年 4 月 30 日
Looks like the function limit_chk_process2 returns a 1x3 vector, but you are expecting it to return a 1x2 vector.
  8 件のコメント
Ndubuisi
Ndubuisi 2024 年 4 月 30 日
will appreciate if you could be of help
Voss
Voss 2024 年 4 月 30 日
"Thank you so much sir. it solved the problem."
You're welcome! If that error is fixed, please "Accept" the answer. Thanks!
"i also need to optimize the ieee 57 bus with GA and ACO"
It's probably best to ask a new question about that so more people see it. Try to be as specific as possible in your question.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeParticle Swarm についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by