A thermodynamic model proposed for calculating the standard formation enthalpies of ternary alloy systems