mp.dme_legacy_dcline_opf

class mp.dme_legacy_dcline_opf

Bases: mp.dme_legacy_dcline, mp.dme_shared_opf

mp.dme_legacy_dcline_opf - Data model element for legacy DC line for OPF.

To parent class mp.dme_legacy_dcline, adds costs, shadow prices on active and reactive flow 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

cost of active power flow (u/MW) [1]

mu_p_fr_lb

double

shadow price on MW flow lower bound at “from” end (u/MW) [1]

mu_p_fr_ub

double

shadow price on MW flow upper bound at “from” end (u/MW) [1]

mu_q_fr_lb

double

shadow price on lower bound of MVAr injection at “from” bus (u/degree) [1]

mu_q_fr_ub

double

shadow price on upper bound of MVAr injection at “from” bus (u/degree) [1]

mu_q_to_lb

double

shadow price on lower bound of MVAr injection at “to” bus (u/degree) [1]

mu_q_to_ub

double

shadow price on upper bound of MVAr injection at “to” bus (u/degree) [1]

Method Summary
main_table_var_names()
export_vars()
export_vars_offline_val()
have_cost()
build_cost_params(dm)
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)