See the documentation in …
help runopf_w_res
>From the help text ...
In addition to the normal OPF output, the RESULTS struct contains a
new 'reserves' field with the following fields, in addition to those
provided in the input:
R - ng x 1, reserves provided by each gen in MW
Rmin - ng x 1, lower limit on reserves provided by each gen, (MW)
Rmax - ng x 1, upper limit on reserves provided by each gen, (MW)
mu.l - ng x 1, shadow price on reserve lower limit, ($/MW)
mu.u - ng x 1, shadow price on reserve upper limit, ($/MW)
mu.Pmax - ng x 1, shadow price on Pg + R <= Pmax constraint, ($/MW)
prc - ng x 1, reserve price for each gen equal to maximum of the
shadow prices on the zonal requirement constraint
for each zone the generator belongs to
I think you want results.reserves.prc. Also, you should know that these are not
"nodal" prices; they are per-generator. They do not exist for buses with no
generation.
--
Ray Zimmerman
Senior Research Associate
419A Warren Hall, Cornell University, Ithaca, NY 14853
phone: (607) 255-9645
On Apr 2, 2013, at 1:49 PM, S. Mostafa F. Astaneh <[email protected]> wrote:
> Dear professor Zimmerman,
>
> How can I access reserve LMP (reserve price in each bus per MWh). I am using
> runopf_w_res in standard MATPOWER cases. I have noticed
> results.reserves.mu.l, results.reserves.mu.u and results.reserves.mu.Pmax in
> MATPOWER user guide but I cannot understand the difference…
>
> Thank you for your response.
> Kind Regards,
> Mostafa