mp.mme_gen_opf
- class mp.mme_gen_opf
Bases:
mp.mme_gen
mp.mme_gen_opf
- Math model element abstract base class for generator for OPF.Math model element abstract base class for generator elements for OPF problems.
Implements methods to add costs, including piecewise linear cost variables, and to form an interior initial point for cost variables.
- Property Summary
- cost
struct for
cost
parameters with fields:poly_p
- polynomial costs for active power, struct returned bymp.cost_table.poly_params()
, with fields:have_quad_cost
i0
,i1
,i2
,i3
k
,c
,Q
poly_q
- polynomial costs for reactive power (same struct aspoly_p
)pwl
- piecewise linear costs for actve & reactive struct returned bymp.cost_table.pwl_params()
, with fields:n
,i
,A
,b
- Method Summary
- add_vars(mm, nm, dm, mpopt)
- add_costs(mm, nm, dm, mpopt)
- interior_x0(mm, nm, dm, x0)