mp.dme_gen_opf
- class mp.dme_gen_opf
Bases:
mp.dme_gen
,mp.dme_shared_opf
mp.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
tab
property:Name
Type
Description
cost_pg
mp.cost_table
active power cost (u/MW) [1]
cost_qg
mp.cost_table
reactive power cost (u/MVAr) [1]
mu_pg_lb
double
shadow price on active power output lower bound (u/MW) [1]
mu_pg_ub
double
shadow price on active power output upper bound (u/MW) [1]
mu_qg_lb
double
shadow price on reactive power output lower bound (u/MVAr) [1]
mu_qg_ub
double
shadow price on reactive power output upper bound (u/MVAr) [1]
The cost tables
cost_pg
andcost_qg
are 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)