* Z:\home\khalils\Downloads\files\data\raw_asc\LTC4079.asc
* Generated by LTspice 26.0.1 for Windows.
* Timing is Paused When NTC voltage out of range
* Current Limit to Control Die Temperature NOT MODELED
* Initial Condition Required on Capacitor\nto Avoid Bad Battery Shutdown
* Library below included based on ModelFile attribute of instance XU1 (C:\users\khalils\AppData\Local\LTspice\lib\sym\PowerProducts\LTC4079.asy)
R2 N004 N007 249K
R5 N006 N005 5K
V1 N001 0 PWL(0 0 100u 9)
Rthermistor N010 0 R=9.1K*exp(3447/(V(temp)+273) - 3477/300)
R4 N009 N010 9.1K
S1 N002 0 N003 0 SDIS
XU1 N001 N001 N008 N009 N010 N006 N007 N004 N002 0 LTC4079 TIMEOUT=-1 ;pnba IN)EN)PROG)NTCBIAS)NTC)_CHRG)FBG)FB)BAT)GND
V3 N003 0 PWL(0 0 180 0 +10u 1 +1 1 +10u 0)
D1 N001 N005 NSPW500BS
R3 N008 0 3K
C1 N002 0 4 IC=6
R1 N002 N004 1.54Meg
V2 TEMP 0 PWL(0 25 60 45 80 45 100 30)
.model D D
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.dio
.tran 300
.model SDIS SW(Ron=1 Roff=1G Vt=.5 Vh=-.3)
.lib LTC4079.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 6100 3220
WIRE 3168 928 2912 928
WIRE 3328 928 3168 928
WIRE 3360 928 3328 928
WIRE 3696 928 3648 928
WIRE 3872 928 3696 928
WIRE 4064 928 3872 928
WIRE 2912 944 2912 928
WIRE 3872 944 3872 928
WIRE 4064 944 4064 928
WIRE 4128 960 4112 960
WIRE 3168 992 3168 928
WIRE 4192 1008 4112 1008
WIRE 3328 1024 3328 928
WIRE 3360 1024 3328 1024
WIRE 3696 1024 3696 1008
WIRE 3696 1024 3648 1024
WIRE 3872 1024 3872 1008
WIRE 4192 1024 4192 1008
WIRE 2912 1040 2912 1024
WIRE 4064 1040 4064 1024
WIRE 3168 1120 3168 1056
WIRE 3216 1120 3168 1120
WIRE 3360 1120 3296 1120
WIRE 3696 1120 3696 1104
WIRE 3696 1120 3648 1120
WIRE 4192 1120 4192 1104
WIRE 3264 1216 3248 1216
WIRE 3360 1216 3344 1216
WIRE 3696 1216 3648 1216
WIRE 3696 1232 3696 1216
WIRE 3696 1312 3648 1312
WIRE 3696 1328 3696 1312
WIRE 2912 1344 2912 1312
WIRE 3504 1424 3504 1392
WIRE 3696 1424 3696 1408
WIRE 2912 1456 2912 1424
SYMBOL voltage 2912 1328 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V2
SYMATTR Value PWL(0 25 60 45 80 45 100 30)
SYMBOL res 3680 1312 R0
SYMATTR InstName Rthermistor
SYMATTR Value R=9.1K*exp(3447/(V(temp)+273) - 3477/300)
SYMBOL cap 3856 944 R0
WINDOW 123 24 63 Left 2
WINDOW 3 40 36 Left 2
SYMATTR Value2 IC=6
SYMATTR Value 4
SYMATTR InstName C1
SYMBOL res 3680 1008 R0
SYMATTR InstName R2
SYMATTR Value 249K
SYMBOL res 3312 1104 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R5
SYMATTR Value 5K
SYMBOL res 3680 1216 R0
SYMATTR InstName R4
SYMATTR Value 9.1K
SYMBOL LTC4079 3504 1120 R0
SYMATTR InstName U1
SYMATTR Value TIMEOUT=-1
SYMBOL LED 3152 992 R0
SYMATTR InstName D1
SYMATTR Value NSPW500BS
SYMBOL res 3360 1200 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R3
SYMATTR Value 3K
SYMBOL sw 4064 928 M0
WINDOW 0 -14 12 Right 2
WINDOW 3 -15 97 Right 2
SYMATTR InstName S1
SYMATTR Value SDIS
SYMBOL res 3680 912 R0
SYMATTR InstName R1
SYMATTR Value 1.54Meg
SYMBOL voltage 2912 928 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V1
SYMATTR Value PWL(0 0 100u 9)
SYMBOL voltage 4192 1008 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V3
SYMATTR Value PWL(0 0 180 0 +10u 1 +1 1 +10u 0)
FLAG 3504 1424 0
FLAG 3872 1024 0
FLAG 3248 1216 0
FLAG 2912 1040 0
FLAG 3696 1424 0
FLAG 2912 1456 0
FLAG 2912 1312 TEMP
FLAG 4064 1040 0
FLAG 4192 1120 0
FLAG 4128 960 0
TEXT 3776 1488 Left 2 !.tran 300\n.model SDIS SW(Ron=1 Roff=1G Vt=.5 Vh=-.3)
TEXT 3824 1272 Left 2 ;Timing is Paused When NTC voltage out of range
TEXT 3520 808 Bottom 2 ;Current Limit to Control Die Temperature NOT MODELED
TEXT 3984 912 Bottom 2 ;Initial Condition Required on Capacitor\nto Avoid Bad Battery Shutdown