I need to simulate a non-ideal inductor in SPICE (I'm using LtSpice) so that I can test the saturation behaviour of the inductor. I've used this link: The Arbitrary Inductor model - LTwiki and have been able to make the inductor saturate. But I was wondering if there are any better ways to simulate the saturation as the method in the link is rather simple.
Did you notice, that the LTSpice help file is referring to two different types of non-linear inductors? The tanh() characteristics discussed in the LTWiki seems to correspond to the simple first varaint. There's however a second built-in model with hysteresis. Other methods from literature are basically available with LTSpice behavioral simulation features.
I did read the about the built in model, but I'm not sure how I implement it and can't seem to find any documentation for using it.
Edit: I've seen the documentation about the second non-linear model. But I don't know how to apply it in LTSpice, as the example uses netlist, but I can't seem to edit the netlist in LTspice.