[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-gnucap] Node numbers reorder?
From: |
Fredrik Jonsson |
Subject: |
[Help-gnucap] Node numbers reorder? |
Date: |
Sun, 20 Feb 2005 23:13:06 +0100 |
User-agent: |
Mozilla Thunderbird 1.0 (X11/20041206) |
I am running the net-list below and getting a little weird results.
For example: since the voltage source vcc is connected between node 6
and ground, I am expecting to see 15 volts at note 6 when calculating
the dc operating point. Instead I see 15 volts at node 4.
Output result from simulator:
Test amplifier
# v(1) v(2) v(3) v(4) v(5)
v(6) v(7) v(8)
300.15 0. 1.6389 1.6389 15. 9.0997
0.86837 8.339 0.
If I change the order of the components in the net-list the node numbers
shift around.
If I want to probe nodes for example in AC simulations I have to use the
"new" node number assigned by the simulator.
What is going on here?
I am using Gnucap 2005.01.27 RCS 25.11 on Linux (Fedora core 3)
compiled with gcc 3.4.3
br
/Fredrik
Net-list:
Test amplifier
*
c1 1 8 10u
r1 8 2 10k
r2 2 0 44k
r3 6 4 6.8k
r4 3 0 1k
r6 5 0 15k
r5 2 5 170k
c2 3 0 10u
c3 5 7 10u
q1 4 2 3 0 npn1
q5 6 4 5 0 npn1
vcc 6 0 15
vin 1 0 dc=0 ac=1
.model npn1 NPN (BF=400)
.print op v(nodes)
.op
- [Help-gnucap] Node numbers reorder?,
Fredrik Jonsson <=