Hi,
I am modeling the chemistry of a Na-Cl brine. For the calculation to be more relevant to my study area I've modified the thermodynamic database to include Al, Si, Cd, N and Si species. Activity correction is h-m-w. As usual, the majority of the Pitzer coefficients are known for 25 C, with some exceptions, therefore the results are most accurate at 25 C. Using the modified database the calculation converges when I use temperatures above 25 C (e.g. 26 C, 59 C). When I try running at 25 C I get the following error:
Solving for species distribution.
Loaded: 45 aqueous species,
162 minerals,
2 gases,
0 surface species,
12 elements,
0 oxides.
Ionic strength out of range.
Largest residual(s):
Resid Resid/Totmol Cbasis
--------------------------------------------------------
O2(aq) 0.002616 1 9e-031
--------------------------------------------------------
The calculation does run if I delete O2(aq) and Fe++ data entries (they are not zeros).
I was hoping someone can help me figure out why while using a modified h-m-w thermo database I get an error at 25 C temperature, but at other temperatures the calculation does converge. I've attached a script file with the data.
Thanks,
Anastasia
AGI_test.sp8