mp.mme_gen_opf_ac

class mp.mme_gen_opf_ac

Bases: mp.mme_gen_opf

mp.mme_gen_opf_ac - Math model element for generator for AC OPF.

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

Implements methods for buliding and adding PQ capability constraints, dispatchable load power factor constraints, polynomial costs, 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)
add_costs(mm, nm, dm, mpopt)
pq_capability_constraint(dme, base_mva)

from legacy makeApq()

has_pq_cap(gen, upper_lower)

from legacy hasPQcap()

disp_load_constant_pf_constraint(dm)

from legacy makeAvl()

build_cost_params(dm)
data_model_update_on(mm, nm, dm, mpopt)