Hostname: page-component-586b7cd67f-t7fkt Total loading time: 0 Render date: 2024-11-23T01:59:02.980Z Has data issue: false hasContentIssue false

Sensitivity estimation for calculated phase equilibria

Published online by Cambridge University Press:  19 October 2020

Richard Otis*
Affiliation:
Engineering and Science Directorate, Jet Propulsion Laboratory, California Institute of Technology, Pasadena, California 91109, USA
Brandon Bocklund
Affiliation:
Department of Materials Science and Engineering, Pennsylvania State University, University Park, Pennsylvania 16802, USA
Zi-Kui Liu
Affiliation:
Department of Materials Science and Engineering, Pennsylvania State University, University Park, Pennsylvania 16802, USA
*
a)Address all correspondence to this author. e-mail: richard.otis@jpl.nasa.gov

Abstract

The development of a consistent framework for Calphad model sensitivity is necessary for the rational reduction of uncertainty via new models and experiments. In the present work, a sensitivity theory for Calphad was developed, and a closed-form expression for the log-likelihood gradient and Hessian of a multi-phase equilibrium measurement was presented. The inherent locality of the defined sensitivity metric was mitigated through the use of Monte Carlo averaging. A case study of the Cr–Ni system was used to demonstrate visualizations and analyses enabled by the developed theory. Criteria based on the classical Cramér–Rao bound were shown to be a useful diagnostic in assessing the accuracy of parameter covariance estimates from Markov Chain Monte Carlo. The developed sensitivity framework was applied to estimate the statistical value of phase equilibria measurements in comparison with thermochemical measurements, with implications for Calphad model uncertainty reduction.

