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

Re: gEDA-user: ngspice problems



On Sunday 20 February 2005 12:58, Peter Kaiser wrote:
> > It still lacks the plot of the voltage across nodes 1 and 2 (VAC), which
> > is one of the ones I want to show. It has VAC#branch, but that has a
> > magnitude of approx 2V, not the 200V that it should be.
>
> VAC#branch is the current through VAC. Would a current of 2A be the right
> value?

There's a 10ohm resistor as load, I = V/R = 200/10 == 20A?(assuming DC) I'm 
not sure how the diode bridge affects this, but 2A seems a little bit low to 
me.
In interactive mode I plotted I(1) and I(2), and they varied between 0 and 
200, which is sortof what I would expect, seeing as the output is not really 
DC. 

> May be the value V(1,2) is not covered by the command ".save all".
> Could you try ".save V(1,2) or may be the "define" command together
> with .control.

.save V(1,2) just saves V(1) and V(2) into the raw plot. 
I don't know how to use those define and .control things.

ngspice still segfaults when I run it in batch mode, without raw output.
I don't want to use interactive mode, because I want to specify what I want to 
see in my input file. 



Steven