Dear all,
I tried to run OPF with runopf function in MATPOWER.
1, What is the default objective function ( e.g. "runopf(case30)" )? In the
manual, the objective function is fp and fq, however, what is the detailed
expression of function fp and fq.
2, how can I replace fp and fq with my own us
Dr. Zimmerman,
Do you have any idea about these questions? I've understand question 1: the
answer should be: the default objective function of runopf for both AC OPF
and DC OPF are the same polynomial defined by the gencost in the case
struct.
Please correct it if it is wrong.
Thanks,
Lin
201
1. The default is defined by the gencost, either a polynomial or
piecewise-linear cost on P.
2. Set the costs defined by gencost to zero, i.e. use a linear function with a
zero coefficient.
3. It is not essential to make the distinction between control and state
variables in an optimization prob