Type
Invited Feature Paper
Creative Commons
Creative Common License - CCCreative Common License - BY
This is an Open Access article, distributed under the terms of the Creative Commons Attribution licence (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted re-use, distribution, and reproduction in any medium, provided the original work is properly cited.
Copyright
Copyright © The Author(s), 2020, published on behalf of Materials Research Society by Cambridge University Press

Introduction

Calphad-based thermodynamic models are routinely used to probe the phase stability in multicomponent systems. Computational efficiency and the ability to incorporate experimental measurements, atomistic simulations, and expert intuition in a semi-empirical fashion have led to the broad adoption of the Calphad approach, but it is only in recent years that serious attention has been paid to uncertainty quantification (UQ) of the model predictions.

Stan and Reardon demonstrated early work on Calphad UQ using genetic algorithms which anticipated the Bayesian approach adopted by later work [Reference Stan and Reardon1]. As computing efficiency increased, several authors identified Markov Chain Monte Carlo (MCMC) as a powerful technique for optimizing Calphad model parameters and simultaneously determining their uncertainty with respect to the data [Reference Otis and Liu2, Reference Duong, Hackenberg, Landa, Honarmandi, Talapatra, Volz, Llobet, Smith, King, Bajaj, Ruban, Vitos, Turchi and Arróyave3]. Readers interested in further discussion of recent developments in Bayesian UQ for ICME, with application to Calphad, are directed to a recent review [Reference Honarmandi and Arróyave4].

While there have been significant developments in understanding the propagation of Calphad model uncertainty to the equilibrium predictions [Reference Paulson, Bocklund, Otis, Liu and Stan5], the inverse has received minimal attention since the work of Jansson in Calphad parameter optimization [Reference Jansson6]. In seeking to develop a theory of Calphad model sensitivity, it is desired to understand the flow of uncertainty from the experimental measurements to a given Calphad model. Clear definitions must be given to all observation types, including multi-phase equilibrium information, commonly referred to as “phase diagram data.” The development of a consistent framework for Calphad model sensitivity is necessary, not only for UQ, but also for the rational reduction of uncertainty via new models and experiments.

Theory of Calphad model sensitivity

Without loss of generality to multicomponent, multisublattice systems, we will first consider an isobaric binary system, A–B, consisting of two single-sublattice phases, α and β. The molar Gibbs energies are defined as ${\rm G}_m^{\rm \alpha } \lpar {T\comma \;y_{\rm A}^{\rm \alpha } \comma \;y_{\rm B}^{\rm \alpha } \semicolon \;{\bf \theta }} \rpar \;$ and ${\rm G}_m^{\rm \beta } \lpar {T\comma \;y_{\rm A}^{\rm \beta } \comma \;y_{\rm B}^{\rm \beta } \semicolon \;{\bf \theta }} \rpar$, respectively, where T is the temperature, $y_i^j$ is the site fraction of component i in phase j, and θ is an empirically determined vector of continuously valued model parameters for the phases. ${\rm G}_m^j$ may have a nonlinear dependence on the elements of θ, but the partial derivatives with respect to the parameters are assumed to exist. It is often the case that each element of θ is associated with only one phase, but that assumption is not necessary. N j is the molar amount of phase j. The total molar amount of components A and B, MA and MB, are equal to $N_{\rm \alpha }{\rm \;}y_{\rm A}^{\rm \alpha } + N_{\rm \beta }y_{\rm A}^{\rm \beta}$ and $N_{\rm \alpha }y_{\rm B}^{\rm \alpha } + N_{\rm \beta }y_{\rm B}^{\rm \beta }$, respectively.

In the interest of brevity, detailed solutions for the equations of equilibrium are not included here. This derivation can be found in several publications, recently in significant detail by Sundman et al. [Reference Sundman, Lu and Ohtani7]. For this work, it was sufficient to assume a particular solution is known to the equations under the given conditions.

Let an experimental observation at equilibrium of the coexistence of phases α and β at a fixed temperature T find the measured mole fractions $\tilde{x}_{\rm A}^{\rm \alpha }$, $\tilde{x}_{\rm B}^{\rm \alpha }$, $\tilde{x}_{\rm A}^{\rm \beta }$, and $\tilde{x}_{\rm B}^{\rm \beta }$. The mole fractions predicted by the candidate model specified by θ are $x_{\rm A}^{\rm \alpha }$, $x_{\rm B}^{\rm \alpha }$, $x_{\rm A}^{\rm \beta }$, and $x_{\rm B}^{\rm \beta }$. The “residual driving force” formulation for the error in a candidate model specified by θ of a multiphase equilibrium observation was adopted in this work [Reference Bocklund, Otis, Egorov, Obaied, Roslyakova and Liu8, Reference Cao, Chen, Zhang, Wu, Yang, Chang, Schmid-Fetzer and Oates9]. The Gibbs energies of phases in coexistence lie on an equipotential line (hyperplane in multicomponent systems), which minimizes the total energy. When the model degrees of freedom, θ, do not satisfy that criteria for a given experimental measurement, the deviation from the equipotential condition can be quantified as a signed distance (“driving force”) from a fictitious hyperplane. That hyperplane is the arithmetic mean of the hyperplanes calculated at the measured phase compositions using the candidate model. As the deviation approaches zero, the hyperplanes at each measured composition will approach the mean (Fig. 1).

Figure 1: (a) Mean hyperplane of a phase co-existence measurement. (b) Residual driving force R(θ) relative to the mean hyperplane [Eq. (1)].

An advantage of this formulation is that it is continuous with respect to the metastability of one or more observed phases, meaning that if an observed phase is not predicted to be stable according to the candidate model, the error can still be defined. Another advantage is that it is differentiable with respect to θ. The “residual driving force” of a multiphase equilibrium measurement is defined as

(1)$$\matrix{ {R\lpar {\bf \theta } \rpar = \mathop \sum \limits_i \lpar {{\bar{\mu }}_i\tilde{x}_i^j } \rpar -\mathop \sum \limits_i \lpar {\mu_i^j \tilde{x}_i^j } \rpar } \cr }. $$

The index j refers to each observed phase, i.e., α or β. Equation (1) is computed at $\tilde{x}_i^j$, the tie-line endpoint corresponding to each observed phase j. $\bar{{\rm \mu }}_i$ is the arithmetic mean of the chemical potentials found by computing a multiphase global equilibrium at each tie-line endpoint, i.e., an average chemical potential of values calculated from their respective compositions at all tie-line endpoints. For the ${\rm \mu }_i^j$ terms, corresponding to the individual phases, we compute single-phase local equilibria, i.e., compute the chemical potentials at $\tilde{x}_i^{\rm \alpha }$ while only considering the α-phase, and also the chemical potentials at $\tilde{x}_i^{\rm \beta }$ while only considering the β-phase (Fig. 1). When θ are chosen such that $\tilde{x}_i^j = x_i^j$, R(θ) will be equal to zero. It is often the case that, in an experimental multiphase equilibrium observation, only one of the phase compositions can be determined, e.g., a measurement of the liquidus temperature by differential scanning calorimetry heating/cooling curve analysis. For the case of a phase β of undetermined composition in equilibrium with a phase α at measured composition $\tilde{x}_i^{\rm \alpha }$, $\tilde{x}_i^{\rm \beta }$ can be estimated as the composition which maximizes the thermodynamic driving force for the formation of the β-phase relative to $\bar{{\rm \mu }}_i$. The computation of $\bar{{\rm \mu }}_i$ then excludes the chemical potentials calculated at the estimated $\tilde{x}_i^{\rm \beta }$.

For sensitivity estimation, the first derivatives of R(θ) need to be computed. Assume that $x_i^j$ is independent of θ. The derivative can then be written as follows:

(2)$$\matrix{ {\displaystyle{{\partial R} \over {\partial {\bf \theta }}} = \mathop \sum \limits_i \left({\displaystyle{{\partial {\bar{{\rm \mu }}}_i} \over {\partial {\bf \theta }}}\tilde{x}_i^j } \right)-\mathop \sum \limits_i \left({\displaystyle{{\partial {\rm \mu }_i^j } \over {\partial {\bf \theta }}}\tilde{x}_i^j } \right)\;} \cr }. $$

Because the arithmetic mean is a linear operator, it is sufficient to determine an expression for ∂μi/∂θ. The chemical potentials are dependent variables which are outcomes of a nonlinear optimization. The Lagrangian formulation of the Gibbs energy minimization problem [Reference Jansson6, Reference Sundman, Lu and Ohtani7] can be stated as follows:

(3)$$\matrix{ {H_{\rm L} = \mathop \sum \limits_j N^j{\rm G}_m^j -\mathop \sum \limits_i f_i{\rm \mu }_i-\mathop \sum \limits_l c_l{\rm \lambda }_l} \cr }. $$

$f_i = M_i-\tilde{M}_i$ is the mass balance constraint for component i, l is an index for the internal constraints c l (e.g., site fraction balance) for all phases in equilibrium, where λl is the corresponding Lagrange multiplier. For the following and all subsequent steps, we assume calculation at a feasible solution, so that the gradient of the Lagrangian is equal to zero. For the present case, this can be expanded as the following system of equations:

(4)$$\matrix{ {\left[{\matrix{ {\displaystyle{{\partial c_l\lpar {y_k} \rpar } \over {\partial y_k}}} & {\displaystyle{{\partial f_{\rm A}} \over {\partial y_k}}} & {\displaystyle{{\partial f_{\rm B}} \over {\partial y_k}}} \cr 0 & {\displaystyle{{\partial f_{\rm A}} \over {\partial N^j}}} & {\displaystyle{{\partial f_{\rm B}} \over {\partial N^j}}} \cr } } \right]\left[{\matrix{ {\lambda_l} \cr {\mu_{\rm A}} \cr {\mu_{\rm B}} \cr } } \right] = \left[{\matrix{ {\displaystyle{{\partial \left({\mathop \sum \nolimits_j N^j{\rm G}_m^j } \right)} \over {\partial y_k}}} \cr {{\rm G}_m^j } \cr } } \right]} \cr }. $$

y k are the internal variables for all stable phases in the calculation, and N j is the amount of phase j. λl can otherwise be discarded for the present analysis.

Assume that all c l and M i are independent of θ and differentiate the system of equations, resulting in

(5)$$\matrix{ {\left[{\matrix{ {\displaystyle{{\partial c_l\lpar {y_k} \rpar } \over {\partial y_k}}} & {\displaystyle{{\partial f_{\rm A}} \over {\partial y_k}}} & {\displaystyle{{\partial f_{\rm B}} \over {\partial y_k}}} \cr 0 & {\displaystyle{{\partial f_{\rm A}} \over {\partial N^j}}} & {\displaystyle{{\partial f_{\rm B}} \over {\partial N^j}}} \cr } } \right]\left[{\matrix{ {\displaystyle{{\partial {\rm \lambda }_l} \over {\partial {\bf \theta }}}} \cr {\displaystyle{{\partial {\rm \mu }_{\rm A}} \over {\partial {\bf \theta }}}} \cr {\displaystyle{{\partial {\rm \mu }_{\rm B}} \over {\partial {\bf \theta}}}} \cr } } \right] = \left[{\matrix{ {\displaystyle{{\partial \left({\mathop \sum \nolimits_j N^j{\rm G}_m^j } \right)} \over {\partial y_k\partial {\bf \theta }}}} \cr {\displaystyle{{\partial {\rm G}_m^j } \over {\partial {\bf \theta }}}} \cr } } \right]} \cr }. $$

Because of redundant constraints, under some circumstances this system of equations may be overdetermined. By adopting the least-squares solution and referring to the preceding matrix as A, the chemical potential θ derivatives can be written in a closed form:

(6)$$\matrix{ {\left[{\matrix{ {\displaystyle{{\partial {\rm \lambda }_l} \over {\partial {\bf \theta }}}} \cr {\displaystyle{{\partial {\rm \mu }_{\rm A}} \over {\partial {\bf \theta }}}} \cr {\displaystyle{{\partial {\rm \mu }_{\rm B}} \over {\partial {\bf \theta }}}} \cr } } \right] = {\lpar {A^TA} \rpar }^{{-}1}A^T\left[{\matrix{ {\displaystyle{{\partial \left({\mathop \sum \nolimits_j N^j{\rm G}_m^j } \right)} \over {\partial y_k\partial {\bf \theta }}}} \cr {\displaystyle{{\partial {\rm G}_m^j } \over {\partial {\bf \theta }}}} \cr } } \right]} \cr }. $$

This expression shares some similarity with the temperature “dot derivative” in Sundman et al. [Reference Sundman, Lu and Ohtani7], if the model degrees of freedom (θ) are mathematically interpreted as independent thermodynamic state variables, similar to the temperature. It is often the case that the Gibbs energy model of a phase has a linear dependence on θ, e.g., ${\rm G}_m^j = \ldots + y_{\rm A}y_{\rm B}\lpar {\rm \theta }_1 + {\rm \theta }_2T\rpar$. For this case, $\partial {\rm G}_m^j /\partial {\bf \theta }$ is independent of θ and is constant for a given equilibrium solution, assuming the phases’ internal degrees of freedom do not change. ∂μi/∂θ is also constant, as a consequence. If this scenario applies to all the phases in the calculation, then ∂R/∂θ will be independent of θ, and R(θ) will be linear in θ.

Definition of phase equilibria log-likelihood

Assume that the error associated with an experimental observation of $R\lpar {{\bf \theta }\semicolon \;{\bi \;}\tilde{x}_i^j } \rpar$ is normally distributed about zero with constant variance σ2. Note that $R\lpar {{\bf \theta }\semicolon \;{\bi \;}\tilde{x}_i^j } \rpar$ is not a true observable because its value is inferred from the measured quantities $\tilde{x}_i^j$, but in principle this only affects computation of σ2. The log-likelihood function for p independent observations can then be expressed as:

(7)$$\matrix{ {\ln L\lpar {\bf \theta } \rpar = {-}\mathop \sum \limits_p \displaystyle{1 \over {2{\rm \sigma }_p^2 }}R_p{\lpar {{\bf \theta }\semicolon \;{\bi \;}\tilde{x}_i^{\,j\comma p} } \rpar }^2-\mathop \sum \limits_p \displaystyle{1 \over 2}\ln \left({\displaystyle{{2{\rm \pi }} \over {{\rm \sigma }_p^2 }}} \right)} \cr }. $$

The second term is often omitted, as it is independent of θ. In the present work, attention is restricted solely to multiphase equilibrium observations, though observations of other thermochemical quantities, such as heat capacity and enthalpy of formation, can easily be incorporated in the log-likelihood and the following derivation of sensitivity. In statistics, the score function s(θ) is defined as the gradient of the log-likelihood function.

(8)$$\matrix{ {s\lpar {\bf \theta } \rpar \underline{\underline {{\rm def}}} \;\displaystyle{{\partial \ln L\lpar {\bf \theta } \rpar } \over {\partial {\bf \theta }}} = {-}\mathop \sum \limits_p \displaystyle{{R_p\lpar {{\bf \theta }\semicolon \;{\bi \;}\tilde{x}_i^{{\rm \alpha }\comma p} \comma \;\;\tilde{x}_i^{{\rm \beta }\comma p} } \rpar } \over {{\rm \sigma }_p^2 }}\displaystyle{{\partial R_p\lpar {{\bf \theta }\semicolon \;{\bi \;}\tilde{x}_i^{{\rm \alpha }\comma p} \comma \;\;\tilde{x}_i^{{\rm \beta }\comma p} } \rpar } \over {\partial {\bf \theta }}}} \cr }. $$

A “partial” score of a particular observation can also be defined and is denoted s p(θ). By the independence of observations, $s\lpar {\bf \theta} \rpar = \sum\nolimits_p {s_{\rm p}\lpar {\bf \theta } \rpar }$.

The corresponding Fisher information matrix (FIM), $I\lpar {\tilde{x}_i^{j\comma p} \semicolon \;{\bf \theta }} \rpar$, captures the curvature of the log-likelihood and is defined as the negative of the expectation of the log-likelihood Hessian as follows:

(9)$$\eqalign{& {I\lpar {\tilde{x}_i^{\,j\comma p} \semicolon \;{\bf \theta }} \rpar \underline{\underline {{\rm def}}} -E\left({\displaystyle{{\partial^2\ln L\lpar {\bf \theta } \rpar } \over {\partial {\bf \theta }^T\partial {\bf \theta }}}} \right) }\cr &\quad= \mathop \sum \limits_p \displaystyle{1 \over {{\rm \sigma }_p^2 }}\left[{\displaystyle{{\partial^2R_p\lpar {\bf \theta } \rpar } \over {\partial {\bf \theta }^T\partial {\bf \theta }}}R_p\lpar {\bf \theta } \rpar + \displaystyle{{\partial R_p\lpar {\bf \theta } \rpar } \over {\partial {\bf \theta }}}\displaystyle{{\partial R_p\lpar {\bf \theta } \rpar } \over {\partial {\bf \theta }^T}}} \right].} \cr } $$

