mp.dme_reserve_gen
- class mp.dme_reserve_gen
Bases:
mp.dm_element
,mp.dme_shared_opf
mp.dme_reserve_gen
- Data model element for reserve generator.Implements the data element model for reserve generator elements.
Adds the following columns in the main data table, found in the
tab
property:Name
Type
Description
gen
integer
ID (
uid
) of corresponding generatorcost
double
reserve cost (u/MW) [1]
qty
double
available reserve quantity (MW)
ramp10
double
10-minute ramp rate (MW)
r
double
\(r\), reserve allocation (MW)
r_lb
double
lower bound on reserve allocation (MW)
r_ub
double
upper bound on reserve allocation (MW)
total_cost
double
total cost of allocated reserves (u) [1]
prc
double
reserve price (u/MVAr) [1]
mu_lb
double
shadow price on \(r\) lower bound (u/MW) [1]
mu_ub
double
shadow price on \(r\) upper bound (u/MW) [1]
mu_pg_ub
double
shadow price on capacity constraint (u/MW) [1]
- Property Summary
- gen
index of online gens (for online reserve gens)
- r_ub
upper bound on reserve qty (p.u.) for units that are on
- Method Summary
- name()
- label()
- labels()
- main_table_var_names()
- export_vars()
- export_vars_offline_val()
- update_status(dm)
- build_params(dm)
- pp_have_section_sum(mpopt, pp_args)
- pp_data_sum(dm, rows, out_e, mpopt, fd, pp_args)
- pp_have_section_det(mpopt, pp_args)
- pp_get_headers_det(dm, out_e, mpopt, pp_args)
- pp_data_row_det(dm, k, out_e, mpopt, fd, pp_args)
- pp_have_section_lim(mpopt, pp_args)
- pp_binding_rows_lim(dm, out_e, mpopt, pp_args)
- pp_get_headers_lim(dm, out_e, mpopt, pp_args)
- pp_data_row_lim(dm, k, out_e, mpopt, fd, pp_args)