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

* LTspice schematic (.asc):
Version 4
SHEET 1 1524 680
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 128 -240 80 -240
WIRE 192 -240 128 -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 800 -192 544 -192
WIRE 800 -176 800 -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 944 -96 864 -96
WIRE 1056 -96 1008 -96
WIRE 1136 -96 1056 -96
WIRE 1152 -96 1136 -96
WIRE 800 -80 800 -96
WIRE 864 -80 864 -96
WIRE 1056 -80 1056 -96
WIRE 1152 -80 1152 -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 800 -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 800 0 800 -48
WIRE 864 16 864 0
WIRE 1056 16 1056 -16
WIRE 1152 16 1152 -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 800 128 800 80
WIRE 800 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
LINE Normal 832 80 832 -176 2
SYMBOL cap -320 -288 R0
WINDOW 3 24 59 Left 2
SYMATTR Value .01
SYMATTR InstName C7
SYMBOL cap 400 432 R0
SYMATTR InstName C3
SYMATTR Value .001
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 -240 -288 R0
SYMATTR InstName C8
SYMATTR Value .022
SYMBOL cap 192 -208 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C5
SYMATTR Value 10
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 368 -208 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName D1
SYMATTR Value 1N4148
SYMBOL cap 1040 -80 R0
SYMATTR InstName C6
SYMATTR Value 112
SYMBOL res 528 -80 R0
SYMATTR InstName R11
SYMATTR Value 100K
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 LED 1136 -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 res 528 32 R0
SYMATTR InstName R10
SYMATTR Value 4.99K
SYMBOL res -48 512 R0
SYMATTR InstName R4
SYMATTR Value 16.2K
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 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 res -160 -64 R0
SYMATTR InstName R8
SYMATTR Value 6.34K
SYMBOL res 624 320 R0
SYMATTR InstName R1
SYMATTR Value .05
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 -48 128 R0
SYMATTR InstName R2
SYMATTR Value 200K
SYMBOL res -240 -224 R0
SYMATTR InstName R12
SYMATTR Value 200
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 diode -448 -16 R270
WINDOW 0 32 32 VTop 2
WINDOW 3 0 32 VBottom 2
SYMATTR InstName D7
SYMATTR Value 1N4007
SYMBOL res 208 -304 R0
SYMATTR InstName R9
SYMATTR Value 200K
SYMBOL ind2 880 16 R180
WINDOW 0 2 69 Right 2
WINDOW 3 1 40 Right 2
SYMATTR InstName L3
SYMATTR Value 5
SYMATTR Type ind
SYMBOL ind2 784 -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 784 -16 R0
WINDOW 0 1 43 Right 2
WINDOW 3 -2 70 Right 2
SYMATTR InstName L1
SYMATTR Value 80
SYMATTR Type ind
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 PowerProducts\\LT3799 224 224 R0
SYMATTR InstName U1
SYMBOL diode -480 -16 M270
WINDOW 0 32 32 VTop 2
WINDOW 3 0 32 VBottom 2
SYMATTR InstName D8
SYMATTR Value 1N4007
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 res -48 400 R0
SYMATTR InstName R3
SYMATTR Value 40.2K
SYMBOL schottky 944 -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 res -160 -176 R0
SYMATTR InstName R7
SYMATTR Value 1Meg
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 800 -80 0
FLAG 864 16 0
FLAG 1152 16 0
FLAG 1056 16 0
FLAG -16 -240 0
FLAG 544 144 0
FLAG -464 32 0
FLAG -304 -208 0
FLAG -224 -112 0
FLAG 1136 -96 OUT
FLAG 128 -240 IN
TEXT 832 -192 Bottom 2 !K1 L1 L2 L3 1.
TEXT 904 360 Left 2 !.tran 5m