I suppose it depends … do you want to minimize costs in the other areas as well, subject to fixed exchange schedules? If so, yes, I think working with toggle_iflims.m is best. If, on the other hand, you are only interested in minimizing cost in one area, with the dispatches fixed in other areas, then I think fixing those dispatches (PG=PMIN=PMAX) is sufficient to fix all of the interface flows as well and you don’t even need additional interface flow constraints.
-- Ray Zimmerman Senior Research Associate B30 Warren Hall, Cornell University, Ithaca, NY 14853 phone: (607) 255-9645 On Nov 26, 2013, at 8:10 PM, Henry Lin <[email protected]> wrote: > Dear Dr. Zimmerman, > > Thanks a lot for your help. > > I want to minimize the cost of generation of one area subject to a fixed > value for the exchange between all the other areas. Shall I still work with > toggle_iflims.m as you suggested or you have some other suggestions? > > > Thanks a lot. > > Best, > > Henry > > > > > 2013/11/26 Ray Zimmerman <[email protected]> > 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 >> >> >> >> > >
