Thermodynamic analysis of AlSi10Mg alloy