Under a common condition, discussed in the previous section, that R p(θ) is linear in θ, (∂2R p(θ)/∂θTθ) = 0, and the higher-order term can be neglected, i.e.,

(10)$$\matrix{ {I\lpar {\tilde{x}_i^{\,j\comma p} } \rpar = \mathop \sum \limits_p \displaystyle{1 \over {{\rm \sigma }_p^2 }}\displaystyle{{\partial R_p\lpar {\tilde{x}_i^{\,j\comma p} } \rpar } \over {\partial {\bf \theta }}}\displaystyle{{\partial R_p\lpar {{\bi \;}\tilde{x}_i^{\,j\comma p}} \rpar } \over {\partial {\bf \theta }^T}}} \cr }. $$

The assumption of linearity causes the dependence on θ to fall out of Eq. (10) because ∂R p(θ)/∂θ is constant in θ, and so the FIM is purely a function of the underlying model form and the experimentally observed $\tilde{x}_i^{j\comma p}$. There is an important caveat: in this toy problem, there are only two phases, but in multicomponent systems with several phases, a phase equilibria measurement could involve only a subset of the potentially stable phases in a given system. If an experimental measurement only observes, e.g., the phases α and β, and a candidate thermodynamic model also only predicts α and/or β phase(s) under the same conditions, then small perturbations of the parameters of a third phase, γ, have zero effect on the log-likelihood of that observation. More generally, for the case where none of the phases which are observed or predicted have a dependence on a particular element of θm), (∂R p(θ)/∂θm) = 0. This result is intuitive, since an observation cannot provide any information about the value of a parameter, when the model does not depend on that parameter. However, if a candidate model mis-predicts the presence of a phase γ, an experimental observation of α/β equilibrium under the same conditions defines a log-likelihood that is locally a function of the parameters of all three phases.

