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.
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.
Do you have braces in the instantiation? Try removing them. There
are plenty of nuances here.
--
Regards,
Tony