What you will build
A closed batch of groundwater in which dissolved Fe(II) is oxidized by dissolved oxygen, \(\mathrm{4Fe^{2+} + O_2 + 10H_2O \rightarrow 4Fe(OH)_3 + 8H^+}\). One reaction changes three constituents in a fixed ratio: 1 g of Fe(II) lost, 0.1432 g of O₂ lost and 1 g of Fe(III) formed. You will check that ratio, run the same water with too little oxygen, and then add sulfide as a second electron donor that competes for the same oxygen.
| Stage | What changes | What to look for | Saved as |
|---|---|---|---|
| 1 | Fe(II) 10 g/m³, O₂ 8 g/m³ (oxygen in excess) | all Fe(II) oxidized; O₂ ends at 8 − 1.432 = 6.57 g/m³; ΔO₂/ΔFe = 0.1432 at every time | M3_stage1_iron_oxidation.ohq |
| 2 | O₂ only 1 g/m³ (oxygen limiting) | the reaction stalls at Fe(II) = 10 − 1/0.1432 = 3.02 g/m³ | M3_stage2_oxygen_limited.ohq |
| 3 | + sulfide oxidation (H₂S + 2O₂ → SO₄²⁻ + 2H⁺) | electrons given by Fe(II) and sulfide = electrons taken by O₂ | M3_stage3_two_donors.ohq |
The system
| Item | Value |
|---|---|
| Batch reactor | one Reactor block, \(V = 1\) m³, no inflow, no links (as in M2) |
| Constituents | Fe2 (Fe(II), g Fe/m³), O2 (g O₂/m³), Fe3 (Fe(III) formed, g Fe/m³); Stage 3 adds H2S (sulfide, g S/m³) and SO4 (sulfate, g S/m³) |
| Iron oxidation | rate \(k_{ox}[\mathrm{Fe2}][\mathrm{O2}]\), \(k_{ox} = 0.1\) m³/(g·day); stoichiometric constants Fe2 −1, O2 −0.1432, Fe3 +1 |
| Sulfide oxidation (Stage 3) | rate \(k_s[\mathrm{H2S}][\mathrm{O2}]\), \(k_s = 0.05\) m³/(g·day); H2S −1, O2 −1.996, SO4 +1 |
| Simulation | 0–6 days (Stage 1), 0–50 days (Stage 2), 0–20 days (Stage 3) |
The rate constants are chosen so that the reactions take days, as in slightly acidic water; at pH 7 and above, Fe(II) oxidation takes minutes (Module 3, Example 5a). The stoichiometry and the electron balance, which are what this assignment checks, do not depend on the rate constants. In many real waters Fe(II) and sulfide also precipitate together as FeS; that is left out here.
Build: 1 Constituents 2 Batch 3 Rate constant 4 The coupled reaction 5 Settings
Stages: 1 Oxygen in excess 2 Oxygen limiting 3 Two donors Checkpoints Explore Troubleshooting What to submit
1Three constituents
Start a new model, load the Mass Transfer plugin (M1, Step 1) and create three Chemical constituents named Fe2, O2 and Fe3 (M1, Step 2).


2The batch
Add one Reactor with no inflow and no links, exactly as in M2, Step 2.
| Property | Value | Meaning | |
|---|---|---|---|
| 1 | Fe2:Concentration | 10 g/m³ | initial Fe(II), \(A_0\) |
| 2 | Fe3:Concentration | 0 | no Fe(III) yet |
| 3 | O2:Concentration | 8 g/m³ | initial dissolved oxygen, \(B_0\) |
| 4 | Initial Storage | 1 m³ | |
| 5 | Constant Inflow | 0 | closed batch |
| 6 | Name | Batch |
3The rate constant
Add a Reaction Parameter (M2, Step 3) named k_ox with Value 0.1 and Arrhenius factor 1. Its units are m³/(g·day), because it multiplies two concentrations to give g/m³/day.
4One reaction, three constituents
Add a Chemical reaction (M2, Step 4). This is the new idea of M3: the stoichiometric constants are not all ±1.
| Property | Value | Where it comes from | |
|---|---|---|---|
| 1 | Fe2:Stoichiometric Constant | −1 | the rate is written per gram of Fe(II) oxidized |
| 2 | Fe3:Stoichiometric Constant | 1 | each gram of Fe(II) becomes a gram of Fe(III) (both as Fe) |
| 3 | O2:Stoichiometric Constant | −0.1432 | 32.00 g O₂ per 4 × 55.845 g Fe (Module 3, Example 2a) |
| 4 | Name | Fe_oxidation | |
| 5 | Rate Expression | k_ox*Fe2*O2 | first order in each reactant (Module 3, Section 5) |
Why not −1 for O₂, and +4 for Fe(III)?
5Simulation time and time step
General Settings: end time 6 days. Solver Settings: initial time-step 0.01 and maximum time-step increase factor 5, as in M1 and M2.

