• WARNING: Tube/Valve amplifiers use potentially LETHAL HIGH VOLTAGES.
    Building, troubleshooting and testing of these amplifiers should only be
    performed by someone who is thoroughly familiar with
    the safety precautions around high voltages.

Vacuum Tube SPICE Models

Ex-Moderator
Joined 2011
6F6 Triode-Connected Model

There is a triode-connected model for the 6F6:

Code:
*
* Generic triode model: 6F6T
* Copyright 2003--2008 by Ayumi Nakabayashi, All rights reserved.
* Version 3.10, Generated on Sat Mar  8 22:40:04 2008
*            Plate
*            | Grid
*            | | Cathode
*            | | |
.SUBCKT 6F6T A G K
BGG   GG   0 V=V(G,K)+0.99999999
BM1   M1   0 V=(0.043621772*(URAMP(V(A,K))+1e-10))**-0.51782633
BM2   M2   0 V=(0.74337419*(URAMP(V(GG)+URAMP(V(A,K))/5.8829755)+1e-10))**2.0178263
BP    P    0 V=0.00053269576*(URAMP(V(GG)+URAMP(V(A,K))/7.9138819)+1e-10)**1.5
BIK   IK   0 V=U(V(GG))*V(P)+(1-U(V(GG)))*0.00030710831*V(M1)*V(M2)
BIG   IG   0 V=0.00019764236*URAMP(V(G,K))**1.5*(URAMP(V(G,K))/(URAMP(V(A,K))+URAMP(V(G,K)))*1.2+0.4)
BIAK  A    K I=URAMP(V(IK,IG)-URAMP(V(IK,IG)-(0.00037552047*URAMP(V(A,K))**1.5)))+1e-10*V(A,K)
BIGK  G    K I=V(IG)
* CAPS
CGA   G    A 4p
CGK   G    K 5p
CAK   A    K 6.9p
.ENDS
 
Greetings. I'm just getting up to speed on LTSpice. Loaded tubes per post #117 and they work fine. Unzipped the Ayumi files from the fist page of this thread. Do those go in the \lib\sym directory? Do I need to manually create corresponding .asy files for each of the Ayumi tubes and put them in the sym directory?
 
Greetings. I'm just getting up to speed on LTSpice. Loaded tubes per post #117 and they work fine. Unzipped the Ayumi files from the fist page of this thread. Do those go in the \lib\sym directory? Do I need to manually create corresponding .asy files for each of the Ayumi tubes and put them in the sym directory?

By default, LTspice will look in the working directory or \lib\sub, so I would put your subcircuit and library files there for starters. I personally keep my own models in a User folder under \lib\sub but do have to account for that in the .inc or .lib statement.

LTspice has built-in symbols for triodes and tetrodes that will work fine with the Ayumi models. You will find them in \lib\sym\Misc.
 
Thanks Ray. I can't figure out why I need to use a .inc directive. When I followed the instructions in post #117, those tubes work without a .inc directive.

If you are using Kevin's tube symbols these already refer to models in his library so no .inc or .lib directive is needed. But rather than have a specific symbol for each tube type you can use the generic triode.asy and tetrode.asy symbols included with LTspice. These built-in symbols don't know which tube type you are using and will need an include or library directive to specify that.

If Kevin's files work for you then by all means stick with them while you get familiar with LTspice. But keep in mind if you want to use a tube not in that library you can use the built-in symbols and a third-party subcircuit model for that tube.