Assubdom.ppi

SPECIATION                                                # sub-dominant plot (second most abundant species - a bit different from normal!)
  calculationType                      ht1
  calculationMethod                    1
  mainSpecies                          As
  xmin                                 2.0
  xmax                                 12.0
  ymin                                 -90.0
  ymax                                 0.0
  resolution                           500                 # need a high resolution to get good straight sloping lines - otherwise use 'simplify 10'
  dominant                             F                   # this picks the sub-dominant species

PLOT
  plotTitle                            "As-H<sub>2</sub>O-O<sub>2</sub>-H<sub>2</sub>O<br>(sub-dominant species)"
  xtitle                               pH
  ytitle                               "log <i>f </i>O<sub>2</sub>(g)"
  extraText                            "extratextAs.dat"

CHEMISTRY

include 'ht1.inc'                                          # use standard predominance file which returns top three species - PhreePlot deals with this

SOLUTION 1
   temp      20
   units     mol/kgw
   As        1e-3
   Na        1e-1
   Cl        1e-1 charge
END

USE solution 1
EQUILIBRIUM_PHASES 1
   Fix_H+     -<x_axis> NaOH                               # <x_axis> is pH so reverse sign
     -force_equality true
   O2(g)      <y_axis>  0.1
END