mp.dme_gen_opf
- class mp.dme_gen_opf
Bases:
mp.dme_gen,mp.dme_shared_opfmp.dme_gen_opf- Data model element for generator for OPF.To parent class
mp.dme_gen, adds costs, shadow prices on active and reactive generation limits, and pretty-printing for lim sections.Adds the following columns in the main data table, found in the
tabproperty:Name
Type
Description
cost_pgmp.cost_table
active power cost (u/MW) [1]
cost_qgmp.cost_table
reactive power cost (u/MVAr) [1]
mu_pg_lbdouble
shadow price on active power output lower bound (u/MW) [1]
mu_pg_ubdouble
shadow price on active power output upper bound (u/MW) [1]
mu_qg_lbdouble
shadow price on reactive power output lower bound (u/MVAr) [1]
mu_qg_ubdouble
shadow price on reactive power output upper bound (u/MVAr) [1]
The cost tables
cost_pgandcost_qgare defined as tables with the following columns:See also
mp.cost_table.- Method Summary
- main_table_var_names()
- export_vars()
- export_vars_offline_val()
- have_cost()
- build_cost_params(dm, dc)
- max_pwl_gencost()
- pretty_print(dm, section, out_e, mpopt, fd, pp_args)
- pp_have_section_lim(mpopt, pp_args)
- pp_binding_rows_lim(dm, out_e, mpopt, pp_args)
- pp_get_headers_lim(dm, out_e, mpopt, pp_args)
- pp_data_row_lim(dm, k, out_e, mpopt, fd, pp_args)