Re: simple ngSPICE simulation headache
- From: "Fred Bartoli" <fred._canxxxel_this_bartoli@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 16 Feb 2006 11:40:30 +0100
"Jim Thompson" <To-Email-Use-The-Envelope-Icon@xxxxxxxxxxxxxxx> a écrit dans
le message de news:r5fvu1dh7hjr90k056u7qgnhpe6tq1ucij@xxxxxxxxxx
On 12 Feb 2006 14:52:13 -0800, "pstrang_nospam@xxxxxxxxxxxxxxxx"
<pstrang@xxxxxxxxx> wrote:
Thanks guys. Yea, I'm simulating a small sinusoidal signal ontop of a
DC source (just playing around).
In ngspice, the commands don't start with a '.'.
Are you sure? Then how do you differentiate between a transient
COMMAND and a T-line?
But yea, now I see
the source of the confusion. Hummm...still a mystery.
Leave it to the Eunuchs crowd to obfuscate the simple...
From....
http://ngspice.sourceforge.net/octavespice.html
* simulation de RC2
.control
tran 10n 10000n
write
.endc
Looks like the analysis command has to be "wrapped" in a
.control/.endc statement.
Don't know ngspice, but the .control .endc is the XSPICE standard control
block that allow lots of nice scripting.
Inside the block, no dot prefixing.
You can still use dotted commands with no control block.
IOW, either write:
..control
tran 10n 10000n
write
.endc
or:
..tran 10n 10000n
--
Thanks,
Fred.
.
- References:
- simple ngSPICE simulation headache
- From: pstrang_nospam@xxxxxxxxxxxxxxxx
- Re: simple ngSPICE simulation headache
- From: Jim Thompson
- Re: simple ngSPICE simulation headache
- From: pstrang_nospam@xxxxxxxxxxxxxxxx
- Re: simple ngSPICE simulation headache
- From: Jim Thompson
- simple ngSPICE simulation headache
- Prev by Date: Is Circuit Creator good?
- Next by Date: Can anyone help with these Spice models..........
- Previous by thread: Re: simple ngSPICE simulation headache
- Next by thread: Re: "Cool Touch" Soldering Tool
- Index(es):