A scalar sensitivity metric based on the FIM can be defined several ways and is strongly connected to the notion of the optimality of a measurement. In the present work, a form of “A-optimality” was adopted wherein the trace of the FIM was used to define the sensitivity [Reference Yue, Brown, He, Jia and Kell10].

(11)$$\matrix{ {S\lpar {\tilde{x}_i^{\,j\comma p} } \rpar \underline{\underline {{\rm def}}} \;{\rm tr}I\lpar {\tilde{x}_i^{\,j\comma p} } \rpar = \mathop \sum \limits_m \mathop \sum \limits_p \displaystyle{1 \over {{\rm \sigma }_p^2 }}{\displaystyle{{\partial R_p\lpar {\tilde{x}_i^{\,j\comma p} } \rpar } \over {\partial {\rm \theta }_m}}}^2} \cr }. $$

In Calphad modeling, the numerical values of the model parameters can vary over several orders of magnitude (depending on whether the parameter is multiplying a constant, T 3, higher-order interaction, etc.), complicating sensitivity comparisons involving different parameters. The “scaled sensitivity” $Z\lpar {\tilde{x}_i^{j\comma p} } \rpar$ can be understood as a measure of how much the specified observations help reduce the variance of θ. This dimensionless scalar quantity has the desirable property of being additive in observations as well as in parameters, facilitating sensitivity comparisons between subgroups of observations and/or parameters.

(12)$$\matrix{ {Z\lpar {\tilde{x}_i^{\,j\comma p} } \rpar = \mathop \sum \limits_m \mathop \sum \limits_p \displaystyle{{{\rm \sigma }_m^2 } \over {{\rm \sigma }_p^2 }}{\displaystyle{{\partial R_p\lpar {\tilde{x}_i^{\,j\comma p} } \rpar } \over {\partial {\rm \theta }_m}}}^2} \cr }. $$

