필터 지우기
필터 지우기

fmincon() power grid

조회 수: 2 (최근 30일)
abde amar
abde amar 2017년 10월 16일
댓글: Walter Roberson 2017년 10월 16일
Hello everyone, I have one project in power grid field. The objective is to minimize the reactive power consumption keeping the voltage in gap limit.
Can someone give me some directive points for programming the optimization of the objective function using fmincon(). It would be helpful
Best regards
  댓글 수: 3
abde amar
abde amar 2017년 10월 16일
Thank you, Yes, I've seen some useful mathworks fmincon videos. Now, I would like to know more about using objective function containing several variables (like reactive power function Qi=-∑Vi*Vj*sin(θij-δi-δj) )
Walter Roberson
Walter Roberson 2017년 10월 16일
You combine everything to be changed into one vector. Inside your function, you extract parts of the vector and reshape it as needed for your computation.
For example,
function result = MyObjective(x)
V = reshape(x(1:16), 4, 4);
theta = reshape(x(17:31), 4, 4);
delta = reshape(x(32:47), 4, 4);
result = ....
end

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

채택된 답변

Walter Roberson
Walter Roberson 2017년 10월 16일
Yes, my advice would be "Don't do that."
fmincon is a local minimizer, not a global minimizer, so it will get stuck in the first local minima it happens to see. However, power grid calculations would be expected to have a number of local minima. fmincon() is likely to get stuck.
You will likely need a global minimization technique. Some of the global minimizing routines can call upon fmincon() to get a more precise answer as the last step. I can also suggest a modification to the code of patternsearch() that allows it to call fmincon() at steps between in order to accelerate convergence; this would be a more advanced technique.
  댓글 수: 1
abde amar
abde amar 2017년 10월 16일
Thank you very much Roberson Walter,

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Nonlinear Optimization에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by