Jump to content
Geochemist's Workbench Support Forum

Recommended Posts

Posted

Hi there,

I am running into an issue. It looks like it's a bug as I am receiving an error message "calculation error report" (see below screenshot)

When trying to calculate mineral saturation or charge imbalance by clicking to "analyte"---> "calculate with specE8", I get this error.

 

 

image.png.b9d068988789625eb1709c1f814787cb.png

Posted

Hello,

When GSS is asked to calculate an analyte value, it actually calls SpecE8 to do the calculation. When SpecE8 cannot solve the equilibrium system with the given conditions (composition of your sample, temperature, etc) in your GSS sample, the calculation will fail. There can be a variety of issues that cause SpecE8 to fail an equilibrium state calculation and it's not clear based on the screenshot. If you scroll down in the Calculation Error Report pane, you should be able to learn more details regarding the error. I suggest launching a SpecE8 instance with your sample so that you can investigate more closely. For more information on launching GSS samples in SpecE8, please see section 3.5 in the GWB Essentials User Guide.

If you require additional assistance with troubleshooting, please attach the input and thermo file so we can take a closer look.

Hope this helps,
Jia Wang
Aqueous Solutions LLC

Posted

Hello,

The custom thermo dataset was not attached, but I manage to open your GSS file with thermo.tdat. To investigate the issue with convergence, I launched a SpecE8 instance using the sample composition from the attached GSS file. I noticed that your system is relatively oxidized (with an O2 concentration of 4 mg/kg) and at this pH, the dominant species for your arsenic component is going to be the more oxidized form. It would help the program to solve the equilibrium state when a more dominant form is swapped in. In this case, I tried swapping in AsO4--- for As(OH)4-, making sure to convert the concentration in GSS (I did equivalents of As in mmol/l) and use that value, and SpecE8 converged without issues.

If you have only a few samples, it might make sense to launch SpecE8 and perform the swap and run your calculation.

If you wish to carry out the calculation in GSS for a large number of samples, you can edit your dataset and use the exchange feature to swap the position of AsO4--- and As(OH)4- and AsO4-- will be a basis species. This way, you can add the total concentration of As in the spreadsheet by adding AsO4--- to the GSS spreadsheet and maintain equilibrium calculation between arsenic redox species.

Alternatively, you may consider adding the total concentration of As in under the analyte AsO4--- without editing your dataset. This case, you would be decoupling the redox couple AsO4---/As(OH)4-. I am not sure what would be more appropriate for your consideration.

Hope this helps,
Jia

Posted

Hello,

Additionally, I also noticed that you had set your O2(aq) as a total concentration instead of a free quantity, which is commonly is. A free quantity means that the amount inputted by the user represents the quantity of that species alone, which O2(aq) almost always is when measured. If you do so, you should be able to run the calculation without swapping basis as mentioned above and still converge with your calculations.

Hope this helps,
Jia

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...