* Z:\tmp\asc_dec_bjh7r6w2\1787491796bd_saturating_inductor_dec2.asc
* Generated by LTspice 26.0.1 for Windows.
D21 N010 0 s
V31 N020 N021 0
F11 N002 0 V11 1
F31 N018 0 V31 {Is/.7}
R6 Vs N006 .5
R31 Vs N018 .5
R22 N010 0 1
R12 N005 0 1
V1 N015 N016 0
R5 Vs N001 .5
F21 N007 0 V21 1
L9 N015 N014 {L-Ls}
V11 N004 N005 0
C31 N019 0 {L}
R11 Vs N002 .5
L7 N012 N011 Flux={(L-Ls)*Is}*pwrs(tanh(pwrs(x/{Is},{n})),{1/n})
R2 Vs 1 .5
W1 N014 N015 V1 s
.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 48 -112 48 -80
WIRE 48 0 48 32
WIRE 48 -112 16 -112
WIRE -112 -112 -64 -112
WIRE -464 -112 -432 -112
WIRE -576 -112 -544 -112
WIRE 48 624 128 624
WIRE 48 128 128 128
WIRE 128 272 128 240
WIRE 128 160 128 128
WIRE -112 656 -112 624
WIRE -112 768 -112 736
WIRE -160 672 -160 624
WIRE -160 624 -240 624
WIRE -304 624 -304 656
WIRE -304 736 -304 768
WIRE -160 720 -160 768
WIRE -240 768 -240 720
WIRE -240 656 -240 624
WIRE -240 624 -304 624
WIRE -352 720 -352 768
WIRE -352 624 -432 624
WIRE -352 624 -352 672
WIRE -432 768 -432 736
WIRE -432 656 -432 624
WIRE 48 624 48 656
WIRE 48 736 48 768
WIRE 48 624 16 624
WIRE -112 624 -64 624
WIRE -464 624 -432 624
WIRE -576 624 -544 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 -768 -112 -736 -112
WIRE -992 368 -960 368
WIRE -736 512 -736 480
WIRE -992 128 -960 128
WIRE -880 128 -864 128
WIRE -864 128 -848 128
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 0 368 -16 368
WIRE -336 448 -336 368
WIRE -224 368 -224 448
WIRE -240 368 -224 368
WIRE -112 368 -96 368
WIRE -224 368 -192 368
WIRE -336 368 -320 368
WIRE -1424 128 -1392 128
WIRE -1312 128 -1280 128
WIRE -1200 128 -1168 128
WIRE -1312 368 -1280 368
WIRE -1200 368 -1168 368
WIRE -1424 -112 -1392 -112
WIRE -1312 -112 -1280 -112
WIRE -1168 448 -1168 464
WIRE -736 768 -736 736
WIRE -768 624 -752 624
WIRE -736 624 -736 656
WIRE -752 624 -736 624
SYMBOL Misc\\xvaristor 112 144 R0
SYMATTR InstName D21
SYMATTR Value s
SYMATTR Prefix D
SYMBOL voltage -80 624 R270
WINDOW 0 32 56 VTop 0
WINDOW 3 -32 56 Invisible 0
SYMATTR InstName V31
SYMATTR Value 0
SYMBOL f -432 -80 R0
WINDOW 0 16 0 Left 0
WINDOW 3 40 41 Left 0
WINDOW 123 16 80 Left 0
SYMATTR InstName F11
SYMATTR Value V11
SYMATTR Value2 1
SYMBOL f -432 656 R0
WINDOW 0 16 0 Left 0
WINDOW 3 40 41 Left 0
WINDOW 123 13 80 Left 0
SYMATTR InstName F31
SYMATTR Value V31
SYMATTR Value2 {Is/.7}
SYMBOL res -1408 144 R270
WINDOW 0 32 56 VTop 0
WINDOW 3 0 56 VBottom 0
SYMATTR InstName R6
SYMATTR Value .5
SYMBOL res -560 640 R270
WINDOW 0 32 56 VTop 0
WINDOW 3 0 56 VBottom 0
SYMATTR InstName R31
SYMATTR Value .5
SYMBOL res 32 144 R0
WINDOW 0 32 16 Left 0
WINDOW 3 32 96 Left 0
SYMATTR InstName R22
SYMATTR Value 1
SYMBOL res 32 -96 R0
WINDOW 0 32 16 Left 0
WINDOW 3 32 96 Left 0
SYMATTR InstName R12
SYMATTR Value 1
SYMBOL voltage -208 368 M90
WINDOW 0 -32 56 VBottom 0
WINDOW 3 32 56 VTop 0
SYMATTR InstName V1
SYMATTR Value 0
SYMBOL res -1408 -96 R270
WINDOW 0 32 56 VTop 0
WINDOW 3 0 56 VBottom 0
SYMATTR InstName R5
SYMATTR Value .5
SYMBOL f -432 160 R0
WINDOW 0 16 0 Left 0
WINDOW 3 40 41 Left 0
WINDOW 123 16 80 Left 0
SYMATTR InstName F21
SYMATTR Value V21
SYMATTR Value2 1
SYMBOL ind2 -224 384 M270
WINDOW 0 32 56 VTop 0
WINDOW 3 5 56 VBottom 0
SYMATTR InstName L9
SYMATTR Value {L-Ls}
SYMATTR Type ind
SYMBOL voltage -80 -112 R270
WINDOW 0 32 56 VTop 0
WINDOW 3 -32 56 Invisible 0
SYMATTR InstName V11
SYMATTR Value 0
SYMBOL cap -256 656 R0
WINDOW 0 32 0 Left 0
WINDOW 3 32 80 Left 0
SYMATTR InstName C31
SYMATTR Value {L}
SYMBOL res -560 -96 R270
WINDOW 0 32 56 VTop 0
WINDOW 3 0 56 VBottom 0
SYMATTR InstName R11
SYMATTR Value .5
SYMBOL ind2 -1184 384 M270
WINDOW 0 32 56 VTop 0
WINDOW 3 72 56 VCenter 0
SYMATTR InstName L7
SYMATTR Value Flux={(L-Ls)*Is}*pwrs(tanh(pwrs(x/{Is},{n})),{1/n})
SYMATTR Type ind
SYMBOL res -976 144 R270
WINDOW 0 32 56 VTop 0
WINDOW 3 0 56 VBottom 0
SYMATTR InstName R2
SYMATTR Value .5
SYMBOL csw -320 448 R270
WINDOW 0 0 -32 VLeft 0
WINDOW 3 0 112 VRight 0
SYMATTR InstName W1
SYMATTR Value V1 s
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 -576 -112 Vs
FLAG 128 272 0
FLAG -304 768 0
FLAG -240 768 0
FLAG -160 768 0
FLAG -112 768 0
FLAG 48 768 0
FLAG -432 768 0
FLAG -352 768 0
FLAG -576 624 Vs
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 -736 -112 0
FLAG -992 368 Vs
FLAG -736 512 0
FLAG -992 128 Vs
FLAG -864 128 1
FLAG -1424 128 Vs
FLAG -1168 128 0
FLAG -1168 464 0
FLAG -1424 -112 Vs
FLAG -736 768 0
FLAG -752 624 6