I'm trying to match the input of a textbook bipolar NPN cascode, in ADS, on a single frequency (not needed for anything, just for my learning).
I've built up the model and attached a 50ohm port to the input. I biased the amplifier properly and verified the voltages and currents with DC simulation. I then selected the S-parameter simulation, and turned on the Z-parameters as well, so that I can directly plot the input impedances (real and imaginary parts) seen by the input port.
I then ran the S-parameter simulation, and got the Z-parameters. Then I built the input matching network at the frequency of interest, and ran the sims again. The input impedance seen by the port at the frequency of interest is 50+j0 after matching, but the S1,1 Smith chart shows a totally different story (capacitive).
Just for curiosity, I tried to model the input impedance of the transistor amplifier with discrete RC parts, and applied the matching network on it, and in that case both the Z-parameters and the S1,1 Smith chart agreed and showed perfect match.
I'm stuck, not knowing why the transistor input impedance is making the S-params and the Z-params look different, and don't know how to fix this. The amplifier is BTW making 12dB'ish of gain.