A dynamic macromodel for distributed parameter magnetic microactuators