The bid or offer is essentially a marginal cost, that is, the derivative of the 
total cost function that goes into gencost. So essentially, you integrate the 
marginal cost (or offer function) to get the total cost function to put in 
gencost.

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




On Apr 3, 2012, at 3:01 PM, Roberto Carvalini wrote:

> Thanks a lot for your help. Is it possible for you to give an example in 
> which how a linear offer would correspond to a quadratic gencost?
> 
> Best Wishes
> 
> Roberto 
> 
> 
> On Tue, Apr 3, 2012 at 20:58, Ray Zimmerman <[email protected]> wrote:
> The runmarket code essentially just takes bids and offers, converts them into 
> the corresponding gencost entries, runs the OPF and then repackages the 
> results as a set of cleared offers and bids. The runmarket code will not 
> handle linear bids or offers, but you can convert your bids and offers 
> directly into the corresponding gencost entries and then run the OPF directly 
> to get the result. A linear offer would correspond to a quadratic gencost.
> 
> -- 
> Ray Zimmerman
> Senior Research Associate
> 419A Warren Hall, Cornell University, Ithaca, NY 14853
> phone: (607) 255-9645
> 
> 
> 
> 
> On Apr 3, 2012, at 11:42 AM, Roberto Carvalini wrote:
> 
>> Dear Prof. Zimmerman,
>> 
>> How can I model a linear bid instead of fixed bids in MATPOWER? For example 
>> I want to have a  Linear supply bid with fixed demand. Is it possible? 
>> 
>> Best Wishes
>> 
>> Roberto 
>> 
> 
> 

Reply via email to