help-gnucap
[Top][All Lists]
Advanced

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

[Help-gnucap] Gnucap is complaining that my MOSFET is not a BJT


From: Bryan Poling
Subject: [Help-gnucap] Gnucap is complaining that my MOSFET is not a BJT
Date: Sun, 10 Oct 2010 11:02:14 -0500
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.12) Gecko/20100915 Thunderbird/3.0.8

Admittedly, I am probably doing something wrong here, but when I try to run a simulation on an interleaved switch-mode DC buck converter (in which I have 2 MOSFETS), I get a complaint that my second MOSFET is not a BJT. I cannot find anything anywhere where I suggest that it is, so I don't know what's going on here. I am pretty new to GnuCap (I have used BJT's before but not MOSFETS). Any help would be appreciated. Here is my Simulation Script:


* This File is generated automatically- Do not Modify Directly
* Header Component --- (Model Definitions)

.model 1N4004 D
.model StandardNMOS NMOS(LEVEL=1)

* Netlist Component
* Spice netlister for gnetlist
D2 0 5 1N4004
VControl2 4 5 PULSE(0 10 0 0 0 0.01 0.02)
L2 5 LoadVoltage 5
Q2 2 4 5 StandardNMOS
D1 0 3 1N4004
RLoad 0 LoadVoltage 1000
C1 0 LoadVoltage .001
VControl1 1 3 PULSE(0 10 0.01 0 0 0.01 0.02)
L1 3 LoadVoltage 5
VSource 2 0 20
Q1 2 1 3 StandardNMOS

* Simulation Component
.print tran v(nodes)
.tran 0 5 .001 > results.out
.end


reply via email to

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