03 - File as parameter input
This example shows how to run a set of Phreeqc models using certain data from external data file. It can be useful for example for running simulation using water chemical samples.
We are going to use the data from a .tsv file that contains the following data:
Studies
This project contains 2 Studies.
PhreeqcStudy: “study_ex3”
The input has been parameterized with parameters that will correspond to values we want to replace from imported data
Db used: “Phreeqc_dat” database
SOLUTION 1
pH @{$pH_param$}@
units mol/kgw
Fe(3) 1e-2
Na @{$Na_param$}@
Ca @{$Ca_param$}@
K @{$K_param$}@
Cl 1e-1 charge
C 1 CO2(g) -3.5
END
/n
DiscreteDataStudy: “Discrete Param. Data Study”
Plots
This project contains 2 Plots.
Plot 1: “Species Concentration Input”
Input data that has been used for each simulation (every simulation correspond to a data row from input file)
Plot 2: “Samples Cation View”
Cation in samples.