mp.dm_converter_mpc2_legacy
- class mp.dm_converter_mpc2_legacy
Bases:
mp.dm_converter_mpc2
mp.dm_converter_mpc2_legacy
- Legacy MATPOWER data model converter for MATPOWER case v2.Adds to
mp.dm_converter_mpc2
the ability to handle legacy user customization.- mp.dm_converter_mpc2_legacy Methods:
legacy_user_mod_inputs()
- pre-process legacy inputs for use-defined customizationlegacy_user_nln_constraints()
- pre-process legacy inputs for user-defined nonlinear constraints
See also
mp.dm_converter
,mp.dm_converter_mpc2
,mp.task_opf_legacy
.- Method Summary
- legacy_user_mod_inputs(dm, mpopt, dc)
Handle pre-processing of inputs related to legacy user-defined variables, costs, and constraints. This includes optional
mpc
fieldsA
,l
,u
,N
,fparm
,H1
,Cw
,z0
,zl
,zu
anduser_constraints
.
- legacy_user_nln_constraints(dm, mpopt)
Handle pre-processing of inputs related to legacy user-defined non-linear constraints, specifically optional
mpc
fieldsuser_constraints.nle
anduser_constraints.nli
.Called by
legacy_user_mod_inputs()
method.