Ok, thanks for that clarification. I'd forgotten about that difference.

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




On Mar 26, 2012, at 11:31 AM, Roberto Carvalini wrote:

> 
> Dear Dr. Ray,
> 
> With regards to second question, for the generators these two costs are the 
> same while for the dispatchahble loads are different. The first one gets the 
> negative value for dispatchable loads.
> 
> Best Wishes
> 
> Roberto 
> 
> 
> On Mon, Mar 26, 2012 at 14:59, Ray Zimmerman <[email protected]> wrote:
> On Mar 24, 2012, at 10:56 PM, Roberto Carvalini wrote:
> 
>> 1. When I do a runmarket, in the results, what is the difference between 
>> PRICE in MARKET SUMMARY and LAMBDA in System summary? Usually they have the 
>> same value and sometimes they are different? What is the reason?
> 
> PRICE depends on the auction type chosen. For a first price auction, they 
> should be the same except in cases where a generator is dispatched at PMIN, 
> in which case the LAMBDA may go lower than the offer price, but the cleared 
> price is still set to the offer price. See MATPOWER Tech Note 1 on Uniform 
> Price Auctions and Optimal Power Flow for more details.
> 
> 
>> 2. According to your reply to one of the posts as follows, what is the 
>> difference between these two costs? They get different values?
>> 
>> cost = totcost(r.gencost, r.gen(:, PG));
>> cost = dispatch(:, FCOST) + dispatch(:, VCOST);
> 
> The first is a cost in $/hr. The second is multiplied by the number of hours 
> in a market period (mkt.t) and so is expressed in $. For the default of 1 
> hour periods, they should give the same number.
> 
> 
> -- 
> Ray Zimmerman
> Senior Research Associate
> 419A Warren Hall, Cornell University, Ithaca, NY 14853
> phone: (607) 255-9645
> 
> 

Reply via email to