This simple circuit uses the saturating inductor which has an inductance dependent on current.
Plot saturatingInductor.Psi versus saturatingInductor.i
saturatingInductor.Psi
saturatingInductor.i