E_hull prediction and E_form prediction with code build_phase_diagram.py #98
Unanswered
RyotaroOKabe
asked this question in
Q&A
Replies: 1 comment 3 replies
-
I think looking at your scatter plot could you try divide all the energies on the y-axis again by the number of atoms per entry? I think that's the most likely simple bug we may be seeing and so getting confirmation would help in resolving your issue |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I would like to use Matbench-discovery to evaluate the stability of materials. I am trying to calculate E_hull, but I have trouble doing that.
I saw build_phase_diagram.py present how PatchedPhaseDiagram object ppd_mp is defined, and formation energy is calculated.
![Untitled (9)](https://private-user-images.githubusercontent.com/50738851/311099080-144d46df-7ab5-437d-971c-d98995135203.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2OTAyNTksIm5iZiI6MTczOTY4OTk1OSwicGF0aCI6Ii81MDczODg1MS8zMTEwOTkwODAtMTQ0ZDQ2ZGYtN2FiNS00MzdkLTk3MWMtZDk4OTk1MTM1MjAzLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE2VDA3MTIzOVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWEwZjg0M2I0ZjVlODgxOTk3NGU0NzdkZDkzZmQ5NDAyMjVlMTliYWY2ZTZiYjEwNWMyZjEwZDNlMzI4MjQ3OGEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.bNTSdf5QC0J6qSY0F9dUubRv9fB-zVcQnNNVLus6n4M)
I tried the source code, but the predicted E_form was not accurate as written in the preprint. I attached the scatter plot and the code I used. I used almost the same code as the default build_phase_diagram.py, but I commented out several lines (I marked the lines with "#!" with the error message.). I pasted my current code of build_phase_diagram.py below. It would be nice if any of you knew how I can get the correct prediction of E_hull and E_form.
Beta Was this translation helpful? Give feedback.
All reactions