We at Röcklinger always simulate the electrical design first, then we build the circuit, measure and improve the design. This loop continues until we are confident that the final design is flawless. We also like to share and prove our design. So here is a tip on how to simulate input impedance using LTspice.
Use a current source with the fixed magnitude of 1 Ampere:
From Ohms law we find that U = I * Z and as the current source is set to 1 Ampere then in this case the magnitude of the Voltage is equal to the Impedance.
Do an AC analysis and plot voltage of interest divided by the current source. Set the scale of Y-axis to linear and voila impedance is ploted.