The specific definition in Eq. (12) of an observation, p, warrants discussion. A “phase region” is defined in the present work as a group of tie-line endpoints corresponding to the same multiphase equilibrium. The approach taken in this work was to define an observation in terms of each measured phase region, such that each dataset consisted of multiple “observations,” all assumed statistically independent. This definition preserved the additivity property of $Z\lpar {\tilde{x}_i^{j\comma p} } \rpar$ and made it convenient to generate sensitivity analyses based on both the parameters and the datasets (“groups of phase regions”). A disadvantage of this approach was that trends in $Z\lpar {\tilde{x}_i^{j\comma p} } \rpar$ with respect to the MCMC iterations were challenging to interpret. The MCMC simulation involves a maximization of the log-likelihood function [Eq. (7)], and while it is expected that the magnitude of the total log-likelihood gradient [Eq. (8)] decreases with an approach toward the maximum-likelihood value of θ, the same is not generally true for $Z\lpar {\tilde{x}_i^{j\comma p} } \rpar$. This is because of error cancellation due to a summation of terms with opposing sign in the log-likelihood gradient. In the scaled sensitivity as defined in the present work, the gradient of each observation is squared prior to summation, so opposing gradients do not cancel. For the case of strongly conflicting (inconsistent) observations, the value of $Z\lpar {\tilde{x}_i^{j\comma p} } \rpar$ may be large, even near the maximum-likelihood θ. Another possibility would have been to define each dataset as a single “observation,” such that gradients cancel in a way similar to Eq. (8). That approach could have value as a diagnostic quantity for Calphad modeling during the parameter optimization process, but a scaled sensitivity defined in such a way would be strongly correlated with the log-likelihood gradient, and so such an analysis might be better performed by just computing the gradient norm. While the issue of potentially conflicting data has been investigated in the context of the pure elements [Reference Paulson, Zomorodpoosh, Roslyakova and Stan11], further analysis of the role of outliers in multicomponent Calphad sensitivity analyses is recommended for future work.

A potential limitation of the present approach is that the sensitivity metric is only local and, for example, a “nearly mis-predicted” phase close to the limit of stability for a given tie-line will contribute nothing to the sensitivity, even though a small change in θ could cause it to become stable in the measured phase region of interest. This concern was mitigated through the use of Monte Carlo estimates of θ around the maximum-likelihood value. $Z\lpar {{\bf \theta }\semicolon \;\tilde{x}_i^{j\comma p} } \rpar$ was then computed as chain/trace averages, which introduced a degree of nonlocality to the predictions.

Another potential limitation is that correlations between parameters are not explicitly considered, i.e., the covariance of θ. While it was not done in the present work, other optimality criteria incorporating the off-diagonal elements of Eq. (10) are known [Reference Yue, Brown, He, Jia and Kell10]. One challenge to resolve for such an approach would be finding good empirical estimates of the covariance to use in the rescaling of the FIM.

Application to Cr−Ni

The Cr−Ni system is a common exemplar system for thermodynamic modeling of alloys, given its technological importance and relative simplicity. It contains three stable solution phases: fcc, bcc, and liquid. If one adopts the Standard Element Reference and tabulated lattice stabilities for the solution phases [Reference Dinsdale12], then it is only left to the modeler to determine the binary interaction parameters for each phase. The low-temperature intermetallic phase, CrNi2, is neglected in the present work, as are all magnetic contributions. A complete thermodynamic assessment was not an objective of this work, and such interested readers are directed to a recent review by Tang and Hallstedt [Reference Tang and Hallstedt13].

The initial Cr−Ni thermodynamic model was generated by the ESPEI software using thermochemical data (enthalpies and entropies) for the individual phases [Reference Bocklund, Otis, Egorov, Obaied, Roslyakova and Liu8]. The iterative least-squares procedure used by ESPEI generated a database with non-zero a + bT terms for the Redlich−Kister binary interactions of both degree 0 and 1, in all three considered phases, for a total of 12 adjustable model parameters. The naming convention for the binary interaction parameters was L(phase;Redlich−Kister degree)[A,B], depending on which coefficient of the corresponding a + bT expression was being referenced. The phase diagram of this initial model is shown in Fig. 2(a). The thermochemical data used to generate the starting point were then discarded for the subsequent analysis. Typically, this data would be retained in a Calphad modeling procedure, but it was excluded in this work to isolate the statistical influence of the phase equilibria measurements.

Figure 2: Initial and final phase diagram of Cr−Ni, with experimentally measured phase equilibria from the literature superimposed. (a) The initial Cr−Ni thermodynamic model was generated by the ESPEI software using thermochemical data (not shown) for the individual phases. (b) The Cr−Ni phase diagram is shown after 500 MCMC iterations, using only the shown phase equilibria measurements as input.

For the MCMC step, phase equilibria data for the solution phases were collected from the literature [Reference Pugliese and Fitterer14, Reference Dench15, Reference Svechnikov and Pan16, Reference Collins17, Reference Watson and Hayes18, Reference Saltykov, Witusiewicz, Arpshofen, Seifert and Aldinger19, Reference Zhang and Zhao20, Reference Karmazin21, Reference Thiedemann, Rösner-Kuhn, Matson, Kuppermann, Drewes, Flemings and Frohberg22, Reference Bechtoldt and Vacher23, Reference Jenkins, Bucknall, Austin and Mellor24, Reference Taylor and Floyd25]. The ESPEI YAML configuration file and JSON data files for the MCMC step can be found in Supplementary Material. Twenty-four chains (twice the number of parameters) were included in the ensemble. All data were equally weighted with an ESPEI “data weight” of 20, for an effective σp of 50 J/mol. A flat prior, contributing a log-prior of zero to the log-probability, was assumed for all parameter values. The MCMC simulation was run for 500 fixed iterations without stopping criteria. The phase diagram from the chain-average parameters at the last iteration is shown in Fig. 2(b). The log-likelihood trace is shown in Fig. 3.

Figure 3: ESPEI MCMC log-likelihood trace.

Details on the code and data files needed to reproduce the figures and the table can be found in Supplementary Material.

