Hello I am new to Matpower and in need of some help with the smart_market auction clearing code that comes with Matpower. My aim is the following:
1) Given a set of buy and sell bids from 4 areas, and given c0,c1,c2,Pmin,Pmax,Pdemand for a 5th area, I would like to get the optimum buy/sell bids(their quantities and prices) that a 5th area should bid at, to minimize its total cost of meeting its demand. I guess the buy bids of area 5 could be modeled as a negative generator with piecewise continuous price function, with each of its prices marginally above each of the existing buy bids. Similarly, the sell bids could be modeled as a generator with prices marginally below each of the existing sell bids. However, I do not know what quantities to assign to these buy/sell bids. 2) Further, I would like to incorporate transaction limits between areas. Any help regarding 1 and 2 would be greatly appreciated. Many thanks, and sorry for initially posting this as a reply to the battery question :p Anirudh
