Hello!
When trying to plot Gp circles near maximum Gp, it returns nan/nan values. So in other words, it should be possible to plot Gp for unconditionally stable S-parameters according to these equations:
K = rollet()
Gp_max = (K-sqrt((K^2) – 1)) * abs(S[2,1]/S[1,2])
Gp_circle = GpCircle(Gp_max)
but it returns nan/nan. Also circle radiuses for other Gp values are incorrect (center points seems okay). It seems that also GaCircle() function has the same bug. The same circuit gives expected circles in other simulation software (such as Ansoft Designer SV)
Marcis