This is an example of a model that works fine:

* Connections: Plate

* | Screen Grid

* | | Control Grid

* | | | Cathode

* | | | |

.SUBCKT KT88 P S G K

Esp 2 0 VALUE={V(P,K)+24.49*V(S,K)+189.9*V(G,K)}

E1 3 2 VALUE={8.301E-7*(PWR(V(2),1.5)+PWRS(V(2),1.5))/2}

E2 3 4 VALUE={8.301 E-7*PWR(24.49*V(S,K),1.5)*V(P,K)/40}

E3 5 4 VALUE={(1-V(4,2)/ABS(V(4,2)+0.001))/2}

R1 5 0 1.0K

Gk S K VALUE={V(3,2)}

Gp P S VALUE={0.95*(V(3,4)*(1-V(5,4))+V(3,2)*V(5,4))}

Cgk G K 8.0P

Cgs G S 8.0P

Cgp G P 1.2P

Cpk P K 12P

.ENDS KT88

And here is the model for a 6C45P I need to work, but can't figure out how:

Pspice Model

.subckt vtomega 1 2 3 ; plate grid cathode

+ params: mu=47.4501 ex=2.374193 kg1=268.615545 kp=485.735371 kvb=501.503636 rgi=300

+ ccg=2.4p cgp=4p ccp=.7p

e1 7 0 value= {v(1,3)/kp*log(1+exp(kp*(1/mu+v(2,3)/sqrt(kvb+v(1,3)*v(1,3)))))}

re1 7 0 1g

g1 1 3 value= {(pwr(v(7),ex)+pwrs(v(7),ex))/kg1}

rcp 1 3 1g

c1 2 3 {ccg}

c2 1 2 {cgp}

c3 1 3 {ccp}

r1 2 5 {rgi}

d3 5 3 dx

.model dx d(is=1n rs=1 cjo=10pf tt=1n)

.ends

Totally different syntax,I suscpect it has to to do with the .model statement at the end ( the manual states the the file will have either a .subckt or a .model statement, but not both, hmmm.

Any help would be welcome.

Thanx,

Casey Brown