I have problems understanding, in which order the equations are evaluated, especially in a nested simulation (s-param inside sweep) like this. Is there documentation about that?
This topic was modified 9 months ago by maelh. Reason: Convert all remaining http links to https links
Equations are evaluated at the time when they are needed.
However, you are right. The min() function should be improved to return the complex value. Thanks for pointing that out!
The problem with the schematic above is that xvalue() always corresponds to the first dependency, but you are trying to use the second dependency of S[1,1].