Fwd: pure inductance simulation

Josef Vukovic <[email protected]> Wed, 30 Jun 2010 23:30:09 +0200
Newsgroups gmane.comp.gnu.gnucap.general
Message-ID <[email protected]>
---------- Forwarded message ----------
From: Josef Vukovic <[email protected]>
Date: 2010/6/30
Subject: pure inductance simulation
To: [email protected]


Hello,

I have a question reagrdig my gnucap simulation of a pure inductance.

Here is my gnucap code:

Pure Inductance:

V 1 0 sin(0 220 50)
L 1 0 100m ic=0V

.print tran v(1) i(L)

.tran .001 .02 >AcXl.dat uic
.end


When I plot the simulated data with gnuplot I get
a Voltage leading current by 90 degrees, but the
current is only positive and don't change to negative
values. How can I simulate a pure inductance with gnucap?

regards
Josef Vukovic