mp.xt_reserves

class mp.xt_reserves

Bases: mp.extension

mp.xt_reserves - MATPOWER extension for OPF with fixed zonal reserves.

For OPF problems, this extension adds two types of elements to the data and mathematical model containers, as well as the data model converter.

The 'reserve_gen' element handles all of the per-generator aspects, such as reserve cost and quantity limit parameters, reserve variables, and constraints on reserve capacity.

The 'reserve_zone' element handles the per-zone aspects, such as generator/zone mappings, zonal reserve requirement parameters and constraints, and zonal reserve prices.

mp.xt_reserves 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.

Method Summary
dmc_element_classes(dmc_class, fmt, mpopt)

Add two classes to data model converter elements.

For 'mpc2 data formats, adds the classes:

dm_element_classes(dm_class, task_tag, mpopt)

Add two classes to data model elements.

For 'OPF' tasks, adds the classes:

mm_element_classes(mm_class, task_tag, mpopt)

Add two classes to mathematical model elements.

For 'OPF' tasks, adds the classes: