Dynamic 1D model of an Active Magnetic Regenerator: a parametric investigation