UserWarning: number of encirclements does not match Nyquist criterion; #1207
Answered
by
murrayrm
oneEclipseUser1
asked this question in
Q&A
-
Beta Was this translation helpful? Give feedback.
Answered by
murrayrm
Apr 6, 2026
Replies: 1 comment
-
|
This error is occurring because with K = 1/2 the Nyquist curve goes through the -1 point and so the number of encirclements is not well defined. The You can use the following code to explore further: |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
oneEclipseUser1
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


This error is occurring because with K = 1/2 the Nyquist curve goes through the -1 point and so the number of encirclements is not well defined. The
nyquist_responsefunction (which is whatnyquist_plotcalls) checks to see if the number of encirclements matches the expected number of "unstable" poles, where an unstable pole is defined in the code as having real part >= 0.You can use the following code to explore further: