Chemical Forums

Chemistry Forums for Students => Physical Chemistry Forum => Topic started by: antst on April 02, 2014, 07:22:19 AM

Title: Charge imbalance problem when trying to calculate someone else's reaction
Post by: antst on April 02, 2014, 07:22:19 AM
I'm using a program for calculating chemical reactions, but I'm not a chemist. I will use the results for a different type of calculation.  Sorry, this is probably a silly question.

As input for the program, I am using a chemical system that someone published. it contains:

SO4(2-), Ca2+, Na+, K+, Mg2+, Cl-, HCO3-. It has a specified pH. Each ion has a concentration value.

The problem is that when I put all this into the program, I get an error saying that I have a charge imbalance. I'm very confused because this is a chemical system that has apparently been used many times before.  I'm not sure if this is important, but the method my program is based on is Gibbs free energy minimization.  The method that was previously used on this system was the Law of Mass Action.

My program can add or subtract charge to make things balance, but this seems dangerous to me. Wouldn't this change the kinds of reactions that can happen? Also, when I do this, I get a crazy pH that is very different that the one published.

Does anyone have any insight into dealing with this? Or understanding it? Thank you very much.
Title: Re: Charge imbalance problem when trying to calculate someone else's reaction
Post by: Corribus on April 02, 2014, 09:54:49 AM
It's hard to say too much without knowing better what you're trying to do, but basically all your charges have to add up to neutral. If you look at your ions, assuming the stoichiometry is 1:1:1:1:1:1:1, your charges do not balance to neutral (you have more positive charge than negative charge). So either you're missing an ion in your solution or you have more of the amount of some of the negatively charged species than you have indicated (say, three times the amount of chlorine ion as the other types of ions).
Title: Re: Charge imbalance problem when trying to calculate someone else's reaction
Post by: Big-Daddy on April 15, 2014, 10:35:46 AM
Presuming the pH published is correct, it just means that their list of ions in incomplete. e.g. if the article has no relation to acid-base chemistry, then they may not bother to mention that, say, along with "HCO3- entered originally into the solution" (e.g. NaHCO3) there will also be the products of acid-base reactions involving the hydrogencarbonate ion, i.e. H2CO3 and the CO32- ion. With the SO42- ion, there will also be HSO4-.