How to use binary decision variable for charge and discharge of battery using PSO in MATLAB?

4 ビュー (過去 30 日間)
Usman Taya
Usman Taya 2019 年 7 月 6 日
編集済み: John D'Errico 2019 年 7 月 6 日
Hi All,
I want to use binary decision variable for charge and discharge of battery using Particle swarm optimization (PSO) but I didn't understand that How I can use it so please help to do it.
  1 件のコメント
John D'Errico
John D'Errico 2019 年 7 月 6 日
編集済み: John D'Errico 2019 年 7 月 6 日
PSO is not one of the optimizers that allows discrete variables. So the way to use PSO is to use a different optimizer, perhaps GA. However, if you only have afew such variables, then just set those variables to every possible set of options, Then solve the optimization for the continuous variables, and take the best solution among all sets.

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

回答 (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