carbonspeciationvsph(species1).ppi
|
|
|
SPECIATION
calculationType species # plot %C species vs pH
calculationMethod 1
mainSpecies C
xmin 2 # controls the range of pH plotted
xmax 13
resolution 100 # controls the number of points on each curve
PLOT
plotTitle "C speciation vs pH<br>using speciesvsph.inc"
extraText "extratextcarbonspeciation.dat"
# pxmax 13
CHEMISTRY
include 'speciesvsph.inc' # this file exports the required x-axis(pH), y-axis (%) value pairs. Edit as required.
PHASES
Fix_H+
H+ = H+
log_k 0.0
SOLUTION 1
temp 10 # carbonate speciation at least depends on temperature
pH 7
units mol/kgw
C(4) 1e-1 as HCO3 # total C
Na 0.1 charge # background electrolyte
Cl 0.1
END
USE solution 1
EQUILIBRIUM_PHASES
Fix_H+ -<x_axis> NaOH 10
-force_equality true
END
|
|