An after-the-fact sensitivity analysis was conducted on a Cr−Ni thermodynamic model using the parameter trace from the MCMC simulation. Log-likelihood gradients and scaled sensitivities were computed according to Eqs. (8) and (12), respectively, and stored for each experimental measurement at each MCMC iteration. The scaled sensitivity was computed as a summation over the observations (p) contained within each dataset and then normalized based on the number of contained measurements (phase regions). The empirical variance of each parameter, ${\rm \sigma }_m^2$, was computed based on the trace of the last 300 iterations, marginalized over all chains.

Figure 4 shows the dataset-scaled sensitivity per phase region. The scaled sensitivity [Eq. (12)] was computed for each dataset and then normalized based on the number of contained measurements (phase regions). For most datasets, there was a general decreasing trend with the number of MCMC iterations until settling around a particular value. A significant increase in scaled sensitivity was seen from the Bechtoldt1961 dataset (defining A1-phase compositions at the Ni-rich boundary with A2). This was understood to be caused by within-dataset disagreement on the sign of the log-likelihood gradient and could be an indicator of inconsistent observations, insufficient degrees of freedom in the present model, or both.

Figure 4: Dataset-scaled sensitivity per phase region. The scaled sensitivity [Eq. (12)] was computed as a summation over all parameters (m) and observations (p) contained within each dataset and normalized based on the number of contained measurements (phase regions).

The computed sensitivities can also be visualized in terms of each model degree of freedom. The contribution of each parameter to the scaled sensitivity is shown as a function of MCMC iterations in Fig. 5. The sensitivity contribution from the higher-order liquid parameters was minimal throughout the optimization process, indicating that the considered observations were relatively uninformative for those model degrees of freedom. High sensitivities seen from the higher-order parameters in the A1 phase were consistent with the dataset-based analysis (Fig. 4) and were understood as an indicator that those parameters were strongly coupled to the observations, particularly at the Ni-rich side of the A1−A2-phase boundary.

Figure 5: Scaled sensitivity per parameter. The contribution of each parameter (m) to the scaled sensitivity [Eq. (12)] is computed as a summation over all observations (p) in all datasets and is shown as a function of MCMC iterations.

Sensitivities can also be projected back into the space of the observations, providing insight into where new measurements might make the most impact on the likelihood. Figure 6 shows the scaled sensitivity per parameter averaged over the last 300 MCMC iterations, which is visualized in the space of observations. The result comported with intuition, with parameters showing sensitivity to the phase equilibria measurements from the corresponding phase. Some parameters showed sensitivity corresponding to the “far” ends of equilibrium tie-lines involving the given phase, consistent with the coupling between phases defined by Eq. (1). In attempting to explain the compositional sensitivity fluctuation observed in the higher-order liquid parameters, consider that binary Redlich−Kister parameters of degree 1 achieve extreme values at mole fractions of approximately 0.21 and 0.79. This could explain the localized sensitivity peak observed in the higher-order liquid parameters, though the absolute magnitude of the sensitivity for those parameters was still observed to be small.

Figure 6: Scaled sensitivity per parameter averaged over the last 300 MCMC iterations, visualized in the space of observations. Each subplot was separately normalized, such that full opacity corresponded to the largest observed scaled sensitivity for the given parameter.

Highly focused analyses became possible with data at this resolution, enabling consideration of the impact of each dataset on individual model degrees of freedom. For the higher-order liquid entropy sensitivity shown in Fig. 7(a), the peak in the Svechnikov1962 curve was understood to be indicative of a within-dataset initial disagreement in the sign of the log-likelihood gradient with respect to the given parameter. This disagreement was captured by the scaled sensitivity due to the squared gradient term, which increases in magnitude when multiple observations from the same dataset are in conflict. As the apparent conflict was resolved by the MCMC optimization, the sensitivity decreased. Initial sensitivity contributed by some of the other datasets was observed, but quickly dropped to zero as the phase mis-prediction was resolved by the optimization. The log-likelihood contribution of the Bechtoldt1961 dataset remained very sensitive to the regular solution parameter for the A1 phase [Fig. 7(b)], and the sensitivity actually increased with respect to the MCMC iterations. While optimization reduces the total log-likelihood gradient, it does not guarantee sensitivity reduction with respect to every dataset.

Figure 7: Parameter scaled sensitivity per dataset. (a) Higher-order entropy parameter of the liquid and (b) regular solution parameter of the A1 phase.

It is desirable to determine whether an MCMC-based optimization has run for a sufficient number of iterations, and if its estimate of parameter uncertainty is reasonable. In this work, the developed Calphad sensitivity theory was applied to perform an analysis using the well-known Cramér–Rao (CR) lower bound on the parameter covariance. The CR bound is a statement on the covariance of an unbiased estimator, giving the inverse of the Fisher information matrix [Eq. (10)] as the lower bound [Reference Rao, Kotz and Johnson26]. While any realized estimator may fail to achieve the lower limit, a corollary to the CR bound is that, if a given estimator's covariance falls below the given limit, the estimator must be biased in some way.

Corner plots for the A1 and liquid phases, with estimated CR covariance ellipsoids, are shown in Fig. 8. For computation of the expectation of the log-likelihood Hessian [Eq. (10)], a likelihood-weighted average of the Hessians of the last 300 MCMC iterations, marginalized over all chains, was used. For the model degrees of freedom in the A1 phase, the covariances computed from the MCMC samples were found to be in reasonable agreement with the CR bound, including the reproduction of key correlations. For the liquid model degrees of freedom, MCMC covariances far below the CR bound were observed in the higher-order liquid parameters, indicating bias in the MCMC covariance estimate. This was understood to be caused by an insufficient number of MCMC samples to capture a relatively flat likelihood along those degrees of freedom in the neighborhood of the maximum-likelihood estimate.

