Sorry, somehow my previous reply never got sent … So, what exactly do you want to optimize, if you are specifying the import and export? Are you saying you want to minimize cost of generation in both areas subject to a fixed value for the total exchange between the two areas? If so, the best you can do is constrain the net flow (DC approximation) to equal your specified value. The easiest thing is probably to start with the code in toggle_iflims.m and modify it to use an equality constraint instead of an inequality constraint on the interface flow.
-- Ray Zimmerman Senior Research Associate B30 Warren Hall, Cornell University, Ithaca, NY 14853 phone: (607) 255-9645 On Nov 26, 2013, at 10:43 AM, 车 <[email protected]> wrote: > Hi Matpower users, > > Anybody have any ideas about how to calculate opf with the total import power > and export power specified? > > > Thanks a lot > > Lin > > On Nov 25, 2013, at 8:59, Henry Lin <[email protected]> wrote: > >> Dear all, >> >> I am trying to use OPF with area interchange being specified. I know how >> much power is going to be import and export. >> >> How can I do it using Matpower? >> >> >> Thanks, >> Henry > > > >
