help-gnucap
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-gnucap] netlist ngspice and gnucap


From: Dan McMahill
Subject: Re: [Help-gnucap] netlist ngspice and gnucap
Date: Wed, 14 Dec 2005 21:42:42 -0500
User-agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.7.6) Gecko/20050412

Hector Miuler Malpica Gallegos wrote:
Hello friends, because it does not work?  with ngspice he works well:

prueba.netlist
========================
Prueba
i1 0 1 dc 20u
q1 2 1 0 mod1
vammeter 3 2 dc 0
v1 3 0 dc

.model mod1 npn
.dc v1 0 2 0.05
.plot dc i(vammeter)
.plot dc v(1)
.end
========================


change

v1 3 0 dc

to

v1 3 0 dc 0

You have to give each voltage source a value even if the value will be swept via a .dc analysis.

Hope this helps.

-Dan







reply via email to

[Prev in Thread] Current Thread [Next in Thread]