Figure 8: Corner plots for (a) the A1 and (b) liquid phases, with estimated CR covariance ellipsoids superimposed in red, at 1 and 2 standard deviations.

In seeking to remove undesired bias in the liquid uncertainty estimate, two approaches were considered. The first was to use informative priors for the parameters that were found to be insensitive. This would mean adding information from another source, possibly based on experience or intuition. While this could resolve the issue in one sense, the choice of any particular prior would be difficult to justify in advance.

Another approach would be to add more informative observations to the optimization. In this work, only phase equilibria measurements were considered, but a pair of liquid mixing enthalpy measurements, for example, would strongly increase both the magnitude of the likelihood gradient [Eq. (8)] for the higher-order constant binary interaction term for the liquid and the curvature of the likelihood function along that direction [Eq. (10)]. The extent of the statistical information for a given model contained within a set of observations can be quantified by the eigenvalues of Eq. (10) and are quantified for two cases in Table 1. One scalar measure based on this spectral approach is the ratio of the largest to smallest eigenvalue (condition number) and was also computed in the table. Assume that such measurements were perfectly consistent with the candidate model (zero error). Even in making the relatively conservative assumption of σp = 1000 J/mol for this hypothetical measurement, the strongly informative nature of thermochemical measurements provides a reduction to the uncertainty bound of the higher-order liquid parameters, driving an increase in the smallest FIM eigenvalues and an order-of-magnitude reduction in the matrix condition number. One would then expect subsequent MCMC optimization to be accelerated by the greater curvature of the augmented likelihood function and an uncertainty estimate closer to the CR bound to be achieved.

TABLE 1: Eigenvalues of the estimated FIM before and after the addition of two hypothetical liquid enthalpy measurements to the likelihood function.

It is promising for the future of Calphad sensitivity that this analysis was able to quantifiably reproduce the long-respected wisdom in the Calphad community that thermochemical measurements are the foundation of an accurate thermodynamic model, with the phase diagram playing a highly visible, yet merely supporting, role.

Conclusions

Sensitivity analysis is a powerful tool for the development of Calphad-based thermodynamic models, providing data-point level resolution on the coupling of prediction error to the model parameters. Through the presented theory it was shown possible, in a case study of the CrNi system, to assess the accuracy of MCMC-based covariance estimates using the classical Cramér–Rao bound. Computation of the Fisher information matrix quantified the statistical value of thermochemical measurements versus phase equilibria measurements; the former was shown to be much greater. Further analysis of the role of conflicting data in multicomponent Calphad model sensitivity, and how it might influence the design of new experiments, was suggested for future work.

Acknowledgments

This research was carried out at the Jet Propulsion Laboratory, California Institute of Technology, under a contract with the National Aeronautics and Space Administration. B.B. and Z.-K.L. were supported by a NASA Space Technology Research Fellowship (grant no. 80NSSC18K1168).

Supplementary material

To view supplementary material for this article, please visit https://doi.org/10.1557/jmr.2020.269.

References

