indigo33
Newbie level 2
Hi,
I did the following analysis of a simple RC circuit in ngspice, it works fine.
V1 1 0 1
R1 1 2 100K
C1 2 0 10u
.ic V(1)=0 V(2)=0
.tran 0.2s 5s
.plot tran v(2,0)
.end
But, if I invert the order of R and C, the analysis starts with the capacitor already charge. Why? When components are in series, does the order matter?
V1 1 0 1
C1 1 2 10u
R1 2 0 100K
.ic V(1)=0 V(2)=0
.tran 0.2s 5s
.plot tran v(1,2)
.end
I did the following analysis of a simple RC circuit in ngspice, it works fine.
V1 1 0 1
R1 1 2 100K
C1 2 0 10u
.ic V(1)=0 V(2)=0
.tran 0.2s 5s
.plot tran v(2,0)
.end
But, if I invert the order of R and C, the analysis starts with the capacitor already charge. Why? When components are in series, does the order matter?
V1 1 0 1
C1 1 2 10u
R1 2 0 100K
.ic V(1)=0 V(2)=0
.tran 0.2s 5s
.plot tran v(1,2)
.end