calcite.ppi

SPECIATION
  calculationType                      ht1
  calculationMethod                    1
  mainSpecies                          Ca
  xmin                                 5.0
  xmax                                 10.0
  ymin                                 -8.0
  ymax                                 0.0
  loopMin                              0
  loopMax                              80
  loopInt                              10
  resolution                           200
  numericTags                          <temp> = <loop>                   # change this for different temperatures

PLOT
  multiPageFile                        true
  plotTitle                            "Ca-Mg-CO<sub>3</sub> at a given temperature"
  xtitle                               pH
  ytitle                               "log <i>f</i> CO<sub>2</sub>(g)"
  extraText                            "extratextcalcite.dat"        # includes the <temp> tag for putting temperature on plot

CHEMISTRY

include ht1.inc                                                      # standard 'hunt and track' file

SOLUTION 1
   temp      <temp>
   pH        7
   units     mmol/kgw
   density   1
   -water    1 # kg
   Ca        1
   Mg        1
   Na        100
   Cl        100
END

USE solution 1
EQUILIBRIUM_PHASES 1
   Fix_H+   -<x_axis> NaOH 10
     -force_equality true
   CO2(g)   <y_axis> 1                                               # limit CO2 supply at high pH

   Brucite                        0 0
   Calcite                        0 0
   Aragonite                      0 0
   Magnesite                      0 0
   Dolomite                       0 0
   #Dolomite(d)                   0 0
   Artinite                       0 0
   Nesquehonite                   0 0
   Portlandite                    0 0
   Huntite                        0 0
   Nahcolite                      0 0
   Hydromagnesite                 0 0
   Natron                         0 0
   Thermonatrite                  0 0
   Trona                          0 0
END