I can't understand how to use the variable inductor

I’m trying to use the variable inductor but I can’t have any success, can anyone share some work PLECS simulation, with a working variable inductor?

The component documentation shows several simple examples of the variable inductor. Several machine models use the variable inductor in their implementation, for example the Switched Reluctance Machine, but the models are quite sophisticated.

Do you have an example of what you are trying to model with the variable inductor? One point is that if you are trying to step change the absolute inductance of a component you can model non-physical behavior (i.e. step change in inductance results in a) a step change flux which is a continuous physical quantity b) step change in stored energy in the inductor without the energy being supplied electrically at the component terminals).

Attached an example of variable inductor using Mag-in core curves

tst2.plecs (28.1 KB)