# Behavioral inductor (current dependent) in LTspice

I am trying to make current dependent inductor in LTspice according my mesurements. LTspice includes feature flux where "x" is referred to inductor's current but when I used it in combination with my measured results flux=(2E-11*x*x - 3E-09*x + 1E-06)*x it does not work and gives me wrong value. Measured current reffers to value L=1uH but it should be L=1.19uH. Can anyone help me with this problem or give me any advice how to make current dependant inductor which will be represanting my measurements? If you need any further info please ask. Thank you very much in advance for your help.

The x signifies the derivative, so you have to integrate your expression, first, in order to obtain it correctly.

$f(x)=2*10^{-11}*x^2-3*10^{-9}*x+10^{-6}$
$\int{f(x)}{dx}=6.666*10^{-12}*x^3-1.5*10^{-9}*x^2+10^{-6}*x$