¿ªÔÆÌåÓý

Re: LTspice AKO


 

On Sun, Mar 23, 2025 at 03:46 PM, Tony Casey wrote:
On 23/03/2025 18:31, eetech00 via groups.io wrote:
LTspice 24.1.5
?
I thought AKO could be used with NJF.
?
Content of BJT_mod.txt:
...........
.model NJ AKO:NJ20 NJF()
.model NJ20 NJF ( VTO=-2.5 BETA=1m LAMBDA=0.01 RD=100 RS=50
+ CGD=2p CGS=5p IS=1e-14 PB=0.7 FC=0.5 )
..........
?
Error produced in log:

BJT_mod.txt(43): Syntax error: Unexpected input.
.model NJ AKO:NJ20 NJF()
? ? ? ? ? ? ? ? ? ? ?????????????????? ^^
I guess not?
?
I tried removing NJF() from AKO statement but it didn't help.
It does work for JFETs.
The simulation runs but I'm not confident its using the proper JFET parameters because it doesn't show them when it produces the error. It may be using JFET defaults.
It works in 24.1.4 and 24.0.12. In 24.1.4, you get an error message in the logfile, but it still works. I don't have 24.1.5 installed yet. The NJF() is superfluous. You already have defined NJ20 as an NFT.
Yes, I know. But I had to that for BJT AKO to work so I tried useing it here.
Do you have braces in the instantiation? Try removing them. There are plenty of nuances here.
Already did. Doesn't help.
?

Join [email protected] to automatically receive all group messages.