Performance Simulation of the Active Magnetic Regenerator under a Pulsed Magnetic Field