Jump to content
Geochemist's Workbench Support Forum

Jia Wang

Admin
  • Posts

    724
  • Joined

  • Last visited

  • Days Won

    29

Posts posted by Jia Wang

  1. Hello Jeonghwan,

    Here are a couple of suggestions to get you started. You might want to consider checking the equilibrium constants (Log Ks) in the existing database for the minerals of interest against the values used in the Garrels 1984 publication. To do so, use the TEdit app to open the database, in your case it would thermo.com.V8.R6+.tdat, and check the Log K values corresponding to each mineral. You can simply edit the thermo dataset in TEdit to match the values used in literature or make a duplicate to preserve the original values. After you have checked the equilibrium constants in the database, you might also want to try suppressing all minerals except for the ones in the targeted activity diagram so that less stable phases are considered.

    Hope this helps.

    Best,

    Jia Wang

  2. Dear Christophe,

    The green and the blue lines are from two separate X1t simulations. The blue lines in the plot of your screenshot is the result of Pulse.x1t from the mass transport section, where Pb++ is a non-reacting solute because the change in concentration is not associated with any chemical reactions. To attain the numerical data for this simulation, you can simply run the Pulse.x1t example without sorption. You can view the mass transport section (linked above) for more details. Then plot Pb++ (mmol/kg) on the y-axis and distant along the x-axis. Simply click Edit --> Copy as -->  Spreadsheet and the paste the data in an excel spreadsheet.

    In the case of the green line, the simulation is accounting for sorption of Pb++. In this case, I think you’re referring to the sorbed particulate as the amount of Pb++ that is sorbed based on the distribution coefficient Kd from the database. Therefore, the particulate in solution would be the Pb++ remaining in the dissolved phase.

    Hope this helps.

    Best,

    Jia Wang

  3. Dear Christophe,

    The maximum sorbed capacity for each metal is calculated outside of React. From Gtplot or the text output file of the simulation, you can see that there are 0.89 mmoles of Fe(OH)3ppd precipitated. Then in the surface dataset (FeOH+.sdat) you can find the sorbing density, which is 0.005 mol of strong sites and 0.2 mol of weak sites per mole of Fe(OH)3ppd. Then you look at each metal and see if they sorb onto weak, strong, or weak and strong sites. To calculate the maximum capacity for each metal, assume that there is only one metal sorbing to the mineral surface at a time. Just multiply the mineral mass by the site density of each appropriate site and convert to mg/kg. For As(OH)4-, it's 0.00089 mol/kg * .2 mol sites/mol * 142.951 g/mol * 1000 g/kg = 25.4 mg/kg. For metals that include strong sites, include those as well.

    The ‘in solution’ component concentrations are reported directly by React under ‘Components in fluid’. You can select to plot ‘Components in fluid’ vs. pH in the XY Plot Configuration dialog in Gtplot and export the numerical data using the method described in my previous response. Alternatively, you can also open the text output file and look for the concentrations of the desired components at each time step listed under ‘Original basis’ text block in the column ‘in fluid’.  

    Hope this helps.

    Best,

    Jia Wang

     

    • Like 1
  4. Dear Christophe,

    In the React app, the results file output a dataset in tabular form. You can scroll down and see the concentrations of various basis species sorbed and in fluid and more information(e.g. mineral saturation state, reactants, gasses, etc..) at each reaction step.

    However, another way to retrieve numerical data is to use Gtplot and copy and paste the data onto an excel spreadsheet. You can select ‘Plot Results’ in the Results pane and Gtplot will open up. Double-click in the plot to open the XY Plot Configuration dialog. Select the desired X and Y axis parameters and click apply to modify the plot. For example, you can plot one or many components in fluid as the Y-Axis parameter and Rxn progress on the X-Axis. To obtain numerical data for this data, you can click Edit --> Copy as -->  Spreadsheet and the paste the data in an excel spreadsheet. For more detailed instructions, you can refer to the ‘How do I retrieve numerical data from my plots?’ on the GWB Tutorials webpage and section 6.7 in the GWB Reaction Modeling Guide.

    The number of moles regarding strongly and weakly binding surfaces refers to the sorption site density available on the sorbing mineral. In this case, for every mole of ferric hydroxide precipitated, there is 0.005 moles of strongly binding surface sites and 0.2 moles of weakly binding surface sites available.

    Hope this helps.

    Best,

    Jia Wang

  5. Hi Christophe,

    You can most certainly change the species for charge balancing. To change to a different species, add the species into the basis pane and in the drop arrow next to the units and select ‘Balance species’. Typically, the balance species chosen has high abundance and low uncertainty. For example, React is setup to use Cl- as the default charge balancing ion since most Cl- is usually abundant and can be calculated from charge balance base on other species concentrations measured in chemical analyses.

    Hope this helps,

    Jia Wang

  6. Dear Koitoliver,

    In the screenshot you provided, the analyte HCO3- is already added to the spreadsheet and therefore you cannot add it again when you select “+ analyte”.

    The hardness of the fluid sample is a result of calculation; it  cannot be used as a constraint. Only the HCO3- concentration (typically the HCO3- component, but you can alternatively constrain the free HCO3- ion) or the carbonate alkalinity can be used as constraints. I quickly did a charge balance calculation with a few of your samples and I am seeing slightly different results from your calculations. The charge imbalance error from my quick calculation did not match the value in your row 1 sample calculation. However, my calculations for the row 19 and row 20 samples did match with your charge imbalance error result. This leads me to believe something is missing (such as a HCO3- constraint) and you haven’t recalculated your analytes for the first group of samples after changing the spreadsheet. To recalculate right click on the charge imbalance column header and select ‘Recalculate Analyte’.

    Again, is it possible you had HCO3- values entered previously on your old spreadsheet? Maybe the values were accidentally deleted? Did you switch from a different thermo dataset from when you reopened the spreadsheet? The thermo_phreeqc.tdat dataset uses carbonate (CO3--) as a basis species instead of bicarbonate (HCO3-). If you did not allow the substitution of CO3-- for HCO3- when you switched thermo datasets then it will delete the HCO3- component’s column. That could also explain why you can’t find HCO3- in the list of basis entries.

    With regards to pH, the new GSS spreadsheet defaults to include pH as one of the analytes when a new spreadsheet is created. If it’s already in your spreadsheet, you won’t be able to add it again. Perhaps you hid the analyte? Under the Data menu, you have the option to hide and show analytes or samples.

    Please try check your spreadsheet according to the suggestions above. If you need further assistance, please attach your script.

    Best,

    Jia Wang

    Aqueous Solutions LLC

×
×
  • Create New...