mp.data_model_opf

class mp.data_model_opf

Bases: mp.data_model

mp.data_model_opf - MATPOWER data model for OPF tasks.

The purpose of this class is to include OPF-specific subclasses for its elements and to handle pretty-printing output for lim sections.

mp.data_model_opf Methods:

See also mp.data_model.

Constructor Summary
data_model_opf()

Constructor, assign default data model element classes.

Create an empty data model object and assign the default data model element classes, each specific to OPF.

dm = mp.data_model_opf()
Method Summary
pp_flags(mpopt)

Add flags for lim sections.

See mp.data_model.pp_flags().

pp_section_list(out)

Append 'lim' tag for lim section to default list.

See mp.data_model.pp_section_list().

pp_get_headers_other(section, out_s, mpopt)

Construct pretty printed lines for lim section headers.

See mp.data_model.pp_get_headers_other().