* Z:\home\khalils\Downloads\files\data\raw_asc\LT3799-1.asc
* Generated by LTspice 26.0.1 for Windows.
C1 N011 0 .01
C2 N015 0 4.7
C3 N020 N022 .001
M1 N016 N018 N019 N019 BSC42DN25NS3
R1 N019 0 .05
R2 N014 N017 200K
R3 N017 N021 40.2K
R4 N021 0 16.2K
L1 N001 N016 80
L2 0 N006 5
L3 0 N007 5
C4 N006 N010 4.7p Rser=2K
C5 N004 0 10
R7 N001 N009 1Meg
R8 N009 0 6.34K
D1 N006 N004 1N4148
R9 N001 N004 200K
D2 N016 N013 GSD2004W-V
D3 N001 N013 DFLZ33 N=4
D4 N007 N008 MBRS360
C6 N008 0 112
D5 N008 0 L1HZ-5780100000000 N=6 M=2
I1 0 N004 pwl(0 0 10u 28 20u 0)
R10 N012 0 4.99K
R11 N006 N012 100K
D6 N002 N001 1N4007
D7 0 N003 1N4007
D8 0 N002 1N4007
D9 N003 N001 1N4007
V1 N002 N003 SINE(0 167 600)
C7 N001 0 .01
C8 N001 N005 .022
R12 N005 0 200
XU1 N017 N017 N021 N017 N014 N011 N020 N022 N012 N010 N004 MP_01 N015 N018 N019 N009 0 LT3799-1 ;pnba Ctrl1)Ctrl2)Ctrl3)Vref)_Fault)Ct)Comp+)Comp-)FB)DCM)Vin))INTVcc)Gate)Sense)Vin_sense)GND
.model D D
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.dio
.model NMOS NMOS
.model PMOS PMOS
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.mos
K1 L1 L2 L3 1.
.tran 5m
* Library below included based on ModelFile attribute of instance XU1 (C:\users\khalils\AppData\Local\LTspice\lib\sym\PowerProducts\LT3799-1.asy)
.lib LT3799-1.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1604 788
WIRE -304 -304 -464 -304
WIRE -224 -304 -304 -304
WIRE -144 -304 -224 -304
WIRE 224 -304 -144 -304
WIRE 640 -304 224 -304
WIRE -304 -288 -304 -304
WIRE -224 -288 -224 -304
WIRE 224 -288 224 -304
WIRE -544 -256 -576 -256
WIRE -464 -256 -464 -304
WIRE -464 -256 -480 -256
WIRE -448 -256 -464 -256
WIRE -352 -256 -384 -256
WIRE 0 -240 -16 -240
WIRE 192 -240 80 -240
WIRE -304 -208 -304 -224
WIRE -224 -208 -224 -224
WIRE 128 -192 112 -192
WIRE 224 -192 192 -240
WIRE 224 -192 224 -208
WIRE 224 -192 192 -192
WIRE 304 -192 224 -192
WIRE 544 -192 368 -192
WIRE 832 -192 544 -192
WIRE 832 -176 832 -192
WIRE -144 -160 -144 -304
WIRE -576 -144 -576 -256
WIRE -512 -144 -576 -144
WIRE -352 -144 -352 -256
WIRE -352 -144 -432 -144
WIRE -224 -112 -224 -128
WIRE 224 -112 224 -192
WIRE 960 -96 896 -96
WIRE 1072 -96 1024 -96
WIRE 1168 -96 1072 -96
WIRE 832 -80 832 -96
WIRE 896 -80 896 -96
WIRE 1072 -80 1072 -96
WIRE 1168 -80 1168 -96
WIRE -144 -64 -144 -80
WIRE 64 -64 -144 -64
WIRE 416 -64 384 -64
WIRE 544 -64 544 -192
WIRE 544 -64 480 -64
WIRE -144 -48 -144 -64
WIRE 640 -48 640 -304
WIRE 832 -48 640 -48
WIRE -576 -32 -576 -144
WIRE -544 -32 -576 -32
WIRE -464 -32 -480 -32
WIRE -448 -32 -464 -32
WIRE -352 -32 -352 -144
WIRE -352 -32 -384 -32
WIRE 640 -32 640 -48
WIRE 832 0 832 -48
WIRE 896 16 896 0
WIRE 1072 16 1072 -16
WIRE 1168 16 1168 -16
WIRE -464 32 -464 -32
WIRE -16 32 -32 32
WIRE 64 32 48 32
WIRE 544 32 544 16
WIRE 544 32 384 32
WIRE -144 48 -144 32
WIRE 544 48 544 32
WIRE 640 48 640 32
WIRE 64 128 -32 128
WIRE 400 128 384 128
WIRE 480 128 464 128
WIRE 640 128 640 112
WIRE 832 128 832 80
WIRE 832 128 640 128
WIRE -32 144 -32 128
WIRE 544 144 544 128
WIRE 640 144 640 128
WIRE 48 224 -32 224
WIRE 64 224 48 224
WIRE 592 224 384 224
WIRE 48 320 48 224
WIRE 64 320 48 320
WIRE 640 320 640 240
WIRE 640 320 384 320
WIRE 640 336 640 320
WIRE -32 416 -32 224
WIRE 48 416 48 320
WIRE 64 416 48 416
WIRE 416 416 384 416
WIRE 416 432 416 416
WIRE 640 432 640 416
WIRE -32 512 -32 496
WIRE 64 512 -32 512
WIRE 416 512 416 496
WIRE 416 512 384 512
WIRE -32 528 -32 512
WIRE 224 576 224 560
WIRE -32 624 -32 608
FLAG 224 576 0
FLAG -32 32 0
FLAG 480 128 0
FLAG 640 432 0
FLAG -32 624 0
FLAG 112 -192 0
FLAG -144 48 0
FLAG 832 -80 0
FLAG 896 16 0
FLAG 1168 16 0
FLAG 1072 16 0
FLAG -16 -240 0
FLAG 544 144 0
FLAG -464 32 0
FLAG -304 -208 0
FLAG -224 -112 0
SYMBOL cap 48 16 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C1
SYMATTR Value .01
SYMBOL cap 400 144 R270
WINDOW 0 32 32 VTop 2
WINDOW 3 0 32 VBottom 2
SYMATTR InstName C2
SYMATTR Value 4.7
SYMBOL cap 400 432 R0
SYMATTR InstName C3
SYMATTR Value .001
SYMBOL nmos 592 144 R0
WINDOW 0 55 25 Left 2
WINDOW 3 55 74 Left 2
WINDOW 123 55 102 Left 2
SYMATTR InstName M1
SYMATTR Value BSC42DN25NS3
SYMBOL res 624 320 R0
SYMATTR InstName R1
SYMATTR Value .05
SYMBOL res -48 128 R0
SYMATTR InstName R2
SYMATTR Value 200K
SYMBOL res -48 400 R0
SYMATTR InstName R3
SYMATTR Value 40.2K
SYMBOL res -48 512 R0
SYMATTR InstName R4
SYMATTR Value 16.2K
SYMBOL ind2 816 -16 R0
WINDOW 0 1 43 Right 2
WINDOW 3 -2 70 Right 2
SYMATTR InstName L1
SYMATTR Value 80
SYMATTR Type ind
SYMBOL ind2 816 -80 M180
WINDOW 0 2 69 Right 2
WINDOW 3 0 43 Right 2
SYMATTR InstName L2
SYMATTR Value 5
SYMATTR Type ind
SYMBOL ind2 912 16 R180
WINDOW 0 2 69 Right 2
WINDOW 3 1 40 Right 2
SYMATTR InstName L3
SYMATTR Value 5
SYMATTR Type ind
SYMBOL cap 480 -80 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
WINDOW 39 53 32 VTop 2
SYMATTR InstName C4
SYMATTR Value 4.7p
SYMATTR SpiceLine Rser=2K
SYMBOL cap 192 -208 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C5
SYMATTR Value 10
SYMBOL res -160 -176 R0
SYMATTR InstName R7
SYMATTR Value 1Meg
SYMBOL res -160 -64 R0
SYMATTR InstName R8
SYMATTR Value 6.34K
SYMBOL diode 368 -208 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName D1
SYMATTR Value 1N4148
SYMBOL res 208 -304 R0
SYMATTR InstName R9
SYMATTR Value 200K
SYMBOL diode 624 112 M180
WINDOW 0 32 32 Left 2
WINDOW 3 24 2 Left 2
SYMATTR InstName D2
SYMATTR Value GSD2004W-V
SYMBOL zener 624 -32 R0
WINDOW 0 30 8 Left 2
WINDOW 3 35 32 Left 2
WINDOW 123 24 58 Left 2
SYMATTR InstName D3
SYMATTR Value DFLZ33
SYMATTR Value2 N=4
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL schottky 960 -80 R270
WINDOW 0 32 32 VTop 2
WINDOW 3 0 32 VBottom 2
SYMATTR InstName D4
SYMATTR Value MBRS360
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL cap 1056 -80 R0
SYMATTR InstName C6
SYMATTR Value 112
SYMBOL LED 1152 -80 R0
WINDOW 123 43 97 Left 2
SYMATTR Value2 N=6 M=2
SYMATTR InstName D5
SYMATTR Value L1HZ-5780100000000
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL current 0 -240 M90
WINDOW 0 -32 40 VBottom 2
WINDOW 3 32 40 VTop 2
WINDOW 123 60 41 VTop 2
WINDOW 39 82 40 VTop 2
SYMATTR InstName I1
SYMATTR Value pwl(0 0
SYMATTR Value2 10u 28
SYMATTR SpiceLine 20u 0)
SYMBOL res 528 32 R0
SYMATTR InstName R10
SYMATTR Value 4.99K
SYMBOL res 528 -80 R0
SYMATTR InstName R11
SYMATTR Value 100K
SYMBOL diode -544 -240 R270
WINDOW 3 0 32 VBottom 2
WINDOW 0 32 32 VTop 2
SYMATTR Value 1N4007
SYMATTR InstName D6
SYMBOL diode -448 -16 R270
WINDOW 0 32 32 VTop 2
WINDOW 3 0 32 VBottom 2
SYMATTR InstName D7
SYMATTR Value 1N4007
SYMBOL diode -480 -16 M270
WINDOW 0 32 32 VTop 2
WINDOW 3 0 32 VBottom 2
SYMATTR InstName D8
SYMATTR Value 1N4007
SYMBOL diode -384 -240 M270
WINDOW 0 32 32 VTop 2
WINDOW 3 0 32 VBottom 2
SYMATTR InstName D9
SYMATTR Value 1N4007
SYMBOL voltage -528 -144 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 -32 56 VBottom 2
SYMATTR InstName V1
SYMATTR Value SINE(0 167 600)
SYMBOL cap -320 -288 R0
WINDOW 3 24 59 Left 2
SYMATTR Value .01
SYMATTR InstName C7
SYMBOL cap -240 -288 R0
SYMATTR InstName C8
SYMATTR Value .022
SYMBOL res -240 -224 R0
SYMATTR InstName R12
SYMATTR Value 200
SYMBOL PowerProducts\\LT3799-1 224 224 R0
SYMATTR InstName U1
TEXT 864 -192 Bottom 2 !K1 L1 L2 L3 1.
TEXT 936 360 Left 2 !.tran 5m
LINE Normal 864 80 864 -176 2