Modeling and characterization of the magnetocaloric effect in Ni2MnGa materials