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:
data_model_opf()
- constructor, assign default data model element classespp_flags()
- add flags for lim sectionspp_section_list()
- append'lim'
tag for lim sections to default listpp_get_headers_other()
- construct headers for lim section headers
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.
- pp_section_list(out)
Append
'lim'
tag for lim section to default list.
- pp_get_headers_other(section, out_s, mpopt)
Construct pretty printed lines for lim section headers.