Magnetic refrigeration system with Peltier elements as thermal diodes is modeled. The physical and numerical models are explained in great detail. The model is verified and used for a parametric study. The effect of key parameters in the performance of the system is discussed.