Stage 1Oxygen in excess
Save as M3_stage1_iron_oxidation.ohq and run. Plot Fe2, O2 and Fe3 for the Batch (right-click → Results, as in M2).
Predict first. The oxygen needed is \(\nu A_0 = 0.1432 \times 10 = 1.432\) g/m³, less than the 8 available, so Fe(II) is the limiting reactant: all of it is oxidized and \(8 - 1.432 = 6.57\) g/m³ of O₂ is left (Module 3, Section 5).


Check the coupling. At any three times, compute \((8 - \mathrm{O_2})/(10 - \mathrm{Fe2})\). It must be 0.1432 every time, whatever the rate law. Then check the electrons: \((10 - \mathrm{Fe2})/55.845\) eeq/m³ of iron oxidized against \((8 - \mathrm{O_2})/8\) eeq/m³ of oxygen reduced.
The analytical solution (Module 3, Section 5) with \(\Delta = B_0 - \nu A_0 = 6.568\) g/m³ is \(A/B = (A_0/B_0)e^{-k_{ox}\Delta t}\), which you can evaluate in your spreadsheet to compare with the model.
Stage 2Oxygen limiting
Save a copy as M3_stage2_oxygen_limited.ohq. Change only the batch's O2:Concentration to 1 g/m³ and the end time to 50 days.
Now the iron needs 1.432 g/m³ of oxygen but only 1 is there: oxygen is limiting. The reaction can oxidize at most \(1/0.1432 = 6.98\) g/m³ of Fe(II), leaving 3.02 g/m³ however long you wait.


The ratio \((1 - \mathrm{O_2})/(10 - \mathrm{Fe2})\) is still 0.1432 at every time: the limiting reactant changes how far the reaction goes, not the stoichiometry.
Stage 3Two electron donors competing for oxygen
Save a copy as M3_stage3_two_donors.ohq. Add:
- two constituents, H2S (sulfide, as S) and SO4 (sulfate, as S);
- a Reaction Parameter k_s = 0.05;
- a reaction sulfide_oxidation with rate
k_s*H2S*O2and stoichiometric constants H2S −1, O2 −1.996, SO4 +1 (and 0 for Fe2 and Fe3); - in Batch: Fe2 5, H2S 2, O2 3 g/m³; end time 20 days.
Check that Fe_oxidation has 0 for H2S and SO4. Save and run.


k_s*H2S*O2.
Predict with electron equivalents (Module 3, Section 3): the donors need \(8\,(5/55.85 + 2/4.008) = 0.716 + 3.992 = 4.71\) g/m³ of O₂, but only 3 are available. Oxygen is limiting again, and the two donors compete for it.
Put the two donors on one plot. Right-click Batch → Results → Fe2:Concentration and keep that plot window open. Open H2S:Concentration in a second window, right-click its chart → Copy curve, then right-click the chart of the Fe2 window → Paste. Both are in g/m³, so they share the axis.


