Hello Fred Thanks to answer my question.
I'm simulating on case_ieee30.m, so do I change mpc.gencost in case_ ieee30.m file ? If to do that is correct, please explain it to be concrete. I ask for your cooperation in this matter. Takuya Koyanagi ----- Original Message ----- > Hi, > I guess you are trying to optimize with the objective of minimizing power > losses. From my understanding of the objective function, the power losses > equations that you have attached can replace the cost functions defined in > the MATPOWER case you are working on, simply by typing in the coefficient > values of the functions you have into matpower "gen.cost" matrix depending > on the oder of the equations you have. the summation for what you have > attached is simply the representative of all the objective function > equations. to use these all you need to do is write each equation on its > own and enter the coeficients of each equation into matpower gen.cost field. > hope you get my point. > all the best. > > > On 23 August 2013 07:15, 小柳拓也 <[email protected]> wrote: > > > > > > > I have a question of MATPOWER. > > > > I want to change objective function of OPF. > > > > My objective function is to take Power loss cost and Generator cost. I > > attach it in Word. > > > > Please tell me how to change objective function. > > > > > > Chiba University department of engineering fourth grader > > Takuya Koyanagi > > > > > > -- > *Fred Kanjelesa. > *Zambia/Lusaka. > > Mobile: +260967880912 > > "Go as far as you can see. When you get there, you'll be able to see > farther!" *Thomas Carlyle* ** **** >
