pwrs.power_models.pyomo.formulations.dcp#
Active-power injection formulations for Pyomo OPF.
- pwrs.power_models.pyomo.formulations.dcp.build_dcmp_power_model(mpc, pyo)[source]#
Build the MATPOWER-compatible PowerModels DCMP formulation.
- Parameters:
mpc (Any)
pyo (Any)
- Return type:
- pwrs.power_models.pyomo.formulations.dcp.build_dcp_power_model(mpc, pyo)[source]#
Build the PowerModels DCP active-power-only formulation.
- Parameters:
mpc (Any)
pyo (Any)
- Return type:
- pwrs.power_models.pyomo.formulations.dcp.build_dcpll_power_model(mpc, pyo)[source]#
Build the PowerModels DC approximation with quadratic line losses.
- Parameters:
mpc (Any)
pyo (Any)
- Return type: