New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error when running equilibrium on CaO-MgO-SiO2 system #381
Comments
Thank you, @Skyinner, for opening this issue with all the key details. I made a minor edit to your text to use backticks (`) instead of quotes (") to get the code formatting. The error is caused by Model class assuming that an ionic liquid has a vacancy in the second sublattice in the code below. Vacancies are usually used to charge balance when there are positive cations in the first sublattice and no charged anions in the second sublattice. In this TDB, that occurs when the SiO2 neutral is used. Having vacancies present would break the pseudo-binary aspect of this TDB by allowing pure metallic liquids for species in the first sublattice to form. I have seen in the Thermo-Calc example TCEX 17 that vacancy species can be removed from the second sublattice in pseudo-binary diagrams. Maybe making the below code path not add the vacancy term if vacancies are not present would still work. Whoever works on this issue should carefully compare the energies from pycalphad to the energies from Thermo-Calc and a test should be added for this case. Lines 599 to 619 in 62ad209
|
cao_mgo_sio2.tdb.zip
code:
error message:
The text was updated successfully, but these errors were encountered: