If you look at the formulation in equations (7.2)–(7.5) it should be clear that runopf_w_res() <http://www.pserc.cornell.edu/matpower/docs/ref/matpower5.1/runopf_w_res.html> only deals with upward spinning reserves. In order to deal with downward spinning reserves–or any other class of reserves, for that matter–you would need to implement an additional set of reserve variables, costs and requirements. So, it could be done in the same way as the upward spinning reserves, but would require writing an OPF extension that implements multiple reserve types. This would be a very straightforward modification to the existing toggle_reserves() <http://www.pserc.cornell.edu/matpower/docs/ref/matpower5.1/toggle_reserves.html>.
Ray > On Apr 2, 2016, at 5:53 PM, [email protected] wrote: > > Thanks for your response Dr. Zimmerman. I have another question about using > RUNOPF_W_RES. Since the value of reserve must be non-negative in this > function, how can I consider downward spinning reserve? Can I consider upward > and downward reserves simultaneously? > > Best Regards, > > Farzaneh > > > > > > I’m not sure what you mean by “completely non-convex”, but yes, you can > > use LAM_P as the LMP. It is simply the sensitivity of overall objective > > function to a change in the load at the bus. Of course this is at the OPF > > solution, which in a non-convex problem is not guaranteed to be a global > > solution. > > > > Ray > > > > > >> On Mar 25, 2016, at 5:46 AM, [email protected] wrote: > >> > >> Hi, > >> > >> I want to run an AC optimal power flow with fixed zonal reserves and > >> co-optimize reserves and energy via using MATPOWER5.1. RUNOPF_W_RES. I > >> have a question about obtaining locational marginal price (LMP). > >> As this problem used in MATOPWER is completely non-convex, is it valid > >> to > >> take Lagrangian from the non-convex problem? > >> In user's manual, it is stated that Lam_P is Lagrange multiplier on > >> real power mismatch. > >> Can I use Lam_P as LMP? > >> > >> I would appreciate if you help me. > >> > >> Best Regards > > > > >