Stan, M. and Reardon, B.J.: A Bayesian approach to evaluating the uncertainty of thermodynamic data and phase diagrams. Calphad 27, 319323 (2003).CrossRefGoogle Scholar
Otis, R.A. and Liu, Z.-K.: High-throughput thermodynamic modeling and uncertainty quantification for ICME. JOM 69, 886892 (2017).CrossRefGoogle Scholar
Duong, T.C., Hackenberg, R.E., Landa, A., Honarmandi, P., Talapatra, A., Volz, H.M., Llobet, A., Smith, A.I., King, G., Bajaj, S., Ruban, A., Vitos, L., Turchi, P.E.A., and Arróyave, R.: Revisiting thermodynamics and kinetic diffusivities of uranium–niobium with Bayesian uncertainty analysis. Calphad 55, 219230 (2016).CrossRefGoogle Scholar
Honarmandi, P. and Arróyave, R.: Uncertainty quantification and propagation in computational materials science and simulation-assisted materials design. Integr. Mater. Manuf. Innov. 9, 103143 (2020).CrossRefGoogle Scholar
Paulson, N.H., Bocklund, B.J., Otis, R.A., Liu, Z.-K., and Stan, M.: Quantified uncertainty in thermodynamic modeling for materials design. Acta Mater. 174, 915 (2019).CrossRefGoogle Scholar
Jansson, B.: Evaluation of Parameters in Thermochemical Models Using Different Types of Experimental Data Simultaneously (Royal Institute of Technology, Stockholm, 1984).Google Scholar
Sundman, B., Lu, X.-G., and Ohtani, H.: The implementation of an algorithm to calculate thermodynamic equilibria for multi-component systems with non-ideal phases in a free software. Comput. Mater. Sci. 101, 127137 (2015).CrossRefGoogle Scholar
Bocklund, B., Otis, R., Egorov, A., Obaied, A., Roslyakova, I., and Liu, Z.-K.: ESPEI for efficient thermodynamic database development, modification, and uncertainty quantification: application to Cu–Mg. MRS Commun. 9, 618627 (2019).CrossRefGoogle Scholar
Cao, W., Chen, S.-L., Zhang, F., Wu, K., Yang, Y., Chang, Y.A., Schmid-Fetzer, R., and Oates, W.A.: PANDAT software with PanEngine, PanOptimizer and PanPrecipitation for multi-component phase diagram calculation and materials property simulation. Calphad 33, 328342 (2009).CrossRefGoogle Scholar
Yue, H., Brown, M., He, F., Jia, J., and Kell, D.B.: Sensitivity analysis and robust experimental design of a signal transduction pathway system. Int. J. Chem. Kinet. 40, 730741 (2008).CrossRefGoogle Scholar
Paulson, N.H., Zomorodpoosh, S., Roslyakova, I., and Stan, M.: Comparison of statistically-based methods for automated weighting of experimental data in CALPHAD-type assessment. Calphad 68, 101728 (2020).CrossRefGoogle Scholar
Dinsdale, A.T.: SGTE data for pure elements. Calphad 15(4), 317425 (1991). doi:10.1016/0364-5916(91)90030-N.CrossRefGoogle Scholar
Tang, F. and Hallstedt, B.: Using the PARROT module of Thermo-Calc with the Cr–Ni system as example. Calphad 55, 260269 (2016).CrossRefGoogle Scholar
Pugliese, L.A. and Fitterer, G.R.: Activities and phase boundaries in the Cr-Ni system using a solid electrolyte technique. Metall. Trans. 1, 19972002 (1970).CrossRefGoogle Scholar
Dench, W.A.: Adiabatic high-temperature calorimeter for the measurement of heats of alloying. Trans. Faraday Soc. 59, 1279 (1963).CrossRefGoogle Scholar
Svechnikov, V.N. and Pan, V.M.: Characteristics of the equilibrium diagram and processes of solution and precipitation in the Cr–Ni system. Sbornik Naučnych Trudov Instituta Metallofiziki 15, 164178 (1962).Google Scholar
Collins, M.J.: Electron optic determination of solid phase boundaries in Ni–Cr system. Mater. Sci. Technol. 4, 560561 (1988).CrossRefGoogle Scholar
Watson, A. and Hayes, F.H.: Enthalpies of formation of solid NiCr and NiV alloys by direct reaction calorimetry. J. Alloys Compd. 220, 94100 (1995).CrossRefGoogle Scholar
Saltykov, P., Witusiewicz, V.T., Arpshofen, I., Seifert, H.J., and Aldinger, F.: Enthalpy of mixing of liquid Al-Cr and Cr-Ni alloys. J. Mater. Sci. Technol. 18, 167170 (2002).Google Scholar
Zhang, Q. and Zhao, J.C.: Impurity and interdiffusion coefficients of the Cr-X (X = Co, Fe, Mo, Nb, Ni, Pd, Pt, Ta) binary systems. J. Alloys Compd. 604, 142150 (2014).CrossRefGoogle Scholar
Karmazin, L.: Lattice parameter studies of structure changes of NiCr alloys in the region of Ni2Cr. Microstruct. Process. 54, 247256 (1982).Google Scholar
Thiedemann, U., Rösner-Kuhn, M., Matson, D.M., Kuppermann, G., Drewes, K., Flemings, M.C., and Frohberg, M.G.: Mixing enthalpy measurements in the liquid ternary system iron-nickel-chromium and its binaries. Steel Res. 69, 37 (1998).CrossRefGoogle Scholar
Bechtoldt, C.J. and Vacher, H.C.: Redetermination of the chromium and nickel solvuses in the chromium-nickel system. Trans. Metall. Soc. AIME 221, 1418 (1961).Google Scholar
Jenkins, C.H.M., Bucknall, E.H., Austin, C.R., and Mellor, G.A.: Some alloys for use at high temperatures: Part IV: The constitution of the alloys of nickel, chromium and iron. J. Iron Steel Inst. 136, 187222 (1937).Google Scholar
Taylor, A. and Floyd, R.W.: The constitution of nickel-rich alloys of the nickel-chromium-titanium system. J. Instrum. Met. 80, 577587 (1952).Google Scholar
Rao, C.R.: Information and the accuracy attainable in the estimation of statistical parameters. In Breakthroughs in Statistics: Foundations and Basic Theory, Kotz, S. and Johnson, N.L., eds. (Springer, New York, NY, 1992); pp. 235247.CrossRefGoogle Scholar
Figure 0

Figure 1: (a) Mean hyperplane of a phase co-existence measurement. (b) Residual driving force R(θ) relative to the mean hyperplane [Eq. (1)].

Figure 1

Figure 2: Initial and final phase diagram of Cr−Ni, with experimentally measured phase equilibria from the literature superimposed. (a) The initial Cr−Ni thermodynamic model was generated by the ESPEI software using thermochemical data (not shown) for the individual phases. (b) The Cr−Ni phase diagram is shown after 500 MCMC iterations, using only the shown phase equilibria measurements as input.

Figure 2

Figure 3: ESPEI MCMC log-likelihood trace.

Figure 3

Figure 4: Dataset-scaled sensitivity per phase region. The scaled sensitivity [Eq. (12)] was computed as a summation over all parameters (m) and observations (p) contained within each dataset and normalized based on the number of contained measurements (phase regions).

Figure 4

Figure 5: Scaled sensitivity per parameter. The contribution of each parameter (m) to the scaled sensitivity [Eq. (12)] is computed as a summation over all observations (p) in all datasets and is shown as a function of MCMC iterations.

Figure 5

Figure 6: Scaled sensitivity per parameter averaged over the last 300 MCMC iterations, visualized in the space of observations. Each subplot was separately normalized, such that full opacity corresponded to the largest observed scaled sensitivity for the given parameter.

Figure 6

Figure 7: Parameter scaled sensitivity per dataset. (a) Higher-order entropy parameter of the liquid and (b) regular solution parameter of the A1 phase.

Figure 7

Figure 8: Corner plots for (a) the A1 and (b) liquid phases, with estimated CR covariance ellipsoids superimposed in red, at 1 and 2 standard deviations.

Figure 8

TABLE 1: Eigenvalues of the estimated FIM before and after the addition of two hypothetical liquid enthalpy measurements to the likelihood function.

Supplementary material: File

Otis et al. Supplementary Materials

Otis et al. Supplementary Materials

Download Otis et al. Supplementary Materials(File)
File 848.4 KB