Course content
The development of the applications of this course is shown below grouped by session:
Session 1: Speciation calculation
This example covers the simulation of the distribution of species in seawater and the saturation of a set of minerals. In order to demonstrate the capabilities of Phreeqc to simulate new elements, uranium is added to the solution by specifying keywords and with the use of the wateq4f database. The example cover all these cases:
Speciate seawater specifying redox reactions.
Speciate seawater with calculation of density and pe.
Speciate seawater with uranium in the solution and defining phases.
Speciate seawater with uranium using the Water4f database.
Session 2: Equilibrium with pure phases
This example covers the solubility of gypsum and anhydrite related to temperature. The Python code runs the Phreeqc example and parses solutions. Concentrations and saturation indexes are analyzed for the initial solution and a given batch reaction, however, for all the reactions a loop is performed to extract the Anhydrite and Gypsum saturation indexes of each reaction to plot the correlation of saturation indices with temperature.
Session 3: Groundwater and seawater mixing
Example that shows the Phreeqc capabilities to perform geochemical simulations in steps while each simulation takes the output solution from a previous one. This example shows the mixing of pure water in equilibrium with calcite and co2 that is mixed with seawater with standard concentrations of anions and cations. Mixing is specified as percentages and the resulting solution is then equilibrated with calcite and dolomite. Carbon and calcium species and saturation indices for dolomite, gypsum and anhydrite are extracted from every simulation part and plotted as bar diagrams.
Session 4: Irreversible reactions
Applied example of Phreeqc for the simulation of irreversible reactions in the oxidation of pyrite. Pyrite, calcite, and goethite are allowed to dissolve in equilibrium and partial pressure of CO2 is maintained at 10E-3.5. Two species: 02 and NaCl are added into the solution in five different relative proportions of a given concentration. The geochemical simulation was carried out and results were compiled in pure Python and then compared with Phreeqc tools to export specific outputs.
Session 05: Exchange example
An example that demonstrates the Phreeqc capabilities to deal with sorption. This example uses the cation ion exchange approach where only the EXCHANGE keyword is used because EXCHANGE_MASTER_SPECIES and EXCHANGE_SPECIES are included in WATEQ4F.dat database. The model output is parsed as dataframes and the solution composition and description are calculated and compared before and after the exchange.
Session 06: Surface complexation
Phrreqc can model surface complexation and this example simulates the distribution of uranium species in acid mine water when it is treated with oxygen and limestone.The example has 3 simulations where each simulation uses the resulting solution from previous simulations. Concentration of the solution components and species for calcium, fe2+ and uranium are compared from the initial solution, in equilibrium with calcite and o2 and after the surface complexation. Only the SURFACE keyword is defined since the SURFACE_MASTER_SPECIES and SURFACE_SPECIES are located in the wateq4f database.
Session 07: Reaction kinetics
Phreeqc uses the Kinetics keyword to specify kinetic reactions and parameters for batch-reaction and reactive-transport calculations. This example shows the use of reaction kinetics for the time dependent calcite dissolution where reaction rates are given by a small BASIC program. The example defines a Python function that lists the molarity and saturation of Calcite and plots those values for the different times defined as batch reactions.
Methodology
Here are some details of each methodology:
- Manuals and files for the exercises will be delivered.
- The course will be developed by videos on private web platform.
- There is online support for questions regarding the exercises developed in the course.
- Video of the classes will be available forever.
- To receive the digital certificate you must submit the exams after 1 month.
- Digital certificate available at approval.
- Teacher: Saul Montoya