mp.xt_oval_cap_curve

class mp.xt_oval_cap_curve

Bases: mp.extension

mp.xt_oval_cap_curve - MATPOWER extension for OPF with oval gen PQ capability curves.

For OPF problems, this extension restricts the output of each generator to lie within the half-oval-shaped region centered at (PMIN, Q0) and passing though (PMAX, Q0), (PMIN, QMIN) and (PMIN, QMAX).

mp.xt_oval_cap_curve Methods:

See the Customizing and Extensions sections in the MATPOWER Developer’s Manual for more information, and specifically the Element Classes section and the Element Class Modifiers table for details on element class modifiers.

See also mp.extension, mp.mme_gen_opf_ac_oval.

Method Summary
mm_element_classes(mm_class, task_tag, mpopt)

Replace a class in mathematical model elements.

For 'OPF' tasks, replaces mp.gen_opf_ac with mp.gen_opf_ac_oval.