-
Notifications
You must be signed in to change notification settings - Fork 151
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CPF bug when cpf_corrector fails on first iteration #21
Labels
Comments
abhyshr
pushed a commit
to abhyshr/matpower
that referenced
this issue
Sep 20, 2017
… from stable to unstable manifold. Elis Nycander, https://www.mail-archive.com/matpower-l@cornell.edu/msg06048.html, brought up a case where the operating point moves from stable to unstable manifold. Once on the unstable manifold, the continuation curve moves in the direction of lambda increase, which seems intuitively opposite to expected behavior (progress along the decreasing lambda direction). The reason for the lambda increase direction when on unstable manifold is because the tangent direction was always set towards lambda increase. This fix checks whether the operating point is on stable or unstable manifold (by checking the sign of minimum eigen value) and changes the direction accordingly. When on stable manifold, an increasing lambda direction is set, while a decreasing lambda direction on unstable manifold. Relevant discussion can be found here MATPOWER#21
rdzman
pushed a commit
that referenced
this issue
Sep 25, 2017
… from stable to unstable manifold. Elis Nycander, https://www.mail-archive.com/matpower-l@cornell.edu/msg06048.html, brought up a case where the operating point moves from stable to unstable manifold. Once on the unstable manifold, the continuation curve moves in the direction of lambda increase, which seems intuitively opposite to expected behavior (progress along the decreasing lambda direction). The reason for the lambda increase direction when on unstable manifold is because the tangent direction was always set towards lambda increase. This fix checks whether the operating point is on stable or unstable manifold (by checking the sign of minimum eigen value) and changes the direction accordingly. When on stable manifold, an increasing lambda direction is set, while a decreasing lambda direction on unstable manifold. Relevant discussion can be found here #21
abhyshr
pushed a commit
to abhyshr/matpower
that referenced
this issue
Oct 13, 2017
… from stable to unstable manifold. Elis Nycander, https://www.mail-archive.com/matpower-l@cornell.edu/msg06048.html, brought up a case where the operating point moves from stable to unstable manifold. Once on the unstable manifold, the continuation curve moves in the direction of lambda increase, which seems intuitively opposite to expected behavior (progress along the decreasing lambda direction). The reason for the lambda increase direction when on unstable manifold is because the tangent direction was always set towards lambda increase. This fix checks whether the operating point is on stable or unstable manifold (by checking the sign of minimum eigen value) and changes the direction accordingly. When on stable manifold, an increasing lambda direction is set, while a decreasing lambda direction on unstable manifold. Relevant discussion can be found here MATPOWER#21
abhyshr
pushed a commit
to abhyshr/matpower
that referenced
this issue
Dec 5, 2017
… from stable to unstable manifold. Elis Nycander, https://www.mail-archive.com/matpower-l@cornell.edu/msg06048.html, brought up a case where the operating point moves from stable to unstable manifold. Once on the unstable manifold, the continuation curve moves in the direction of lambda increase, which seems intuitively opposite to expected behavior (progress along the decreasing lambda direction). The reason for the lambda increase direction when on unstable manifold is because the tangent direction was always set towards lambda increase. This fix checks whether the operating point is on stable or unstable manifold (by checking the sign of minimum eigen value) and changes the direction accordingly. When on stable manifold, an increasing lambda direction is set, while a decreasing lambda direction on unstable manifold. Relevant discussion can be found here MATPOWER#21
abhyshr
pushed a commit
to abhyshr/matpower
that referenced
this issue
Dec 5, 2017
… from stable to unstable manifold. Elis Nycander, https://www.mail-archive.com/matpower-l@cornell.edu/msg06048.html, brought up a case where the operating point moves from stable to unstable manifold. Once on the unstable manifold, the continuation curve moves in the direction of lambda increase, which seems intuitively opposite to expected behavior (progress along the decreasing lambda direction). The reason for the lambda increase direction when on unstable manifold is because the tangent direction was always set towards lambda increase. This fix checks whether the operating point is on stable or unstable manifold (by checking the sign of minimum eigen value) and changes the direction accordingly. When on stable manifold, an increasing lambda direction is set, while a decreasing lambda direction on unstable manifold. Relevant discussion can be found here MATPOWER#21
rdzman
pushed a commit
that referenced
this issue
Dec 5, 2017
… from stable to unstable manifold. Elis Nycander, https://www.mail-archive.com/matpower-l@cornell.edu/msg06048.html, brought up a case where the operating point moves from stable to unstable manifold. Once on the unstable manifold, the continuation curve moves in the direction of lambda increase, which seems intuitively opposite to expected behavior (progress along the decreasing lambda direction). The reason for the lambda increase direction when on unstable manifold is because the tangent direction was always set towards lambda increase. This fix checks whether the operating point is on stable or unstable manifold (by checking the sign of minimum eigen value) and changes the direction accordingly. When on stable manifold, an increasing lambda direction is set, while a decreasing lambda direction on unstable manifold. Relevant discussion can be found here #21
rdzman
changed the title
CPF bug when cpf_corrector failes on first iteration
CPF bug when cpf_corrector fails on first iteration
Dec 6, 2017
Just to clarify, PR #25 referenced this issue by mistake. It is unrelated. |
rdzman
added a commit
that referenced
this issue
Dec 6, 2017
…rector step would produce a fatal error.
rdzman
added a commit
that referenced
this issue
Dec 6, 2017
…rector step would produce a fatal error.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have found a small bug in the CPF function. Suppose the base case power flow converges but the very first corrector step fails. Then the following happens
n = size(cpf_results.V, 2);
So the reason for this error is that the first parameter taken by the callback functions has two different functions. It is both
So the possibility of being in the final stage (because the corrector did not converge) in the very first iteration creates problems.
Working example code:
The text was updated successfully, but these errors were encountered: