[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: Phase and Magnitude of Current



 On Fri 04/10/09  1:14 PM , Stuart Brorson sdb@xxxxxxxxxx sent:
> > I have this assignment for a circuit analysis
> class. We're supposed>to use pspice, but I'm having a couple of
> problems using the>software. 
> >
> > We're supposed to find the magnitude and phase
> of I, I_C, and>I_L. So I loaded up my netlist into ngspice, and
> I performed a>transient analysis with a step size of 5 ns and a
> duration of 200 ns: >
> > ngspice -> tran 5ns 200ns
> >
> > It gave me the voltage, which is good and all,
> but how do I get the>magnitude and phase of the current without doing
> it by hand>(i.e. only using ngspice)? Attached is a picture
> of the schematic (if>that's necessary).
> 
> Look at section 5.1 of this online document:
> 
> http://newton.ex.ac.uk/teaching/CDHW/Electronics2/userguide/sec
> 5.html
> then try something like
> 
> print mag(myVoltage)
> 

So spice won't actually calculate the current for me?

> 
> Stuart
> 
> 
> 
> 


_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user