The use of the first and of the second order phase magnetic transition alloys for an AMR refrigerator at room temperature: A numerical analysis of the energy performances