mp.math_model_opf_dc_legacy

class mp.math_model_opf_dc_legacy

Bases: mp.math_model_opf_dc, mp.mm_shared_opf_legacy

mp.math_model_opf_dc - OPF math model for DC formulation w/legacy extensions.

Provides formluation-specific methods for handling legacy user customization of OPF problem.

Constructor Summary
math_model_opf_dc_legacy(mpc)
Method Summary
add_named_set(varargin)
def_set_types()
init_set_types()
build(nm, dm, mpopt)
add_vars(nm, dm, mpopt)
add_system_costs(nm, dm, mpopt)
add_system_constraints(nm, dm, mpopt)
legacy_user_var_names()