Home
Scholarly Works
Thermodynamic modeling with uncertainty...
Journal article

Thermodynamic modeling with uncertainty quantification using the modified quasichemical model in quadruplet approximation: Implementation into PyCalphad and ESPEI

Abstract

The modified quasichemical model in the quadruplet approximation (MQMQA) considers the first- and the second-nearest-neighbor coordination and interactions, particularly useful in describing short-range ordering (SRO) in complex liquids such as molten salts, slag in metal processing, and electrolytic solutions. The present work implements the MQMQA into the Python based open-source software PyCalphad for thermodynamic calculations. This endeavor facilitates the development of MQMQA-based thermodynamic database with uncertainty quantification (UQ) and propagation (UP) using the open-source software ESPEI. A new database structure based on Extensible Markup Language (XML) is proposed for ESPEI evaluation of MQMQA model parameters. Using the KF-NiF2, KCl-NaCl-MgCl2, and CaCl2-CaF2-LiCl-LiF salt systems as examples, we demonstrate the successful implementation of MQMQA in PyCalphad through thermodynamic calculations of Gibbs energy, equilibrium quadruplet fractions, and phase diagram, as well as database development with UQ and UP using ESPEI. Furthermore, as an application of the present implementation, both the LiF–TbF3 and LiF-HoF3 systems have been modeled by MQMQA for the first time, which are in good agreement with experiments. The present implementation hence offers an open-source capability for performing CALPHAD modeling for complex liquids with SRO using MQMQA plus a new XML database structure.

Authors

Palma JPS; Gong R; Bocklund BJ; Otis R; Poschmann M; Piro M; Shahbazi S; Levitskaia TG; Hu S; Smith ND

Journal

Calphad, Vol. 83, ,

Publisher

Elsevier

Publication Date

December 1, 2023

DOI

10.1016/j.calphad.2023.102618

ISSN

0364-5916

View published work (Non-McMaster Users)