Hey guys, im pretty new to LTSPice and would like to include a custom LED and custom BJT.
The LED I'm completely lost, for reference I would like the "High intensity white" LED XQEAWT-H0-0000-00000HDE7 from https://downloads.cree-led.com/files/ds/x/XLamp-XQE.pdf into my circuit. I've found a useful txt file which I've tried to edit the parameters of the LEDs.
With the help of our trusty ChatGPT, it came up with
.MODEL DLED3 D (IS=93.1P RS=42M N=3.25 BV=1.2 IBV=10U CJO=2.97P VJ=.75 M=.333 TT=4.32U)
But I need it to reflect this.

As for the BJT, I would like a TIP31CG. I've found a useful model for the TIP31C, but I believe they're arent the same.
The model that is already there is
*.model TIP31C ako:NSC_4F NPN() ; case TO-220
.MODEL TIP31C NPN(Is=2.447p Xti=3 Eg=1.11 Vaf=100 Bf=208.2 Ise=70.69p
+ Ne=1.565 Ikf=.9743 Nk=.6134 Xtb=1.5 Br=12.59 Isc=11.68n
+ Nc=1.835 Ikr=3.86 Rc=.4685 Cjc=142p Mjc=.4353 Vjc=.75 Fc=.5
+ Cje=188.5p Mje=.4878 Vje=.75 Tr=194.2n Tf=19.85n Itf=164.1
+ Xtf=5.945 Vtf=10 Rb=.1)
*$
and I need it to be in accordance to this datasheet https://au.mouser.com/datasheet/2/308/1/TIP31A_D-2320157.pdf.
Currently the simulation is giving something stupidly small and unrealistic, any help would be greatly appreciated
.
Cheers.
The LED I'm completely lost, for reference I would like the "High intensity white" LED XQEAWT-H0-0000-00000HDE7 from https://downloads.cree-led.com/files/ds/x/XLamp-XQE.pdf into my circuit. I've found a useful txt file which I've tried to edit the parameters of the LEDs.
With the help of our trusty ChatGPT, it came up with
.MODEL DLED3 D (IS=93.1P RS=42M N=3.25 BV=1.2 IBV=10U CJO=2.97P VJ=.75 M=.333 TT=4.32U)
But I need it to reflect this.

As for the BJT, I would like a TIP31CG. I've found a useful model for the TIP31C, but I believe they're arent the same.
The model that is already there is
*.model TIP31C ako:NSC_4F NPN() ; case TO-220
.MODEL TIP31C NPN(Is=2.447p Xti=3 Eg=1.11 Vaf=100 Bf=208.2 Ise=70.69p
+ Ne=1.565 Ikf=.9743 Nk=.6134 Xtb=1.5 Br=12.59 Isc=11.68n
+ Nc=1.835 Ikr=3.86 Rc=.4685 Cjc=142p Mjc=.4353 Vjc=.75 Fc=.5
+ Cje=188.5p Mje=.4878 Vje=.75 Tr=194.2n Tf=19.85n Itf=164.1
+ Xtf=5.945 Vtf=10 Rb=.1)
*$
and I need it to be in accordance to this datasheet https://au.mouser.com/datasheet/2/308/1/TIP31A_D-2320157.pdf.
Currently the simulation is giving something stupidly small and unrealistic, any help would be greatly appreciated
Cheers.