[Top][All Lists]

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

Re: [Help-gnucap] simple circuits

From: Al Davis
Subject: Re: [Help-gnucap] simple circuits
Date: Sat, 24 May 2003 17:33:22 -0600
User-agent: KMail/1.5.1

On Saturday 24 May 2003 04:37 pm, Jesse Goerz wrote:
> I'm an engineering student and I'm looking for an alternative
> to pspice I can use on my linux machine.  I have installed
> gnucap but after reading most of the docs I'm a little lost.
>  Right now I'm just trying to use it to check my
> homework/labs for an Electrical Networks class. Could someone
> explain a simple example of how to model a simple DC voltage
> divider circuit.  I think once I see that I should be able to
> figure it out.  So far I've gotten this far but I can't
> figure out how to put in a source let alone get the ouput:
> address@hidden:~$ gnucap
> GnuCap 0.30
> The Gnu Circuit Analysis Package
> Never trust any version less than 1.0
> Copyright 1982-2000, Albert Davis
> This is free software, and you are welcome
> to redistribute it under certain conditions
> according to the GNU General Public License.
> See the file "COPYING" for details
> -->R2 1 0 11k
> -->R1 2 1 1.8k
> -->

The netlist format is Spice compatible, but you are entering 
components in command mode.

Start by looking at the tutorial that comes with it.  In that 
version, I think it says "acs-tutorial", but that's ok.  The 
name has changed but everything else should apply.

One way to enter components is in the "build" mode ..  Just type 
the "build" command at the prompt and enter your netlist.

To run in batch mode (gnucap -b file) it takes Spice format.  
Without the "-b" it will load the netlist and go interactive.  
You can also read a Spice netlist with the "get" or "include" 

The version you are using is not the latest.  It is almost 2 
years old.  The current version is 0.33.  The new version has 
some nice features like line editing and history.

reply via email to

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