* Z:\tmp\asc_dec_bjh7r6w2\1787491796bd_saturating_inductor_dec1.asc
* Generated by LTspice 26.0.1 for Windows.
L6 0 N005 Flux={L-Ls}*limit(x,{-Is},{Is})+{Ls}*x
R8 Vs N014 .5
B2 2 0 V=if(abs(I(L2))>Is,0,V(1,2)*(L/Ls-1))
D31 N017 0 r
D32 0 N017 r
L9s N012 N011 {Ls}
L3 4 3 {L}
R21 Vs N006 .5
V21 N008 N009 0
Vs Vs 0 PULSE(-1 1 1m .10u .10u 2m 4m)
C21 N007 0 {L}
G11 0 N003 N002 0 1
R32 N017 0 1
R4 Vs 5 .5
R3 Vs 3 .5
L1 0 N001 {L}
R1 Vs N001 .5
.model D D
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.dio
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1340 1060
WIRE -112 -80 -112 -112
WIRE -112 32 -112 0
WIRE -160 -64 -160 -112
WIRE -160 -112 -240 -112
WIRE -304 -112 -304 -80
WIRE -304 0 -304 32
WIRE -160 -16 -160 32
WIRE -240 32 -240 -16
WIRE -240 -80 -240 -112
WIRE -240 -112 -304 -112
WIRE -352 -16 -352 32
WIRE -352 -112 -432 -112
WIRE -352 -112 -352 -64
WIRE -432 32 -432 0
WIRE -432 -80 -432 -112
WIRE -1024 -256 -1024 -272
WIRE 48 0 48 32
WIRE -112 -112 -64 -112
WIRE 192 624 192 672
WIRE 192 736 192 768
WIRE 128 768 128 736
WIRE 128 672 128 624
WIRE 128 624 192 624
WIRE -464 -112 -432 -112
WIRE -576 -112 -544 -112
WIRE -1024 -352 -1024 -384
WIRE -1024 -384 -976 -384
WIRE 48 624 128 624
WIRE 48 128 128 128
WIRE -112 656 -112 624
WIRE -112 768 -112 736
WIRE -160 672 -160 624
WIRE -160 624 -240 624
WIRE -160 720 -160 768
WIRE 48 624 48 656
WIRE 48 736 48 768
WIRE 48 624 16 624
WIRE -112 624 -64 624
WIRE -112 160 -112 128
WIRE -112 272 -112 240
WIRE -160 176 -160 128
WIRE -160 128 -240 128
WIRE -304 128 -304 160
WIRE -304 240 -304 272
WIRE -160 224 -160 272
WIRE -240 272 -240 224
WIRE -240 160 -240 128
WIRE -240 128 -304 128
WIRE -352 224 -352 272
WIRE -352 128 -432 128
WIRE -352 128 -352 176
WIRE -432 272 -432 240
WIRE -432 160 -432 128
WIRE 48 128 48 160
WIRE 48 240 48 272
WIRE 48 128 16 128
WIRE -112 128 -64 128
WIRE -464 128 -432 128
WIRE -576 128 -544 128
WIRE -992 -112 -960 -112
WIRE -880 -112 -848 -112
WIRE -768 -112 -736 -112
WIRE -992 368 -960 368
WIRE -880 368 -864 368
WIRE -864 368 -848 368
WIRE -736 512 -736 480
WIRE -768 368 -752 368
WIRE -736 368 -736 400
WIRE -752 368 -736 368
WIRE -992 128 -960 128
WIRE -880 128 -864 128
WIRE -864 128 -848 128
WIRE -736 272 -736 240
WIRE -768 128 -752 128
WIRE -736 128 -736 160
WIRE -752 128 -736 128
WIRE -576 368 -544 368
WIRE -464 368 -432 368
WIRE -336 448 -336 528
WIRE -352 368 -336 368
WIRE -224 448 -240 448
WIRE -320 448 -336 448
WIRE -224 528 -240 528
WIRE -320 528 -336 528
WIRE -224 528 -224 448
WIRE -336 448 -336 368
WIRE -224 368 -224 448
WIRE -240 368 -224 368
WIRE -224 368 -192 368
WIRE -336 368 -320 368
WIRE -1312 128 -1280 128
WIRE -1200 128 -1168 128
WIRE -1200 368 -1168 368
WIRE -1424 624 -1392 624
WIRE -1312 624 -1280 624
WIRE -1200 624 -1168 624
WIRE -1200 -112 -1168 -112
WIRE -1168 448 -1168 464
WIRE -992 624 -960 624
WIRE -880 624 -864 624
WIRE -864 624 -848 624
SYMBOL ind2 -1184 144 M270
WINDOW 0 32 56 VTop 0
WINDOW 3 72 56 VCenter 0
SYMATTR InstName L6
SYMATTR Value Flux={L-Ls}*limit(x,{-Is},{Is})+{Ls}*x
SYMATTR Type ind
SYMBOL res -1408 640 R270
WINDOW 0 32 56 VTop 0
WINDOW 3 0 56 VBottom 0
SYMATTR InstName R8
SYMATTR Value .5
SYMBOL bv -736 144 R0
WINDOW 0 16 16 Left 0
WINDOW 3 -16 104 Right 0
SYMATTR InstName B2
SYMATTR Value V=if(abs(I(L2))>Is,0,V(1,2)*(L/Ls-1))
SYMBOL diode 112 672 R0
WINDOW 0 32 -16 Left 0
WINDOW 3 32 64 Left 0
SYMATTR InstName D31
SYMATTR Value r
SYMBOL diode 176 736 M180
WINDOW 0 32 80 Left 0
WINDOW 3 32 0 Left 0
SYMATTR InstName D32
SYMATTR Value r
SYMBOL ind2 -336 384 M270
WINDOW 0 32 56 VTop 0
WINDOW 3 5 56 VBottom 0
SYMATTR InstName L9s
SYMATTR Value {Ls}
SYMATTR Type ind
SYMBOL ind2 -752 384 M270
WINDOW 0 32 56 VTop 0
WINDOW 3 5 56 VBottom 0
SYMATTR InstName L3
SYMATTR Value {L}
SYMATTR Type ind
SYMBOL res -560 144 R270
WINDOW 0 32 56 VTop 0
WINDOW 3 0 56 VBottom 0
SYMATTR InstName R21
SYMATTR Value .5
SYMBOL voltage -80 128 R270
WINDOW 0 32 56 VTop 0
WINDOW 3 -32 56 Invisible 0
SYMATTR InstName V21
SYMATTR Value 0
SYMBOL voltage -1024 -368 R0
WINDOW 123 32 56 VTop 0
WINDOW 39 32 56 VTop 0
WINDOW 3 -32 144 Left 0
WINDOW 0 16 16 Left 0
SYMATTR Value PULSE(-1 1 1m .10u .10u 2m 4m)
SYMATTR InstName Vs
SYMBOL cap -256 160 R0
WINDOW 0 32 0 Left 0
WINDOW 3 32 80 Left 0
SYMATTR InstName C21
SYMATTR Value {L}
SYMBOL g -304 -96 R0
WINDOW 0 16 16 Left 0
WINDOW 3 16 96 Left 0
SYMATTR InstName G11
SYMATTR Value 1
SYMBOL res 32 640 R0
WINDOW 0 32 16 Left 0
WINDOW 3 32 96 Left 0
SYMATTR InstName R32
SYMATTR Value 1
SYMBOL res -976 640 R270
WINDOW 0 32 56 VTop 0
WINDOW 3 0 56 VBottom 0
SYMATTR InstName R4
SYMATTR Value .5
SYMBOL res -976 384 R270
WINDOW 0 32 56 VTop 0
WINDOW 3 0 56 VBottom 0
SYMATTR InstName R3
SYMATTR Value .5
SYMBOL ind2 -752 -96 M270
WINDOW 0 32 56 VTop 0
WINDOW 3 5 56 VBottom 0
SYMATTR InstName L1
SYMATTR Value {L}
SYMATTR Type ind
SYMBOL res -976 -96 R270
WINDOW 0 32 56 VTop 0
WINDOW 3 0 56 VBottom 0
SYMATTR InstName R1
SYMATTR Value .5
FLAG -1024 -256 0
FLAG -304 32 0
FLAG -240 32 0
FLAG -160 32 0
FLAG -112 32 0
FLAG 48 32 0
FLAG -432 32 0
FLAG -352 32 0
FLAG 192 768 0
FLAG 128 768 0
FLAG -576 -112 Vs
FLAG -976 -384 Vs
FLAG -160 768 0
FLAG -112 768 0
FLAG 48 768 0
FLAG -304 272 0
FLAG -240 272 0
FLAG -160 272 0
FLAG -112 272 0
FLAG 48 272 0
FLAG -432 272 0
FLAG -352 272 0
FLAG -576 128 Vs
FLAG -992 -112 Vs
FLAG -736 -112 0
FLAG -992 368 Vs
FLAG -736 512 0
FLAG -864 368 3
FLAG -752 368 4
FLAG -992 128 Vs
FLAG -736 272 0
FLAG -864 128 1
FLAG -752 128 2
FLAG -576 368 Vs
FLAG -1168 128 0
FLAG -1168 464 0
FLAG -1424 624 Vs
FLAG -1168 624 0
FLAG -1168 -112 0
FLAG -992 624 Vs
FLAG -864 624 5