If your problem size is small then you should get same opf results with ABC method and MINOS (MATPOWER) solver. but for large scale problem, to get LMP with ABC, first run opf with ABC to get Pg of all generators. then get first order partial derivatives of the quadratic cost functions of all generators with respect to pg. then in the obtained equations substitute Optimal values of pg to obtain LMPs. ---
________________________________ From: Ray Zimmerman <[email protected]> To: MATPOWER discussion forum <[email protected]> Sent: Thursday, 28 February 2013 9:14 PM Subject: Re: performing lmp calculation If your OPF solution matches MATPOWER's OPF solution, then you can simply use the LMP values computed by MATPOWER's OPF, found in results.bus(:, LAM_P). If your solution does not match, then I'm afraid it's up to you to demonstrate that it is even a solution to the OPF problem, i.e. that the optimality conditions are satisfied. Not sure how MATPOWER can help you here. -- Ray Zimmerman Senior Research Associate 419A Warren Hall, Cornell University, Ithaca, NY 14853 phone: (607) 255-9645 On Feb 28, 2013, at 4:00 AM, Khirad Dhabhar <[email protected]> wrote: Hi guys. I am doing my mtech project. Now i have been able to successfully create an ABC(artificial bee colony) based algorithm to solve the optimal power flow. Now i require the LMP (lambda values) for my solution. How can i use mathpower to use my opf results to calculate the LMP values. > >Thank you > >khirad > > >-- >Friendship is like a red rose with a green stem >
