mp.mme_gen_opf_dc

class mp.mme_gen_opf_dc

Bases: mp.mme_gen_opf

mp.mme_gen_opf_dc - Math model element for generator for DC OPF.

Math model element class for generator elements for DC OPF problems.

Implements methods for buliding cost parameters, adding piecewise linear cost constraints, and for updating the output data in the corresponding data model element for in-service generators from the math model solution.

Method Summary
add_constraints(mm, nm, dm, mpopt)
build_cost_params(dm)
data_model_update_on(mm, nm, dm, mpopt)