LT library models in ngspice problem

Hi all,

I am new on this forum and lots of topics helped me a lot already, but now i cannot figure it out,

I am trying to use an LT library with LT6105 an simulate with NGspice (qucs-S). It smash an error and i have no idea why.

Note: Compatibility modes selected: ps lt

Circuit: * qucs 1.0.2 c:/users/sk/.qucs/active load tests_prj/lt6105 proba.sch

Error on line 0 or its substitute:
a.xx1.a2b xx1.n001 0 0 0 0 0 xx1.n006 0 xx1.ota xx1.g xx1.200u xx1.iout xx1.5u xx1.cout xx1.20p xx1.vhigh xx1.1e308 xx1.vlow -1e308
MIF-ERROR - unable to find definition of model -1e308
Simulation interrupted due to error!

the lib that I am using:

.SUBCKT LT6105 1 2 3 4 5 6
C1 2 6 1p
C2 6 3 1p
C3 2 1 1p
C4 1 3 1p
A2B N001 0 0 0 0 0 N006 0 OTA g=200u iout=5u Cout=20p Vhigh=1e308 Vlow=-1e308
D2 N006 0 DLIM
D3 1 3 DBIAS
D4 6 3 DBIAS
D5 2 3 DP
C8 N001 0 20p Rpar=100K noiseless
B3 N001 0 I=10udnlim(uplim(V(1),V(3)+44.11,.1), V(3)-.41, .1) + 1pV(1)
B4 0 N001 I=10udnlim(uplim(V(6),V(3)+44.1,.1), V(3)-.4, .1)+ 1pV(6)
A1B N001 0 0 0 0 0 N003 0 OTA g=200u iout=5u Cout=20p Vhigh=1e308 Vlow=-1e308
D8 N003 0 DLIM
S1 N006 0 3 1 SWH
S2 0 N003 1 3 SWL
C5 1 3 100f Rpar=1G
Q1 N004 N002 2 0 P temp=27
Q2 1 N002 2 0 P temp=27
Q3 3 N009 6 0 P temp=27
C6 N002 3 1f
C7 N009 3 1f
G3 N002 3 0 N003 10µ dir=1 vto=0
G1 N009 3 0 N006 10µ dir=1 vto=0
Q4 N004 N010 2 0 P temp=27
C13 N010 3 1f
G2 N010 3 0 N006 10µ dir=1 vto=0
C11 N004 3 100f Rpar=1G
C12 N003 N004 4p Rser=100k
D1 N004 4 DDROP
C10 4 3 100f Rpar=1G
C9 N004 N006 4p Rser=100k
C14 6 1 10f
.model SWL SW(Ron=1 Roff=1g vt=1.6 vh=-10m noiseless)
.model SWH SW(Ron=1 Roff=1g vt=-1.59 vh=-10m noiseless)
.model DLIM D(Ron=100 Roff=600g Vfwd=.8 Vrev=.8 epsilon=10m revepsilon=10m)
.model DBIAS D(Ron=1Meg Roff=1G Vfwd=1.4 epsilon=100m ilimit=20u)
.model DP D(Ron=1k Roff=1G Vfwd=.5 epsilon=100m ilimit=199.9u)
.model P PNP(BF=500 BR=1 Cjc=2f Cje=10f)
.model DDROP D(Ron=1 Roff=1Meg Vfwd=.9 epsilon=.3)
.ENDs LT6105

qucs-S netlist

  • Qucs 1.0.2 C:/Users/sklebitz/.qucs/Active Load tests_prj/lt6105 proba.sch

.INCLUDE “C:/qucs_s_1_0_2/qucs_s_win64/share/qucs-s/xspice_cmlib/include/ngspice_mathfunc.inc”

  • Qucs 1.0.2 C:/Users/sk/.qucs/Active Load tests_prj/lt6105 proba.sch

.INCLUDE “C:/qucs_s_1_0_2/qucs_s_win64/share/qucs-s/library/LT6105_tylko.lib”

V1 _net0 0 DC 10

R4 0 _net1 1

R3 _net1 _net0 0.2K

R5 _net0 _net2 100

R1 _net1 _net3 100

R2 _net4 0 1K

V2 _net5 0 DC 12

XLT6105 _net3 _net5 0 _net4 0 _net2 LT6105

.control

set filetype=ascii

op

print all > spice4qucs.cir.dc_op

destroy all

quit

.endc

.end

Your question is not connected to KiCad and thus is off-topic for this forum

The LT6105 model does use a construct

A2B N001 0 0 0 0 0 N006 0 OTA g=200u iout=5u Cout=20p Vhigh=1e308 Vlow=-1e308

which is completely LTSPICE only. The model is not compatible with ngspice.

Thanks for the answer.

So even with LT compatibility it is not possible to run those models?