I am trying to construct a non linear inductor in LTspice and have a question regarding the two plots provided below. In the first image current is swept from -30A to 30A in steps. The result yields the required behavior where the initial inductance is 500uH and with 27A peak current the left over inductance is around 40 uH.
However, when using the same flux function measuring inductance across L1 the obtained result shows that with zero current the inital inductance is around 15mH, this is not correct.
I wonder if there is something I may do not understand here.
Spice netlist is provided below:
L1 ind1 0 Flux=0.007*tanh(0.072*x)
I1 0 ind1 PWL(0 0 1 30)
I2 0 ind2 {I_DC} AC {1/(2*pi)}
L2 ind2 0 Flux=0.007*tanh(0.072*x)
.tran 1
.step param I_DC -30 30 0.1
;.ac list 1
.backanno
.end