Thermodynamic Modeling of the C-Co-Mo and C-Mo-Ni Ternary Systems