I'm afraid I don't really understand what you are trying to do. In the case of 
inelastic demand, maximizing social welfare and minimizing cost are identical. 
Assuming the gencost contains true generator costs and true benefits for 
dispatchable loads, MATPOWER's OPF does maximize social welfare.

If you want to have some outer loop around that where the generators and loads 
are adjusting their costs(offers) and benefits(bids) to try to optimize 
profits, you would have to write that code yourself.

-- 
Ray Zimmerman
Senior Research Associate
419A Warren Hall, Cornell University, Ithaca, NY 14853
phone: (607) 255-9645




On Jul 12, 2012, at 8:09 AM, Carlos Gonzalez Almeida wrote:

> In the upper level it can be profit maximization of generators.
> 
> Best Wishes
> 
> C. Gonzalez Almeida
> 
> 
> On Thu, Jul 12, 2012 at 2:06 PM, <[email protected]> wrote:
> Dear Carlos,
> The cost in "then minimization of the cost..." is not the same as cost of 
> generators?
> 
> Sincerely,
> Shiyang Li
> 
> ----- 原始邮件 -----
> 发件人:Carlos Gonzalez Almeida <[email protected]>
> 收件人:MATPOWER discussion forum <[email protected]>
> 主题:Re: 回复:Bilevel optimization
> 日期:2012年07月12日 19点50分
> 
> Dear Shiyang,
> 
> It can be the minimization of cost of generators. With regards to social 
> welfare, if you have offers and bids then minimization of the cost is 
> equivalent to maximization of social welfare.
> 
> Best Wishes
> 
> C. Gonzalez Almeida
> 
> 
> On Thu, Jul 12, 2012 at 12:52 PM, <[email protected]> wrote:
> Dear Carlos,
>   I'm quite interested in your optimization model. Specially, what cost will 
> you consider and how will you measure the social welfare?
>   There are some standard methods for bi-level optimization, which I don't 
> think MATPOWER contains directly. 
> 
> Sincerely,
> Shiyang Li
> 
> ----- 原始邮件 -----
> 发件人:Carlos Gonzalez Almeida <[email protected]>
> 收件人:MATPOWER discussion forum <[email protected]>
> 主题:Bilevel optimization
> 日期:2012年07月12日 16点51分
> 
> Dear Prof. Zimmerman,
> 
> I want to implement a bilevel optimization problem in MATPOWER, for instance, 
> minimization of Cost subject to maximization social welfare. How can I do 
> this and solve it with MATPOWER's solvers?
> 
> Best Regards
> 
> Carlos
> 
> 
> 
> 

Reply via email to