Skip to content
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 with non-integer oxidation state #25

Closed
JacobDing opened this issue Oct 21, 2019 · 3 comments
Closed

Error with non-integer oxidation state #25

JacobDing opened this issue Oct 21, 2019 · 3 comments

Comments

@JacobDing
Copy link

Dear developers,
I'm trying to model a structure with chemical formula of Cu58S32, however it seems that I can not use a non-integer oxidation state (Cu +1.1, S -2). The error was

Create atoms population error:
Change supercell size
Switch off charge balancing
Check manual population settings

Then I tried the oxidation state of (Cu +1, S -2) and switch off charge balancing. The new problem is

ERROR: Electrostatic energy cannot be calculated without charge balancing.

If I switch on charge balancing, the formula will be adjusted to Cu64S32.
How can I deal with this structure?

Thank you!
Cu58S32.txt

@orex
Copy link
Owner

orex commented Oct 21, 2019

Dear JacobDing,
I'm not sure I have fully understood your problem. But It looks like, that you have to specify Cu charge more precisely (32*(-2)+58*x=0). x = 1.10344827586206896552
supercell -d -i Cu58S32.cif -p "Cu*:c=1.10344827586206896552" -m -q -s 2x2x2
Sincerely yours,
Kirill.

@JacobDing
Copy link
Author

Thank you Kirill, the problem is solved with a more precise Cu charge.

@orex
Copy link
Owner

orex commented Oct 21, 2019

Welcome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants