A spice model for near-field transient analysis of ferromagnetic grids