Thermoelectric and magnetic properties of Yb2MgSi2 prepared by spark plasma sintering method