pwrs.power_models.pyomo.rectangular#

Rectangular-voltage components shared by ACR and IVR formulations.

pwrs.power_models.pyomo.rectangular.add_rectangular_angle_constraints(problem, pyo, *, per_branch=False)[source]#

Add tangent angle bounds over bus pairs or individual branches.

Parameters:
Return type:

None

pwrs.power_models.pyomo.rectangular.add_rectangular_branch_voltage_expressions(problem, pyo)[source]#

Add real and imaginary branch voltage-product expressions.

Parameters:
Return type:

None

pwrs.power_models.pyomo.rectangular.add_rectangular_reference_constraints(problem, pyo)[source]#

Fix the imaginary voltage at reference buses.

Parameters:
Return type:

None

pwrs.power_models.pyomo.rectangular.add_rectangular_voltage_magnitude_constraints(problem, pyo)[source]#

Constrain the magnitude of each rectangular bus voltage.

Parameters:
Return type:

None

pwrs.power_models.pyomo.rectangular.add_rectangular_voltage_variables(problem, pyo)[source]#

Add bounded real and imaginary bus-voltage variables.

Parameters:
Return type:

None