Author Topic: Optimization - fmincon  (Read 511 times)

Offline mizzidya

  • Newbie
  • *
  • Posts: 1
  • Matlab Forum
    • View Profile
Optimization - fmincon
« on: February 11, 2010, 09:51:50 AM »
Hi all.

I am a newbie in Optimization toolbox and have a few questions to ask.
Hope someone can share their knowledge.

I want to minimize the Pslack as in the following equation.

Pslack = Ploss + Pdemand - Pgeneration

I know the value for Pdemand
but Ploss is a product of a load flow hence i need to run a load flow first which is based on the Pgeneration.

My problem is that, i don't know how to vary the Pgeneration to make Pslack at minimum value.
and i don't know how to relate Ploss calculation from the runpf into optimization toolbox.

Hopefully someone can help me on this.

Thanking you in advance

Matlab and SimuLink Development Forum

Optimization - fmincon
« on: February 11, 2010, 09:51:50 AM »