Hi,
I am simulating the circuit given below using PSpice Student version and ngspice.
A Capacitor Connected Across a Sinusoidal Source
- vin 1 0 sin(0 1 1K 0 0 0) R1 1 2 1 C1 2 0 0.1m
- .tran 1us 2m .end
I see that the current plot is +(-)180 degree shifted! More specifically, I see a -cosine wave instead of a +cosine wave (for a sine wave voltage).
I am surprised to see this behaviour in both the Spice simulators. I also see something similar reported on another site:
(See "Once again, SPICE confusingly prints the current phase angle at a value equal to the real phase angle plus 180o (or minus 180o).")
Could somebody please explain why this is so? Is this an accepted bug or am I missing something.
Thanks, Anand