* SPICE netlist
I1 0 N001 4m
R1 N001 N002 10
R2 N001 0 5K
D1 N001 0 SOLA
C1 N007 0 22
C2 N007 N008 1
C3 N009 0 4.7
C4 N013 0 .1
L1 N003 N004 22 Rser=50m
L2 N005 N006 22 Rser=50m
C5 N004 0 4.7 Rser=10m
C6 N004 N011 10m
C7 N011 0 10m
R3 N004 0 1K
V2 N014 0 5
I2 N011 N004 pwl(0 0 20u 430 40u 0)
I3 0 N011 pwl(0 0 20u 430 40u 0)
XU1 N011 N004 N009 0 0 0 N014 N002 NC_01 N007 N008 N003 N004 N006 N005 N012 N014 N014 N014 N012 N015 0 0 0 NC_02 N013 N010 NC_03 NC_04 0 0 0 0 LTC3331 ;pnba BAL)SCAP)Vin2)UV3)UV2)UV1)UV0)AC1)AC2)Vin)CAP)SW)Vout)SWB)SWA)BB_In)IPK0)IPK1)IPK2)BAT_Out)BAT_In)LBSEL)Float1)Float0)Ship)Vin3)Charge)PGVout)EH_ON)OUT0)OUT1)OUT2)GND
R4 N010 N012 10K
C8 N015 0 1m ic=3.4
C9 N012 0 4.7
.tran 1 startup

* LTspice schematic (.asc)
Version 4
SHEET 1 1680 976
WIRE -264 -456 -264 -488
WIRE -168 -456 -168 -488
WIRE -72 -456 -72 -488
WIRE 24 -456 24 -488
WIRE 120 -456 120 -488
WIRE 216 -456 216 -488
WIRE -744 -392 -840 -392
WIRE -648 -392 -744 -392
WIRE -568 -392 -648 -392
WIRE -424 -392 -488 -392
WIRE 408 -392 376 -392
WIRE 744 -392 488 -392
WIRE -840 -360 -840 -392
WIRE -744 -360 -744 -392
WIRE -648 -360 -648 -392
WIRE 408 -296 376 -296
WIRE 504 -296 488 -296
WIRE -840 -264 -840 -280
WIRE -744 -264 -744 -280
WIRE -648 -264 -648 -296
WIRE -504 -200 -584 -200
WIRE -424 -200 -504 -200
WIRE 504 -200 504 -296
WIRE 504 -200 376 -200
WIRE -584 -184 -584 -200
WIRE -504 -184 -504 -200
WIRE -584 -104 -584 -120
WIRE -504 -104 -504 -120
WIRE -424 -104 -504 -104
WIRE 392 -104 376 -104
WIRE 488 -104 392 -104
WIRE 600 -104 488 -104
WIRE 744 -104 744 -392
WIRE 744 -104 600 -104
WIRE 840 -104 744 -104
WIRE 744 -88 744 -104
WIRE 840 -88 840 -104
WIRE 600 -24 600 -104
WIRE -536 -8 -568 -8
WIRE -424 -8 -472 -8
WIRE 392 -8 392 -104
WIRE 392 -8 376 -8
WIRE 488 -8 488 -104
WIRE 744 8 744 -24
WIRE 840 8 840 -8
WIRE -424 88 -504 88
WIRE 488 88 488 56
WIRE 488 88 376 88
WIRE 600 88 600 56
WIRE 600 88 488 88
WIRE 488 104 488 88
WIRE 600 104 600 88
WIRE -504 184 -504 168
WIRE -424 184 -504 184
WIRE 488 184 488 168
WIRE 600 200 600 184
WIRE -504 280 -504 184
WIRE -424 280 -504 280
WIRE 424 280 376 280
WIRE 520 280 488 280
WIRE -504 312 -504 280
WIRE -344 360 -344 344
WIRE 56 360 56 344
WIRE 56 360 -344 360
WIRE 136 360 136 344
WIRE 136 360 56 360
WIRE 216 360 216 344
WIRE 216 360 136 360
WIRE -264 376 -264 344
WIRE -184 376 -184 344
WIRE -104 376 -104 344
WIRE -24 376 -24 344
WIRE 312 376 312 344
WIRE -344 392 -344 360
WIRE -504 408 -504 376
WIRE 312 472 312 440
WIRE -344 488 -344 472
FLAG -24 376 0
FLAG -840 -264 0
FLAG -744 -264 0
FLAG -648 -264 0
FLAG -584 -104 0
FLAG -568 -8 0
FLAG 520 280 0
FLAG -104 376 0
FLAG -184 376 0
FLAG -264 376 0
FLAG -264 -488 0
FLAG -168 -488 0
FLAG 120 -488 0
FLAG 488 184 0
FLAG 744 8 0
FLAG 840 8 0
FLAG -344 488 0
FLAG 600 200 0
FLAG 312 472 0
FLAG 24 -488 0
FLAG -72 -488 0
FLAG 216 -488 0
FLAG -504 408 0
SYMBOL current -840 -280 M180
SYMATTR InstName I1
SYMATTR Value 4m
SYMBOL res -584 -376 R270
SYMATTR InstName R1
SYMATTR Value 10
SYMBOL res -760 -376 R0
SYMATTR InstName R2
SYMATTR Value 5K
SYMBOL diode -664 -360 R0
SYMATTR InstName D1
SYMATTR Value SOLA
SYMBOL cap -600 -184 R0
SYMATTR InstName C1
SYMATTR Value 22
SYMBOL cap -520 -184 R0
SYMATTR InstName C2
SYMATTR Value 1
SYMBOL cap -472 -24 R90
SYMATTR InstName C3
SYMATTR Value 4.7
SYMBOL cap 424 296 R270
SYMATTR InstName C4
SYMATTR Value .1
SYMBOL ind 392 -376 R270
SYMATTR InstName L1
SYMATTR Value 22
SYMATTR SpiceLine Rser=50m
SYMBOL ind 392 -280 R270
SYMATTR InstName L2
SYMATTR Value 22
SYMATTR SpiceLine Rser=50m
SYMBOL cap 728 -88 R0
SYMATTR InstName C5
SYMATTR Value 4.7
SYMATTR SpiceLine Rser=10m
SYMBOL cap 472 -8 R0
SYMATTR Value 10m
SYMATTR InstName C6
SYMBOL cap 472 104 R0
SYMATTR Value 10m
SYMATTR InstName C7
SYMBOL res 824 -104 R0
SYMATTR InstName R3
SYMATTR Value 1K
SYMBOL voltage -344 376 R0
SYMATTR InstName V2
SYMATTR Value 5
SYMBOL current 600 56 M180
SYMATTR InstName I2
SYMATTR Value pwl(0 0 20u 430 40u 0)
SYMBOL current 600 184 M180
SYMATTR InstName I3
SYMATTR Value pwl(0 0 20u 430 40u 0)
SYMBOL PowerProducts\\LTC3331 -24 -56 R0
SYMATTR InstName U1
SYMBOL res -520 72 R0
SYMATTR InstName R4
SYMATTR Value 10K
SYMBOL cap 296 376 R0
SYMATTR Value2 ic=3.4
SYMATTR InstName C8
SYMATTR Value 1m
SYMBOL cap -520 312 R0
SYMATTR InstName C9
SYMATTR Value 4.7