The electron balance. At 5, 10 and 20 days, compute the electrons given by both donors, \(1000[(5 - \mathrm{Fe2})/55.845 + (2 - \mathrm{H2S})/4.0075]\) meq/m³, and the electrons taken by oxygen, \(1000(3 - \mathrm{O2})/8\). They must agree (to about 0.03 %, the rounding of the stoichiometric constants).
Checkpoints
Read these from your own runs; small differences in the last digit are normal. The Stage 3 "formula" column is an accurate numerical solution (Runge–Kutta, step 10⁻⁴ day), because two competing donors have no simple closed form. Because of the time step the model lags the formula slightly (it reacts a little more slowly than the formula). In Stage 1 the relative gap grows as Fe(II) gets small: about 1.4 % at day 1, 2.7 % at day 2 and 5 % at day 4.
| Stage | Quantity | Model | Formula |
|---|---|---|---|
| 1 | Fe(II) at 1 / 2 / 4 days (g/m³) | 4.76 / 2.38 / 0.63 | 4.69 / 2.32 / 0.60 |
| 1 | O₂ at 6 days (g/m³) | 6.593 | 6.591 (→ 6.568) |
| 1 | (O₂ lost)/(Fe(II) lost), any time | 0.1432 | 0.1432 |
| 1 | Electrons at 2 days: Fe / O₂ (meq/m³) | 136.43 / 136.40 | equal |
| 2 | Fe(II) at 5 / 10 / 20 / 50 days (g/m³) | 6.91 / 5.53 / 4.28 / 3.28 | 6.90 / 5.52 / 4.28 / 3.28 |
| 2 | O₂ at 20 / 50 days (g/m³) | 0.181 / 0.038 | 0.180 / 0.038 |
| 2 | Fe(II) when O₂ runs out (g/m³) | → 3.02 | 3.02 |
| 3 | Fe(II) at 5 / 10 / 20 days (g/m³) | 2.03 / 1.36 / 0.97 | 2.01 / 1.35 / 0.97 |
| 3 | H2S at 5 / 10 / 20 days (g S/m³) | 1.27 / 1.04 / 0.88 | 1.27 / 1.04 / 0.88 |
| 3 | O₂ at 5 / 10 / 20 days (g/m³) | 1.120 / 0.566 / 0.189 | 1.114 / 0.562 / 0.187 |
| 3 | Electrons at 10 days: donated / accepted (meq/m³) | 304.29 / 304.26 | equal |
Explore
Save a copy with File → Save as and change one thing at a time.
- Exactly enough oxygen. In Stage 2, set O2 to 1.432 g/m³. Both reactants now run out together. How does the approach to zero differ from Stage 1? (Module 2: it behaves like a second-order reaction.)
- A faster reaction. In Stage 1, multiply k_ox by 10, as a rise in pH of half a unit would (Module 3, Section 5: rate ∝ [OH⁻]²). What changes, and what does not?
- Who wins the oxygen? In Stage 3, swap the two rate constants (k_ox = 0.05, k_s = 0.1). Predict, then check, which donor is left with more at day 20, and confirm the electron balance still holds.
- A wrong constant. In Stage 1, set the O2 stoichiometric constant to −1 (a common mistake). How much oxygen does the model now "use"? Why is the electron balance broken?
Troubleshooting
| Nothing reacts. | The rate expression uses a name the model does not know yet (check the spelling, including upper/lower case), or O2 starts at 0 (then the rate is zero). |
| O₂ falls by as much as Fe(II). | The O2 stoichiometric constant is −1 instead of −0.1432. |
| Fe3 does not appear. | Fe3's stoichiometric constant in Fe_oxidation is 0 instead of +1. |
| In Stage 3 the electrons do not balance. | Check the constants −0.1432 and −1.996, and that H2S and SO4 are "as S" (sulfide 2 g S/m³, not 2 g H₂S/m³). |
What to submit
- Your three
.ohqfiles. - Stage 1: plots of Fe2, O2 and Fe3; a table of the model and the analytical Fe(II) at 0.5, 1, 2 and 4 days; and the ratio (O₂ lost)/(Fe(II) lost) at three times.
- Stage 2: plots of Fe2 and O2; the limiting reactant and the predicted final Fe(II), and the model's Fe(II) at 50 days.
- Stage 3: plots of Fe2, H2S and O2, and an electron-balance table (donated vs accepted, meq/m³) at 5, 10 and 20 days.
- Short answers (2–4 sentences each): (a) Why must the O₂ stoichiometric constant be −0.1432 and not −1/4? (b) In Stage 3, why does sulfide use most of the oxygen even though less of it is oxidized? (c) Your result for one Explore item, with a sentence explaining it.
Submit everything in one PDF plus the .ohq files in Brightspace → Assignments → Modeling Assignment M3.