Like this?
The external variable “f” in “Equation” is equal to the internal variable “frequency” in the S-parameter simulation.
This allows us to calculate the impedance via S11: = mag(50*(1+S[1,1])/(1-S[1,1])) with respect to the internal variable “frequency” and also the theoretical impedance 2*pi*f*L where the variable “f” is the image of the internal variable “frequency”.