I have some 1-port simulations and I would like to calculate the shunt capacitance and have it displayed on the data display window. I know how to calculate the capacitance but I don't know the syntax for either calculating in the schematic window or using an equation on the Data Display and calculating it there.

How do I access Im(Y11) and Frequency to make the calculations?

Thanks.

How do I access Im(Y11) and Frequency to make the calculations?

Thanks.

Yin=yin(S11, PortZ1)

Bin=imag(Yin)

Cap=Bin/(2*PI*freq)

Simulate and display Cap in a table on the data display to see the results.