Hi all,

If the subcircuit and the model in it has the same name I got some 
strange error message.
This error message is not very useful

-------------
Gnucap 0.35
The Gnu Circuit Analysis Package
Never trust any version less than 1.0
Copyright 1982-2006, Albert Davis
Gnucap comes with ABSOLUTELY NO WARRANTY
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.
* NPN Bipolar transistor tests
* gnetlist -g spice-sdb -o dc_current_gain.net dc_current_gain.sch
pr dc I(V1) I(I1) V(in)
        ^ ? no match
pr dc I(V1) I(I1) V(in)
              ^ ? no match
pr dc I(V1) I(I1) V(in)
                    ^ ? no match
dc i1 -1m -10n *0.8 temperature=0 >dc_current_gain_t0.data
   ^ ? what's this?
#
 0.
dc i1 -1m -10n *0.8 temperature=25 >dc_current_gain_t25.data
   ^ ? what's this?

[...]
------------

simulation file and netlist attached.

Regards
Werner
* NPN Bipolar transistor tests

.get dc_current_gain.net

.pr dc I(V1) I(I1) V(in)
.dc i1 -1m -10n *0.8 temperature=0 >dc_current_gain_t0.data
.dc i1 -1m -10n *0.8 temperature=25 >dc_current_gain_t25.data
.dc i1 -1m -10n *0.8 temperature=50 >dc_current_gain_t50.data
.dc i1 -1m -10n *0.8 temperature=75 >dc_current_gain_t75.data
.dc i1 -1m -10n *0.8 temperature=100 >dc_current_gain_t100.data



.get saturation_voltages.net

.pr dc I(V1) V(in) V(out)
.dc i1 -50m -10n *0.8 temperature=0 >saturation_voltages_t0.data
.dc i1 -50m -10n *0.8 temperature=25 >saturation_voltages_t25.data
.dc i1 -50m -10n *0.8 temperature=50 >saturation_voltages_t50.data
.dc i1 -50m -10n *0.8 temperature=75 >saturation_voltages_t75.data
.dc i1 -50m -10n *0.8 temperature=100 >saturation_voltages_t100.data

* gnetlist -g spice-sdb -o dc_current_gain.net dc_current_gain.sch
*********************************************************
* Spice file generated by gnetlist                      *
* spice-sdb version 4.28.2007 by SDB --                 *
* provides advanced spice netlisting capability.        *
* Documentation at http://www.brorson.com/gEDA/SPICE/   *
*********************************************************
*vvvvvvvv  Included SPICE model from 
/home/werner/oss/geda/spicelib/model_library/nxp/bipolar/BC847BM.prm vvvvvvvv
*
.SUBCKT BC847BM 1 2 3
*
Q1 3 1 2 BC847BM 
+ AREA = 1
*
.MODEL BC847BM NPN 
+     IS = 1.822E-14 
+     NF = 0.9932 
+     ISE = 2.894E-16 
+     NE = 1.4 
+     BF = 324.4 
+     IKF = 0.109 
+     VAF = 82 
+     NR = 0.9931 
+     ISC = 9.982E-12 
+     NC = 1.763 
+     BR = 8.29 
+     IKR = 0.09 
+     VAR = 17.9 
+     RB = 10 
+     IRB = 5E-06 
+     RBM = 5 
+     RE = 0.649 
+     RC = 0.7014 
+     XTB = 0 
+     EG = 1.11 
+     XTI = 3 
+     CJE = 1.244E-11 
+     VJE = 0.7579 
+     MJE = 0.3656 
+     TF = 4.908E-10 
+     XTF = 9.51 
+     VTF = 2.927 
+     ITF = 0.3131 
+     PTF = 0 
+     CJC = 3.347E-12 
+     VJC = 0.5463 
+     MJC = 0.391 
+     XCJC = 0.6193 
+     TR = 9E-08 
+     CJS = 0 
+     VJS = 0.75 
+     MJS = 0.333 
+     FC = 0.979
*
*^^^^^^^^  End of included SPICE model from 
/home/werner/oss/geda/spicelib/model_library/nxp/bipolar/BC847BM.prm ^^^^^^^^
*
*==============  Begin SPICE netlist of main design ============
V1 1 0 DC 5V
X1 0 in 1 BC847BM
I1 in 0 DC 1uA
.end
_______________________________________________
Help-gnucap mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gnucap

Reply via email to