Why current out of phase ?

Thread Starter

silv3r.m00n

Joined Apr 15, 2010
70
Rich (BB code):
AC Source connected to a resistor
v1 1 0 ac sin(0 100 60 0 0)
rload 1 0 2
.tran 1m 30m 
.plot tran v(1) i(v1)
.end
The above simple program shows the plot of voltage and current. And they are out of phase by 180 degree. The current is supposed to be in phase with voltage. Is the program wrong somewhere ?
 

Ghar

Joined Mar 8, 2010
655
180 degrees is the same as being negative.
The current direction is defined into the + terminal so the voltage source current is opposite the resistor current (i.e. 180 degree phase).
 
Top