mp.dmce_gen_mpc2

class mp.dmce_gen_mpc2

Bases: mp.dmc_element

mp.dmce_gen_mpc2 - Data model converter element for generator for MATPOWER case v2.

Property Summary
pwl1

indices of single-block piecewise linear costs, all gens (automatically converted to linear cost)

Method Summary
name()
data_field()
table_var_map(dme, mpc)
default_export_data_table(spec)
start_cost_import(mpc, spec, vn)
start_cost_export(dme, mpc, spec, vn, ridx)
gen_cost_import(mpc, spec, vn, p_or_q)
gen_cost_export(dme, mpc, spec, vn, p_or_q, ridx)
static gencost2cost_table(gencost)
static cost_table2gencost(gencost0, cost, ridx)