importance of weights in optimization

3 ビュー (過去 30 日間)
NN
NN 2021 年 4 月 22 日
編集済み: johnnynoc4sh 2021 年 10 月 6 日
Hi,
This code written below is taken from matlab example , https://ww2.mathworks.cn/matlabcentral/fileexchange/73139-microgrid-energy-management-system-ems-using-optimization?s_tid=prof_contriblnk
Can someone please help me to understand the importance of weights in optimisation and and why final weight is multiplied with Ebatt in the objective function ?
% Minimize cost of electricity from the grid
prob.ObjectiveSense = 'minimize';
prob.Objective = dt*Cost'*PgridV - FinalWeight*EbattV(N);
  1 件のコメント
johnnynoc4sh
johnnynoc4sh 2021 年 10 月 5 日
編集済み: johnnynoc4sh 2021 年 10 月 6 日
I´m also working on this example. Unfortunately I also couldn´t figure out, what the mentioned line means. The documentation lacks this information. I guess it is about giving the solver the information, that a certain state of charge at the end of the optimization process should be archieved. Since the documentation lacks informations it is not clear what kind of unit FinalWeight has.

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

回答 (0 件)

カテゴリ

Help Center および File ExchangeProblem-Based Optimization Setup についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by