[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
gEDA-user: dependent sources in gschem
- To: geda-user@xxxxxxxx
- Subject: gEDA-user: dependent sources in gschem
- From: "H. S." <hs.samix@xxxxxxxxx>
- Date: Mon, 12 Sep 2005 00:48:22 -0400
- Delivered-to: archiver@seul.org
- Delivered-to: geda-user-outgoing@seul.org
- Delivered-to: geda-user@seul.org
- Delivery-date: Mon, 12 Sep 2005 00:48:36 -0400
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type; b=pu3rAHChjej48gl1tT4AXv0XO8POG7Nxg7nFBgfZZz+ENf44OiwYJUew3B4o3Bn7HDK7XhS8YJrbBWMCtJTFdDnysbvTUDhsopRF+VGMuTS3reV9kjAlMUiPRBXdjJXv+jBkmsP2LaSlDGXbw+zWQ39Rd5pzwl86EVsVbLJk4lY=
- Reply-to: geda-user@xxxxxxxx
- Sender: owner-geda-user@xxxxxxxx
Hi,
I am trying to use a dependent source (CCCS) in an example for basic
circuit analysis. How do I specify a current source to be dependent on
a current through a resistor in a circuit in gschem?
Here is the circuit I am trying:
$> cat johnson-p-4_16.net
* gnetlist -v -g spice-sdb -o johnson-p-4_16.net johnson-p-4_16.sch
*********************************************************
* Spice file generated by
gnetlist
*
* spice-sdb version 10.9.2004 by SDB
--
*
* provides advanced spice netlisting capability. *
* Documentation at http://www.brorson.com/gEDA/SPICE/ *
*********************************************************
F1 1 2 unknown
R3 0 2 4
R2 1 2 3
R1 0 1 2
I1 0 1 15A
.END
I want F1 to be dependent on current "i" flowing from node1 to node0 through R1.
All help is appreciated,
thanks,
->HS