Thermodynamic calculations in the YAlC system