Oct 16, 2023

Public workspaceEstimation of uncertainty in calculations of apparent iron solubility in seawater V.2

  • Kechen Zhu1,2,
  • Mark James Hopwood1,
  • Martha Gledhill2
  • 1Southern university of Science and Technology;
  • 2GEOMAR Helmholtz Centre for Ocean Research Kiel
Open access
Protocol CitationKechen Zhu, Mark James Hopwood, Martha Gledhill 2023. Estimation of uncertainty in calculations of apparent iron solubility in seawater. protocols.io https://dx.doi.org/10.17504/protocols.io.rm7vzxjzrgx1/v2Version created by Kechen Zhu
License: This is an open access protocol distributed under the terms of the Creative Commons Attribution License,  which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited
Protocol status: Working
We use this protocol and it's working
Created: October 16, 2023
Last Modified: October 16, 2023
Protocol Integer ID: 89318
Funders Acknowledgement:
DFG project
Grant ID: GL 807/2-1
NSFC project
Grant ID: 42150610482
Abstract
The apparent iron (Fe) solubility (SFe(III)app) was calculated via an ion paring-organic matter (NICA-Donnan) model at ambient pH, temperature and dissolved organic carbon (DOC). It suggests vertical distributions of dissolved Fe (DFe) were likely a function of SFe(III)appwith changes driven by pH, temperature and DOC, in addition to non-equilibrium processes such as scavenging and redox cycling. It is necessary to constrain the uncertainty in the calculations that result from uncertainties in model parameters, since few sets of model parameters describing the acid-base properties of marine dissolved organic matter (DOM). Here we proposed an efficient methodology by ORCHESTRA-PEST++ to conduct both uncertainty and sensitivity analysis.
Guidelines
All necessary information shown in attached ppt and the original source code for this protocol are provided in the attachment. Before any test, please carefully read the attached ppt document, as well as manual of PEST, PEST++ and ORCHESTRA.
Safety warnings
Attention
Always check the constants in the Minteq4 data base for your chemical reactions of interest.
Before start
1. The Java program must be installed on your computer.

2. Calculations via chemical speciation software ORCHESTRA can be performed on Windows, Linux and Apple OSX, but the combination of ORCHESTRA-PEST++ can only be performed using Windows. We have only applied the software in Windows and the manual we have written is thus relevant to Windows and may not be applicable to use on Apple OSX or Linux.

Run the speciation code ORCHESTRA in parallel with code PEST++
Run the speciation code ORCHESTRA in parallel with code PEST++
Set up calculations of iron speciation and solubility in seawater via the speciation code ORCHESTRA.
Please see details in our earlier protocol, 'Modelling protocols for derivation of Fe(III) NICA constants and calculations of ambient Fe speciation and apparent Fe(III) solubility in seawater' (DOI: dx.doi.org/10.17504/protocols.io.brc4m2yw).
In the same sub-folder of ORCHESTRA, write the code for combining PEST++ to ORCHESTRA and run the loop.
Please see details in earlier protocol (DOI: dx.doi.org/10.17504/protocols.io.brc4m2yw), or PEST++ and PEST manuals.
Uncertainty analysis of apparent iron solubility via ORCHESTRA-PEST++
Uncertainty analysis of apparent iron solubility via ORCHESTRA-PEST++
The uncertainty for this work is considered as the results of uncertainties in derivations of NICA Fe(III) constants via comapring experimental data and modelling results, since few sets of model parameters describing the acid-base properties of marine dissolved organic matter (DOM). Using a Monte Carlo-based uncertainty analysis method to generate post-calibrated random sets of Fe(III) NICA constants to assess such uncertainties in calculated apparent iron solubility, in response to three different DOM binding site concentrations.
Both PESTPP-IES and ORCHESTRA run in parallel, to generate post-calibrated random sets of Fe(III) NICA constants.
To date, the code PESTPP-IES within PEST++, based on the iterative ensemble smoother methodology, provides oppotunities to assess uncertainties in highly nonlinear model. Please see details in the manual of PEST++, as well as the full script attached.
Both PESTPP-SWP with ORCHESTRA run in parallel, to incorporate post-calibrated random sets within ORCHESTRA and calculate apparent iron solubility.
To date, results will be automatically summarized in one .csv file after the run finished.
Please see details in PEST++ and PEST manuals, as well as the full script attached.
Sensitivity analysis of apparent iron solubility via ORCHESTRA-PEST++
Sensitivity analysis of apparent iron solubility via ORCHESTRA-PEST++
The sensitivity for this work is mainly focused on a simple authigenic Fe phase calculated from formation of ferrihydrite changing with temperature function. Therefore, using a Monte Carlo method to generate 1000 random sets of the solubility products, Ksp, as well as Fe(III) NICA constants to assess how seawater chemistry would affect iron speciation and solubility.
Both PESTPP-SEN and ORCHESTRA run in parallel, to firstly generate 1000 random sets of the solubility products, logks, as well as Fe(III) NICA constants via a Monte Carlo method and then incorporate these random sets within ORCHESTRA to calculate the total sensitivity indices via a Sobol method.
Please see details in PEST++ manual, as well as the full script attached.
Protocol references
1, Zhu K, Hopwood MJ, Groenenberg JE, Engel A, Achterberg EP, Gledhill M. Influence of pH and Dissolved Organic Matter on Iron Speciation and Apparent Iron Solubility in the Peruvian Shelf and Slope Region. Environ Sci Technol 2021, 55(13): 9372-9383.

2, Meeussen, J.C.L., 2003. Orchestra: An object-oriented framework for implementing chemical equilibrium models. Environ. Sci. Technol. 37, 1175–1182. https://doi.org/10.1021/es025597s

3, Doherty, J., 2019. PEST, Model-Independent Parameter Estimation, User Manual Part I.

4, White JT. A model-independent iterative ensemble smoother for efficient history-matching and uncertainty quantification in very high dimensions. Environ Modell Softw 2018, 109: 191-201.

5, White, J.T., Hunt, R.J., Fienen, M.N., and Doherty, J.E., 2020, Approaches to Highly Parameterized Inversion: PEST++ Version 5, a Software Suite for Parameter Estimation, Uncertainty Analysis, Management Optimization and Sensitivity Analysis: U.S. Geological Survey Techniques and Methods 7C26, 52 p., https://doi.org/10.3133/tm7C26.