pwrs.power_models.pyomo.formulations.qc#

Quadratic-convex QCRM and QCLS Pyomo OPF formulations.

pwrs.power_models.pyomo.formulations.qc.build_qcls_power_model(mpc, pyo)[source]#

Build the lambda-strengthened quadratic-convex relaxation.

Parameters:
  • mpc (Any)

  • pyo (Any)

Return type:

PyomoPowerModel

pwrs.power_models.pyomo.formulations.qc.build_qcrm_power_model(mpc, pyo)[source]#

Build the recursive-McCormick quadratic-convex relaxation.

Parameters:
  • mpc (Any)

  • pyo (Any)

Return type:

PyomoPowerModel