StanfordASL / unbalanced-opf-toolkit

A general code base to formulate and solve unbalanced optimal power flow (OPF) problems written in MATLAB.
MIT License
21 stars 5 forks source link

Current and power flow computation from Gan SDP is innacurate for networks with line capacitance #2

Closed estandiaa closed 5 years ago

estandiaa commented 5 years ago

PowerFlowSurrogate_Gan2014_SDPtest works fine for networks without line_capacitance. However, there is an unacceptable but small (~1e-4) error for networks with line_capacitance. I believe this is due to the way shunts are included in the BFM formulation.

estandiaa commented 5 years ago

The problem also happens for IEEE 13 manual, in the link with the switch. This causes PowerFlowSurrogate_Gan2014_LPtest/TestPowerFlowSurrogate_Gan2014_LP to fail.

estandiaa commented 5 years ago

Idea: do regression testing for a GLM with line_capacitance set to true. See if it passes.

estandiaa commented 5 years ago

Decided to remove support for line capacitance in Gan 2014.