Radiation Lab M-Phreefiteq

← Back to M-Phreefiteq home

New here? – How to use this page

Derives the equilibrium constants (log K) of reactions automatically from sorption data (a web version of FITEQL). Two types of sorption are covered – ① surface complexation (binding to mineral surfaces such as iron oxides; fraction sorbed versus pH), ② ion exchange (clays hold cations such as Cs⁺ by site exchange; isotherm data versus concentration). Examples 1–5 are preloaded: click a chip and then [Start fit] to see the whole workflow.

  1. Prepare experimental data – Get the form with [Download Excel template], fill in pH and fraction sorbed, and load it with [Upload Excel]. You can also paste the data directly into the input box.
  2. Check conditions – Match the database and solution conditions (background electrolyte, etc.) to the experiment. For surface complexation, enter the surface sites; for ion exchange, enter the exchanger (clay) capacity CEC – if you know it in laboratory units (meq/100g), the converter does the conversion.
  3. Define reactions – Enter reactions with known log K under 'Fixed reactions' and the reactions to be derived under 'Fitted reactions', and set the search range (lower–upper bound).
  4. Run the fit – [Start fit] runs the global optimization and returns log K ± error, goodness of fit (R², WSOS/DF), the fitted curve and a PHREEQC block.

To fit several experiments at different ionic strengths together, use [Add data set] – they are fitted simultaneously with one log K, which gives a more reliable constant. Use [Save to my constants DB] to reuse a derived constant directly in the Transport simulator.

Input

Constant fitting

Setup wizard – start here if you are new (answer the questions to complete the form)

PHREEQC inputs such as reactions, surface sites and search ranges are filled in from representative literature values based on your answers – after applying, you can review and edit them in the form below.

① What type of experiment was it?
Verified examplesClick to fill in the settings
Presets
My constants DB – 0 constants accumulated from experiments

Constants are stored in this browser only – export them to a file before switching devices or clearing browser data.

① Sorbent (surface) · conditions
Fit my own data – fill sorbent starting values (preset)

Separate from the examples above: when fitting your own experimental data, select a sorbent to fill the surface sites and acid–base reactions with representative literature values (editable below). Selecting one clears the example marker.

Fe₃O₄ · PZC≈6.6 (literature 6.3–6.8)

Ion exchange background (full data set – applied together with surface complexation)
Site amount calculator – from solid concentration, specific surface area (BET) and site density
Site amount = 3.736e-4 mol
Any soil or mineral can be used directly given its BET specific surface area and site density (2.3 sites/nm² recommended if unknown)
② Solution conditions
Background electrolyte (optional)
Filled in automatically when you select a salt and concentration above (charge = charge-balance ion · editable)
③ Fixed reactions (acid–base · log K known)
How to read this reaction
Surface protonationWater (solution)Mineral (sorbent)≡S–OHH⁺Before – ions move to the surface⇌Water (solution)Mineral (sorbent)≡S–OH₂⁺+After – bound to the surface
Mag_sOHmineral surface site (≡S–OH)+H⁺hydrogen ion (acidity ↑)⇌Mag_sOH₂⁺positively charged surface (gained H⁺)

At low pH the surface hydroxyl group takes up a proton and the surface acquires a positive charge (+). Anions are then readily attracted.

The larger log K, the higher the pH up to which the surface stays positively charged (surface acidity constant).

How to read this reaction
Surface deprotonationWater (solution)Mineral (sorbent)≡S–OHBefore – ions move to the surface⇌Water (solution)Mineral (sorbent)≡S–O⁻−H⁺After – bound to the surface
Mag_sOHmineral surface site (≡S–OH)⇌Mag_sO⁻negatively charged surface (lost H⁺)+H⁺hydrogen ion (acidity ↑)

At high pH the surface hydroxyl group releases a proton and the surface acquires a negative charge (−). Anions are then repelled.

The larger (less negative) log K, the lower the pH at which negative charge develops (surface acidity constant).

④ Fitted reactions (to be derived · log K unknown)
How to read this reaction
Sorption (surface complexation)Water (solution)Mineral (sorbent)≡S–OHSeO₃²⁻H⁺Before – ions move to the surface⇌Water (solution)Mineral (sorbent)≡S–SeO₃⁻−H₂OAfter – bound to the surface
Mag_sOHmineral surface site (≡S–OH)+SeO₃²⁻selenite ion+H⁺hydrogen ion (acidity ↑)⇌Mag_sSeO₃⁻surface complex (sorbed)+H₂Owater

The surface hydroxyl group (≡Mag–OH) binds selenite ion (SeO3-2) from solution and forms a surface complex. The surface OH leaves as water (ligand exchange). Protons are consumed, so sorption is favored at lower pH (anion-type edge: sorption decreases as pH rises).

The larger log K, the stronger the sorption. This is the constant the fit estimates.

My species (custom) – 0

Custom species are stored per user – sign in to use them.

⑤ Experimental data (1 data sets fitted simultaneously)
Download Excel templateDownload the template, fill it in and upload it to set up data sets automatically
One row per point: "pH fraction [σ]" (space- or comma-separated; σ = experimental error, optional)
Uncertainty (optional)
Standard errors, 95% confidence intervals and curve confidence bands are always calculated – the bootstrap is an additional, distribution-free cross-check of these (it increases calculation time)
Curve through experimental points with error bars, and a magnifying glass – concept of constant derivation

Enter the experimental data and reactions, then click [Start fit] to get –

  • Derived log K and standard error (global optimization)
  • Goodness-of-fit metrics – R² · WSOS/DF · BIC
  • Overlay of experimental data and model curve
  • Reusable PHREEQC block and Excel report
  • [Save to my constants DB] → use directly in the Transport simulator
Fit laboratory
Engine status unavailable