update_mupq

update_mupq(baseMVA, gen, mu_PQh, mu_PQl, data)

update_mupq() - Updates values of generator limit shadow prices.

GEN = UPDATE_MUPQ(BASEMVA, GEN, MU_PQH, MU_PQL, DATA)

Updates the values of MU_PMIN, MU_PMAX, MU_QMIN, MU_QMAX based
on any shadow prices on the sloped portions of the generator
capability curve constraints.

MU_PQH - shadow prices on upper sloped portion of capability curves
MU_PQL - shadow prices on lower sloped portion of capability curves
DATA   - "data" struct returned by MAKEAPQ

See also makeApq().